aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-23 23:13:14 -0700
committerMark Otto <[email protected]>2015-08-23 23:13:14 -0700
commit7d194a9bd34394406ff44cef90f43c94849d6939 (patch)
tree56c62bc30378fe0ac422ae587ca0170a8e77289c
parent096ed52e063822e7e84aec6abb31ea77a059065f (diff)
downloadbootstrap-7d194a9bd34394406ff44cef90f43c94849d6939.tar.xz
bootstrap-7d194a9bd34394406ff44cef90f43c94849d6939.zip
wrap box-shadows in mixin in custom forms. fixes #17242
-rw-r--r--scss/_custom-forms.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss
index c63c9c185..0565f2f75 100644
--- a/scss/_custom-forms.scss
+++ b/scss/_custom-forms.scss
@@ -146,7 +146,7 @@
&:focus {
border-color: #51a7e8;
outline: none;
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
+ @include box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5));
}
// Hides the default caret in IE11
@@ -197,7 +197,7 @@
background-color: #fff;
border: .075rem solid #ddd;
border-radius: .25rem;
- box-shadow: inset 0 .2rem .4rem rgba(0,0,0,.05);
+ @include box-shadow(inset 0 .2rem .4rem rgba(0,0,0,.05));
}
.file-custom:after {
content: "Choose file...";
@@ -221,5 +221,5 @@
// Focus state
.file input:focus ~ .file-custom {
- box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9;
+ @include box-shadow(0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9);
}