0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Fixes #10522: Enable use of form validation class on .radio, .checkbox, .radio-inline, and .checkbox-inline

This commit is contained in:
Mark Otto 2013-10-20 19:54:22 -07:00
parent 23a85d6a7a
commit dd34102cb6
3 changed files with 21 additions and 5 deletions

View File

@ -2034,7 +2034,11 @@ textarea.input-lg {
}
.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;
}
@ -2057,7 +2061,11 @@ textarea.input-lg {
}
.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;
}
@ -2080,7 +2088,11 @@ textarea.input-lg {
}
.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;
}

File diff suppressed because one or more lines are too long

View File

@ -779,7 +779,11 @@
.form-control-validation(@text-color: #555; @border-color: #ccc; @background-color: #f5f5f5) {
// Color the label and help text
.help-block,
.control-label {
.control-label,
.radio,
.checkbox,
.radio-inline,
.checkbox-inline {
color: @text-color;
}
// Set the border and box shadow on specific inputs to match