mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-29 08:10:47 +02:00
Fixes #10522: Enable use of form validation class on .radio, .checkbox, .radio-inline, and .checkbox-inline
This commit is contained in:
18
dist/css/bootstrap.css
vendored
18
dist/css/bootstrap.css
vendored
@@ -2034,7 +2034,11 @@ textarea.input-lg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-warning .help-block,
|
.has-warning .help-block,
|
||||||
.has-warning .control-label {
|
.has-warning .control-label,
|
||||||
|
.has-warning .radio,
|
||||||
|
.has-warning .checkbox,
|
||||||
|
.has-warning .radio-inline,
|
||||||
|
.has-warning .checkbox-inline {
|
||||||
color: #c09853;
|
color: #c09853;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2057,7 +2061,11 @@ textarea.input-lg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-error .help-block,
|
.has-error .help-block,
|
||||||
.has-error .control-label {
|
.has-error .control-label,
|
||||||
|
.has-error .radio,
|
||||||
|
.has-error .checkbox,
|
||||||
|
.has-error .radio-inline,
|
||||||
|
.has-error .checkbox-inline {
|
||||||
color: #b94a48;
|
color: #b94a48;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2080,7 +2088,11 @@ textarea.input-lg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-success .help-block,
|
.has-success .help-block,
|
||||||
.has-success .control-label {
|
.has-success .control-label,
|
||||||
|
.has-success .radio,
|
||||||
|
.has-success .checkbox,
|
||||||
|
.has-success .radio-inline,
|
||||||
|
.has-success .checkbox-inline {
|
||||||
color: #468847;
|
color: #468847;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -779,7 +779,11 @@
|
|||||||
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
|
||||||
// Color the label and help text
|
// Color the label and help text
|
||||||
.help-block,
|
.help-block,
|
||||||
.control-label {
|
.control-label,
|
||||||
|
.radio,
|
||||||
|
.checkbox,
|
||||||
|
.radio-inline,
|
||||||
|
.checkbox-inline {
|
||||||
color: @text-color;
|
color: @text-color;
|
||||||
}
|
}
|
||||||
// Set the border and box shadow on specific inputs to match
|
// Set the border and box shadow on specific inputs to match
|
||||||
|
Reference in New Issue
Block a user