Show what each destination looks for and what it yields in two small panels, and keep specialties off collection destinations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d331d1a3f
commit
d85d6d8ffa
9 changed files with 76 additions and 36 deletions
|
|
@ -38,10 +38,12 @@
|
|||
.nebula-expedition-destination .nebula-destination-scene img { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
|
||||
.nebula-expedition-destination-copy { display: grid; gap: var(--space-1); min-width: 0; }
|
||||
.nebula-expedition-destination-copy > span:not(.nebula-expedition-destination-facts) { color: var(--color-text-secondary); font-size: var(--font-size-sm); text-wrap: pretty; }
|
||||
// Pied de la destination : rôles des places à gauche, effet de sa spécialité sur le butin à droite, puis la collection liée.
|
||||
.nebula-expedition-destination-facts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2) var(--space-3); margin-top: var(--space-1); }
|
||||
// Pied de la destination : deux mini-cadres, « Profil recherché » (rôles des places) et « Butin » (effet de sa spécialité et
|
||||
// collection liée).
|
||||
.nebula-expedition-destination-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: var(--space-2); margin-top: var(--space-1); }
|
||||
.nebula-destination-fact { display: grid; align-content: start; gap: var(--space-1); padding: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); color: var(--color-text-primary); }
|
||||
.nebula-destination-fact-title { color: var(--color-text-secondary); font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
|
||||
.nebula-expedition-destination-roles { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
|
||||
.nebula-expedition-destination-collection { display: inline-flex; align-items: center; gap: 0.4em; }
|
||||
|
||||
// Icônes monochromes (static/icons) en masque, teintées par la couleur du texte.
|
||||
.nebula-mask-icon { display: inline-block; flex: 0 0 auto; width: 1.15em; height: 1.15em; background-color: currentColor; mask: var(--nebula-icon) center / contain no-repeat; -webkit-mask: var(--nebula-icon) center / contain no-repeat; }
|
||||
|
|
@ -57,13 +59,23 @@
|
|||
.nebula-role-label small { padding-left: 0.5em; border-left: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: inherit; font-weight: 600; }
|
||||
.nds-button[aria-pressed="true"] .nebula-role-label small { color: inherit; opacity: 0.8; }
|
||||
|
||||
// Spécialité : l'icône de chaque butin suivie d'une flèche verte (augmente) ou rouge (baisse).
|
||||
.nebula-loot-effects { display: inline-flex; align-items: center; gap: var(--space-2); }
|
||||
.nebula-loot-effect { display: inline-flex; align-items: center; gap: 1px; color: var(--color-text-primary); font-size: var(--font-size-md); }
|
||||
.nebula-loot-effect .nebula-currency-icon { margin-right: 0; vertical-align: baseline; }
|
||||
.nebula-loot-effect[data-trend="down"] > :not(.nebula-loot-arrow) { opacity: 0.7; }
|
||||
.nebula-loot-arrow { width: 0.8em; height: 0.8em; fill: var(--color-success); }
|
||||
// Spécialité : par sens, une flèche verte (augmente) ou rouge (baisse) puis les icônes des butins ; le pourcentage est dans
|
||||
// l'infobulle de la flèche.
|
||||
.nebula-loot-effects { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
|
||||
.nebula-loot-effect { display: flex; align-items: center; gap: 0.35em; font-size: var(--font-size-sm); }
|
||||
.nebula-loot-arrow-anchor { display: inline-flex; cursor: help; }
|
||||
// Couleur portée par la flèche elle-même : l'ancre de l'infobulle impose sa propre couleur de texte.
|
||||
.nebula-loot-effect[data-trend="up"] .nebula-loot-arrow { fill: var(--color-success); }
|
||||
.nebula-loot-effect[data-trend="down"] .nebula-loot-arrow { fill: var(--color-danger); }
|
||||
// Destination liée à une collection : flèche verte, icône de carte et nom de la collection, alignés sur la première ligne.
|
||||
.nebula-loot-effect[data-kind="collection"] { align-items: flex-start; }
|
||||
.nebula-loot-effect[data-kind="collection"] > span { color: var(--color-text-primary); }
|
||||
.nebula-loot-effect[data-kind="collection"] .nebula-mask-icon { margin-right: 0.35em; vertical-align: -0.2em; }
|
||||
.nebula-loot-effect[data-kind="collection"] .nebula-loot-arrow-anchor { margin-top: 0.3em; }
|
||||
.nebula-loot-arrow { flex: 0 0 auto; width: 1em; height: 1em; }
|
||||
.nebula-loot-icons { display: inline-flex; align-items: center; gap: 0.4em; color: var(--color-text-primary); font-size: var(--font-size-md); }
|
||||
.nebula-loot-icon { display: inline-flex; }
|
||||
.nebula-loot-icon .nebula-currency-icon { margin-right: 0; vertical-align: baseline; }
|
||||
// Difficulté tirée avec la destination : badge d'étoiles après le nom, et rappelé devant les exigences.
|
||||
.nebula-expedition-destination-copy > strong { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); }
|
||||
.nds-badge.nebula-expedition-stars { letter-spacing: 1px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue