Design refresh + a bunch of stuff (#2864)

Co-authored-by: hfcRed <hfcred@gmx.net>
This commit is contained in:
Kalle
2026-03-19 17:51:42 +02:00
committed by GitHub
parent fcc5c5f273
commit fef1ffc955
830 changed files with 35854 additions and 16836 deletions

View File

@@ -1,15 +1,3 @@
.templateSelection {
display: grid;
gap: var(--s-2);
grid-template-columns: 1fr;
}
@media screen and (min-width: 640px) {
.templateSelection {
grid-template-columns: 1fr 1fr;
}
}
.stageRow {
display: flex;
width: 100%;
@@ -23,23 +11,23 @@
flex-grow: 1;
align-items: center;
justify-content: space-between;
border-radius: var(--rounded);
background-color: var(--bg-lighter);
font-size: var(--fonts-xs);
font-weight: var(--semi-bold);
border-radius: var(--radius-box);
background-color: var(--color-bg-high);
font-size: var(--font-xs);
font-weight: var(--weight-semi);
gap: var(--s-2);
padding-block: var(--s-1-5);
padding-inline: var(--s-3);
}
@media screen and (min-width: 640px) {
@container (width >= 560px) {
.stageNameRow {
flex-direction: row;
}
}
.stageImage {
border-radius: var(--rounded);
border-radius: var(--radius-box);
}
.modeButtonsContainer {
@@ -51,25 +39,29 @@
.modeButton {
padding: var(--s-1);
border: 2px solid var(--bg-darker);
border-radius: var(--rounded-full);
background-color: transparent;
color: var(--theme);
border: var(--border-style);
border-radius: var(--radius-full);
background-color: var(--color-bg);
color: var(--color-accent);
opacity: 1 !important;
outline: initial;
&:focus-visible {
outline: var(--focus-ring);
outline-offset: 1px;
}
}
.modeButton.selected {
border: 2px solid transparent;
background-color: var(--bg-mode-active);
background-color: var(--color-bg-higher);
}
.modeButton.preselected {
border: 2px solid var(--theme-info);
background-color: var(--bg-mode-active);
border: var(--border-style-accent);
background-color: var(--color-bg-higher);
}
.mode:not(.selected, .preselected) {
filter: var(--inactive-image-filter);
opacity: 0.6;
filter: grayscale(100%) brightness(50%);
}