From 97cfe5a5820895348570ba1c2b67847715f1bca3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 23 Dec 2017 20:33:41 -0800 Subject: [PATCH] Only apply the active and focus shadow on the focus state for :active --- scss/_buttons.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scss/_buttons.scss b/scss/_buttons.scss index fa0e9c99c8..a9216ced7a 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; + } } }