Fix button color change on hover (fixes #262)

This commit is contained in:
schlagmichdoch 2024-02-09 03:40:21 +01:00
parent 99b0c6ff01
commit 5d709966af
1 changed files with 4 additions and 1 deletions

View File

@ -626,12 +626,15 @@ x-dialog:not([show]) x-background {
left: 0;
right: 0;
bottom: 0;
z-index: -1;
opacity: 0;
background-color: var(--accent-color);
transition: opacity 300ms;
}
.icon-button:before {
z-index: -1;
}
.btn:not([disabled]):hover:before,
.icon-button:hover:before {
opacity: 0.3;