diff options
| author | Mark Otto <[email protected]> | 2012-01-26 15:25:19 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-26 15:25:19 -0800 |
| commit | 2d67c3408465f44be7336abc6a00af870d2c18f8 (patch) | |
| tree | 00035c926c09fba04023b55ae3337464b37e3379 /lib/forms.less | |
| parent | f398926e4647df1e7e5a2abdbc9e2e9e775eeb34 (diff) | |
| parent | 721b8a10785c548fa6a1cb26ccd698ceabc43e36 (diff) | |
| download | bootstrap-2d67c3408465f44be7336abc6a00af870d2c18f8.tar.xz bootstrap-2d67c3408465f44be7336abc6a00af870d2c18f8.zip | |
Merge branch 'form_alignment' of https://github.com/phopkins/bootstrap into phopkins-form_alignment
Conflicts:
bootstrap.css
bootstrap.min.css
Diffstat (limited to 'lib/forms.less')
| -rw-r--r-- | lib/forms.less | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/forms.less b/lib/forms.less index 744649f90..4ee636683 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -87,6 +87,7 @@ input[type=radio] { line-height: normal; border: none; cursor: pointer; + .border-radius(0); } // Reset the file input to browser defaults @@ -118,7 +119,6 @@ input[type=file] { // Chrome on Linux and Mobile Safari need background-color select { width: 220px; // default input width + 10px of padding that doesn't get applied - vertical-align: baseline; background-color: @white; } @@ -162,7 +162,7 @@ input[type=hidden] { // Move the options list down to align with labels .controls > .radio:first-child, .controls > .checkbox:first-child { - padding-top: 6px; // has to be padding because margin collaspes + padding-top: 5px; // has to be padding because margin collaspes } // Radios and checkboxes on same line @@ -376,9 +376,9 @@ select:focus:required:invalid { } .help-inline { - *position: relative; /* IE6-7 */ - *top: -5px; /* IE6-7 */ - display: inline; + display: inline-block; + margin-bottom: 9px; + vertical-align: middle; padding-left: 5px; } @@ -468,6 +468,7 @@ select:focus:required:invalid { input, textarea, select, + .help-inline, .uneditable-input { display: inline-block; margin-bottom: 0; |
