diff options
author | Anika Henke <anika@selfthinker.org> | 2012-11-20 00:29:01 +0000 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-11-19 21:31:28 -0500 |
commit | 010e09fa62b7e71fdfaaf6b0d4e974be0704a1c8 (patch) | |
tree | 40d0556c30725e5ed1856333bde3cb6da55c224f /themes/base/jquery.ui.slider.css | |
parent | d5afdba4cb4e00fcd40e22beefd059464f75998b (diff) | |
download | jquery-ui-010e09fa62b7e71fdfaaf6b0d4e974be0704a1c8.tar.gz jquery-ui-010e09fa62b7e71fdfaaf6b0d4e974be0704a1c8.zip |
CSS: Reformatted CSS to use better coding standard
Diffstat (limited to 'themes/base/jquery.ui.slider.css')
-rw-r--r-- | themes/base/jquery.ui.slider.css | 68 |
1 files changed, 55 insertions, 13 deletions
diff --git a/themes/base/jquery.ui.slider.css b/themes/base/jquery.ui.slider.css index 5e7a9734f..d0ee1a00d 100644 --- a/themes/base/jquery.ui.slider.css +++ b/themes/base/jquery.ui.slider.css @@ -8,18 +8,60 @@ * * http://docs.jquery.com/UI/Slider#theming */ -.ui-slider { position: relative; text-align: left; } -.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } -.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} -.ui-slider-horizontal { height: .8em; } -.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } -.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } -.ui-slider-horizontal .ui-slider-range-min { left: 0; } -.ui-slider-horizontal .ui-slider-range-max { right: 0; } +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -.3em; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.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 .ui-slider-range { left: 0; width: 100%; } -.ui-slider-vertical .ui-slider-range-min { bottom: 0; } -.ui-slider-vertical .ui-slider-range-max { top: 0; }
\ No newline at end of file +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} |