324 lines
6.5 KiB
SCSS
324 lines
6.5 KiB
SCSS
// Rôle : regroupe les listes, panneaux de sélection et actions des pages jeux.
|
|
|
|
.results-count {
|
|
display: inline-flex;
|
|
min-height: 28px;
|
|
align-items: center;
|
|
padding: 4px 10px;
|
|
border: 1px solid rgba(165, 180, 252, 0.16);
|
|
border-radius: var(--radius-pill);
|
|
background: rgba(5, 7, 17, 0.34);
|
|
color: var(--color-text-secondary);
|
|
font-size: var(--font-size-sm);
|
|
font-weight: 800;
|
|
}
|
|
|
|
.results-copy-button {
|
|
width: 32px;
|
|
min-width: 32px;
|
|
min-height: 32px;
|
|
}
|
|
|
|
.results-checklist-modal.nds-modal {
|
|
width: min(560px, calc(100vw - 32px));
|
|
}
|
|
|
|
.results-checklist-modal-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
}
|
|
|
|
.results-checklist-modal-header h2,
|
|
.results-checklist-modal .results-checklist-modal-description,
|
|
.results-checklist-modal .results-checklist-modal-notice,
|
|
.results-checklist-modal .results-checklist-modal-error {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.results-checklist-modal-description {
|
|
margin-top: var(--space-3);
|
|
color: var(--color-text-secondary);
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.results-checklist-modal-summary,
|
|
.results-checklist-modal-target {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-top: var(--space-4);
|
|
padding: var(--space-3) var(--space-4);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(5, 7, 17, 0.32);
|
|
}
|
|
|
|
.results-checklist-modal-summary span,
|
|
.results-checklist-modal-target span {
|
|
color: var(--color-text-muted);
|
|
font-size: var(--font-size-xs);
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.results-checklist-modal-summary strong,
|
|
.results-checklist-modal-target strong {
|
|
color: var(--color-text-primary);
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.results-checklist-modal-notice,
|
|
.results-checklist-modal-error {
|
|
margin-top: var(--space-4);
|
|
}
|
|
|
|
.results-checklist-modal-actions {
|
|
margin-top: var(--space-5);
|
|
}
|
|
|
|
.results-checklist-modal-actions .module-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.results-checklist-modal-actions .module-icon-svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.results-checklist-modal-actions {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.results-checklist-modal-actions .nds-button {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.game-list-help-link {
|
|
width: fit-content;
|
|
margin-top: var(--space-3);
|
|
}
|
|
|
|
.game-list-selector {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
|
|
justify-content: center;
|
|
gap: var(--space-4);
|
|
margin-top: var(--space-6);
|
|
}
|
|
|
|
.game-list-selector-item {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
min-height: 100px;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
padding: var(--space-4);
|
|
border: 1px solid rgba(165, 180, 252, 0.14);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(16, 20, 38, 0.58);
|
|
box-shadow: var(--shadow-sm);
|
|
}
|
|
|
|
.game-list-selector-item:hover,
|
|
.game-list-selector-item.active {
|
|
border-color: rgba(246, 196, 83, 0.42);
|
|
background: rgba(31, 37, 68, 0.72);
|
|
box-shadow:
|
|
var(--shadow-sm),
|
|
0 0 14px rgba(246, 196, 83, 0.1);
|
|
}
|
|
|
|
.game-list-select-button {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
grid-template-rows: auto 1fr auto;
|
|
width: 100%;
|
|
min-height: 68px;
|
|
align-content: stretch;
|
|
justify-content: stretch;
|
|
justify-items: start;
|
|
gap: 4px;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
text-align: left;
|
|
transition: none;
|
|
}
|
|
|
|
.game-list-select-button:hover {
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.game-list-selector-item strong {
|
|
display: block;
|
|
width: 100%;
|
|
min-height: calc(var(--font-size-lg) * 2.5);
|
|
align-self: start;
|
|
font-size: var(--font-size-lg);
|
|
line-height: 1.25;
|
|
text-align: left;
|
|
}
|
|
|
|
.game-list-selector-item small {
|
|
display: block;
|
|
width: 100%;
|
|
align-self: end;
|
|
color: var(--color-text-muted);
|
|
font-size: var(--font-size-sm);
|
|
font-weight: 800;
|
|
text-align: left;
|
|
}
|
|
|
|
.game-list-selector-item .game-list-create-button {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
align-self: start;
|
|
}
|
|
|
|
.game-list-panel {
|
|
margin-top: var(--space-5);
|
|
padding: 0;
|
|
}
|
|
|
|
.game-list-panel > header,
|
|
.game-list-category header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-3);
|
|
padding: var(--space-4);
|
|
border-bottom: 1px solid rgba(246, 196, 83, 0.32);
|
|
}
|
|
|
|
.game-list-category header {
|
|
padding: 0 0 var(--space-3);
|
|
}
|
|
|
|
.game-list-panel h2 {
|
|
margin: 0;
|
|
font-size: var(--font-size-lg);
|
|
}
|
|
|
|
.game-list-categories {
|
|
display: grid;
|
|
gap: var(--space-4);
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.game-list-category {
|
|
display: grid;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.game-list-category:not(:last-child) {
|
|
padding-bottom: var(--space-4);
|
|
border-bottom: 1px solid rgba(165, 180, 252, 0.1);
|
|
}
|
|
|
|
.game-list-category h3 {
|
|
margin: 0;
|
|
color: var(--color-accent-gold);
|
|
font-size: var(--font-size-md);
|
|
}
|
|
|
|
.game-list-symbol {
|
|
display: inline-block;
|
|
margin-left: 3px;
|
|
color: currentColor;
|
|
font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", "Noto Sans Symbols", "Apple Symbols", sans-serif;
|
|
font-size: 1.18em;
|
|
font-weight: 900;
|
|
line-height: 1;
|
|
text-shadow:
|
|
0 0 0 currentColor,
|
|
0 0 4px rgba(246, 196, 83, 0.18);
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
.game-list-category ul {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
margin: 0;
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.game-list-category li {
|
|
display: grid;
|
|
gap: 3px;
|
|
min-height: 58px;
|
|
align-content: start;
|
|
padding: 10px 12px;
|
|
border: 1px solid rgba(165, 180, 252, 0.07);
|
|
border-radius: var(--radius-md);
|
|
background: rgba(5, 7, 17, 0.14);
|
|
}
|
|
|
|
.game-list-item-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.game-list-category li strong {
|
|
color: var(--color-text-primary);
|
|
}
|
|
|
|
.game-list-category li span {
|
|
color: var(--color-text-muted);
|
|
font-size: var(--font-size-sm);
|
|
}
|
|
|
|
.game-list-category li em {
|
|
display: inline-flex;
|
|
min-height: 20px;
|
|
align-items: center;
|
|
padding: 2px 7px;
|
|
border: 1px solid rgba(246, 196, 83, 0.28);
|
|
border-radius: var(--radius-pill);
|
|
background: rgba(246, 196, 83, 0.08);
|
|
color: var(--color-accent-gold);
|
|
font-size: var(--font-size-xs);
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
}
|
|
|
|
.game-list-actions {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.game-list-create-button {
|
|
width: 40px;
|
|
min-width: 40px;
|
|
min-height: 40px;
|
|
}
|
|
|
|
.game-list-create-button .module-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 0;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.game-list-create-button .module-icon-svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|