aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-01 18:21:19 -0700
committerMark Otto <[email protected]>2013-07-01 18:21:19 -0700
commit9da90adb4ca09e4c3b5ec549211c07292ec38d71 (patch)
tree04adc7b367309e45015d0db3720b883f375d3f59
parentc9df1db50221fe033a0b7bc216fa2de5b6eea17a (diff)
downloadbootstrap-9da90adb4ca09e4c3b5ec549211c07292ec38d71.tar.xz
bootstrap-9da90adb4ca09e4c3b5ec549211c07292ec38d71.zip
fixes #8068: add .help-block to form field state mixin
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/mixins.less1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index f09e4789c..24d2b690c 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1605,6 +1605,7 @@ input[type="color"].input-small {
border-radius: 3px;
}
+.has-warning .help-block,
.has-warning .control-label {
color: #c09853;
}
@@ -1628,6 +1629,7 @@ input[type="color"].input-small {
border-color: #c09853;
}
+.has-error .help-block,
.has-error .control-label {
color: #b94a48;
}
@@ -1651,6 +1653,7 @@ input[type="color"].input-small {
border-color: #b94a48;
}
+.has-success .help-block,
.has-success .control-label {
color: #468847;
}
diff --git a/less/mixins.less b/less/mixins.less
index 24ca797ff..6a24beb03 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -481,6 +481,7 @@
// Generate form validation states
.form-field-validation(@text-color: #555, @border-color: #ccc, @background-color: #f5f5f5) {
// Color the label text
+ .help-block,
.control-label {
color: @text-color;
}