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.
66 lines (65 loc) • 1.75 kB
CSS
/* dojox.mobile.Slider */
.mblSlider {
margin: 15px;
border-style: inset;
border-width: 1px;
border-radius: 8px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#cecece), to(#fdfdfd), color-stop(0.5, #eeeeee), color-stop(0.5, #f8f8f8));
background-image: linear-gradient(to bottom, #cecece 0%, #eeeeee 50%, #f8f8f8 50%, #fdfdfd 100%);
-webkit-user-select: none;
-ms-user-select: none;
-webkit-box-sizing: content-box;
box-sizing: content-box;
border-color: #b0b0b0;
}
.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: 8px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#2859b1), to(#75acfb), color-stop(0.5, #3f84eb), color-stop(0.5, #4c8eee));
background-image: linear-gradient(to bottom, #2859b1 0%, #3f84eb 50%, #4c8eee 50%, #75acfb 100%);
}
.mblSliderHandle {
margin: -10px 0 0 -10px;
width: 18px;
height: 18px;
border-style: outset;
border-width: 1px;
border-radius: 10px;
background-image: -webkit-gradient(linear, left top, left bottom, from(#cccccc), to(#fafafa));
background-image: linear-gradient(to bottom, #cccccc 0%, #fafafa 100%);
border-color: #9d9d9d;
}
.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);
}