diff options
| author | Jacob Thornton <[email protected]> | 2012-01-02 16:04:35 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-02 16:04:35 -0800 |
| commit | f8c0efbcb45ba81204488b398d1d8ef2950850c6 (patch) | |
| tree | d41b2270d570ac0ee684664f84c53a1379fcfff1 /lib/forms.less | |
| parent | 2d092dfeea969d82bc55a153c6a597a3e87a0a03 (diff) | |
| parent | 553030ca7de8dac3c5180629ff84fa14173513ab (diff) | |
| download | bootstrap-f8c0efbcb45ba81204488b398d1d8ef2950850c6.tar.xz bootstrap-f8c0efbcb45ba81204488b398d1d8ef2950850c6.zip | |
Merge branch '2.0-wip' of https://github.com/twitter/bootstrap into 2.0-wip
Conflicts:
bootstrap.css
Diffstat (limited to 'lib/forms.less')
| -rw-r--r-- | lib/forms.less | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/lib/forms.less b/lib/forms.less index 64e77fdb4..ededc772e 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -93,13 +93,15 @@ input[type=file] { line-height: @baseLineHeight * 1.5; } -// Chrome on Linux needs background color +// Chrome on Linux and Mobile Safari need background-color select { background-color: @white; + vertical-align: middle; } // Make multiple select elements height not fixed -select[multiple] { +select[multiple], +select[size] { height: inherit; } @@ -218,7 +220,7 @@ textarea[readonly] { border-color: @borderColor; &:focus { border-color: darken(@borderColor, 10%); - .box-shadow(0 0 6px lighten(@borderColor, 20%); + .box-shadow(0 0 6px lighten(@borderColor, 20%)); } } // Give a small background color for input-prepend/-append @@ -298,40 +300,17 @@ textarea[readonly] { -// INLINE FIELDS -// ------------- - -.inline-inputs { - color: @gray; - span, input { - display: inline-block; - } - input.mini { - width: 60px; - } - input.small { - width: 90px; - } - span { - padding: 0 2px 0 1px; - } -} - - - // INPUT GROUPS // ------------ // Allow us to put symbols and text within the input field for a cleaner look .input-prepend, .input-append { - overflow: hidden; + .clearfix(); // Clear the float to prevent wrapping input { .border-radius(0 3px 3px 0); } .add-on { - position: relative; - z-index: 2; float: left; display: block; width: auto; |
