Fix weapon sheet
This commit is contained in:
@@ -101,6 +101,70 @@
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// PROSEMIRROR / HTML EDITOR — force dark text on parchment
|
||||
// Foundry v13 uses ProseMirror for HTMLField rendering.
|
||||
// Default theme uses light text; we override for readability.
|
||||
// ============================================================
|
||||
.oathhammer {
|
||||
// The prose-mirror custom element itself (view + edit)
|
||||
prose-mirror {
|
||||
color: @color-dark !important;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
// View mode (inactive): only force text color, do NOT touch layout/height
|
||||
prose-mirror.inactive,
|
||||
prose-mirror[toggled] {
|
||||
color: @color-dark !important;
|
||||
}
|
||||
|
||||
// The editor-content div (used in both modes)
|
||||
.editor-content,
|
||||
.prosemirror .editor-content,
|
||||
prose-mirror .editor-content {
|
||||
color: @color-dark !important;
|
||||
background: transparent;
|
||||
|
||||
p, li, span, div, blockquote, h1, h2, h3, h4, h5, h6 {
|
||||
color: @color-dark !important;
|
||||
}
|
||||
|
||||
a { color: @color-blue; }
|
||||
}
|
||||
|
||||
// Edit mode: the ProseMirror editable surface
|
||||
.ProseMirror,
|
||||
.prosemirror .editor-container .ProseMirror {
|
||||
color: @color-dark !important;
|
||||
background-color: fade(@color-paper, 60%);
|
||||
border: 1px solid @color-blue;
|
||||
border-radius: 3px;
|
||||
padding: 4px 6px;
|
||||
min-height: 4rem;
|
||||
|
||||
p, li, span { color: @color-dark !important; }
|
||||
a { color: @color-blue; }
|
||||
|
||||
// ProseMirror placeholder ghost text
|
||||
&.ProseMirror-empty::before {
|
||||
color: fade(@color-dark, 45%);
|
||||
}
|
||||
}
|
||||
|
||||
// Editor toolbar
|
||||
.editor-toolbar {
|
||||
background: fade(@color-blue, 10%);
|
||||
border-bottom: 1px solid @color-olive;
|
||||
|
||||
.control-icon,
|
||||
button {
|
||||
color: @color-blue;
|
||||
&:hover { color: @color-dark; background: fade(@color-gold, 20%); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================================
|
||||
// SKILLS TAB
|
||||
// ============================================================
|
||||
|
||||
Reference in New Issue
Block a user