Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1518 from woocommerce/fix/1339-disabled-button
Browse files Browse the repository at this point in the history
Remove on hover color from disabled button
  • Loading branch information
tiagonoronha authored Feb 12, 2019
2 parents 4bdf23a + 84a5601 commit dccf61f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions client/stylesheets/shared/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@

.components-button.is-button.is-primary {
color: $white;
}

.components-button.is-button.is-primary:hover,
.components-button.is-button.is-primary:active,
.components-button.is-button.is-primary:focus {
color: $white;
&:not(:disabled) {
&:hover,
&:active,
&:focus {
color: $white;
}
}
}
}

0 comments on commit dccf61f

Please sign in to comment.