Use box-shadow mixin
This commit is contained in:
parent
7a21517a48
commit
6eb2e54a91
|
@ -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%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue