From: Catalin Zalog Date: Wed, 1 Apr 2020 17:44:22 +0000 (+0300) Subject: Use `box-shadow` mixin for form controls (#30480) X-Git-Tag: v5.0.0-alpha1~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cc1a476468d8106ef2954f959dc7b747159a353;p=thirdparty%2Fbootstrap.git Use `box-shadow` mixin for form controls (#30480) --- diff --git a/scss/forms/_form-control.scss b/scss/forms/_form-control.scss index 42456e3aa6..6686ecfb80 100644 --- a/scss/forms/_form-control.scss +++ b/scss/forms/_form-control.scss @@ -29,10 +29,10 @@ 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; } }