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.
98 lines (97 loc) • 2.09 kB
CSS
/* dojox.mobile.Slider */
.mblSlider {
margin: 15px;
border-style: inset;
border-width: 1px;
border-radius: 10em;
background-image: -webkit-gradient(linear, left top, left bottom, from(#bdbebd), to(#f7f3f7));
background-image: linear-gradient(to bottom, #bdbebd 0%, #f7f3f7 100%);
-webkit-user-select: none;
-ms-user-select: none;
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
.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: 10em;
background-image: none;
}
.mblSliderHandle {
margin: -10px 0 0 -10px;
width: 18px;
height: 18px;
border-style: outset;
border-width: 1px;
border-radius: 10em;
background-image: -webkit-gradient(linear, left top, left bottom, from(#9c9a9c), to(#848284));
background-image: linear-gradient(to bottom, #9c9a9c 0%, #848284 100%);
border-color: transparent;
}
.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);
}
.mblSlider {
border-style: none;
border-radius: 0;
background-image: none;
background-color: transparent;
}
.mblSliderH {
width: 200px;
height: 3px;
background-color: #929292;
border-style: none;
}
.mblSliderV {
height: 200px;
width: 3px;
background-color: #929292;
border-style: none;
}
.mblSliderProgressBar {
border: radius: 0;
background-image: none;
background-color: #007aff;
}
.mblSliderHandle {
background-image: none;
background-color: white;
box-shadow: 0px 0px 3px #888;
border-color: transparent;
}
.mblSliderHandle:after {
border-style: solid;
background-image: none;
border-color: transparent;
}