Give each pack collection its own power common, fix redundant commons and spell out powers in the interface
The Nebula, the Long Night, the Dream Arcade and the Crimson Procession now each have two power commons: Adaptation and one of their own (Étude, Givre d'étoiles, Trouvaille, Chance de l'aube). Eight other commons change stats and four gain a tag, so that no common is dominated by another with the same effect and Bravoure can be equipped like the other stats. Commons that became power commons are taken off the cards that carried them. Card sheets, the equipment window, placed commons and the departure preview show every power's gains and costs with their figures, and the preview says when a power has no effect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f949801c62
commit
9739189f0c
31 changed files with 422 additions and 145 deletions
|
|
@ -3,6 +3,7 @@
|
|||
// finitions) et les actions (favori, recyclage d'un doublon, don, échange). « Amélioration » (par défaut depuis les Expéditions,
|
||||
// `initialTab`) : un récapitulatif (Puissance, niveau et expérience, les quatre stats et celles que donnerait la répartition en
|
||||
// cours de choix), l'amélioration (ou l'Éveil devant un palier) et la répartition des statistiques. L'équipement se règle depuis les Expéditions.
|
||||
// Une commune montre ce qu'elle apporte en équipement : ses stats ou son pouvoir, et sa synergie.
|
||||
// `focus` (« plan ») ouvre « Amélioration » et fait défiler la fiche jusqu'à cette section, depuis un objet du Sac.
|
||||
import { useEffect, useRef, useState } from "react";
|
||||
import { Modal } from "../../components/Modal.jsx";
|
||||
|
|
@ -14,9 +15,10 @@ import { frenchList, rarityAdjective } from "./rarityWords.js";
|
|||
import { CurrencyAmount, CurrencyIcon } from "./Currency.jsx";
|
||||
import { readCollection } from "./collectionState.js";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
import { MaskIcon, StatValue } from "./ExpeditionLabels.jsx";
|
||||
import { PowerEffects } from "./ExpeditionOutcome.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
import { formatEclats } from "./expeditionFormat.js";
|
||||
import { formatEclats, powerText, tagLabel } from "./expeditionFormat.js";
|
||||
import { formatStardust } from "./stardustFormat.js";
|
||||
|
||||
const STAT_IDS = ["bravoure", "endurance", "fortune", "orientation"];
|
||||
|
|
@ -108,7 +110,27 @@ function CardProgress({ catalog, state, progress, eclats, locked, busy, runMutat
|
|||
</>;
|
||||
}
|
||||
|
||||
// `content` : textes cards.cardSheet.
|
||||
// Ce qu'une commune apporte quand elle équipe une carte : ses stats signées, ou son pouvoir (description, gains et contreparties),
|
||||
// puis sa synergie et ses étiquettes (celle que le joueur a gravée comprise). `values` : `equipmentValues` de l'état du joueur.
|
||||
function CardEquipment({ catalog, card, tags, values, content }) {
|
||||
const { stats = {}, power, synergyStat } = card.expedition.equipment;
|
||||
const texts = content.expeditions;
|
||||
const best = synergyStat ?? STAT_IDS.reduce((top, stat) => ((stats[stat] || 0) > (stats[top] || 0) ? stat : top), STAT_IDS[0]);
|
||||
return <section className="nebula-card-equipment" data-power={power ? "" : undefined} aria-labelledby="nebula-card-equipment-title">
|
||||
<h3 id="nebula-card-equipment-title">{content.equipmentTitle}</h3>
|
||||
{power ? <div className="nebula-card-equipment-power">
|
||||
<h4><MaskIcon name="power" /><span className="sr-only">{content.equipmentPower} : </span>{texts.powers[power]}</h4>
|
||||
<p>{powerText(power, texts)}</p>
|
||||
<PowerEffects power={power} values={values} content={texts} />
|
||||
</div> : <ul className="nebula-card-equipment-stats">{STAT_IDS.filter((stat) => stats[stat]).map((stat) => <li key={stat}>
|
||||
<StatValue stat={stat} value={stats[stat]} label={content.stats[stat]} signed /> {content.stats[stat]}
|
||||
</li>)}</ul>}
|
||||
<p className="nebula-form-help">{fillTemplate(content.equipmentSynergy, { value: values.synergyBonus, stat: content.stats[best] })}</p>
|
||||
<p className="nebula-form-help">{fillTemplate(content.equipmentTags, { tags: tags.map((tag) => tagLabel(catalog, tag)).join(", ") })}</p>
|
||||
</section>;
|
||||
}
|
||||
|
||||
// `content` : textes cards.cardSheet (et, pour une commune, ceux des Expéditions dans `expeditions`).
|
||||
export function CardDetailModal({ catalog, state, entry, content, runMutation, busy, onClose, onStartTransfer = null, focus = null, initialTab = "card" }) {
|
||||
const dialogRef = useRef(null);
|
||||
useEffect(() => {
|
||||
|
|
@ -123,6 +145,9 @@ export function CardDetailModal({ catalog, state, entry, content, runMutation, b
|
|||
const favorites = new Set(state.favorites);
|
||||
const expedition = state.expeditions?.busyEditions?.find((item) => item.editionId === entry.edition.id);
|
||||
const progress = state.cardProgress?.find((item) => item.editionId === entry.edition.id);
|
||||
// Ce qu'une commune apporte en équipement, seulement si les Expéditions sont ouvertes.
|
||||
const equipment = state.expeditions?.enabled && content.expeditions && state.equipmentValues && entry.card.expedition?.equipment;
|
||||
const engravedTags = state.equipment?.find((item) => item.editionId === entry.edition.id)?.tags;
|
||||
// Aperçu de la répartition en cours de choix, lié à la répartition enregistrée : il disparaît dès qu'elle change.
|
||||
const planKey = progress && `${progress.plan.id}-${progress.plan.points}-${JSON.stringify(progress.plan.allocation)}`;
|
||||
const [preview, setPreview] = useState({ key: null, stats: null });
|
||||
|
|
@ -134,6 +159,7 @@ export function CardDetailModal({ catalog, state, entry, content, runMutation, b
|
|||
|
||||
const info = <>
|
||||
{entry.card.description && <p className="nebula-card-detail-lore">{entry.card.description}</p>}
|
||||
{equipment && <CardEquipment catalog={catalog} card={entry.card} tags={engravedTags ?? entry.card.expedition.tags} values={state.equipmentValues} content={content} />}
|
||||
<dl><div><dt>{content.owned}</dt><dd>{quantity}</dd></div><div><dt>{content.collection}</dt><dd>{catalog.collections.find((item) => item.id === entry.card.collectionId)?.name}</dd></div><div><dt>{content.finishes}</dt><dd>{entry.edition.finishIds.map((id) => catalog.finishes.find((item) => item.id === id)?.label).join(" · ")}</dd></div></dl>
|
||||
<div className="nds-toolbar nebula-card-detail-actions">
|
||||
<button className="nds-button" data-variant={favorites.has(entry.edition.id) ? "primary" : "secondary"} type="button" disabled={busy} aria-pressed={favorites.has(entry.edition.id)} onClick={() => runMutation(() => setFavorite(entry.edition.id, !favorites.has(entry.edition.id)))}>{favorites.has(entry.edition.id) ? content.favoriteRemove : content.favoriteAdd}</button>
|
||||
|
|
|
|||
|
|
@ -281,8 +281,9 @@ export function CardsPage({ siteContent, cardsConfig, playerSection = "", player
|
|||
setTransferDraft({ type, editionId });
|
||||
navigate("/cards/transfers");
|
||||
};
|
||||
// `cardSheetContent` : textes de la fiche d'une carte, ouverte depuis plusieurs panneaux.
|
||||
const panelProps = { catalog, state, runMutation, busy: busy || offline, cardSheetContent: content.cardSheet };
|
||||
// `cardSheetContent` : textes de la fiche d'une carte, ouverte depuis plusieurs panneaux ; ceux des Expéditions y nomment les stats
|
||||
// et les pouvoirs d'une commune.
|
||||
const panelProps = { catalog, state, runMutation, busy: busy || offline, cardSheetContent: { ...content.cardSheet, expeditions: content.expeditions } };
|
||||
const hero = <header className="page-hero nds-page-hero nebula-player-hero">
|
||||
<div><p className="eyebrow">{content.eyebrow}</p><h1>{content.title}</h1><p>{content.description}</p></div>
|
||||
<CardsAccount player={state.player} onLogout={offline ? null : logout} />
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@ import { useState } from "react";
|
|||
import { Modal } from "../../components/Modal.jsx";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
import { editionEntry, powerDetails, powerText } from "./expeditionFormat.js";
|
||||
import { editionEntry, powerText } from "./expeditionFormat.js";
|
||||
import { PowerEffects } from "./ExpeditionOutcome.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
|
||||
const RECIPE_SIZE = 3;
|
||||
|
|
@ -21,7 +22,7 @@ function CraftedCard({ catalog, entry, content, powerValues }) {
|
|||
{power && <section className="nebula-atelier-power" aria-label={content.atelierPower}>
|
||||
<h4><MaskIcon name="power" />{content.powers[power] || power}</h4>
|
||||
<p>{powerText(power, content)}</p>
|
||||
{powerDetails(power, powerValues, content).length > 0 && <ul>{powerDetails(power, powerValues, content).map((line) => <li key={line}>{line}</li>)}</ul>}
|
||||
<PowerEffects power={power} values={powerValues} content={content} />
|
||||
</section>}
|
||||
</div>
|
||||
</div>;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,9 @@ import { Modal } from "../../components/Modal.jsx";
|
|||
import { Tooltip } from "../../components/Tooltip.jsx";
|
||||
import { equipCard } from "./cardsApi.js";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { editionEntry, powerDetails, powerText, STAT_IDS, tagColor, tagLabel } from "./expeditionFormat.js";
|
||||
import { editionEntry, STAT_IDS, tagColor, tagLabel } from "./expeditionFormat.js";
|
||||
import { MaskIcon, StatValue } from "./ExpeditionLabels.jsx";
|
||||
import { PowerEffects, PowerName } from "./ExpeditionOutcome.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
|
||||
// Synergie d'une commune avec la carte : une icône de lien et l'étiquette partagée, dans sa couleur ; « Synergie · … » est dit aux
|
||||
|
|
@ -25,23 +26,14 @@ const EQUIPMENT_SORTS = ["synergy", ...STAT_IDS, "power"];
|
|||
const PLACEHOLDER_SLOTS = [0, 1, 2];
|
||||
|
||||
// Effet d'une commune, dans un petit encart : ses stats en icônes, signées, leur nom au survol ; ou son pouvoir, comme une ligne de
|
||||
// stat (icône de fiole et nom en or, effet au survol), pour ne pas ressembler aux pastilles d'étiquette. Posée en synergie,
|
||||
// le bonus de synergie suit la stat qu'il renforce, dans la couleur de l'étiquette partagée : « +8 (+2) ».
|
||||
// Infobulle d'un pouvoir : sa description, puis ses effets chiffrés.
|
||||
export function PowerTooltipContent({ power, values, content }) {
|
||||
return <span className="nebula-tooltip-lines">
|
||||
<span>{powerText(power, content)}</span>
|
||||
{powerDetails(power, values, content).map((line) => <span key={line} className="nebula-power-detail">{line}</span>)}
|
||||
</span>;
|
||||
}
|
||||
|
||||
// stat (icône de fiole et nom en or, description au survol) suivie de ses gains et contreparties, pour ne pas ressembler aux
|
||||
// pastilles d'étiquette. Posée en synergie, le bonus de synergie suit la stat qu'il renforce, dans la couleur de l'étiquette
|
||||
// partagée : « +8 (+2) ».
|
||||
export function EquipmentStats({ item, content, color, powerValues }) {
|
||||
// Une commune de pouvoir n'a pas de stats ; posée en synergie, son bonus va à la stat que le catalogue lui donne, et s'affiche sous le pouvoir.
|
||||
if (item.power) return <span className="nebula-equipment-stats">
|
||||
<Tooltip className="nebula-equipment-power" tooltipClassName="nebula-power-tooltip" content={<PowerTooltipContent power={item.power} values={powerValues} content={content} />}
|
||||
aria-label={[`${content.powers[item.power]} : ${powerText(item.power, content)}`, ...powerDetails(item.power, powerValues, content)].join(" ; ")} tabIndex={-1}>
|
||||
<MaskIcon name="power" /><span aria-hidden="true">{content.powers[item.power]}</span>
|
||||
</Tooltip>
|
||||
if (item.power) return <span className="nebula-equipment-stats" data-power>
|
||||
<PowerName power={item.power} values={powerValues} content={content} tabIndex={-1} />
|
||||
<PowerEffects power={item.power} values={powerValues} content={content} />
|
||||
{item.synergyStat && item.synergyBonus > 0 && <Tooltip className="nebula-stat-value" content={content.stats[item.synergyStat]} aria-label={`${content.stats[item.synergyStat]} : +${item.synergyBonus}`} tabIndex={-1}>
|
||||
<MaskIcon name={item.synergyStat} /><span className="nebula-synergy-bonus" data-tag-color={color} aria-hidden="true">{fillTemplate(content.synergyBonus, { value: item.synergyBonus })}</span>
|
||||
</Tooltip>}
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
import { useEffect, useRef, useState } from "react";
|
||||
import { previewJoinExpedition } from "./cardsApi.js";
|
||||
import { fillTemplate, formatCountdown } from "./dailyShare.js";
|
||||
import { conditionText, dangerText, editionEntry, formatDecimal, formatEclats, synergyBadges, tagLabel } from "./expeditionFormat.js";
|
||||
import { conditionText, dangerText, editionEntry, formatDecimal, formatEclats, powerNote, synergyBadges, tagLabel } from "./expeditionFormat.js";
|
||||
import { DestinationArt, MainStatMark, MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
import { ExpeditionLoadout } from "./ExpeditionLoadout.jsx";
|
||||
import { BonusBadges, PowerName, TierTile } from "./ExpeditionOutcome.jsx";
|
||||
import { BonusBadges, PowersTile, TierTile } from "./ExpeditionOutcome.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
|
||||
const PREVIEW_DELAY_MS = 250;
|
||||
|
|
@ -212,9 +212,10 @@ export function ExpeditionGroupCard({ catalog, state, view, group, content, now,
|
|||
{group.canJoin && <p className="nebula-form-help nebula-group-outcome-note">{preview ? fillTemplate(content.joinOutcomeWith, { players }) : content.joinOutcomeWithout}</p>}
|
||||
<dl className="nebula-group-outcome" aria-label={preview ? fillTemplate(content.joinOutcomeWith, { players }) : content.groupProjected} aria-busy={stale} data-stale={stale || undefined}>
|
||||
{projected.hiddenRequirements ? <div><dt>{content.groupOutcomeTier}</dt><dd><span className="nds-badge" data-variant="warning">{content.hiddenResult}</span></dd></div>
|
||||
: <TierTile tier={projected.tier} scorePct={projected.scorePct} lootPct={group.tierLootPct?.[projected.tier]} content={content} />}
|
||||
: <TierTile tier={projected.tier} scorePct={projected.scorePct} lootPct={projected.tierLootPct ?? group.tierLootPct?.[projected.tier]} content={content} />}
|
||||
{projected.players > 1 && <div><dt>{content.groupOutcomeGroupLoot}</dt><dd>{fillTemplate(content.lootBonus, { value: formatEclats(projected.lootPct / 100) })}</dd></div>}
|
||||
{(projected.powers || []).length > 0 && <div><dt>{content.groupOutcomePowers}</dt><dd className="nebula-group-powers">{projected.powers.map((power) => <PowerName key={power} power={power} content={content} stats={power === "attunement" ? (projected.attunement || []).map((item) => item.stat) : []} />)}</dd></div>}
|
||||
<PowersTile powers={projected.powers} attunement={projected.attunement} values={view.powers} content={content}
|
||||
noteOf={(power) => powerNote(power, { stars: group.stars, players: projected.players, dangers: group.dangers?.length ?? 0, values: view.powers }, content)} />
|
||||
{bonuses.length > 0 && <div><dt>{content.groupOutcomeBonuses}</dt><dd><BonusBadges badges={bonuses} /></dd></div>}
|
||||
</dl>
|
||||
<GroupRecap catalog={catalog} group={group} projected={projected} rows={rows} content={content}
|
||||
|
|
|
|||
|
|
@ -8,10 +8,11 @@ import { Modal } from "../../components/Modal.jsx";
|
|||
import { Tooltip } from "../../components/Tooltip.jsx";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { ExpeditionCardTile } from "./ExpeditionCardTile.jsx";
|
||||
import { EquipmentPicker, EquipmentSlots, PowerTooltipContent } from "./ExpeditionEquipmentSlots.jsx";
|
||||
import { EquipmentPicker, EquipmentSlots } from "./ExpeditionEquipmentSlots.jsx";
|
||||
import { CardSheet, EngraveModal } from "./ExpeditionImprove.jsx";
|
||||
import { editionEntry, formatDecimal, helpScore, powerDetails, powerText, STAT_IDS, tagColor, tagLabel } from "./expeditionFormat.js";
|
||||
import { editionEntry, formatDecimal, helpScore, powerText, STAT_IDS, tagColor, tagLabel } from "./expeditionFormat.js";
|
||||
import { MainStatMark, MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
import { PowerName } from "./ExpeditionOutcome.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
|
||||
// Tris des cartes jouables : utiles à la destination (condition, dangers, Affinité), Puissance ou une stat.
|
||||
|
|
@ -118,10 +119,7 @@ export function ExpeditionLoadout({ catalog, state, view, destination, card, onC
|
|||
</li>;
|
||||
})}</ul>
|
||||
{card.powers?.length > 0 && <ul className="nebula-expedition-chosen-powers" aria-label={content.chosenPowers}>{card.powers.map((power) => <li key={power}>
|
||||
<Tooltip className="nebula-equipment-power" tooltipClassName="nebula-power-tooltip" content={<PowerTooltipContent power={power} values={view.powers} content={content} />}
|
||||
aria-label={[`${content.powers[power]} : ${powerText(power, content)}`, ...powerDetails(power, view.powers, content)].join(" ; ")} tabIndex={0}>
|
||||
<MaskIcon name="power" /><span aria-hidden="true">{content.powers[power]}</span>
|
||||
</Tooltip> {powerText(power, content)}
|
||||
<PowerName power={power} values={view.powers} content={content} /> {powerText(power, content)}
|
||||
</li>)}</ul>}
|
||||
</section>}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
// le palier et le score, l'effet du palier sur le butin, le butin attendu et les pouvoirs de l'équipe.
|
||||
import { Tooltip } from "../../components/Tooltip.jsx";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { formatEclats, powerText, TIER_VARIANTS } from "./expeditionFormat.js";
|
||||
import { formatEclats, powerEffects, powerLabel, powerText, TIER_VARIANTS } from "./expeditionFormat.js";
|
||||
import { MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
|
||||
// Effet du palier prévu sur le butin, en une phrase ; le pourcentage en rouge (réduit) ou en vert (augmenté).
|
||||
|
|
@ -21,15 +21,46 @@ export function BonusBadges({ badges }) {
|
|||
</Tooltip>);
|
||||
}
|
||||
|
||||
// Nom d'un pouvoir de l'équipe (icône de fiole), sa description au survol.
|
||||
// Effets chiffrés d'un pouvoir, un par ligne : ses gains en vert avec un « + », ses contreparties en rouge avec un « − ».
|
||||
export function PowerEffects({ power, values, content }) {
|
||||
const effects = powerEffects(power, values, content);
|
||||
if (!effects.length) return null;
|
||||
return <span className="nebula-power-effects" role="list">{effects.map(({ trend, text }) => <span key={text} role="listitem" className="nebula-power-effect" data-trend={trend}
|
||||
aria-label={fillTemplate(trend === "up" ? content.powerGain : content.powerCost, { effect: text })}><span aria-hidden="true">{text}</span></span>)}</span>;
|
||||
}
|
||||
|
||||
// Infobulle d'un pouvoir : sa description, puis ses effets chiffrés.
|
||||
export function PowerTooltipContent({ power, values, content }) {
|
||||
return <span className="nebula-tooltip-lines">
|
||||
<span>{powerText(power, content)}</span>
|
||||
<PowerEffects power={power} values={values} content={content} />
|
||||
</span>;
|
||||
}
|
||||
|
||||
// Nom d'un pouvoir (icône de fiole) ; sa description et ses effets chiffrés (`values`) au survol et au focus.
|
||||
// `stats` : pour l'Adaptation, les stats qu'elle renforce sur les cartes qui la portent, affichées après son nom.
|
||||
export function PowerName({ power, content, stats = [] }) {
|
||||
export function PowerName({ power, values, content, stats = [], tabIndex = 0 }) {
|
||||
const name = stats.length ? `${content.powers[power]} · ${[...new Set(stats)].map((stat) => content.stats?.[stat] ?? stat).join(", ")}` : content.powers[power];
|
||||
return <Tooltip className="nebula-equipment-power" content={powerText(power, content)} aria-label={`${name} : ${powerText(power, content)}`} tabIndex={0}>
|
||||
return <Tooltip className="nebula-equipment-power" tooltipClassName="nebula-power-tooltip" content={<PowerTooltipContent power={power} values={values} content={content} />}
|
||||
aria-label={powerLabel(power, values, content)} tabIndex={tabIndex}>
|
||||
<MaskIcon name="power" /><span aria-hidden="true">{name}</span>
|
||||
</Tooltip>;
|
||||
}
|
||||
|
||||
// Encart « Pouvoirs » d'un résultat prévu : chaque pouvoir de l'équipe, ses effets chiffrés, et pourquoi il ne sert pas ici
|
||||
// (`noteOf` : powerNote) ; pour l'Adaptation, la stat renforcée (`attunement`).
|
||||
export function PowersTile({ powers, attunement = [], values, content, noteOf }) {
|
||||
if (!powers?.length) return null;
|
||||
return <div><dt>{content.groupOutcomePowers}</dt><dd className="nebula-group-powers">{powers.map((power) => {
|
||||
const note = noteOf(power);
|
||||
return <span key={power} className="nebula-group-power">
|
||||
<PowerName power={power} values={values} content={content} stats={power === "attunement" ? attunement.map((item) => item.stat) : []} />
|
||||
<PowerEffects power={power} values={values} content={content} />
|
||||
{note && <small className="nebula-power-note">{note}</small>}
|
||||
</span>;
|
||||
})}</dd></div>;
|
||||
}
|
||||
|
||||
// Encart « Résultat prévu » : le palier à gauche, le score en grand à droite, puis l'effet du palier sur le butin.
|
||||
export function TierTile({ tier, scorePct, lootPct, content }) {
|
||||
return <div><dt>{content.groupOutcomeTier}</dt><dd>
|
||||
|
|
@ -41,12 +72,15 @@ export function TierTile({ tier, scorePct, lootPct, content }) {
|
|||
</dd></div>;
|
||||
}
|
||||
|
||||
// Encart « Butin attendu » : Éclats et poussière d'étoiles en moyenne, chance de rapporter une carte.
|
||||
export function ExpectedLootTile({ expected, content }) {
|
||||
// Encart « Butin attendu » : Éclats et poussière d'étoiles en moyenne, chance de rapporter une carte, objets en moyenne, puis
|
||||
// l'expérience de la carte (`gainsXp` : faux pour une carte au plafond ou devant un Éveil).
|
||||
export function ExpectedLootTile({ expected, content, gainsXp = true }) {
|
||||
const line = (icon, text) => <span className="nebula-expected-line"><MaskIcon name={icon} /><span>{text}</span></span>;
|
||||
return <div><dt>{content.expectedTitle}</dt><dd className="nebula-expected-loot">
|
||||
{line("eclats", fillTemplate(content.expectedEclats, { value: formatEclats(expected.eclats) }))}
|
||||
{line("stardust", fillTemplate(content.expectedStardust, { value: formatEclats(expected.stardust) }))}
|
||||
{line("cards", fillTemplate(content.expectedCard, { value: formatEclats(expected.cardChancePct) }))}
|
||||
{expected.objects != null && line("items", fillTemplate(content.expectedObjects, { value: formatEclats(expected.objects), s: expected.objects >= 2 ? "s" : "" }))}
|
||||
{gainsXp && expected.xpPct > 0 && line("power", fillTemplate(content.expectedXp, { value: formatEclats(expected.xpPct) }))}
|
||||
</dd></div>;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@ import { useEffect, useMemo, useState } from "react";
|
|||
import { Tooltip } from "../../components/Tooltip.jsx";
|
||||
import { previewExpedition } from "./cardsApi.js";
|
||||
import { fillTemplate } from "./dailyShare.js";
|
||||
import { conditionText, coverEntry, dangerText, editionEntry, formatDecimal, formatEclats, ITEM_ART, synergyBadges, tagLabel } from "./expeditionFormat.js";
|
||||
import { conditionText, coverEntry, dangerText, editionEntry, formatDecimal, formatEclats, ITEM_ART, powerNote, synergyBadges, tagLabel } from "./expeditionFormat.js";
|
||||
import { MainStatMark, MaskIcon } from "./ExpeditionLabels.jsx";
|
||||
import { ExpeditionLoadout } from "./ExpeditionLoadout.jsx";
|
||||
import { BonusBadges, ExpectedLootTile, PowerName, TierTile } from "./ExpeditionOutcome.jsx";
|
||||
import { BonusBadges, ExpectedLootTile, PowersTile, TierTile } from "./ExpeditionOutcome.jsx";
|
||||
|
||||
const PREVIEW_DELAY_MS = 250;
|
||||
const LOOT_KINDS = ["eclats", "stardust", "cards", "items"];
|
||||
|
|
@ -110,17 +110,18 @@ function DestinationHazards({ catalog, destination, card, content }) {
|
|||
}
|
||||
|
||||
// Aperçu d'un départ seul, en petits encarts comme une expédition ouverte : résultat prévu (palier, score, effet sur le butin), butin
|
||||
// attendu, pouvoirs et bonus au score ; puis les avertissements (trajet, durée, étoiles). Les exigences sont dans la carte de la
|
||||
// attendu, pouvoirs (leurs effets, et pourquoi l'un d'eux ne sert pas ici) et bonus au score ; puis les avertissements (trajet, durée, étoiles). Les exigences sont dans la carte de la
|
||||
// destination. Avec le Coup de folie, pas de résultat prévu, seulement la fourchette des exigences réelles.
|
||||
function Preview({ catalog, preview, content, hours, tierLootPct }) {
|
||||
function Preview({ catalog, preview, content, hours, stars, dangers, progress, powerValues, tierLootPct }) {
|
||||
const bonuses = synergyBadges(preview, catalog, content);
|
||||
return <div className="nebula-expedition-preview" aria-live="polite">
|
||||
<dl className="nebula-group-outcome" aria-label={content.previewTitle}>
|
||||
{preview.hiddenRequirements
|
||||
? <div><dt>{content.groupOutcomeTier}</dt><dd><p className="nebula-group-tier-loot">{fillTemplate(content.hiddenRequirements, preview.requirementRange || { min: "?", max: "?" })}</p></dd></div>
|
||||
: <TierTile tier={preview.tier} scorePct={preview.scorePct} lootPct={tierLootPct?.[preview.tier]} content={content} />}
|
||||
<ExpectedLootTile expected={preview.expected} content={content} />
|
||||
{(preview.powers || []).length > 0 && <div><dt>{content.groupOutcomePowers}</dt><dd className="nebula-group-powers">{preview.powers.map((power) => <PowerName key={power} power={power} content={content} stats={power === "attunement" ? (preview.attunement || []).map((item) => item.stat) : []} />)}</dd></div>}
|
||||
: <TierTile tier={preview.tier} scorePct={preview.scorePct} lootPct={preview.tierLootPct ?? tierLootPct?.[preview.tier]} content={content} />}
|
||||
<ExpectedLootTile expected={preview.expected} content={content} gainsXp={!progress || (progress.nextCost != null && !progress.awakening)} />
|
||||
<PowersTile powers={preview.powers} attunement={preview.attunement} values={powerValues} content={content}
|
||||
noteOf={(power) => powerNote(power, { stars, dangers, progress, values: powerValues }, content)} />
|
||||
{bonuses.length > 0 && <div><dt>{content.groupOutcomeBonuses}</dt><dd><BonusBadges badges={bonuses} /></dd></div>}
|
||||
</dl>
|
||||
{!preview.hiddenRequirements && preview.limitedByStars && <p className="nds-inline-notice" data-variant="warning">{fillTemplate(content.limitedByStarsHelp, { stars: preview.limitedByStars })}</p>}
|
||||
|
|
@ -248,7 +249,8 @@ export function ExpeditionPlanner({ catalog, state, view, content, busy, onStart
|
|||
{!complete && <p className="nebula-form-help">{content.previewEmpty}</p>}
|
||||
{shownPreview?.error && <p className="nds-inline-notice" data-variant="warning" role="status">{shownPreview.error}</p>}
|
||||
{shownPreview?.value && <div className="nebula-preview-frame" data-stale={stale || undefined} aria-busy={stale}>
|
||||
<Preview catalog={catalog} preview={shownPreview.value} content={content} hours={JSON.parse(preview.key).durationHours} tierLootPct={view.tierLootPct} />
|
||||
<Preview catalog={catalog} preview={shownPreview.value} content={content} hours={JSON.parse(preview.key).durationHours} tierLootPct={view.tierLootPct}
|
||||
stars={destination.star} dangers={destination.dangers.length} progress={state.cardProgress?.find((item) => item.editionId === card.editionId)} powerValues={view.powers} />
|
||||
</div>}
|
||||
<div className="nebula-depart-choices">
|
||||
<div className="nebula-depart-choice">
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { CurrencyAmount } from "./Currency.jsx";
|
||||
import { fillTemplate, formatCountdown } from "./dailyShare.js";
|
||||
import { editionEntry, formatEclats, synergyBadges } from "./expeditionFormat.js";
|
||||
import { BonusBadges } from "./ExpeditionOutcome.jsx";
|
||||
import { BonusBadges, PowerName } from "./ExpeditionOutcome.jsx";
|
||||
import { DestinationArt } from "./ExpeditionLabels.jsx";
|
||||
import { NebulaCard } from "./NebulaCard.jsx";
|
||||
import { formatStardust } from "./stardustFormat.js";
|
||||
|
|
@ -20,7 +20,7 @@ function RewardBadges({ catalog, reward, content }) {
|
|||
</div>;
|
||||
}
|
||||
|
||||
export function ExpeditionReport({ catalog, expedition, content, now, busy, onClaim, anchors = 0, onRecall = null }) {
|
||||
export function ExpeditionReport({ catalog, expedition, content, powerValues, now, busy, onClaim, anchors = 0, onRecall = null }) {
|
||||
// Le serveur dit « en route » au chargement ; passé l'heure du retour, la page propose déjà de récupérer le butin.
|
||||
// En groupe, un joueur qui a récupéré sa part voit l'expédition terminée, même si les autres n'ont pas encore récupéré la leur.
|
||||
const status = expedition.claimedAt ? "completed" : expedition.status === "running" && expedition.returnsAt <= now ? "returned" : expedition.status;
|
||||
|
|
@ -38,6 +38,7 @@ export function ExpeditionReport({ catalog, expedition, content, now, busy, onCl
|
|||
<span className="nds-badge" data-variant={TIER_VARIANTS[expedition.result.tier]}>{content.tiers[expedition.result.tier]}</span>
|
||||
<span className="nds-badge" data-variant="neutral">{fillTemplate(content.score, { score: formatEclats(expedition.result.scorePct) })}</span>
|
||||
<BonusBadges badges={synergyBadges(expedition.result, catalog, content)} />
|
||||
{(expedition.result.powers || []).map((power) => <PowerName key={power} power={power} values={powerValues} content={content} />)}
|
||||
{expedition.result.requirementFactorPct != null && <span className="nds-badge" data-variant={expedition.result.requirementFactorPct > 100 ? "warning" : "success"}>{fillTemplate(content.requirementFactor, { pct: expedition.result.requirementFactorPct })}</span>}
|
||||
</div>}
|
||||
{expedition.reward && <RewardBadges catalog={catalog} reward={expedition.reward} content={content} />}
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ export function ExpeditionsPanel({ catalog, state, runMutation, busy, content, j
|
|||
const journal = <>
|
||||
<section className="nebula-expedition-active" aria-labelledby="nebula-expedition-journal-title">
|
||||
<h3 id="nebula-expedition-journal-title">{content.journalTitle}</h3>
|
||||
{journalCount ? <div className="nebula-expedition-reports">{view.journal.map((expedition) => <ExpeditionReport key={expedition.id} catalog={catalog} expedition={expedition} content={content} now={now} busy={busy} onClaim={claim} />)}</div>
|
||||
{journalCount ? <div className="nebula-expedition-reports">{view.journal.map((expedition) => <ExpeditionReport key={expedition.id} catalog={catalog} expedition={expedition} content={content} powerValues={view.powers} now={now} busy={busy} onClaim={claim} />)}</div>
|
||||
: <p className="nebula-form-help">{content.journalEmpty}</p>}
|
||||
</section>
|
||||
</>;
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ export const EXPEDITION_SETTING_GROUPS = [
|
|||
{
|
||||
id: "powers",
|
||||
title: "Pouvoirs et Carnets des Veilleurs",
|
||||
help: "Avantage et contrepartie de chaque pouvoir des communes des Carnets (chaque pouvoir compte une fois par équipe) et cartes de destination (une non possédée par expédition, celle de la destination d’un groupe rejoint sans l’avoir).",
|
||||
help: "Avantage et contrepartie de chaque pouvoir des communes (chaque pouvoir compte une fois par équipe) et cartes de destination (une non possédée par expédition, celle de la destination d’un groupe rejoint sans l’avoir).",
|
||||
fields: [
|
||||
{ path: "powers.longsightPackPct", label: "Vue lointaine : chance de carte en plus", unit: "%" },
|
||||
{ path: "powers.longsightExtraPct", label: "Vue lointaine : trajet en plus", unit: "%" },
|
||||
|
|
@ -130,6 +130,16 @@ export const EXPEDITION_SETTING_GROUPS = [
|
|||
{ path: "powers.fogBellSoloLootPct", label: "Ralliement : butin en moins, en solo", unit: "%" },
|
||||
{ path: "powers.talismanFloorPct", label: "Prudence : score minimal pour une Réussite", unit: "%" },
|
||||
{ path: "powers.attunementPoints", label: "Adaptation : points sur la stat exigée la plus faible" },
|
||||
{ path: "powers.studyXpPct", label: "Étude : expérience en plus", unit: "%" },
|
||||
{ path: "powers.studyLootPct", label: "Étude : butin en moins", unit: "%" },
|
||||
{ path: "powers.starFrostStardustPct", label: "Givre d’étoiles : poussière en plus", unit: "%" },
|
||||
{ path: "powers.starFrostEclatsPct", label: "Givre d’étoiles : Éclats en moins", unit: "%" },
|
||||
{ path: "powers.findingsObjectsPct", label: "Trouvaille : chance d’objet en plus", unit: "%" },
|
||||
{ path: "powers.findingsExtraObjects", label: "Trouvaille : objets en plus au plafond" },
|
||||
{ path: "powers.findingsEclatsPct", label: "Trouvaille : Éclats en moins", unit: "%" },
|
||||
{ path: "powers.dawnLuckMinStars", label: "Chance de l’aube : étoiles à partir desquelles elle agit" },
|
||||
{ path: "powers.dawnLuckTriumphPct", label: "Chance de l’aube : butin d’un Triomphe en plus", unit: "%" },
|
||||
{ path: "powers.dawnLuckSuccessPct", label: "Chance de l’aube : butin d’une Réussite en moins", unit: "%" },
|
||||
{ path: "destinationCards.dropPct", label: "Chance d’une carte de destination non possédée", unit: "%" },
|
||||
{ path: "destinationCards.groupJoinPct", label: "Groupe rejoint : chance d’obtenir la carte de sa destination", unit: "%" }
|
||||
]
|
||||
|
|
|
|||
|
|
@ -5,15 +5,33 @@ export const STAT_IDS = ["bravoure", "endurance", "fortune", "orientation"];
|
|||
// Variante de badge de chaque palier.
|
||||
export const TIER_VARIANTS = { struggle: "neutral", success: "success", triumph: "gold" };
|
||||
|
||||
// Pouvoirs des communes des Carnets : un avantage, une contrepartie (textes cards.expeditions.powerText ; les valeurs se règlent
|
||||
// dans l'administration).
|
||||
// Pouvoirs des communes : un avantage, une contrepartie (textes cards.expeditions.powerText ; les valeurs se règlent dans
|
||||
// l'administration).
|
||||
export const powerText = (power, content) => content.powerText?.[power] || "";
|
||||
|
||||
// Effets chiffrés d'un pouvoir, une ligne par effet : les modèles cards.expeditions.powerDetails, remplis avec les valeurs réglées
|
||||
// dans l'administration (`values` : réglages `powers`).
|
||||
export function powerDetails(power, values, content) {
|
||||
// Effets chiffrés d'un pouvoir : [{ trend, text }], ses gains (`up`) puis ses contreparties (`down`). Ce sont les modèles
|
||||
// cards.expeditions.powerEffects, remplis avec les valeurs réglées dans l'administration (`values` : réglages `powers`).
|
||||
export function powerEffects(power, values, content) {
|
||||
if (!values) return [];
|
||||
return (content.powerDetails?.[power] || []).map((line) => fillTemplate(line, values));
|
||||
const { up = [], down = [] } = content.powerEffects?.[power] || {};
|
||||
return [...up.map((line) => ({ trend: "up", text: fillTemplate(line, values) })), ...down.map((line) => ({ trend: "down", text: fillTemplate(line, values) }))];
|
||||
}
|
||||
|
||||
// Pouvoir dit en entier aux lecteurs d'écran : nom, description, puis chaque gain et chaque contrepartie.
|
||||
export function powerLabel(power, values, content) {
|
||||
const effects = powerEffects(power, values, content).map(({ trend, text }) => fillTemplate(trend === "up" ? content.powerGain : content.powerCost, { effect: text }));
|
||||
return [`${content.powers[power]} : ${powerText(power, content)}`, ...effects].join(" ; ");
|
||||
}
|
||||
|
||||
// Pourquoi un pouvoir ne sert pas dans cette expédition (texte cards.expeditions.powerNotes), ou null. `players` : joueurs de
|
||||
// l'équipe ; `progress` : progression de la carte du joueur (Étude), null si elle n'est pas connue.
|
||||
export function powerNote(power, { stars, players = 1, dangers = 0, progress = null, values }, content) {
|
||||
const notes = content.powerNotes || {};
|
||||
if (power === "dawnLuck" && values && stars < values.dawnLuckMinStars) return fillTemplate(notes.dawnLuck, { stars: values.dawnLuckMinStars });
|
||||
if (power === "stormLantern" && dangers === 0) return notes.stormLantern;
|
||||
if (power === "fogBell" && players <= 1) return notes.fogBell;
|
||||
if (power === "study" && progress) return progress.nextCost == null ? notes.studyCap : progress.awakening ? notes.studyAwakening : null;
|
||||
return null;
|
||||
}
|
||||
|
||||
export const formatEclats = (value) => Number(value).toLocaleString("fr-FR", { maximumFractionDigits: 1 });
|
||||
|
|
|
|||
|
|
@ -626,6 +626,14 @@ $diffraction-glitter-b: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/
|
|||
.nebula-card-detail-panel dl > div { grid-template-columns: minmax(150px, max-content) minmax(0, 1fr); column-gap: var(--space-5); }
|
||||
.nebula-card-detail-lore { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-base); font-style: italic; line-height: 1.6; }
|
||||
.nebula-card-detail-tabs { justify-self: start; }
|
||||
// Commune : ce qu'elle apporte en équipement, stats ou pouvoir (cadre doré), puis sa synergie et ses étiquettes.
|
||||
.nebula-card-equipment { display: grid; gap: var(--space-2); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
|
||||
.nebula-card-equipment[data-power] { border-color: rgba(246, 196, 83, 0.35); background: rgba(246, 196, 83, 0.06); }
|
||||
.nebula-card-equipment h3 { margin: 0; font-size: var(--font-size-base); }
|
||||
.nebula-card-equipment h4 { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; color: var(--color-accent-gold); }
|
||||
.nebula-card-equipment-power { display: grid; gap: var(--space-2); }
|
||||
.nebula-card-equipment-stats li { display: inline-flex; align-items: center; gap: 0.4em; }
|
||||
.nebula-card-equipment-stats { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0; padding: 0; list-style: none; font-weight: 700; }
|
||||
.nebula-card-detail-main { display: grid; gap: var(--space-4); align-content: start; min-width: 0; }
|
||||
.nebula-card-detail-main header h2, .nebula-card-detail-main header .eyebrow { margin: 0; }
|
||||
.nebula-card-detail-main .nds-button { margin: 0; }
|
||||
|
|
|
|||
|
|
@ -83,10 +83,22 @@ button.nebula-equipment-slot:disabled { cursor: not-allowed; opacity: 0.55; }
|
|||
// Pouvoir d'une commune : icône de fiole et nom en or, comme une ligne de stat.
|
||||
.nebula-equipment-power { display: inline-flex; align-items: center; gap: 0.3em; color: var(--color-accent-gold); font-weight: 700; white-space: nowrap; cursor: help; }
|
||||
.nebula-equipment-power span { color: inherit; }
|
||||
// Effets chiffrés d'un pouvoir dans son infobulle, sous sa description.
|
||||
// Infobulle d'un pouvoir : plus large que les autres, et chaque effet chiffré sur sa propre ligne, sans coupure.
|
||||
// Infobulle d'un pouvoir : plus large que les autres.
|
||||
.ui-tooltip.nebula-power-tooltip { max-width: min(360px, calc(100vw - 24px)); }
|
||||
.nebula-tooltip-lines .nebula-power-detail { color: var(--color-accent-gold); font-weight: 600; white-space: nowrap; }
|
||||
// Effets chiffrés d'un pouvoir, un par ligne : ses gains en vert (« + »), ses contreparties en rouge (« − »).
|
||||
.nebula-power-effects { display: grid; gap: 2px; justify-items: start; text-align: left; }
|
||||
.nebula-power-effect { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.4em; font-weight: 600; }
|
||||
.nebula-power-effect::before { content: "▲"; align-self: start; font-size: 0.7em; line-height: 2; }
|
||||
.nebula-power-effect[data-trend="up"], .nebula-power-effect[data-trend="up"] span { color: var(--color-success); }
|
||||
.nebula-power-effect[data-trend="down"], .nebula-power-effect[data-trend="down"] span { color: var(--color-danger); }
|
||||
.nebula-power-effect[data-trend="down"]::before { content: "▼"; }
|
||||
// Sous une commune, le pouvoir sur une ligne, puis ses effets sur la largeur de la carte.
|
||||
.nebula-equipment-stats[data-power] { display: grid; justify-items: start; }
|
||||
.nebula-equipment-stats[data-power] .nebula-equipment-power { white-space: normal; text-align: left; }
|
||||
// Encart « Pouvoirs » d'un résultat prévu : chaque pouvoir, ses effets, et pourquoi il ne sert pas ici.
|
||||
.nebula-group-power { display: grid; gap: 2px; justify-items: start; flex-basis: 100%; }
|
||||
.nebula-group-power .nebula-power-effects { font-size: var(--font-size-xs); }
|
||||
.nebula-group-power small.nebula-power-note { color: var(--color-warning); font-size: var(--font-size-xs); font-weight: 600; }
|
||||
.nebula-expedition-chosen-powers li { display: grid; gap: 2px; }
|
||||
.nebula-stat-value span.nebula-synergy-bonus { margin-left: 0.2em; color: var(--nebula-tag, var(--color-text-primary)); }
|
||||
.nds-badge.nebula-synergy-badge { display: inline-flex; align-items: center; gap: 0.3em; border-color: color-mix(in srgb, var(--nebula-tag) 45%, transparent); background: color-mix(in srgb, var(--nebula-tag) 14%, transparent); color: var(--nebula-tag); }
|
||||
|
|
@ -128,7 +140,7 @@ button.nebula-equipment-slot:disabled { cursor: not-allowed; opacity: 0.55; }
|
|||
.nebula-atelier-power { display: grid; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid rgba(246, 196, 83, 0.35); border-radius: var(--radius-sm); background: rgba(246, 196, 83, 0.06); }
|
||||
.nebula-atelier-power h4 { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; color: var(--color-accent-gold); }
|
||||
.nebula-atelier-power p { color: var(--color-text-primary); }
|
||||
.nebula-atelier-power ul { display: grid; gap: var(--space-1); margin: 0; padding-left: var(--space-5); color: var(--color-text-secondary); font-size: var(--font-size-sm); }
|
||||
.nebula-atelier-power .nebula-power-effects { font-size: var(--font-size-sm); }
|
||||
|
||||
// Atelier de gravure (`EngraveModal`) : « Graver » sous une commune posée ; dans la fenêtre, la commune, puis la commune choisie
|
||||
// en tête (ses étiquettes), un cadre pour une carte personnage et un cadre de toutes les étiquettes par famille, puis la confirmation.
|
||||
|
|
|
|||
|
|
@ -174,10 +174,10 @@
|
|||
.nebula-group-deadline { display: grid; gap: var(--space-1); max-width: 520px; color: var(--color-text-primary); font-size: var(--font-size-sm); }
|
||||
// Résultat prévu, butin, pouvoirs et bonus : de petits encarts côte à côte, intitulé au-dessus de la valeur.
|
||||
.nebula-group-outcome { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); margin: 0; }
|
||||
.nebula-group-outcome > div { display: grid; align-content: start; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); }
|
||||
.nebula-group-outcome > div { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: rgba(0, 0, 0, 0.18); }
|
||||
.nebula-group-outcome dt, .nebula-group-team h5, .nebula-group-recap h5 { margin: 0; color: var(--color-text-secondary); font-size: var(--font-size-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
|
||||
// Résultat prévu : le palier à gauche, le score en grand à droite ; dessous, une phrase sur l'effet du palier sur le butin.
|
||||
.nebula-group-tier-line { display: flex; flex-basis: 100%; align-items: center; justify-content: space-between; gap: var(--space-3); }
|
||||
.nebula-group-tier-line { display: flex; flex-wrap: wrap; flex-basis: 100%; align-items: center; justify-content: space-between; gap: var(--space-3); }
|
||||
.nebula-group-score { display: inline-flex; align-items: baseline; gap: 0.35em; }
|
||||
.nebula-group-score strong { color: var(--color-text-primary); font-size: var(--font-size-lg); font-variant-numeric: tabular-nums; }
|
||||
.nebula-group-score small { color: var(--color-text-secondary); font-size: var(--font-size-xs); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue