@import "totem"; .system-vermine2047 .vermine2047.actor { // ── Fix contrast: dark text on light parchment bg ─────────────────── .window-content, & { color: @theme-color-dark; label, span, p, li, a:not(.active) { color: @theme-color-dark; } h4, h5 { color: @color-text-dark-header; } h3 { color: @theme-color-light; } input:not([type="radio"]):not([type="checkbox"]), select, textarea { color: @color-text-light-0; line-height: 1.2; padding: 1px 4px; } .char-header { h1 label { font-size: 0.9rem; } .char-name-value { font-size: 1.1rem; } input:not([type="radio"]):not([type="checkbox"]) { font-size: 1rem; } } .ability input.hexa { font-size: 0.8rem; } .resource-label { color: @color-text-dark-secondary; } .ability label { color: @color-text-dark-header; } .char-header { color: @theme-color-dark; label { color: @color-text-dark-header; } } .hexa { color: @color-text-dark-primary; } .sheet-tabs a { color: @color-text-dark-inactive; &.active { color: @theme-color-dark; } } } // ── Two-column layout for character sheets ────────────────────────── &.character { display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: auto 1fr auto !important; > header.window-header { grid-column: 1; grid-row: 1; } > section.window-content { grid-column: 1; grid-row: 2; } > div.window-resize-handle { grid-column: 1; grid-row: 3; } } &.character .window-content { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: auto 1fr; overflow: hidden; > .tab.main { grid-column: 1; grid-row: 1 / -1; display: flex !important; flex-direction: column; overflow-y: auto; padding: 8px; border-right: 1px solid rgba(255, 255, 255, 0.1); > * { flex: 0 0 auto; } } > nav.tabs { grid-column: 2; grid-row: 1; } > .tab:not(.main) { grid-column: 2; grid-row: 2; display: none; overflow-y: auto; padding: 8px; &.active { display: flex; flex-direction: column; } } } // ── Stacked layout for NPC sheets (header + tabs + content) ──────── &.npc { display: grid !important; grid-template-columns: 1fr !important; grid-template-rows: auto 1fr auto !important; > header.window-header { grid-column: 1; grid-row: 1; } > section.window-content { grid-column: 1; grid-row: 2; } > div.window-resize-handle { grid-column: 1; grid-row: 3; } } &.npc .window-content { display: grid; grid-template-rows: auto auto 1fr; grid-template-columns: 1fr; overflow: hidden; > .tab.main { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; overflow-y: auto; padding: 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } > nav.tabs { grid-column: 1; grid-row: 2; } > .tab:not(.main) { grid-column: 1; grid-row: 3; display: none; overflow-y: auto; padding: 8px; &.active { display: flex; flex-direction: column; } } } // ── Stacked layout for creature sheets (header + tabs + content) ─── &.creature .window-content { display: grid; grid-template-rows: auto auto 1fr; grid-template-columns: 1fr; overflow: hidden; > .tab.main { grid-column: 1; grid-row: 1; display: flex !important; flex-direction: column; overflow-y: auto; padding: 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); } > nav.tabs { grid-column: 1; grid-row: 2; } > .tab:not(.main) { grid-column: 1; grid-row: 3; display: none; overflow-y: auto; padding: 8px; &.active { display: flex; flex-direction: column; } } } form { display: flex; flex-direction: column; height: 100%; overflow: hidden; > .tab { flex: 1; overflow-y: auto; padding: 4px; } .charname input { color: @theme-color-dark; font-family: "DistressBlack", sans-serif; font-size: 30px; font-style: normal; } div.hexa { .hexa-style(); .transition(); margin: 0.2rem; position: relative; &:hover { .hexa-style(rgba(255, 255, 255, 0.425), rgba(0, 0, 0, 0.288)); } input { position: absolute; width: 100%; height: 100%; opacity: 0; z-index: 1; margin: 0; cursor: pointer; } &.checked { .hexa-style(rgb(0, 0, 0), rgba(0, 0, 0, 0.288)); &:hover { .hexa-style(rgb(43, 43, 43), rgba(0, 0, 0, 0.288)); } } &.unavailable { background: radial-gradient(circle, rgba(66, 15, 15, 0.664) 0%, rgba(131, 70, 70, 0.432) 100%); pointer-events: none; } } input[type="text"], input[type="number"] { width: calc(100% - 2px); height: calc(100% - 2px); background: none; padding: 0; margin: 1px 0; color: #333; border: 1px solid rgba(0, 0, 0, 0); &.hexa { .hexa-style(); } } input[disabled], select[disabled] { cursor: not-allowed; } input[type="text"]:hover:not(:disabled), input[type="text"]:focus, select:hover:not(:disabled), select:focus, input[type="number"]:hover:not(:disabled), input[type="number"]:focus, textarea:hover:not(:disabled), textarea:focus { box-shadow: 0 0 10px @theme-color-highlight inset; } select { font-size: 0.6rem; border: none; appearance: none; min-width: fit-content; max-width: fit-content; padding: 0 0.2rem; margin: 0 0.2rem; cursor: help; } label { display: block; } .mce-panel span { display: inherit; } .rollable:hover, a:hover { color: #000; text-shadow: 0 5px 5px @theme-color-accent; cursor: pointer; } .chooseTotem { font-family: "DistressBlack", sans-serif; font-size: 0.8rem; cursor: pointer; &:hover { text-shadow: 0 0 10px @theme-color-highlight; } } } // Fiche personnage (ApplicationV2 : l'élément fiche EST le