Migrate to nested CSS

This commit is contained in:
Kalle
2026-03-28 16:30:28 +02:00
parent 0df6002c9a
commit dfa95bd92d
93 changed files with 1405 additions and 1337 deletions

View File

@@ -36,25 +36,25 @@
font-weight: var(--weight-semi);
cursor: pointer;
transition: background-color 0.2s ease;
}
.roundButton:hover:not(:disabled):not(.roundButtonActive) {
background-color: var(--color-bg-higher);
}
&:hover:not(:disabled):not(.roundButtonActive) {
background-color: var(--color-bg-higher);
}
.roundButton:disabled {
opacity: 0.5;
cursor: not-allowed;
}
&:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.roundButton:focus-visible {
outline: var(--focus-ring);
outline-offset: 1px;
}
&:focus-visible {
outline: var(--focus-ring);
outline-offset: 1px;
}
.roundButton svg {
width: 1rem;
height: 1rem;
& svg {
width: 1rem;
height: 1rem;
}
}
.roundButtonActive {