Split large Sass files into focused partials
All checks were successful
Deploy Sokko G / deploy (push) Successful in 15s

This commit is contained in:
Shinuwa 2026-08-25 08:48:47 +02:00
parent 7d2a25c672
commit fe91d18624
34 changed files with 3642 additions and 3556 deletions

View file

@ -0,0 +1,267 @@
// 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;
}
.game-list-help-link {
display: inline-flex;
width: fit-content;
min-height: 36px;
align-items: center;
justify-content: center;
margin-top: var(--space-3);
border-color: rgba(165, 180, 252, 0.18);
background: rgba(5, 7, 17, 0.24);
color: var(--color-text-secondary);
font-size: var(--font-size-sm);
font-weight: 800;
padding: 7px 12px;
}
.game-list-help-link:hover {
border-color: rgba(246, 196, 83, 0.44);
background:
linear-gradient(135deg, rgba(246, 196, 83, 0.1), rgba(139, 92, 246, 0.08)) padding-box,
linear-gradient(135deg, rgba(246, 196, 83, 0.42), rgba(196, 181, 253, 0.22)) border-box;
color: var(--color-text-primary);
}
.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;
padding: 0;
border-radius: var(--radius-md);
}
.game-list-create-button:disabled {
opacity: 0.45;
cursor: not-allowed;
}
.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;
}