web/layout: fix elevated colored button hover & active states

This commit is contained in:
wukko 2024-07-28 13:14:55 +06:00
parent 2fa1ad8f12
commit 194ff90d3d
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -337,7 +337,7 @@
background-color: var(--button-elevated);
}
:global(.button.elevated:active) {
:global(.button.elevated:not(.color):active) {
background-color: var(--button-elevated-hover);
}
@ -365,8 +365,8 @@
:global(button:hover) {
background-color: var(--button-hover);
}
:global(.button.elevated:hover) {
:global(.button.elevated:not(.color):hover) {
background-color: var(--button-elevated-hover);
}