]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #30480
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Mon, 6 Apr 2020 13:25:14 +0000 (15:25 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 13 Apr 2020 18:12:29 +0000 (21:12 +0300)
Use `box-shadow` mixin for form controls

scss/mixins/_forms.scss

index 418470d0b44afb4ec135d562e79ca40e6ae06328..57c2d79f2629b69652aa6f8882e8a2b4462e23a8 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;
     }
   }