Mini Kabibi Habibi
html,
body,
#viewPort {
height: 100%;
background: #fff;
}
body {
margin: 0;
padding: 0;
}
.dx-theme-ios .dx-ios-stripes {
background: #fff;
}
/* typography */
.dx-theme-ios-typography {
font-family: Helvetica-Light, Helvetica, sans-serif;
}
.dx-theme-ios-typography h1, .dx-theme-ios-typography h2 {
font-weight: normal;
color: #fff;
text-shadow: 0 -1px rgba(0, 0, 0, .3);
margin: 0;
}
.dx-theme-ios-typography h2 {
font-size: .9em;
}
/* button */
.dx-theme-ios .dx-button .dx-button-content {
background: #676766;
background: -moz-linear-gradient(top, #676766 0%, #050708 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #676766), color-stop(100%, #050708));
background: -webkit-linear-gradient(top, #676766 0%, #050708 100%);
background: -o-linear-gradient(top, #676766 0%, #050708 100%);
background: -ms-linear-gradient(top, #676766 0%, #050708 100%);
background: linear-gradient(to bottom, #676766 0%, #050708 100%);
}
.dx-theme-ios .dx-button.dx-button-back .dx-button-back-arrow {
background: #676766;
background: -moz-linear-gradient(-45deg, #676766 0%, #050708 100%);
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, #676766), color-stop(100%, #050708));
background: -webkit-linear-gradient(-45deg, #676766 0%, #050708 100%);
background: -o-linear-gradient(-45deg, #676766 0%, #050708 100%);
background: -ms-linear-gradient(-45deg, #676766 0%, #050708 100%);
background: linear-gradient(135deg, #676766 0%, #050708 100%);
}
.dx-theme-ios .dx-button.dx-state-active .dx-button-content
{
background: #454544;
background-image: -webkit-linear-gradient(-90deg, #454544 0%, #030506 100%);
background-image: -ms-linear-gradient(-90deg, #454544 0%, #030506 100%);
}
.dx-theme-ios .dx-button.dx-button-back.dx-state-active .dx-button-back-arrow {
background: #454544;
background-image: -webkit-linear-gradient(-45deg, #454544 0%, #030506 100%);
background-image: -ms-linear-gradient(-45deg, #454544 0%, #030506 100%);
}
/* toolbar */
.dx-theme-ios .dx-toolbar,
.dx-theme-ios .dx-popup .dx-overlay-content .dx-popup-title {
background-color: #F48120;
background-image: -webkit-linear-gradient(-90deg,#F48120 0%,#C74932 100%);
background-image: -moz-linear-gradient(-90deg,#F48120 0%,#C74932 100%);
background-image: -ms-linear-gradient(-90deg,#F48120 0%,#C74932 100%);
background-image: -o-linear-gradient(-90deg,#F48120 0%,#C74932 100%);
background-image: linear-gradient(180deg,#F48120 0%,#C74932 100%);
}
.dx-theme-ios .dx-toolbar.dx-toolbar-top {
-webkit-box-shadow: inset 0 1px rgba(255, 255, 255, .6);
-moz-box-shadow: inset 0 1px rgba(255,255,255, .6);
box-shadow: inset 0 1px rgba(255, 255, 255, .6);
border-bottom: 1px solid rgba(0,0,0,.5);
}
/* list */
.dx-theme-ios .dx-list {
background-color: white;
}
.dx-theme-ios .dx-list .dx-list-item {
background: url(./images/list-arrow-icon.png) no-repeat 95% 50%;
font-weight: bold;
color: #939598;
white-space: normal;
padding-right: 30px;
}
.dx-theme-ios .dx-list .dx-list-item.dx-state-active {
background-color: #F48120;
background-image: url(./images/list-arrow-icon-active.png);
color: #fff;
}
.dx-theme-ios .dx-list .dx-list-item .very-important {
color: #BE1E2D;
}
.dx-theme-ios .dx-list .dx-list-item .important {
color: #222;
}
.dx-theme-ios .dx-list .dx-list-item.dx-state-active .important,
.dx-theme-ios .dx-list .dx-list-item.dx-state-active .very-important,
.dx-list-item.dx-state-active .set-left {
color: #fff;
}
.list-item-image-placeholder {
float: left;
width: 55px;
height: 55px;
vertical-align: middle;
text-align: center;
}
.list-item-image-placeholder span {
width: 55px;
height: 55px;
display: block;
}
.list-item-image-placeholder .image-placeholder-default {
background: #BCBDC0;
}
.list-item-content {
margin-left: 65px;
}
.set-left {
color: #f7941d;
margin: 0;
}
/* segmented */
.segmented {
position: absolute;
left: 10px;
right: 10px;
bottom: 10px;
}
.segmented-button {
width: 50%;
padding: 15px 0;
text-align: center;
border-style: solid;
border-color: rgba(0,0,0,0.3);
box-sizing: border-box;
float: left;
cursor: pointer;
font-weight: bold;
color: #808180;
text-shadow: 0 1px rgba(255,255,255,.8);
background-image: -webkit-linear-gradient(#fff, #cacaca);
background-color: #cecece;
}
.segmented-button:first-child {
border-radius: 10px 0 0 10px;
border-width: 1px;
}
.segmented-button:last-child {
border-radius: 0 10px 10px 0;
border-width: 1px 1px 1px 0;
}
/* product state */
.product-state-use .list-item-content {
color: #00a650;
}
.product-state-not-found .list-item-content {
color: #ff0000;
}
.product-state-use .image,
.product-state-not-found .image {
position: relative;
}
.product-state-use .image:after,
.product-state-not-found .image:after {
content: "";
display: block;
position: absolute;
width: 43px;
height: 43px;
left: 50%;
top: 50%;
margin-left: -21px;
margin-top: -21px;
}
.product-state-use .image:after {
background: url(./images/use.png);
}
.product-state-not-found .image:after {
background: url(./images/not-found.png);
}
.product-state-use .segmented-button:first-child,
.product-state-not-found .segmented-button:last-child {
color: #fff;
text-shadow: 0 -1px rgba(0,0,0,0.3);
background-color: #4c76bb;
background-image: -webkit-linear-gradient(#4c76bb,#628dcf);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), inset -2px 0 2px rgba(0,0,0,0.3);
position: relative;
}
.product-state-use .segmented-button:first-child:after,
.product-state-not-found .segmented-button:last-child:after {
content: "";
display: block;
position: absolute;
background: rgba(255,255,255,.1);
height: 50%;
bottom: 0;
width: 100%;
border-radius: 15px 15px 0 0;
}
/* order state */
.dx-theme-ios .dx-list.order-details-header {
position: absolute;
top: 0;
width: 100%;
height: 82px;
}
.dx-theme-ios .dx-list.order-details-header .list-item-content {
line-height: 55px;
}
.dx-theme-ios .order-state-problem .dx-list.order-details-header {
background: red;
}
.dx-theme-ios .order-state-complete .dx-list.order-details-header {
background: #00a650;
}
.order-state-complete .segmented-button:first-child,
.order-state-problem .segmented-button:last-child {
color: #fff;
text-shadow: 0 -1px rgba(0,0,0,0.3);
background-color: #4c76bb;
background-image: -webkit-linear-gradient(#4c76bb,#628dcf);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), inset -2px 0 2px rgba(0,0,0,0.3);
position: relative;
}
.order-state-complete .segmented-button:first-child:after,
.order-state-problem .segmented-button:last-child:after {
content: "";
display: block;
position: absolute;
background: rgba(255,255,255,.1);
height: 50%;
bottom: 0;
width: 100%;
border-radius: 15px 15px 0 0;
}
.product-lookup .type-1,
.order-items .type-1 {
height: 100%;
}
.product-lookup .type-2,
.order-items .type-2 {
width: 100%;
vertical-align: -30px;
}
.product-lookup .type-3,
.order-items .type-3 {
width: 100%;
vertical-align: -45px;
}
.product-lookup .type-4,
.order-items .type-4 {
width: 100%;
vertical-align: -30px;
}
.product-lookup .type-5,
.order-items .type-5 {
width: 100%;
}
.product-lookup .type-6,
.order-items .type-6 {
width: 100%;
vertical-align: -30px;
}
/* fields */
.search-box {
padding: 15px 10px;
}
.search-field {
float: left;
width: 100%;
margin-right: -180px;
padding-right: 80px;
box-sizing: border-box;
}
.search-field input {
display: block;
}
.cancel-button {
float: right;
width: 70px;
}
.dx-theme-ios .dx-textbox .dx-textbox-input {
background: url(./images/search.png) no-repeat 5px 5px white;
padding-left: 27px;
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 1);
-ms-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 1);
margin: 3px 1px;
}
/* start view */
.start .promo-text {
font-size: 2.2em;
color: #fff;
font-weight: bold;
padding: 0 10px 10px;
text-align: center;
}
.start .get-to-work {
background: url(./images/get-to-work-icon.png) no-repeat right 0;
padding-right: 60px;
padding-bottom: 13px;
padding-top: 14px;
font-weight: bold;
font-size: 1.4em;
width: 174px;
display: block;
margin: 10px auto 0;
cursor: pointer;
}
.page {
height: 100%;
}