mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-20 17:54:23 +01:00
Fixes #5912: User correct selector for form field states.
Previously, we were using a generic label selector, but as this was changed in the main forms awhile back, we need to change it here.
This commit is contained in:
parent
5702e1be6e
commit
88c2497368
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -1432,7 +1432,7 @@ input[type="checkbox"][readonly] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.control-group.warning > label,
|
||||
.control-group.warning .control-label,
|
||||
.control-group.warning .help-block,
|
||||
.control-group.warning .help-inline {
|
||||
color: #c09853;
|
||||
@ -1471,7 +1471,7 @@ input[type="checkbox"][readonly] {
|
||||
border-color: #c09853;
|
||||
}
|
||||
|
||||
.control-group.error > label,
|
||||
.control-group.error .control-label,
|
||||
.control-group.error .help-block,
|
||||
.control-group.error .help-inline {
|
||||
color: #b94a48;
|
||||
@ -1510,7 +1510,7 @@ input[type="checkbox"][readonly] {
|
||||
border-color: #b94a48;
|
||||
}
|
||||
|
||||
.control-group.success > label,
|
||||
.control-group.success .control-label,
|
||||
.control-group.success .help-block,
|
||||
.control-group.success .help-inline {
|
||||
color: #468847;
|
||||
@ -1549,7 +1549,7 @@ input[type="checkbox"][readonly] {
|
||||
border-color: #468847;
|
||||
}
|
||||
|
||||
.control-group.info > label,
|
||||
.control-group.info .control-label,
|
||||
.control-group.info .help-block,
|
||||
.control-group.info .help-inline {
|
||||
color: #3a87ad;
|
||||
|
@ -163,7 +163,7 @@
|
||||
// Mixin for form field states
|
||||
.formFieldState(@textColor: #555, @borderColor: #ccc, @backgroundColor: #f5f5f5) {
|
||||
// Set the text color
|
||||
> label,
|
||||
.control-label,
|
||||
.help-block,
|
||||
.help-inline {
|
||||
color: @textColor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user