Add the Sokko TCG collectible card mini-game
Add the server-backed card game: Discord login, recharging pack openings, album, trades, gifts, stardust shop, campaign codes and its administration, stored in SQLite and disabled in production until configured. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
243465720f
commit
5ce35cd7ba
193 changed files with 12159 additions and 28 deletions
|
|
@ -271,6 +271,88 @@
|
|||
z-index: 2;
|
||||
}
|
||||
|
||||
// Sélecteur à choix unique (`SelectDropdown`) : remplace le menu natif d'un `<select>` par un `nds-popover`.
|
||||
.nds-select-field {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.nds-select-dropdown {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nds-select-dropdown.is-open {
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.nds-select-dropdown > .nds-select-trigger,
|
||||
.nds-select-dropdown > .nds-select-trigger[data-size="sm"] {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nds-select-dropdown-value {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.nds-select-menu {
|
||||
position: absolute;
|
||||
z-index: 90;
|
||||
top: calc(100% + 6px);
|
||||
left: 0;
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
width: max-content;
|
||||
min-width: 100%;
|
||||
max-width: min(420px, calc(100vw - 32px));
|
||||
max-height: 320px;
|
||||
padding: 6px;
|
||||
overflow: auto;
|
||||
@include controls.scrollbar-control;
|
||||
}
|
||||
|
||||
.nds-select-field[data-align="end"] .nds-select-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
button.nds-select-option {
|
||||
display: block;
|
||||
width: 100%;
|
||||
min-height: 32px;
|
||||
padding: 6px 10px;
|
||||
border: 0;
|
||||
border-radius: var(--radius-sm);
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
button.nds-select-option:hover:not(:disabled, .active),
|
||||
button.nds-select-option:focus-visible {
|
||||
background: var(--color-primary-soft);
|
||||
box-shadow: none;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
button.nds-select-option.active {
|
||||
background: rgba(246, 196, 83, 0.14);
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.nds-filter-menu-trigger.nds-select-trigger,
|
||||
.nds-filter-menu-trigger.nds-select-trigger[data-size="sm"] {
|
||||
grid-template-columns: 14px minmax(0, 1fr) auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue