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.
68 lines (67 loc) • 1.66 kB
CSS
/* dojox.mobile.Slider */
.mblSlider {
margin: 15px;
border-style: inset;
border-width: 1px;
border-radius: 0;
background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#e2e2e2));
background-image: linear-gradient(to bottom, #ffffff 0%, #e2e2e2 100%);
-webkit-user-select: none;
-ms-user-select: none;
-webkit-box-sizing: content-box;
box-sizing: content-box;
border: 1px solid #c0c0c0;
border-bottom-color: #9b9b9b;
}
.mblSliderH {
width: 200px;
height: 8px;
}
.mblSliderH .mblSliderProgressBar {
height: 100%;
}
.mblSliderH .mblSliderHandle {
top: 50%;
}
.mblSliderV {
height: 200px;
width: 8px;
}
.mblSliderV .mblSliderProgressBar {
width: 100%;
}
.mblSliderV .mblSliderHandle {
left: 50%;
}
.mblSliderProgressBar {
border-radius: 0;
background-image: -webkit-gradient(linear, left top, left bottom, from(#bbbbbb), to(#999999));
background-image: linear-gradient(to bottom, #bbbbbb 0%, #999999 100%);
}
.mblSliderHandle {
margin: -10px 0 0 -10px;
width: 18px;
height: 18px;
border-style: outset;
border-width: 1px;
border-radius: 0;
background-image: -webkit-gradient(linear, left top, left bottom, from(#e2e2e2), to(#a4a4a4));
background-image: linear-gradient(to bottom, #e2e2e2 0%, #a4a4a4 100%);
border: 1px solid #9b9b9b;
border-bottom-color: #767676;
}
.mblSliderTransition {
-webkit-transition-duration: 400ms;
transition-duration: 400ms;
}
.mblSliderTouchBox {
margin: 0;
padding: 12pt;
left: -12pt;
top: -12pt;
border: none;
width: 100%;
height: 100%;
background-color: transparent;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}