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 | |
| parent | 77c1a528ab48ba695f52f4f8f7b97bf7bbde05d1 (diff) | |
| download | bootstrap-b4958aba69cd942271bba465d5cbc8ef4a1d0529.tar.xz bootstrap-b4958aba69cd942271bba465d5cbc8ef4a1d0529.zip | |
merge in and resolve conflicts
Diffstat (limited to 'less')
| -rw-r--r-- | less/forms.less | 9 | ||||
| -rw-r--r-- | less/mixins/forms.less | 6 |
2 files changed, 7 insertions, 8 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); } diff --git a/less/mixins/forms.less b/less/mixins/forms.less index e36c4a8cf..6f55ed967 100644 --- a/less/mixins/forms.less +++ b/less/mixins/forms.less @@ -10,7 +10,11 @@ .radio, .checkbox, .radio-inline, - .checkbox-inline { + .checkbox-inline, + &.radio label, + &.checkbox label, + &.radio-inline label, + &.checkbox-inline label { color: @text-color; } // Set the border and box shadow on specific inputs to match |
