diff options
| author | Mark Otto <[email protected]> | 2014-07-02 22:54:56 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-02 22:54:56 -0700 |
| commit | b4958aba69cd942271bba465d5cbc8ef4a1d0529 (patch) | |
| tree | cde2b0250d6ee371d553fdb9635d116bbeb89fe0 /less/forms.less | |
| parent | 77c1a528ab48ba695f52f4f8f7b97bf7bbde05d1 (diff) | |
| download | bootstrap-b4958aba69cd942271bba465d5cbc8ef4a1d0529.tar.xz bootstrap-b4958aba69cd942271bba465d5cbc8ef4a1d0529.zip | |
merge in and resolve conflicts
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/less/forms.less b/less/forms.less index cb8add4b6..ca9194cf2 100644 --- a/less/forms.less +++ b/less/forms.less @@ -362,9 +362,9 @@ input[type="checkbox"] { .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg); } - // Reposition feedback icon if input has visible label above .has-feedback label { + & ~ .form-control-feedback { top: (@line-height-computed + 5); // Height of the `label` and its margin } @@ -387,7 +387,6 @@ input[type="checkbox"] { } - // Inline forms // // Make forms appear inline(-block) by adding the `.form-inline` class. Inline @@ -458,10 +457,7 @@ input[type="checkbox"] { margin-left: 0; } - // Validation states - // - // Reposition the icon because it's now within a grid column and columns have - // `position: relative;` on them. Also accounts for the grid gutter padding. + // Re-override the feedback icon. .has-feedback .form-control-feedback { top: 0; } @@ -514,7 +510,6 @@ input[type="checkbox"] { // Reposition the icon because it's now within a grid column and columns have // `position: relative;` on them. Also accounts for the grid gutter padding. .has-feedback .form-control-feedback { - top: 0; right: (@grid-gutter-width / 2); } |
