From be4b3d4bfd9588005a639267604af1a1d8d25f42 Mon Sep 17 00:00:00 2001 From: Antoine Llorca Date: Mon, 20 Feb 2017 14:05:05 -0800 Subject: [PATCH] Same styles for minimal button hover & focus (#708) --- packages/core/src/components/button/_common.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/core/src/components/button/_common.scss b/packages/core/src/components/button/_common.scss index a67b4951882..86e961afeaf 100644 --- a/packages/core/src/components/button/_common.scss +++ b/packages/core/src/components/button/_common.scss @@ -274,12 +274,9 @@ $button-intents: ( box-shadow: none; background: $minimal-button-background-color; + &:hover, &:focus { box-shadow: none; - } - - &:hover { - box-shadow: none; background: $minimal-button-background-color-hover; text-decoration: none; color: $pt-text-color; @@ -357,7 +354,8 @@ $button-intents: ( color: $text-color; } - &:hover { + &:hover, + &:focus { background: rgba($intent-color, 0.15); }