mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
rm unused $state param from form-control-validation mixin; fixes #17323
[skip sauce] [skip validator]
This commit is contained in:
parent
7ff9b1979c
commit
5c239aae7d
@ -273,7 +273,7 @@ input[type="checkbox"] {
|
|||||||
|
|
||||||
// Form validation states
|
// Form validation states
|
||||||
.has-success {
|
.has-success {
|
||||||
@include form-control-validation(success, $brand-success);
|
@include form-control-validation($brand-success);
|
||||||
|
|
||||||
.form-control-success {
|
.form-control-success {
|
||||||
background-image: url($form-icon-success);
|
background-image: url($form-icon-success);
|
||||||
@ -281,7 +281,7 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-warning {
|
.has-warning {
|
||||||
@include form-control-validation(warning, $brand-warning);
|
@include form-control-validation($brand-warning);
|
||||||
|
|
||||||
.form-control-warning {
|
.form-control-warning {
|
||||||
background-image: url($form-icon-warning);
|
background-image: url($form-icon-warning);
|
||||||
@ -289,7 +289,7 @@ input[type="checkbox"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.has-error {
|
.has-error {
|
||||||
@include form-control-validation(error, $brand-danger);
|
@include form-control-validation($brand-danger);
|
||||||
|
|
||||||
.form-control-error {
|
.form-control-error {
|
||||||
background-image: url($form-icon-error);
|
background-image: url($form-icon-error);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// Used in _forms.scss to generate the form validation CSS for warnings, errors,
|
// Used in _forms.scss to generate the form validation CSS for warnings, errors,
|
||||||
// and successes.
|
// and successes.
|
||||||
|
|
||||||
@mixin form-control-validation($state, $color) {
|
@mixin form-control-validation($color) {
|
||||||
// Color the label and help text
|
// Color the label and help text
|
||||||
.help-block,
|
.help-block,
|
||||||
.control-label,
|
.control-label,
|
||||||
|
Loading…
Reference in New Issue
Block a user