aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorScott Jehl <scott@scottjehl.com>2009-02-18 15:09:31 +0000
committerScott Jehl <scott@scottjehl.com>2009-02-18 15:09:31 +0000
commit8a6935c526001f82de6830d5a3ea89e550a21247 (patch)
tree44fc21189c4c11a232a327826aa56ced3ddc8408 /themes
parent0708a84aa8e7c7cf9144f48d62e46bd3b038f3d3 (diff)
downloadjquery-ui-8a6935c526001f82de6830d5a3ea89e550a21247.tar.gz
jquery-ui-8a6935c526001f82de6830d5a3ea89e550a21247.zip
Added a static demo and CSS solution for the common problem that occurs when slider handles collide on the same value.
This will fix bug #3467
Diffstat (limited to 'themes')
-rw-r--r--themes/base/ui.slider.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/base/ui.slider.css b/themes/base/ui.slider.css
index 98995fecb..191bec987 100644
--- a/themes/base/ui.slider.css
+++ b/themes/base/ui.slider.css
@@ -6,12 +6,16 @@
.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
+.ui-slider-horizontal-collision .ui-slider-handle { width: .6em; }
+.ui-slider-horizontal-collision .ui-corner-right { margin-left:0; border-left: 0; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; position: relative; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
+.ui-slider-vertical-collision .ui-slider-handle { height: .6em; }
+.ui-slider-vertical-collision .ui-corner-top { margin-bottom:0; border-bottom: 0; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; position: relative; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; } \ No newline at end of file