diff options
| author | Mark Otto <[email protected]> | 2016-10-09 16:44:04 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-10-09 16:44:04 -0700 |
| commit | b77b874265e3876eef978d61a613a4fbf74375d9 (patch) | |
| tree | d3bcac921df15ee3464052e80a73648e7253dd84 | |
| parent | 3fa312ccdf799dba3fd7bc4802b5e21b5bed3467 (diff) | |
| download | bootstrap-b77b874265e3876eef978d61a613a4fbf74375d9.tar.xz bootstrap-b77b874265e3876eef978d61a613a4fbf74375d9.zip | |
fix focus shadows, if enabled
| -rw-r--r-- | scss/mixins/_forms.scss | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index e2bead180..a8d501b44 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -12,15 +12,15 @@ .custom-control { color: $color; } + // Set the border and box shadow on specific inputs to match .form-control { border-color: $color; - // @include box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work - &:focus { - // border-color: darken($border-color, 10%); - // $shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten($border-color, 20%); - // @include box-shadow($shadow); + @if $enable-rounded { + &:focus { + box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%) + } } } |
