Use box-shadow mixin

This commit is contained in:
Pierre-Denis Vanduynslager 2016-10-20 16:35:45 -04:00
parent 7a21517a48
commit 6eb2e54a91
1 changed files with 2 additions and 4 deletions

View File

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