Skip to content

Commit

Permalink
Same styles for minimal button hover & focus (palantir#708)
Browse files Browse the repository at this point in the history
  • Loading branch information
llorca authored and giladgray committed Feb 20, 2017
1 parent 6f856bf commit be4b3d4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/core/src/components/button/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -357,7 +354,8 @@ $button-intents: (
color: $text-color;
}

&:hover {
&:hover,
&:focus {
background: rgba($intent-color, 0.15);
}

Expand Down

0 comments on commit be4b3d4

Please sign in to comment.