]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use `box-shadow` mixin for form controls (#30480)
authorCatalin Zalog <c@zalog.ro>
Wed, 1 Apr 2020 17:44:22 +0000 (20:44 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 17:44:22 +0000 (19:44 +0200)
scss/forms/_form-control.scss

index 42456e3aa650504fef01c81ae8632551a35a227b..6686ecfb8058c979794c78ca4f6fa0873ba22860 100644 (file)
     background-color: $input-focus-bg;
     border-color: $input-focus-border-color;
     outline: 0;
-    // Avoid using mixin so we can pass custom focus shadow properly
     @if $enable-shadows {
-      box-shadow: $input-box-shadow, $input-focus-box-shadow;
+      @include box-shadow($input-box-shadow, $input-focus-box-shadow);
     } @else {
+      // Avoid using mixin so we can pass custom focus shadow properly
       box-shadow: $input-focus-box-shadow;
     }
   }