diff options
| author | Mark Otto <[email protected]> | 2012-02-21 13:43:13 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-02-21 13:43:13 -0800 |
| commit | 664a5c443849880972cf62aa85306be269d09270 (patch) | |
| tree | 238790e386bb05eb17780b8b5dbea8e1c2c9e6d7 /less/forms.less | |
| parent | d908731566a18a236609708238e697b4fc3c1355 (diff) | |
| download | bootstrap-664a5c443849880972cf62aa85306be269d09270.tar.xz bootstrap-664a5c443849880972cf62aa85306be269d09270.zip | |
update forms help-block
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/less/forms.less b/less/forms.less index 68da6c1ce..bc89bdc3f 100644 --- a/less/forms.less +++ b/less/forms.less @@ -335,17 +335,19 @@ select:focus:required:invalid { // HELP TEXT // --------- +.help-block, +.help-inline { + color: @gray; // lighten the text some for contrast +} + .help-block { display: block; // account for any element using help-block - margin-top: 5px; - margin-bottom: 0; - color: @grayLight; + margin-bottom: @baseLineHeight / 2; } .help-inline { display: inline-block; .ie7-inline-block(); - margin-bottom: 9px; vertical-align: middle; padding-left: 5px; } @@ -528,6 +530,11 @@ legend + .control-group { .controls { margin-left: 160px; } + // Remove bottom margin on block level help text since that's accounted for on .control-group + .help-block { + margin-top: @baseLineHeight / 2; + margin-bottom: 0; + } // Move over buttons in .form-actions to align with .controls .form-actions { padding-left: 160px; |
