feat: implémentation complète du système Célestopol 1922 pour FoundryVTT v13

- DataModels (character, npc, anomaly, aspect, attribute, equipment)
- ApplicationV2 sheets (character 5 tabs, npc 3 tabs, 4 item sheets)
- DialogV2 pour les jets de dés avec phase de lune
- Templates Handlebars complets (fiches PJ/PNJ, items, jet, chat)
- Styles LESS → CSS compilé (thème vert foncé / orange CopaseticNF)
- i18n fr.json complet (clés CELESTOPOL.*)
- Point d'entrée fvtt-celestopol.mjs avec hooks init/ready
- Assets : polices CopaseticNF, images UI, icônes items
- Mise à jour copilot-instructions.md avec l'architecture réelle

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-28 09:28:34 +01:00
parent 446f9b7500
commit 64e23271df
54 changed files with 3433 additions and 4 deletions

72
styles/mixins.less Normal file
View File

@@ -0,0 +1,72 @@
// ─── Mixins ──────────────────────────────────────────────────────────────────
.cel-section-header() {
font-family: var(--cel-font-title);
font-size: 0.8em;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--cel-green);
border-bottom: 1px solid var(--cel-border);
padding-bottom: 2px;
margin-bottom: 6px;
}
.cel-input-std() {
background: rgba(255,255,255,0.7);
border: 1px solid var(--cel-border);
border-radius: 2px;
padding: 2px 4px;
color: #1a1209;
font-family: var(--cel-font-body);
}
.cel-box() {
display: inline-block;
width: 22px;
height: 22px;
border: 2px solid var(--cel-border);
border-radius: 3px;
background: rgba(255,255,255,0.5);
cursor: pointer;
&.checked { background: var(--cel-orange); border-color: var(--cel-orange); }
}
.cel-rollable() {
cursor: pointer;
transition: background 0.15s, color 0.15s;
&:hover {
background: var(--cel-orange-light);
color: #1a0a00;
border-radius: 3px;
}
}
.cel-item-row() {
display: flex;
align-items: center;
gap: 6px;
padding: 3px 6px;
border-bottom: 1px solid rgba(139,115,85,0.3);
transition: background 0.1s;
&:hover { background: rgba(224,123,0,0.08); }
.item-icon {
width: 24px;
height: 24px;
object-fit: cover;
border: 1px solid var(--cel-border);
border-radius: 2px;
}
.item-name { flex: 1; font-style: italic; }
.item-controls {
display: flex;
gap: 4px;
opacity: 0;
transition: opacity 0.15s;
a { color: var(--cel-orange); cursor: pointer; }
}
&:hover .item-controls { opacity: 1; }
}