Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Negate box-sizing border-box for slider input.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspermdegroot committed Jun 8, 2012
1 parent 85a5478 commit 79fcf3c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion css/structure/jquery.mobile.forms.slider.css
@@ -1,6 +1,9 @@
label.ui-slider { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
input.ui-slider-input,
.ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; }
.ui-field-contain input.ui-slider-input { display: inline-block; width: 50px; background-image: none; padding: .4em; margin: .5em 0; line-height: 1.4; font-size: 16px; outline: 0; }
.ui-field-contain input.ui-slider-input { margin: 0; }
/* To do: Exclude ui-slider-input from textinput widget initSelector. The class ui-input-text is added to the slider input and label. When this is fixed, the rule below can be deleted. */
input.ui-slider-input, .ui-field-contain input.ui-slider-input { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; -ms-box-sizing: content-box; box-sizing: content-box; }
select.ui-slider-switch { display: none; }
div.ui-slider { position: relative; display: inline-block; overflow: visible; height: 15px; padding: 0; margin: 0 2% 0 20px; top: 4px; width: 65%; }
div.ui-slider-mini { height: 12px; margin-left: 10px; }
Expand Down

0 comments on commit 79fcf3c

Please sign in to comment.