]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
match space after comma, darken invalid/valid bg color on custom checks
authorMark Otto <markdotto@gmail.com>
Sun, 22 Oct 2017 19:35:13 +0000 (12:35 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 22 Oct 2017 19:35:13 +0000 (12:35 -0700)
scss/mixins/_forms.scss

index 8362a8397920838a542bfa830b6c8670040aed60..2592f0492f18aad0b5e543ee406145856b753e76 100644 (file)
@@ -46,7 +46,7 @@
     font-size: .875rem;
     line-height: 1;
     color: #fff;
-    background-color: rgba($color,.8);
+    background-color: rgba($color, .8);
     border-radius: .2rem;
   }
 
@@ -57,7 +57,7 @@
       border-color: $color;
 
       &:focus {
-        box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
+        box-shadow: 0 0 0 $input-btn-focus-width rgba($color, .25);
       }
 
       ~ .#{$state}-feedback,
@@ -83,7 +83,7 @@
     .was-validated &:#{$state},
     &.is-#{$state} {
       ~ .custom-control-indicator {
-        background-color: rgba($color, .25);
+        background-color: rgba($color, .4);
       }
       ~ .custom-control-description {
         color: $color;
         &::before { border-color: inherit; }
       }
       &:focus {
-        box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
+        box-shadow: 0 0 0 $input-btn-focus-width rgba($color, .25);
       }
     }
   }