Fix weapon sheet

This commit is contained in:
2026-03-08 17:27:59 +01:00
parent 31318317a7
commit e8d84615c5
15 changed files with 572 additions and 47 deletions

View File

@@ -95,6 +95,98 @@
.oathhammer .tab {
padding: 4px;
}
.oathhammer prose-mirror {
color: #2a1a0a !important;
background: transparent;
}
.oathhammer prose-mirror.inactive,
.oathhammer prose-mirror[toggled] {
color: #2a1a0a !important;
}
.oathhammer .editor-content,
.oathhammer .prosemirror .editor-content,
.oathhammer prose-mirror .editor-content {
color: #2a1a0a !important;
background: transparent;
}
.oathhammer .editor-content p,
.oathhammer .prosemirror .editor-content p,
.oathhammer prose-mirror .editor-content p,
.oathhammer .editor-content li,
.oathhammer .prosemirror .editor-content li,
.oathhammer prose-mirror .editor-content li,
.oathhammer .editor-content span,
.oathhammer .prosemirror .editor-content span,
.oathhammer prose-mirror .editor-content span,
.oathhammer .editor-content div,
.oathhammer .prosemirror .editor-content div,
.oathhammer prose-mirror .editor-content div,
.oathhammer .editor-content blockquote,
.oathhammer .prosemirror .editor-content blockquote,
.oathhammer prose-mirror .editor-content blockquote,
.oathhammer .editor-content h1,
.oathhammer .prosemirror .editor-content h1,
.oathhammer prose-mirror .editor-content h1,
.oathhammer .editor-content h2,
.oathhammer .prosemirror .editor-content h2,
.oathhammer prose-mirror .editor-content h2,
.oathhammer .editor-content h3,
.oathhammer .prosemirror .editor-content h3,
.oathhammer prose-mirror .editor-content h3,
.oathhammer .editor-content h4,
.oathhammer .prosemirror .editor-content h4,
.oathhammer prose-mirror .editor-content h4,
.oathhammer .editor-content h5,
.oathhammer .prosemirror .editor-content h5,
.oathhammer prose-mirror .editor-content h5,
.oathhammer .editor-content h6,
.oathhammer .prosemirror .editor-content h6,
.oathhammer prose-mirror .editor-content h6 {
color: #2a1a0a !important;
}
.oathhammer .editor-content a,
.oathhammer .prosemirror .editor-content a,
.oathhammer prose-mirror .editor-content a {
color: #084a74;
}
.oathhammer .ProseMirror,
.oathhammer .prosemirror .editor-container .ProseMirror {
color: #2a1a0a !important;
background-color: rgba(245, 234, 208, 0.6);
border: 1px solid #084a74;
border-radius: 3px;
padding: 4px 6px;
min-height: 4rem;
}
.oathhammer .ProseMirror p,
.oathhammer .prosemirror .editor-container .ProseMirror p,
.oathhammer .ProseMirror li,
.oathhammer .prosemirror .editor-container .ProseMirror li,
.oathhammer .ProseMirror span,
.oathhammer .prosemirror .editor-container .ProseMirror span {
color: #2a1a0a !important;
}
.oathhammer .ProseMirror a,
.oathhammer .prosemirror .editor-container .ProseMirror a {
color: #084a74;
}
.oathhammer .ProseMirror.ProseMirror-empty::before,
.oathhammer .prosemirror .editor-container .ProseMirror.ProseMirror-empty::before {
color: rgba(42, 26, 10, 0.45);
}
.oathhammer .editor-toolbar {
background: rgba(8, 74, 116, 0.1);
border-bottom: 1px solid #535128;
}
.oathhammer .editor-toolbar .control-icon,
.oathhammer .editor-toolbar button {
color: #084a74;
}
.oathhammer .editor-toolbar .control-icon:hover,
.oathhammer .editor-toolbar button:hover {
color: #2a1a0a;
background: rgba(200, 168, 75, 0.2);
}
.oathhammer .skills-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
@@ -183,6 +275,78 @@
font-weight: bold;
color: #084a74;
}
.application.oathhammer {
border: 2px solid #c8a84b;
border-radius: 6px;
box-shadow: 0 0 0 1px #2a1a0a, 0 4px 24px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(200, 168, 75, 0.3);
outline: none;
}
.application.oathhammer > header.window-header {
background: linear-gradient(to bottom, #0b629a 0%, #084a74 40%, #052c44 100%);
border-bottom: 2px solid #c8a84b;
border-radius: 4px 4px 0 0;
padding: 4px 8px;
min-height: 32px;
display: flex;
align-items: center;
gap: 6px;
}
.application.oathhammer > header.window-header::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(to right, transparent, rgba(200, 168, 75, 0.7) 20%, #c8a84b 50%, rgba(200, 168, 75, 0.7) 80%, transparent);
border-radius: 4px 4px 0 0;
pointer-events: none;
}
.application.oathhammer > header.window-header .window-icon,
.application.oathhammer > header.window-header img.header-icon {
width: 22px;
height: 22px;
border: 1px solid #c8a84b;
border-radius: 3px;
-o-object-fit: cover;
object-fit: cover;
flex-shrink: 0;
opacity: 0.9;
}
.application.oathhammer > header.window-header .window-title {
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: 1.05rem;
font-weight: normal;
color: #c8a84b;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(200, 168, 75, 0.4);
letter-spacing: 0.04em;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.application.oathhammer > header.window-header .header-control,
.application.oathhammer > header.window-header .close,
.application.oathhammer > header.window-header button.header-control {
color: rgba(200, 168, 75, 0.7);
background: transparent;
border: none;
padding: 2px 4px;
border-radius: 3px;
transition: color 0.15s, background 0.15s;
font-size: 0.9rem;
cursor: pointer;
flex-shrink: 0;
}
.application.oathhammer > header.window-header .header-control:hover,
.application.oathhammer > header.window-header .close:hover,
.application.oathhammer > header.window-header button.header-control:hover {
color: #c8a84b;
background: rgba(42, 26, 10, 0.4);
}
.application.oathhammer > .window-content {
border-radius: 0 0 4px 4px;
}
.oathhammer .actor-img {
border: 2px solid #084a74;
border-radius: 4px;
@@ -728,3 +892,32 @@
font-weight: bold;
color: #084a74;
}
.oathhammer .item-sheet-common .proficiency-section {
display: flex;
gap: 8px;
margin-top: 8px;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-fieldset {
flex: 1;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-checkboxes {
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
padding: 4px 2px;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-option {
display: flex;
align-items: center;
gap: 4px;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.86rem;
color: #2a1a0a;
cursor: pointer;
white-space: nowrap;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-option input[type="checkbox"] {
width: auto;
height: auto;
accent-color: #084a74;
}