Let players compare card stats in the collection, rebalance card profiles with a full refunded reset of upgrades, and fix best boosts that sometimes fired in the previous zone
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4a44306e30
commit
3590df5e1e
31 changed files with 1515 additions and 211 deletions
|
|
@ -625,6 +625,53 @@ $diffraction-glitter-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
|
|||
.nebula-album-entry { position: relative; display: flex; justify-content: center; min-width: 0; }
|
||||
.nebula-album-entry[data-missing] .nebula-card-face { filter: grayscale(0.78); opacity: 0.44; }
|
||||
.nebula-album-entry[data-undiscovered] .nebula-card-tilt-surface { filter: grayscale(0.6) brightness(0.72); opacity: 0.7; }
|
||||
// Affichage « Stats » de la collection (CollectionStats.jsx) : bascule Album / Stats, lecture et build, tableau des cartes possédées
|
||||
// des Expéditions. Chaque stat garde sa couleur (--color-stat-*) avec son icône et son nom.
|
||||
.nebula-collection-views { display: flex; align-items: center; }
|
||||
.nebula-collection-stats { display: grid; gap: var(--space-3); min-width: 0; container-type: inline-size; }
|
||||
.nebula-collection-stats-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }
|
||||
.nebula-collection-stats-mode, .nebula-collection-build { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
|
||||
.nebula-collection-build .nds-button { gap: 6px; }
|
||||
.nebula-collection-build .nds-button[data-variant="secondary"] .nebula-mask-icon { color: var(--specialty); }
|
||||
.nebula-collection-stats-help { max-width: 90ch; margin: 0; }
|
||||
.nebula-collection-stats-scroll { min-width: 0; overflow-x: auto; }
|
||||
.nebula-collection-stats-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
|
||||
.nebula-collection-stats-table :is(th, td) { padding: var(--space-2) 6px; border-bottom: 1px solid var(--color-border); text-align: left; vertical-align: middle; }
|
||||
.nebula-collection-stats-table thead th { color: var(--color-text-secondary); font-size: var(--font-size-xs); font-weight: 700; white-space: nowrap; }
|
||||
.nebula-collection-stats-table thead th .nebula-mask-icon { margin-right: 4px; color: var(--specialty); vertical-align: -2px; }
|
||||
.nebula-collection-stats-table thead th[data-target] { color: var(--specialty); }
|
||||
.nebula-collection-stats-table td[data-target] { background: color-mix(in srgb, var(--specialty) 9%, transparent); }
|
||||
.nebula-collection-stats-table tbody tr:hover { background: var(--color-bg-hover); }
|
||||
.nebula-collection-stats-card { display: flex; align-items: center; justify-content: flex-start; gap: var(--space-3); width: 100%; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
|
||||
.nebula-collection-stats-card:focus-visible { outline: 2px solid var(--color-accent-gold); outline-offset: 2px; border-radius: var(--radius-sm); }
|
||||
.nebula-collection-stats-card:hover strong { color: var(--color-accent-gold); }
|
||||
.nebula-collection-stats-thumb { flex: none; width: 44px; height: 44px; overflow: hidden; border: 2px solid var(--card-rarity, var(--color-border)); border-radius: var(--radius-sm); background: var(--color-bg-deep); }
|
||||
.nebula-collection-stats-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
|
||||
.nebula-collection-stats-name { display: grid; min-width: 0; }
|
||||
.nebula-collection-stats-table tbody th { min-width: 170px; }
|
||||
.nebula-collection-stats-name strong { line-height: 1.25; }
|
||||
.nebula-collection-stats-name small { color: var(--card-rarity, var(--color-text-secondary)); font-size: var(--font-size-xs); font-weight: 700; }
|
||||
.nebula-shape-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px var(--space-2) 2px 4px; border: 1px solid transparent; border-radius: var(--radius-pill); background: linear-gradient(var(--color-bg-deep), var(--color-bg-deep)) padding-box, linear-gradient(90deg, var(--shape-start), var(--shape-end)) border-box; color: var(--color-text-primary); font-size: var(--font-size-xs); font-weight: 700; white-space: nowrap; }
|
||||
.nebula-shape-badge > .nebula-mask-icon, .nebula-shape-badge-stat .nebula-mask-icon { width: 14px; height: 14px; }
|
||||
.nebula-shape-badge > .nebula-mask-icon { color: var(--shape-start); }
|
||||
.nebula-shape-badge-stat { display: inline-flex; color: var(--specialty); }
|
||||
.nebula-collection-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px; min-width: 64px; }
|
||||
.nebula-collection-stat-bar { grid-column: 1 / -1; }
|
||||
.nebula-collection-stat > .nebula-mask-icon { display: none; }
|
||||
.nebula-collection-stat strong { font-variant-numeric: tabular-nums; }
|
||||
.nebula-collection-stat-bar { height: 6px; overflow: hidden; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.08); }
|
||||
.nebula-collection-stat-bar > span { display: block; height: 100%; border-radius: inherit; background: var(--specialty); }
|
||||
.nebula-collection-stats-power { white-space: nowrap; }
|
||||
.nebula-collection-stats-power strong { font-variant-numeric: tabular-nums; }
|
||||
.nebula-collection-stats-power small { display: block; color: var(--color-text-secondary); font-size: var(--font-size-xs); }
|
||||
.nebula-collection-stats-head { display: inline-flex; align-items: center; }
|
||||
// Demi-écran : icônes seules pour les en-têtes des stats et les types de profil (sauf Polyvalente, qui n'a pas d'icône).
|
||||
@container (max-width: 760px) {
|
||||
.nebula-collection-stats-label { display: none; }
|
||||
.nebula-collection-stats-table thead th .nebula-mask-icon { width: 18px; height: 18px; margin-right: 0; }
|
||||
.nebula-shape-badge:not([data-shape="versatile"]) .nebula-shape-badge-label { display: none; }
|
||||
.nebula-shape-badge:not([data-shape="versatile"]) { padding-right: 4px; }
|
||||
}
|
||||
.nebula-favorite-mark { position: absolute; top: 6px; right: max(6px, calc((100% - 240px) / 2 + 6px)); z-index: 4; color: var(--color-accent-gold); filter: drop-shadow(0 1px 2px #000); }
|
||||
// Derrière une carte animée, le flou plein écran de la modale serait recalculé à chaque image : un voile plus dense le remplace.
|
||||
.nds-modal-backdrop:has(+ :is(.nebula-card-detail, .nebula-trade-composer)) { background: rgba(2, 3, 9, 0.86); backdrop-filter: none; }
|
||||
|
|
|
|||
|
|
@ -82,6 +82,29 @@
|
|||
|
||||
// Collection : deux cartes par rangée.
|
||||
.nebula-mobile .nebula-album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
|
||||
// Collection, affichage Stats : le tableau devient une fiche par carte (carte en haut, profil et Puissance, puis les quatre stats
|
||||
// côte à côte avec leur icône) ; la lecture et le build passent sur toute la largeur, les stats du build en grille de quatre.
|
||||
.nebula-mobile .nebula-collection-views .tabs { width: 100%; }
|
||||
.nebula-mobile .nebula-collection-views .tabs > button { flex: 1 1 0; min-height: 44px; }
|
||||
.nebula-mobile .nebula-collection-stats-tools { display: grid; gap: var(--space-3); }
|
||||
.nebula-mobile .nebula-collection-build { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
|
||||
.nebula-mobile .nebula-collection-build > .nebula-form-help { grid-column: 1 / -1; }
|
||||
.nebula-mobile .nebula-collection-build .nds-button { flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 48px; padding-inline: 2px; font-size: var(--font-size-xs); }
|
||||
.nebula-mobile .nebula-collection-stats-table, .nebula-mobile .nebula-collection-stats-table tbody { display: block; }
|
||||
.nebula-mobile .nebula-collection-stats-table tbody th { min-width: 0; }
|
||||
.nebula-mobile .nebula-collection-stats-table thead { display: none; }
|
||||
.nebula-mobile .nebula-collection-stats-table tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-border); }
|
||||
.nebula-mobile .nebula-collection-stats-table tbody :is(th, td) { padding: 0; border: 0; }
|
||||
.nebula-mobile .nebula-collection-stats-table tbody th { grid-row: 1; grid-column: 1 / -1; }
|
||||
.nebula-mobile .nebula-collection-stats-card { min-height: 44px; }
|
||||
.nebula-mobile .nebula-collection-stats .nebula-shape-badge .nebula-shape-badge-label { display: inline; }
|
||||
.nebula-mobile .nebula-collection-stats .nebula-shape-badge { padding-right: var(--space-2); }
|
||||
.nebula-mobile .nebula-collection-stats-table tbody td:nth-child(2) { grid-row: 2; grid-column: 1 / 3; }
|
||||
.nebula-mobile .nebula-collection-stats-power { display: flex; grid-row: 2; grid-column: 3 / -1; align-items: baseline; justify-content: flex-end; gap: var(--space-2); }
|
||||
.nebula-mobile .nebula-collection-stats-power small { display: inline; }
|
||||
.nebula-mobile .nebula-collection-stats-table td[data-stat] { grid-row: 3; padding: 4px; border-radius: var(--radius-sm); }
|
||||
.nebula-mobile .nebula-collection-stat { grid-template-columns: auto minmax(0, 1fr); min-width: 0; }
|
||||
.nebula-mobile .nebula-collection-stat > .nebula-mask-icon { display: inline-block; color: var(--specialty); }
|
||||
|
||||
// Expéditions : le Sac tient dans la largeur ; les textes d'aide des deux premières étapes, les descriptions des
|
||||
// destinations et les grands emplacements vides sont retirés ou réduits, pour rapprocher le départ du haut de la page.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue