fix: tests complets - onglets, message de tchat, scores bonus/malus

- Onglets item (Anomalie/Aspect/Attribut): correction tabGroups + data-group sur chaque <a> et <section>
- Onglets acteur (PJ/PNJ): tab.cssClass dans les templates pour l'état actif initial
- Message de tchat: alignement des noms de variables _getChatCardData <-> chat-message.hbs
  - actorName, actorImg, success/failure, diceResults, statLabel/skillLabel localisés
  - difficultyLabel et moonPhaseLabel localisés depuis SYSTEM
- Dialogue de jet (roll-dialog.hbs): correction noms variables + min/max modificateur
- lang/fr.json: ajout Roll.title, Roll.roll, clés Moon (minuscules), Difficulty (unknown/ardu)
- character.mjs: passage statLabel à CelestopolRoll.prompt()
- global.less: padding + overflow-y sur .tab pour contenu visible
- item-scores.hbs: passage system=system au partial + suppression garde isEditable
- Templates anomaly/aspect/attribute: passage system=system au partial item-scores
- chat-message.mjs: getHTML() → renderHTML() (dépréciation FVTT v13)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-28 11:09:17 +01:00
parent 64e23271df
commit ea3064d7a2
35 changed files with 150 additions and 92 deletions

View File

@@ -1,5 +1,9 @@
// ─── Variables CSS (couleurs + typo) ────────────────────────────────────────
// ─── FVTT-wide type label fix ────────────────────────────────────────────────
// Override window title color for celestopol sheets
.fvtt-celestopol .window-title { color: var(--cel-orange, #e07b00); }
:root {
--cel-green: rgb(12, 76, 12);
--cel-green-light: rgb(20, 110, 20);
@@ -17,7 +21,7 @@
// ─── Sheet base layout ───────────────────────────────────────────────────────
.celestopol {
.fvtt-celestopol {
&.sheet {
background: var(--cel-cream);
font-family: var(--cel-font-body);
@@ -154,5 +158,10 @@
padding: 8px;
}
.tab { display: none; &.active { display: block; } }
.tab {
display: none;
padding: 8px;
overflow-y: auto;
&.active { display: block; }
}
}