dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
71 lines (70 loc) • 2.53 kB
CSS
/* dojox.mobile.SimpleDialog */
.mblSimpleDialog {
position: absolute;
z-index: 100;
margin: 0;
text-align: center;
outline: none;
padding: 5px;
width: 262px;
}
.mblSimpleDialogDecoration {
border-radius: 10px;
background-color: rgba(35, 50, 96, 0.85);
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(150, 150, 170, 0.85)), to(rgba(18, 29, 68, 0.85)), color-stop(0.15, rgba(77, 85, 119, 0.85)), color-stop(0.15, rgba(35, 50, 96, 0.85)));
background-image: linear-gradient(to bottom, rgba(150, 150, 170, 0.85) 0%, rgba(77, 85, 119, 0.85) 15%, rgba(35, 50, 96, 0.85) 15%, rgba(18, 29, 68, 0.85) 100%);
border: 2px solid #bac1d3;
border-top-color: #eaeaf2;
-webkit-box-shadow: 0 3px 2px #000000;
box-shadow: 0 3px 2px #000000;
color: white;
}
.mblSimpleDialogContainer {
position: relative;
width: 100%;
height: 100%;
}
.mblSimpleDialogCover {
background-color: #000000;
opacity: 0.5;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99;
}
.mblSimpleDialogCloseBtn {
position: absolute ;
}
.mblSimpleDialogTitle {
margin: 14px 0 7px;
width: 262px;
font-weight: bold;
}
.mblSimpleDialogText {
margin: 7px 0 14px;
width: 262px;
}
/* iOS 6 specific */
.dj_ios6 .mblSimpleDialogDecoration {
background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(179, 184, 199, 0.85)), to(rgba(35, 50, 90, 0.85)), color-stop(0.2, rgba(109, 120, 148, 0.85)), color-stop(0.2, rgba(33, 48, 88, 0.85)));
background-image: linear-gradient(to bottom, rgba(179, 184, 199, 0.85) 0%, rgba(109, 120, 148, 0.85) 20%, rgba(33, 48, 88, 0.85) 20%, rgba(35, 50, 90, 0.85) 100%);
text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}
.dj_ios6 .mblSimpleDialogButton {
background-image: -webkit-gradient(linear, left top, left bottom, from(#b3b8c7), to(#6c7692), color-stop(0.5, #6d7894), color-stop(0.5, #586484));
background-image: linear-gradient(to bottom, #b3b8c7 0%, #6d7894 50%, #586484 50%, #6c7692 100%);
border-color: #273a52;
font-weight: bold;
color: white;
text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}
.dj_ios6 .mblSimpleDialogButtonSelected {
background-image: -webkit-gradient(linear, left top, left bottom, from(#4f5157), to(#4f5157), color-stop(0.5, #6d6f74), color-stop(0.5, #61656f));
background-image: linear-gradient(to bottom, #4f5157 0%, #6d6f74 50%, #61656f 50%, #4f5157 100%);
border-color: #273a52;
font-weight: bold;
color: white;
text-shadow: rgba(0, 0, 0, 0.6) 0 -1px 0;
}