Files
fvtt-celestopol/styles/mixins.less
LeRatierBretonnier a581853f95 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>
2026-03-28 11:53:00 +01:00

85 lines
2.1 KiB
Plaintext

// ─── Mixins ──────────────────────────────────────────────────────────────────
.cel-section-header() {
font-family: var(--cel-font-title);
font-size: 0.78em;
text-transform: uppercase;
letter-spacing: 0.1em;
// Gold instead of vivid green — Art Déco elegance
color: var(--cel-orange);
padding-bottom: 4px;
margin-bottom: 8px;
position: relative;
// Ornamental gradient rule underneath — fades to transparent at edges
&::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(to right, transparent 0%, var(--cel-orange) 20%, var(--cel-border) 80%, transparent 100%);
}
}
.cel-input-std() {
background: rgba(255,255,255,0.6);
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: 2px;
background: rgba(255,255,255,0.45);
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: rgba(196,154,26,0.15); // gold tint — more elegant than orange
color: #1a0a00;
border-radius: 3px;
}
}
.cel-item-row() {
display: flex;
align-items: center;
gap: 6px;
padding: 3px 6px;
border-bottom: 1px solid rgba(122,92,32,0.25);
transition: background 0.1s;
&:hover { background: rgba(196,154,26,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; }
}