fix hover states for ios safari with media query
This commit is contained in:
@@ -425,6 +425,7 @@ button, .button-primary, .logo {
|
|||||||
fill: currentColor;
|
fill: currentColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (hover: hover) {
|
||||||
button:hover, .button-primary:hover, .button-secondary:hover, .logo:hover {
|
button:hover, .button-primary:hover, .button-secondary:hover, .logo:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transform: scale(1.05);
|
transform: scale(1.05);
|
||||||
@@ -439,6 +440,7 @@ button:hover, .button-primary:hover, .logo:hover {
|
|||||||
background: var(--color-button-secondary-hover);
|
background: var(--color-button-secondary-hover);
|
||||||
color: var(--color-text-button-secondary-hover);
|
color: var(--color-text-button-secondary-hover);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
button:active, .button-primary:active, .button-secondary:active, .logo:active {
|
button:active, .button-primary:active, .button-secondary:active, .logo:active {
|
||||||
box-shadow: var(--shadow-button-active);
|
box-shadow: var(--shadow-button-active);
|
||||||
|
|||||||
Reference in New Issue
Block a user