summaryrefslogtreecommitdiffstats
path: root/scss/mixins/_forms.scss
diff options
context:
space:
mode:
Diffstat (limited to 'scss/mixins/_forms.scss')
-rw-r--r--scss/mixins/_forms.scss14
1 files changed, 12 insertions, 2 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss
index d47b1e4..00b4764 100644
--- a/scss/mixins/_forms.scss
+++ b/scss/mixins/_forms.scss
@@ -69,7 +69,12 @@
&:focus {
border-color: $border-color;
- box-shadow: $focus-box-shadow;
+ @if $enable-shadows {
+ @include box-shadow($input-box-shadow, $focus-box-shadow);
+ } @else {
+ // Avoid using mixin so we can pass custom focus shadow properly
+ box-shadow: $focus-box-shadow;
+ }
}
}
}
@@ -100,7 +105,12 @@
&:focus {
border-color: $border-color;
- box-shadow: $focus-box-shadow;
+ @if $enable-shadows {
+ @include box-shadow($form-select-box-shadow, $focus-box-shadow);
+ } @else {
+ // Avoid using mixin so we can pass custom focus shadow properly
+ box-shadow: $focus-box-shadow;
+ }
}
}
}