]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
rm unused $state param from form-control-validation mixin; fixes #17323 17331/head
authorChris Rebert <code@chrisrebert.com>
Wed, 26 Aug 2015 08:30:30 +0000 (01:30 -0700)
committerChris Rebert <code@chrisrebert.com>
Wed, 26 Aug 2015 08:32:26 +0000 (01:32 -0700)
[skip sauce]
[skip validator]

scss/_forms.scss
scss/mixins/_forms.scss

index 72ec9b03f99800d33ba4469e1fef0c95f289701f..a4600fdbf276b2525882cde8ca0ab557382c58e8 100644 (file)
@@ -273,7 +273,7 @@ input[type="checkbox"] {
 
 // Form validation states
 .has-success {
-  @include form-control-validation(success, $brand-success);
+  @include form-control-validation($brand-success);
 
   .form-control-success {
     background-image: url($form-icon-success);
@@ -281,7 +281,7 @@ input[type="checkbox"] {
 }
 
 .has-warning {
-  @include form-control-validation(warning, $brand-warning);
+  @include form-control-validation($brand-warning);
 
   .form-control-warning {
     background-image: url($form-icon-warning);
@@ -289,7 +289,7 @@ input[type="checkbox"] {
 }
 
 .has-error {
-  @include form-control-validation(error, $brand-danger);
+  @include form-control-validation($brand-danger);
 
   .form-control-error {
     background-image: url($form-icon-error);
index 764c5e08350d19275c46d720b8dd41ad952b0e62..c9f3ef1a56382f5fbb40465f10acc4a684caadbc 100644 (file)
@@ -3,7 +3,7 @@
 // Used in _forms.scss to generate the form validation CSS for warnings, errors,
 // and successes.
 
-@mixin form-control-validation($state, $color) {
+@mixin form-control-validation($color) {
   // Color the label and help text
   .help-block,
   .control-label,