mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
fix(button): button goes transparent on hover on desktop (non-touch devices)
This commit is contained in:
@ -58,7 +58,7 @@ $button-md-small-icon-font-size: 1.4em !default;
|
|||||||
color $button-md-transition-duration $button-md-animation-curve;
|
color $button-md-transition-duration $button-md-animation-curve;
|
||||||
|
|
||||||
&:hover:not(.disable-hover) {
|
&:hover:not(.disable-hover) {
|
||||||
background-color: $button-md-clear-hover-background-color;
|
background-color: $button-md-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.activated {
|
&.activated {
|
||||||
@ -198,7 +198,7 @@ $button-md-small-icon-font-size: 1.4em !default;
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:hover:not(.disable-hover) {
|
&:hover:not(.disable-hover) {
|
||||||
color: $button-md-color;
|
background-color: $button-md-clear-hover-background-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-button-effect {
|
ion-button-effect {
|
||||||
|
Reference in New Issue
Block a user