Merge pull request woocommerce/woocommerce-admin#1518 from woocommerce/fix/1339-disabled-button

Remove on hover color from disabled button
This commit is contained in:
Tiago Noronha 2019-02-12 13:04:33 +00:00 committed by GitHub
commit 1c990aec04
1 changed files with 7 additions and 5 deletions

View File

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