mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-27 21:18:30 -05:00
76 lines
1.3 KiB
CSS
76 lines
1.3 KiB
CSS
.weaponPoolBanner {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
min-height: var(--field-size);
|
|
padding: 0 0 0 var(--s-3);
|
|
border: 1px solid color-mix(in oklch, var(--color-warning) 25%, transparent);
|
|
border-radius: var(--radius-field);
|
|
background-color: color-mix(in oklch, var(--color-warning) 8%, transparent);
|
|
gap: var(--s-1) var(--s-3);
|
|
margin: 0 auto;
|
|
|
|
&.mini {
|
|
padding-left: var(--s-2);
|
|
gap: var(--s-1) var(--s-2);
|
|
}
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: var(--font-sm);
|
|
font-weight: var(--weight-semi);
|
|
white-space: nowrap;
|
|
gap: var(--s-2);
|
|
}
|
|
|
|
.icon {
|
|
width: 1rem;
|
|
color: var(--color-warning);
|
|
}
|
|
|
|
.weapons {
|
|
display: flex;
|
|
align-self: stretch;
|
|
overflow-x: auto;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
gap: var(--s-0-5);
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.weapon {
|
|
--circle-backdrop-color: color-mix(
|
|
in oklch,
|
|
var(--color-warning) 22%,
|
|
transparent
|
|
);
|
|
|
|
display: grid;
|
|
flex-shrink: 0;
|
|
width: 2.5rem;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
min-height: calc(var(--field-size) - 2px);
|
|
border-radius: calc(var(--radius-field) - 1px);
|
|
place-items: center;
|
|
|
|
&:hover {
|
|
background-color: color-mix(
|
|
in oklch,
|
|
var(--color-warning) 15%,
|
|
transparent
|
|
);
|
|
}
|
|
|
|
&:focus-visible {
|
|
outline: var(--focus-ring);
|
|
outline-offset: -2px;
|
|
}
|
|
}
|