// ─── 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 { // ── 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; --cel-font-ui: "Signika", "Palatino Linotype", sans-serif; } // ─── Sheet base layout ─────────────────────────────────────────────────────── .fvtt-celestopol { &.sheet { background: var(--cel-cream); font-family: var(--cel-font-body); color: #1a1209; .window-content { padding: 0; overflow: hidden; display: flex; flex-direction: column; // 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 ────────────────────────────────────────────────────────────── .sheet-header { display: flex; align-items: stretch; // 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: 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: 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; } .header-fields { flex: 1; display: flex; flex-direction: column; gap: 4px; color: var(--cel-cream); input[type="text"] { background: transparent; border: none; 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: 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; } .concept-display, input[name="system.concept"] { font-style: italic; font-size: 0.9em; color: var(--cel-cream); background: transparent; border-bottom: 1px solid rgba(240,232,212,0.25); } } .header-stats-row { display: flex; gap: 10px; align-items: center; .header-stat { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,0,0.35); border: 1px solid var(--cel-orange); border-radius: 2px; padding: 4px 10px; min-width: 52px; label { font-size: 0.62em; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cel-orange-light); } .stat-value { font-size: 1.4em; font-family: var(--cel-font-title); color: var(--cel-orange); font-weight: bold; } } } } // ─── Tabs ──────────────────────────────────────────────────────────────── // Updated: 1774698726 - Enhanced tab styling .sheet-tabs { // ─── Faction checkboxes ───────────────────────────────────────────────── .faction-checkboxes-container { display: flex; align-items: center; gap: 8px; pointer-events: auto !important; } .faction-checkboxes { display: inline-flex; gap: 2px; pointer-events: auto !important; } .faction-checkbox-wrapper { display: inline-block; pointer-events: auto !important; position: relative; z-index: 101; } .faction-checkbox { width: 14px; height: 14px; cursor: pointer; pointer-events: auto !important; margin: 0; padding: 0; position: relative; z-index: 100; } .faction-checkbox:disabled { cursor: default; opacity: 0.7; } .faction-count { margin-left: 8px; font-weight: bold; color: var(--cel-orange); min-width: 20px; text-align: right; } .faction-value-input { width: 40px; margin-left: 8px; } // Fix pointer-events for faction checkboxes in table cells .faction-row { pointer-events: auto !important; } .faction-row td { pointer-events: auto !important; } // Ensure labels are clickable .faction-checkbox-wrapper label { cursor: pointer; pointer-events: auto !important; display: inline-block; } } // Ensure table cells allow pointer events .faction-row { pointer-events: auto !important; } .faction-row td { pointer-events: auto !important; } .sheet-tabs { 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: 8px 16px; color: rgba(240,232,212,0.8); font-family: var(--cel-font-title); font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.07em; cursor: pointer; border-right: 1px solid rgba(196,154,26,0.2); transition: all 0.2s ease; // Art Déco underline indicator border-bottom: 3px solid transparent; position: relative; background: rgba(240,232,212,0.1); margin: 0 1px; &:hover { color: var(--cel-orange-light); background: rgba(196,154,26,0.15); } &.active { color: var(--cel-cream) !important; background: linear-gradient(to bottom, var(--cel-orange), var(--cel-orange-light)) !important; border-bottom: 3px solid var(--cel-accent) !important; font-weight: bold !important; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; transform: translateY(-1px) !important; position: relative !important; z-index: 2 !important; border-right-color: transparent !important; border: 2px solid red !important; // DEBUG: bordure rouge très visible // Art Déco triangle indicator &::before { content: '' !important; position: absolute !important; top: -5px !important; left: 50% !important; transform: translateX(-50%) !important; width: 0 !important; height: 0 !important; border-left: 8px solid transparent !important; border-right: 8px solid transparent !important; border-bottom: 8px solid var(--cel-accent) !important; } } } } // ─── Sheet body / tabs content ─────────────────────────────────────────── .sheet-body { flex: 1; overflow-y: auto; padding: 8px; } .tab { display: none; padding: 8px; overflow-y: auto; &.active { display: block; } } }