Enhance text style

This commit is contained in:
2026-05-29 23:03:37 +02:00
parent 7f758afa56
commit 53b7e8cc9d
46 changed files with 219 additions and 190 deletions
+33 -2
View File
@@ -659,6 +659,32 @@
@bg-panel-soft;
}
// ─── Companion sheet label contrast ──────────────────────────────────────────
// Panel-shell backgrounds expose the parchment page texture; @bone caps labels
// blend into the warm background. Use dark ink — matching the character sheet's
// condition-label treatment.
.application.mgne.companion {
// Section headers (Attack, Adventuring/Combat Behavior, Description, Notes)
.inventory-header h3 {
color: @bg-char;
}
// Compact resource labels (Morale, Armor Die) — HP uses resource-label-accent and stays light
.resource-box > label:not(.resource-label-accent) {
color: @bg-char;
}
// Labels inside fieldsets (Label, Damage in the Attack section)
fieldset label {
color: @bg-char;
}
// Floating grid labels (They Value, Trait, Specialty)
.grid > div > label {
color: @bg-char;
}
}
@media (max-width: 960px) {
.application.mgne .sheet-header,
.application.mgne .resource-bar,
@@ -1091,12 +1117,17 @@
&.drop-hint {
border: 2px dashed fade(@ember, 35%);
background: fade(@ember, 4%);
color: fade(@parchment, 50%);
color: @parchment;
font-style: italic;
justify-content: center;
cursor: default;
transition: background 0.15s, border-color 0.15s;
// Companion sheet: darker text for better contrast
.application.mgne.companion & {
color: @bg-char;
}
i { color: fade(@ember, 50%); }
&:hover, &.drag-over {
@@ -1324,7 +1355,7 @@
// ── Party drop hint ────────────────────────────────────────────
.application.mgne.party .party-drop-hint {
color: fade(@dust, 70%);
color: @parchment;
font-size: 0.75rem;
font-style: italic;
text-align: center;