summaryrefslogtreecommitdiff
path: root/js/dojo/dojox/mobile/themes/common/Slider.less
diff options
context:
space:
mode:
Diffstat (limited to 'js/dojo/dojox/mobile/themes/common/Slider.less')
-rw-r--r--js/dojo/dojox/mobile/themes/common/Slider.less47
1 files changed, 47 insertions, 0 deletions
diff --git a/js/dojo/dojox/mobile/themes/common/Slider.less b/js/dojo/dojox/mobile/themes/common/Slider.less
new file mode 100644
index 0000000..ec57a17
--- /dev/null
+++ b/js/dojo/dojox/mobile/themes/common/Slider.less
@@ -0,0 +1,47 @@
+/* dojox.mobile.Slider */
+.mblSlider {
+ outline: none;
+ -webkit-user-select: none; /* prevent selection */
+ -webkit-box-sizing: content-box; /* make width and height consistent with a DIV */
+ .mblSlider-styles;
+}
+.mblSliderH {
+ width: 200px;
+ height: 8px;
+ .mblSliderProgressBar {
+ height: 100%;
+ }
+ .mblSliderHandle {
+ top: 50%;
+ }
+}
+.mblSliderV {
+ height: 200px;
+ width: 8px;
+ .mblSliderProgressBar {
+ width: 100%;
+ }
+ .mblSliderHandle {
+ left: 50%;
+ }
+}
+.mblSliderProgressBar {
+ .mblSliderProgressBar-styles;
+}
+.mblSliderHandle {
+ .mblSliderHandle-styles;
+}
+.mblSliderTransition {
+ -webkit-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);
+}