Mini Kabibi Habibi
/* General */
html, body {
font-family: HelveticaNeue, sans-serif;
font-size: 100%;
margin: 0;
padding: 0;
height: 100%;
color: #000;
}
html {
background: url(../images/airliner-background-repeat.png) repeat-x 0 0 white;
}
body.dxtravel-app {
background: url(../images/airliner-background.png) no-repeat 0 0;
}
* {
-webkit-tap-highlight-color: transparent;
}
.dx-viewport > div {
height: 100%;
}
input, select {
margin: 0;
font-size: 1.3em;
}
li {
list-style-type: none;
padding: 0;
margin: 0;
}
ul, ol {
padding: 0;
margin: 0;
}
a
{
color: black;
text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
margin: 0 0 0.3em;
padding: 0;
line-height: 1.3em;
}
h1 {
font-family: HelveticaNeue-Light, sans-serif;
font-size: 3em;
}
h2 {
font-size: 1.3em;
font-weight: bold;
}
.lighter {
color: #F7941D;
}
.softer
{
color: #929497;
}
[data-dx-role=layout]
{
position: absolute;
overflow: hidden;
height: 100%;
width: 100%;
}
h1.small-margin {
margin-bottom: 0.1em;
}
*[data-dx-target-placeholder="content"] {
/* B232061 */
padding-bottom: 130px;
}
/* TODO this will be merged to the next class after bykov removes "heap of divs" */
.layout-header-container-tmp {
position: absolute;
top: 0;
height: 81px;
width: 100%;
}
.layout-header {
height: 100%;
}
.logo {
background: url(../images/DXTravel-Logo-2.png) no-repeat 0 0;
background-size: 260px 50px;
width: 260px;
height:50px;
position:absolute;
top:16px;
right:30px;
color:#fff;
}
.layout-main {
box-sizing: border-box;
-moz-box-sizing: border-box;
position: absolute;
top: 81px;
bottom: 51px;
width: 100%;
}
.layout-default-left,
.layout-default-right
{
float: left;
background: white;
height: 100%;
padding: 25px 0 10px 35px;
box-sizing: border-box;
-moz-box-sizing: border-box;
overflow: hidden;
position:relative;
}
.layout-default-left
{
background-image: url(../images/border.png);
background-repeat: repeat-y;
background-position: 100% 0;
padding-left: 0;
}
.layout-left-offset {
padding-left: 35px;
}
/* TODO this will be merged to the next class after bykov removes "heap of divs" */
.layout-footer-container-tmp {
width: 100%;
position: absolute;
bottom: 0px;
z-index: 9999;
}
.layout-footer {
height: 52px;
}
.back-button-container {
position: absolute;
margin-top: 20px;
margin-left: 30px;
}
/* Icons */
.map-icon {
background: url(../images/maps.png) no-repeat 0 0;
background-size: 55px 51px;
}
.plan-icon {
background: url(../images/plans.png) no-repeat 0 0;
background-size: 55px 51px;
}
.traveler-icon {
background: url(../images/travelers.png) no-repeat 0 0;
background-size: 55px 51px;
}
.flight-icon {
background: url(../images/flights.png) no-repeat 0 0;
background-size: 55px 51px;
}
.flight-return-icon {
background: url(../images/flights-return.png) no-repeat 0 0;
background-size: 55px 51px;
}
.schedule-icon {
background: url(../images/schedule.png) no-repeat 0 0;
background-size: 55px 51px;
}
.time-icon {
background: url(../images/time-traveled.png) no-repeat 0 0;
background-size: 55px 51px;
}
.add-traveler-icon
{
background: url(../images/add-traveler.png) no-repeat 0 0;
background-size: 55px 51px;
}
.sharing-icon {
background: url(../images/share.png) no-repeat 0 0;
}
.settings-icon{
background: url(../images/options-icon.png) no-repeat 0 0;
}
.delete-icon {
background: url(../images/delete.png) no-repeat 0 0;
}
.hot-deals-gray-icon {
background: url(../images/hot-deals-gray.png) no-repeat 0 0;
background-size: 25px;
}
.gray-plus-icon {
background: url(../images/gray-plus-icon.png) no-repeat 0 0;
}
.orange-plus-icon {
background: url(../images/orange-plus-icon.png) no-repeat 0 0;
}
.gray-create-icon {
background: url(../images/index-create-icon.png) no-repeat 0 0;
background-size: 25px;
}
.marker-icon {
background: url(../images/marker-icon.png) no-repeat 0 0;
background-size: 24px 30px;
}
.login-with-facebook-button {
background: url(../images/login-with-facebook-button.png) no-repeat 0 0;
width: 153px;
height:37px;
cursor: pointer;
border: none;
margin-left: 15px;
}
/* Index page */
.index-center {
overflow: hidden;
/*padding: 25px 35px 35px;*/
padding: 25px 35px 60px;
}
.index-trip-list {
float: left;
width: 25%;
}
.index-trip-list .has-icon {
padding-left: 30px;
}
.index-trip-list .flight-icon {
background-size: 25px;
background-position-y: 2px;
}
.index-trip-list li {
margin-bottom: 10px;
}
.index-map {
float: left;
width: 75%;
height: 100%;
position: relative;
}
.index-suggested-trips {
background: url(../images/suggested-Icon-black.png) no-repeat 0 -4px;
padding-left: 33px;
background-size: 30px;
padding-top: 2px;
margin-bottom: 7px;
}
.index-bottom-wrapper {
background: url(../images/border-bottom.png) repeat-x 0 5px white;
width: 100%;
height: 200px;
position: absolute;
bottom: 0px;
}
.index-bottom-bevel
{
background: url(../images/index-bottom-bevel.png) no-repeat left top;
width: 383px;
height: 80px;
position: absolute;
margin-top: -55px;
}
.index-bottom-grid
{
position: absolute;
width: 100%;
margin-top: -20px;
padding-left: 35px;
float: left;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.index-bottom-grid > div
{
float: left;
box-sizing: border-box;
-moz-box-sizing: border-box;
padding-right: 30px;
font-size: 1.3em;
}
.index-bottom-grid h2
{
margin: 0;
padding: 0;
}
.index-bottom-grid input,
.index-bottom-grid select
{
width: 235px;
font-size: 1em;
margin: 9px 0;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.index-marker-icon {
padding-left: 9px;
padding-right: 9px;
padding-top: 6px;
font-size: 0.7em;
display: inline-block;
height: 23px;
}
.index-next-trip-name {
font-size: 1.3em;
position: absolute;
top: 10px;
width: 100%;
text-align: left;
left: 10px;
}
.index-images-container {
position: absolute;
top: 0;
right:25px;
}
.index-next-trip-image {
border: 4px solid #D0D2D3;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.index-hot-deals-images img {
border: 2px solid #D0D2D3;
}
@media screen and (orientation:portrait)
{
.index-bottom-cell-label {
width: 7.5% !important;
}
.index-bottom-cell-editor {
width: 27% !important;
}
.index-bottom-grid input,
.index-bottom-grid select
{
width: 160px;
}
.index-images-container {
right: -30px;
}
}
.index-bottom-grid .flight-icon, .index-bottom-grid .flight-return-icon
{
background-position: 0 0;
}
.index-bottom-new-line
{
clear: both;
}
.index-bottom-cell-title
{
width: 100%;
padding-bottom: 16px;
}
.index-bottom-cell-title h2.gray-create-icon {
padding-left: 40px;
background-position-y: 2px;
}
.index-bottom-cell-caption
{
width: 35%;
padding-bottom: 8px;
font-size: 1.1em !important;
}
.index-bottom-cell-label
{
width: 6%;
padding-top: 18px;
padding-bottom: 13px;
font-size: 1.1em !important;
}
.index-bottom-cell-editor
{
width: 29%;
}
.index-find-deal-button {
background: url(../images/button-find-a-deal.png) no-repeat 0 0;
width: 224px;
height: 58px;
border: 0;
cursor: pointer;
margin: 0;
}
/* My Trips page */
.time-traveled {
background: url(../images/time-traveled.png) no-repeat 0 0;
background-size: 55px 51px;
padding-left: 90px;
margin: 0 0 30px;
height: 37px;
padding-top: 12px;
}
.my-trips-grid-left,
.my-trips-grid-right
{
float: left;
height: 180px;
}
@media screen and (orientation:portrait)
{
.my-trips-grid-left,
.my-trips-grid-right
{
height: 280px;
}
}
.my-trips-grid-left {
width: 20%;
}
.my-trips-grid-right {
width: 77%;
}
.my-trips-map {
border: 4px solid #D1D3D2;
}
.my-trips-grid-bottom-step {
margin-bottom: 30px;
}
.my-trips-chart {
height: 100%;
width: 100%;
float: left;
}
/* Customized list widget */
#my-trips-list-widget
{
display: inline-block;
}
#my-trips-list-widget .dx-list-group-header
{
background: white;
border: none;
padding: 16px 0 0;
box-shadow: none;
color: #F7941D;
font-size: 1.3em;
text-shadow: none;
}
#my-trips-list-widget .dx-list-item
{
border: none;
font-size: 100%;
padding: 10px;
background: white;
}
/* FIXME temporary workaround */
#my-trips-list-widget .dx-scrollable-scrollbar
{
display: none !important;
}
/* Generic list-like content styles */
.generic-list
{
margin-top: 22px;
}
.generic-list > li
{
background-position: 8px center;
box-sizing: border-box;
-moz-box-sizing: border-box;
border: solid 1px transparent;
}
.generic-list > li.selected
{
background-color: #f1f1f2;
border-color: #e8e7e8;
}
.generic-list li .spot
{
display: inline-block;
padding: 21px 21px 21px 90px;
}
.generic-list li .spot.clickable, .clickable
{
cursor: pointer;
}
.generic-list li .spot.no-icon
{
padding-left: 0;
}
.generic-list li .spot.compact
{
padding-bottom: 10px;
padding-top: 10px;
}
.generic-list img.icon-subst
{
position: absolute;
display: block;
margin-left: -90px;
}
.generic-list > li.large
{
font-size: 1.3em;
}
.generic-list li.left-offset {
padding-left: 35px;
background-position-x: 35px;
}
/* Trip summary page */
.trip-summary-tools
{
position: absolute;
right: 0;
}
.trip-summary-tools > li
{
display: inline-block;
width: 55px;
height: 51px;
margin-left: 10px;
background-size: 55px 51px;
}
@media screen and (orientation:portrait) {
.trip-summary-tools {
position: relative;
left: -10px;
}
.trip-summary-tools li:first-child {
margin-left: 0;
}
}
/* Add travelers page */
.add-traveler-grid-row {
overflow: hidden;
padding: 15px 0;
width: 100%;
}
.add-traveler-grid-border {
border-bottom: 1px solid #B8B6B6;
}
.add-traveler-grid-vertical-step {
margin: 15px 0;
}
.add-traveler-grid-left {
width: 80%;
float: left;
}
.add-traveler-grid-right {
width: 20%;
float: right;
}
.new-travelers {
background: url(../images/add-traveler.png) no-repeat 0 2px;
background-size: 55px 51px;
padding: 10px 0 0 60px;
}
.radio-left {
float: left;
}
.radio-right {
float: right;
}
.friends-wrapper {
overflow: hidden;
}
.friends-wrapper img{
display: block;
float: left;
margin-right: 5px;
}
.dx-theme-ios .dx-switch .dx-switch-on {
background: #F47817;
}
/* Add facebook traveler page */
.add-facebook-grid-left {
float: left;
width: 20%;
}
.add-facebook-grid-right {
float: left;
width: 80%;
}
.add-facebook-grid-top-step {
margin-top: 20px;
}
.add-facebook-grid-left-offset {
margin-left: 20%;
}
.invite-traveler {
background: url(../images/invite-traveler.png) no-repeat 100% 0;
border: none;
cursor: pointer;
width: 70%;
height: 48px;
margin-left: 10px;
}
.invite-message {
width: 70%;
height: 200px;
}
/* Trip schedule */
.schedule-date {
color: #929497;
}
.schedule-name {
font-size: 1.3em;
}
.schedule-reject {
background: url(../images/reject-button.png) no-repeat 0 0;
width: 225px;
height: 51px;
cursor: pointer;
display: inline-block;
margin-right: 20px;
}
.schedule-accept {
background: url(../images/accept-button.png) no-repeat 0 0;
width: 225px;
height: 51px;
cursor: pointer;
display: inline-block;
}
.schedule-not-accept {
font-weight: bold;
color: #F7941D;
}
.schedule-top-offset {
margin-top: 10px;
}
.schedule-image-wrapper {
float: left;
margin-right: 10px;
}
.schedule-image {
border: 1px solid #F6921E;
width: 50px;
}
/* Attractions page */
.attraction-row {
width: 100%;
overflow: hidden;
}
.attraction-row-step {
margin-bottom: 80px;
}
.attraction-grid-left {
float: left;
margin-right: 30px;
}
.attraction-grid-left img{
border: 3px solid #929497;
width: 150px;
height: 150px;
}
.attraction-grid-right {
float: left;
width: 315px;
}
.attraction-item-step {
margin-bottom: 10px;
}
.attraction-grid-cell {
float: left;
}
.cell-image {
width: 34px;
}
.cell-title {
width: 70px;
padding-top:7px;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.cell-input {
width: 190px;
margin-right: 10px;
}
.attraction-cell-step {
margin-top: 30px;
}
.small {
font-size: 0.9em;
}
.small-date-input {
width: 72px;
font-size: 0.8em;
padding: 5px 3px;
}
.attraction-when-input {
width: 180px;
}
.input-border {
border: 2px solid #B6B6B6;
border-radius:5px;
margin-top:2px;
}
.input-not-fill {
border: 2px solid red !important;
}
.attraction-suggest {
background: url(../images/attraction-suggest-icon.png) no-repeat 0 0;
padding: 5px 0 5px 45px;
font-size: 1.4em;
cursor: pointer;
margin-top: 20px;
display: inline-block;
}
.attraction-send-to-group {
background: url(../images/send-to-group-button.png) no-repeat 0 0;
cursor: pointer;
width: 305px;
height: 73px;
margin-top: 20px;
}
@media screen and (orientation:portrait)
{
.attraction-grid-right {
width: 50%;
}
.send-to-group-form {
margin-left: -185px;
}
.attraction-when-input {
width: 184px;
font-size: 0.8em;
}
.attraction-grid-right {
width: 170px;
}
.small-date-input {
width: 72px;
font-size: 0.8em;
}
.cell-input {
width: 205px;
margin: 0;
}
}
@media screen and (max-width: 1024px) and (orientation:landscape)
{
.attraction-when-input {
width: 184px;
font-size: 0.8em;
}
.cell-title {
padding-top: 12px;
}
.small-date-input {
width: 72px;
font-size: 0.8em;
}
.cell-input {
width: 205px;
margin: 0;
}
}