feat: refonte visuelle Art Déco — palette jade/or antique

Remplace le vert saturé rgb(12,76,12) par une palette Art Déco
cohérente avec l'esthétique du jeu (nuit lunaire, Belle Époque 1922).

Palette :
- --cel-green : #1b3828 (jade profond désaturé)
- --cel-orange : #c49a1a (or antique)
- --cel-cream : #f0e8d4 (parchemin chaud)
- --cel-border : #7a5c20 (bordure dorée)
- --cel-cream-dark : #e0d4b8 (rangées alternées)
- --cel-accent : #6b1e28 (bordeaux — échecs)

Changements visuels :
- Header : fond jade sombre + fond_cadrille (soft-light), cadre portrait doré
- Tabs : style Art Déco (border-bottom or, pas de fond orange plein)
- Section headers : couleur or + ::after gradient ornamental
- Stat blocks : jade texturé, valeurs compétences en or, rangées alternées
- Factions table : thead jade texturé, rangées alternées
- Items sheets : header jade, tabs Art Déco, labels or
- Chat : header jade texturé, bannière succès jade+or, échec bordeaux
- Roll dialog : titre et labels en or

Assets copiés depuis celestopol1922 :
- fond_cadrille2.jpg, cercle-vert/jaune-checked/unchecked.png, logo_jeu.png

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-28 11:53:00 +01:00
parent ea3064d7a2
commit a581853f95
12 changed files with 206 additions and 94 deletions

View File

@@ -5,14 +5,21 @@
.fvtt-celestopol .window-title { color: var(--cel-orange, #e07b00); }
:root {
--cel-green: rgb(12, 76, 12);
--cel-green-light: rgb(20, 110, 20);
--cel-green-dark: rgb(6, 40, 6);
--cel-orange: #e07b00;
--cel-orange-light: #f0a040;
--cel-cream: #f5f0e8;
--cel-border: #8b7355;
--cel-shadow: rgba(0,0,0,0.4);
// ── Palette Art Déco / nuit lunaire ─────────────────────────────────────
--cel-green: #1b3828; // jade profond, désaturé (ex rgb(12,76,12))
--cel-green-light: #2c5a3f; // jade moyen
--cel-green-dark: #0d1f14; // jade très sombre
--cel-orange: #c49a1a; // or antique (ex #e07b00)
--cel-orange-light: #ddb84a; // or clair
--cel-cream: #f0e8d4; // parchemin chaud
--cel-cream-dark: #e0d4b8; // parchemin foncé (rangées alternées)
--cel-border: #7a5c20; // bordure dorée
--cel-accent: #6b1e28; // bordeaux profond (échecs, accents)
--cel-shadow: rgba(10,15,10,0.5);
--cel-font-title: "CopaseticNF", "Palatino Linotype", serif;
--cel-font-body: "Palatino Linotype", "Book Antiqua", Palatino, serif;
@@ -32,8 +39,25 @@
overflow: hidden;
display: flex;
flex-direction: column;
background: var(--cel-cream);
// Very subtle grid texture evokes Art Déco marquetry
background-color: var(--cel-cream);
background-image: url("../assets/ui/fond_cadrille.jpg");
background-blend-mode: multiply;
background-size: auto;
background-repeat: repeat;
// Tint so the texture is extremely faint on the parchment
&::before {
content: '';
position: absolute;
inset: 0;
background: var(--cel-cream);
opacity: 0.92;
pointer-events: none;
z-index: 0;
}
}
// Ensure content sits above the pseudo texture
.sheet-header, .sheet-tabs, .sheet-body, .tab { position: relative; z-index: 1; }
}
// ─── Header ──────────────────────────────────────────────────────────────
@@ -41,18 +65,24 @@
.sheet-header {
display: flex;
align-items: stretch;
background: var(--cel-green);
// fond_cadrille overlay on jade dark gives rich Art Déco textile look
background-color: var(--cel-green-dark);
background-image: url("../assets/ui/fond_cadrille.jpg");
background-blend-mode: overlay;
padding: 8px;
gap: 8px;
background-blend-mode: soft-light;
background-size: auto;
padding: 10px 12px 10px 10px;
gap: 10px;
// Double-rule Art Déco bottom border
border-bottom: 3px solid var(--cel-orange);
box-shadow: 0 3px 0 0 rgba(196,154,26,0.25);
.actor-portrait {
width: 80px;
height: 80px;
width: 84px;
height: 84px;
object-fit: cover;
border: 2px solid var(--cel-orange);
// Subtle inner glow — gold frame effect
box-shadow: inset 0 0 6px rgba(196,154,26,0.4), 0 0 4px rgba(0,0,0,0.5);
cursor: pointer;
}
@@ -66,19 +96,21 @@
input[type="text"] {
background: transparent;
border: none;
border-bottom: 1px solid var(--cel-orange-light);
border-bottom: 1px solid rgba(196,154,26,0.5);
color: var(--cel-orange);
font-family: var(--cel-font-title);
font-size: 1.4em;
font-weight: bold;
letter-spacing: 0.06em;
padding: 2px 4px;
&::placeholder { color: var(--cel-orange-light); }
&::placeholder { color: rgba(196,154,26,0.5); }
}
.actor-name {
font-family: var(--cel-font-title);
font-size: 1.4em;
color: var(--cel-orange);
letter-spacing: 0.06em;
margin: 0;
}
@@ -88,27 +120,29 @@
font-size: 0.9em;
color: var(--cel-cream);
background: transparent;
border-bottom: 1px solid rgba(255,255,255,0.3);
border-bottom: 1px solid rgba(240,232,212,0.25);
}
}
.header-stats-row {
display: flex;
gap: 12px;
gap: 10px;
align-items: center;
.header-stat {
display: flex;
flex-direction: column;
align-items: center;
background: rgba(0,0,0,0.3);
background: rgba(0,0,0,0.35);
border: 1px solid var(--cel-orange);
border-radius: 4px;
padding: 4px 8px;
border-radius: 2px;
padding: 4px 10px;
min-width: 52px;
label {
font-size: 0.65em;
font-size: 0.62em;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--cel-orange-light);
}
@@ -128,23 +162,33 @@
display: flex;
background: var(--cel-green-dark);
padding: 0;
// Art Déco thin gold line at top + bottom separator
border-top: 1px solid rgba(196,154,26,0.3);
border-bottom: 2px solid var(--cel-orange);
.item {
padding: 6px 12px;
color: var(--cel-cream);
padding: 6px 14px;
color: rgba(240,232,212,0.7);
font-family: var(--cel-font-title);
font-size: 0.85em;
font-size: 0.82em;
text-transform: uppercase;
letter-spacing: 0.05em;
letter-spacing: 0.07em;
cursor: pointer;
border-right: 1px solid var(--cel-green-light);
transition: background 0.2s;
border-right: 1px solid rgba(196,154,26,0.2);
transition: color 0.2s, border-bottom-color 0.2s;
// Art Déco underline indicator
border-bottom: 3px solid transparent;
position: relative;
&:hover {
color: var(--cel-orange-light);
background: rgba(196,154,26,0.07);
}
&:hover { background: var(--cel-green-light); }
&.active {
background: var(--cel-orange);
color: #1a0a00;
color: var(--cel-orange);
background: rgba(196,154,26,0.1);
border-bottom-color: var(--cel-orange);
font-weight: bold;
}
}