sendou.ink/app/components/MapPoolSelector.module.css
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

68 lines
1.2 KiB
CSS

.stageRow {
display: flex;
width: 100%;
align-items: center;
gap: var(--s-3);
}
.stageNameRow {
display: flex;
flex-direction: column;
flex-grow: 1;
align-items: center;
justify-content: space-between;
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);
}
@container (width >= 560px) {
.stageNameRow {
flex-direction: row;
}
}
.stageImage {
border-radius: var(--radius-box);
}
.modeButtonsContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: var(--s-1-5);
}
.modeButton {
padding: var(--s-1);
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(--color-bg-higher);
}
.modeButton.preselected {
border: var(--border-style-accent);
background-color: var(--color-bg-higher);
}
.mode:not(.selected, .preselected) {
filter: grayscale(100%) brightness(50%);
}