1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 00:24:03 +02:00

Use box-shadow mixin

This commit is contained in:
Pierre-Denis Vanduynslager
2016-10-20 16:35:45 -04:00
parent 7a21517a48
commit 6eb2e54a91

View File

@@ -17,10 +17,8 @@
.form-control { .form-control {
border-color: $color; border-color: $color;
@if $enable-shadows { &:focus {
&:focus { @include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%));
box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%);
}
} }
} }