Skip to content
Permalink
Browse files

css updates to abstract left, right, bottom, top values into CSS

  • Loading branch information
Scott Jehl
Scott Jehl committed Jan 29, 2009
1 parent 04e2b80 commit e42a055dbbaa34df5abcf6513463885ea5c61257
Showing with 7 additions and 3 deletions.
  1. +7 −3 themes/base/ui.slider.css
@@ -6,8 +6,12 @@

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
.ui-slider-horizontal .ui-slider-range { position: relative; top: 0; height: 100%; }
.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: 100%; }
.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; height: auto; width: 100%; }
.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; }

0 comments on commit e42a055

Please sign in to comment.
You can’t perform that action at this time.