Files
sendou.ink/app/components/MapPoolPicker.module.css
Kalle 0a4518a0e2
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Tournament multi step + grouped and early end SE/DE (#3449)
2026-10-09 18:38:25 +03:00

115 lines
2.1 KiB
CSS

.root {
display: flex;
flex-direction: column;
gap: var(--s-4);
}
.quickFill {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--s-2);
}
.quickFillLabel {
color: var(--color-text-high);
font-size: var(--font-xs);
font-weight: var(--weight-semi);
margin-inline-end: var(--s-1);
}
.quickFillButton {
border-radius: var(--radius-full);
}
.pastePopover {
max-width: min(26rem, var(--floating-available-width, 100vw));
padding: var(--s-3);
}
.paste {
display: flex;
flex-direction: column;
gap: var(--s-1-5);
width: 24rem;
max-width: 100%;
}
.tabs {
--tabs-gap: var(--s-4);
}
.count {
display: inline-grid;
place-items: center;
min-width: 1.25rem;
height: 1.25rem;
margin-inline-start: var(--s-1-5);
padding-inline: var(--s-1);
border-radius: var(--radius-full);
background-color: var(--color-bg-higher);
color: var(--color-text-high);
font-size: var(--font-2xs);
font-variant-numeric: tabular-nums;
[data-selected] & {
background-color: var(--color-fill-accent);
color: var(--color-fg-on-accent);
}
}
.stages {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
gap: var(--s-2);
}
.stage {
display: flex;
align-items: center;
gap: var(--s-2-5);
min-height: var(--field-size-lg);
margin: 0;
padding: var(--s-2) var(--s-3);
border: var(--border-style);
border-radius: var(--radius-box);
--stage-overlay: oklch(0% 0 0 / 50%);
background-color: var(--color-bg-high);
background-image:
linear-gradient(var(--stage-overlay), var(--stage-overlay)),
var(--stage-banner);
background-position: center;
background-size: cover;
color: var(--color-text-on-dark);
text-shadow:
0 1px 2px oklch(0% 0 0 / 90%),
0 0 8px oklch(0% 0 0 / 70%);
font-size: var(--font-xs);
font-weight: var(--weight-semi);
line-height: 1.2;
cursor: pointer;
&:hover {
border-color: var(--color-border-high);
}
&:has(input:checked) {
border-color: var(--color-fg-accent);
box-shadow: inset 0 0 0 1px var(--color-fg-accent);
}
&:has(input:focus-visible) {
outline: var(--focus-ring);
outline-offset: 1px;
}
&:has(input:disabled) {
cursor: not-allowed;
opacity: 0.6;
}
& input {
flex-shrink: 0;
}
}