0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

fixes #8068: add .help-block to form field state mixin

This commit is contained in:
Mark Otto 2013-07-01 18:21:19 -07:00
parent c9df1db502
commit 9da90adb4c
2 changed files with 4 additions and 0 deletions

View File

@ -1605,6 +1605,7 @@ input[type="color"].input-small {
border-radius: 3px; border-radius: 3px;
} }
.has-warning .help-block,
.has-warning .control-label { .has-warning .control-label {
color: #c09853; color: #c09853;
} }
@ -1628,6 +1629,7 @@ input[type="color"].input-small {
border-color: #c09853; border-color: #c09853;
} }
.has-error .help-block,
.has-error .control-label { .has-error .control-label {
color: #b94a48; color: #b94a48;
} }
@ -1651,6 +1653,7 @@ input[type="color"].input-small {
border-color: #b94a48; border-color: #b94a48;
} }
.has-success .help-block,
.has-success .control-label { .has-success .control-label {
color: #468847; color: #468847;
} }

View File

@ -481,6 +481,7 @@
// Generate form validation states // Generate form validation states
.form-field-validation(@text-color: #555, @border-color: #ccc, @background-color: #f5f5f5) { .form-field-validation(@text-color: #555, @border-color: #ccc, @background-color: #f5f5f5) {
// Color the label text // Color the label text
.help-block,
.control-label { .control-label {
color: @text-color; color: @text-color;
} }