]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Sass correction
authorSharrell Porter <SharrellPorter@example.com>
Fri, 20 Oct 2017 11:23:48 +0000 (07:23 -0400)
committerSharrell Porter <SharrellPorter@example.com>
Fri, 20 Oct 2017 11:23:48 +0000 (07:23 -0400)
scss/mixins/_forms.scss

index 3adbc1dd214a2923cf57d8091409640349baad0b..34405810ac4e8ed7ffdeba28af6beffcf57b97f3 100644 (file)
     &.is-#{$state} {
       ~ .custom-control-indicator {
         background-color: rgba($color, .25);
-        box-shadow: 0 0 0 1px #fff, 0 0 0 3px #dc3545;
+      }
+    &:focus {
+      ~ .custom-control-indicator {
+      box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $color;
       }
       ~ .custom-control-description {
         color: $color;
       }
       &:focus {
         box-shadow: 0 0 0 .2rem rgba($color,.25);
+        
       }
     }
   }