]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
use vars, fix indentation
authorMark Otto <markd.otto@gmail.com>
Sun, 22 Oct 2017 03:55:01 +0000 (20:55 -0700)
committerGitHub <noreply@github.com>
Sun, 22 Oct 2017 03:55:01 +0000 (20:55 -0700)
scss/mixins/_forms.scss

index 34405810ac4e8ed7ffdeba28af6beffcf57b97f3..88582ed86cb7c488baf08d6af7d569992c564124 100644 (file)
@@ -57,7 +57,7 @@
       border-color: $color;
 
       &:focus {
-        box-shadow: 0 0 0 .2rem rgba($color,.25);
+        box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
       }
 
       ~ .#{$state}-feedback,
@@ -87,7 +87,7 @@
       }
     &:focus {
       ~ .custom-control-indicator {
-      box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $color;
+        box-shadow: 0 0 0 1px $body-bg, 0 0 0 $input-btn-focus-width $color;
       }
       ~ .custom-control-description {
         color: $color;
         &::before { border-color: inherit; }
       }
       &:focus {
-        box-shadow: 0 0 0 .2rem rgba($color,.25);
-        
+        box-shadow: 0 0 0 $input-btn-focus-width rgba($color,.25);
       }
     }
   }