Files
fvtt-celestopol/styles/npc.less
LeRatierBretonnier 64e23271df 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>
2026-03-28 09:28:34 +01:00

118 lines
2.9 KiB
Plaintext

@import "mixins";
// ─── NPC sheet specifics ─────────────────────────────────────────────────────
.celestopol.npc-sheet {
.stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
padding: 8px 0;
.stat-block {
border: 1px solid var(--cel-border);
border-radius: 4px;
overflow: hidden;
.stat-header {
background: var(--cel-green);
color: var(--cel-orange);
display: flex;
justify-content: space-between;
align-items: center;
padding: 4px 8px;
.stat-name {
font-family: var(--cel-font-title);
font-weight: bold;
text-transform: uppercase;
font-size: 0.9em;
}
.stat-res {
display: flex;
align-items: center;
gap: 4px;
font-size: 0.8em;
label { color: var(--cel-orange-light); }
.stat-res-value { font-weight: bold; color: var(--cel-orange); }
.stat-actuel {
font-size: 0.9em;
color: rgba(255,200,0,0.7);
font-style: italic;
}
input[type="number"] { width: 30px; .cel-input-std(); }
}
}
.skills-list {
background: var(--cel-cream);
.skill-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 3px 8px;
border-bottom: 1px solid rgba(139,115,85,0.2);
font-size: 0.85em;
&.rollable { .cel-rollable(); }
.skill-name { flex: 1; }
.skill-value { font-weight: bold; color: var(--cel-green); min-width: 24px; text-align: center; }
.skill-value-input { width: 36px; .cel-input-std(); text-align: center; }
}
}
}
}
.track-section {
border: 1px solid var(--cel-border);
border-radius: 4px;
margin-bottom: 8px;
overflow: hidden;
.track-header {
background: var(--cel-green);
color: var(--cel-orange);
padding: 4px 8px;
font-family: var(--cel-font-title);
font-weight: bold;
text-transform: uppercase;
font-size: 0.9em;
}
.track-boxes {
display: flex;
padding: 8px;
gap: 6px;
background: var(--cel-cream);
.track-box {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
.box-label { font-size: 0.65em; color: var(--cel-border); }
}
}
.track-level {
display: flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
background: rgba(139,115,85,0.1);
font-size: 0.85em;
input[type="number"] { width: 40px; .cel-input-std(); }
}
}
.description-section {
margin-top: 8px;
.enriched-html { font-size: 0.9em; line-height: 1.6; }
}
}