diff options
| author | Mark Otto <[email protected]> | 2017-12-23 20:33:41 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-12-27 17:56:28 -0800 |
| commit | 97cfe5a5820895348570ba1c2b67847715f1bca3 (patch) | |
| tree | 129c8c7a68611dd2133346f4225d561b9b465a68 | |
| parent | c0129f8c2a281c75d35a003852d15916fc689fae (diff) | |
| download | bootstrap-97cfe5a5820895348570ba1c2b67847715f1bca3.tar.xz bootstrap-97cfe5a5820895348570ba1c2b67847715f1bca3.zip | |
Only apply the active and focus shadow on the focus state for :active
| -rw-r--r-- | scss/_buttons.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss index fa0e9c99c..a9216ced7 100644 --- a/scss/_buttons.scss +++ b/scss/_buttons.scss @@ -40,7 +40,11 @@ &:not([disabled]):not(.disabled):active, &:not([disabled]):not(.disabled).active { background-image: none; - @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow); + box-shadow: $btn-active-box-shadow; + + &:focus { + @box-shadow: $btn-focus-box-shadow, $btn-active-box-shadow; + } } } |
