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 {
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;
}
}
}
}