Actor sheet, WIP

This commit is contained in:
2026-03-07 22:47:29 +01:00
parent c6f7a9e966
commit 8f7f0169e4
27 changed files with 835 additions and 381 deletions

View File

@@ -11,8 +11,8 @@
--oh-font-secondary: "BlueDragon", "Palatino Linotype", serif;
--oh-font-body: "Calibri", "Segoe UI", sans-serif;
--oh-font-size: 0.82rem;
--oh-color-blue: #1a4a7a;
--oh-color-olive: #5a5a2a;
--oh-color-blue: #084a74;
--oh-color-olive: #535128;
--oh-color-gold: #c8a84b;
--oh-color-dark: #2a1a0a;
--oh-color-paper: #f5ead0;
@@ -20,7 +20,7 @@
--oh-logo: url("../assets/logos/official_logo_01.webp");
}
.application.dialog.oathhammer {
font-family: "Sherwood", "Palatino Linotype", serif;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
background-image: var(--oh-background-image);
background-repeat: no-repeat;
@@ -28,21 +28,22 @@
}
.oathhammer .character-content,
.oathhammer .npc-content {
font-family: "Sherwood", "Palatino Linotype", serif;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
color: var(--color-dark-1);
background-image: var(--oh-background-image);
background-repeat: no-repeat;
background-size: 100% 100%;
overflow: auto;
padding: 10px 20px;
}
.oathhammer .character-content nav.tabs [data-tab],
.oathhammer .npc-content nav.tabs [data-tab] {
color: #5a5a2a;
color: #535128;
}
.oathhammer .character-content nav.tabs [data-tab].active,
.oathhammer .npc-content nav.tabs [data-tab].active {
color: #1a4a7a;
color: #084a74;
}
.oathhammer .character-content input:disabled,
.oathhammer .npc-content input:disabled,
@@ -58,24 +59,24 @@
.oathhammer .npc-content select {
height: 1.5rem;
background-color: rgba(255, 255, 255, 0.3);
border-color: #1a4a7a;
border-color: #084a74;
color: #2a1a0a;
}
.oathhammer .character-content input[name="name"],
.oathhammer .npc-content input[name="name"] {
height: 2.5rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.2);
font-weight: bold;
border: none;
border-bottom: 2px solid #1a4a7a;
border-bottom: 2px solid #084a74;
background: transparent;
}
.oathhammer .character-content fieldset,
.oathhammer .npc-content fieldset {
margin-bottom: 4px;
border-radius: 4px;
border-color: #5a5a2a;
border-color: #535128;
}
.oathhammer .character-content legend,
.oathhammer .npc-content legend {
@@ -83,7 +84,7 @@
font-size: calc(0.82rem * 1.1);
font-weight: bold;
letter-spacing: 1px;
color: #1a4a7a;
color: #084a74;
}
.oathhammer .character-content label,
.oathhammer .npc-content label {
@@ -94,10 +95,53 @@
.oathhammer .tab {
padding: 4px;
}
.oathhammer .skills-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.oathhammer .skills-container .skills-group {
margin: 0;
}
.oathhammer .skills-container .skills-group legend .attr-rank {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: calc(0.82rem * 0.85);
color: #535128;
}
.oathhammer .skills-container .skills-header,
.oathhammer .skills-container .skill-row {
display: grid;
grid-template-columns: 1fr 3rem 3rem;
align-items: center;
gap: 4px;
}
.oathhammer .skills-container .skills-header {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 0.85);
font-weight: bold;
color: #084a74;
border-bottom: 1px solid #535128;
margin-bottom: 2px;
padding-bottom: 2px;
}
.oathhammer .skills-container .skill-row {
margin-bottom: 2px;
}
.oathhammer .skills-container .skill-row label.skill-name-col {
font-size: calc(0.82rem * 0.85);
}
.oathhammer .skills-container .skill-row .skill-rank-col input {
text-align: center;
}
.oathhammer .skills-container .skill-row .skill-total {
text-align: center;
font-weight: bold;
color: #084a74;
}
.oathhammer .actor-img {
height: 150px;
width: auto;
border: 2px solid #1a4a7a;
border: 2px solid #084a74;
border-radius: 4px;
cursor: pointer;
-o-object-fit: cover;
@@ -128,9 +172,13 @@
.oathhammer .character-main .character-resource {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 4px;
margin-bottom: 2px;
}
.oathhammer .character-main .character-resource div.form-group {
display: contents;
}
.oathhammer .character-main .character-resource input {
min-width: 2.5rem;
max-width: 2.5rem;
@@ -226,15 +274,15 @@
align-items: center;
gap: 6px;
padding: 3px 4px;
border-bottom: 1px solid rgba(90, 90, 42, 0.2);
border-bottom: 1px solid rgba(83, 81, 40, 0.2);
}
.oathhammer .item-entry:hover {
background-color: rgba(26, 74, 122, 0.08);
background-color: rgba(8, 74, 116, 0.08);
}
.oathhammer .item-entry .item-img {
height: 24px;
width: 24px;
border: 1px solid #5a5a2a;
border: 1px solid #535128;
border-radius: 2px;
-o-object-fit: cover;
object-fit: cover;
@@ -246,13 +294,13 @@
}
.oathhammer .item-entry .item-detail {
font-size: calc(0.82rem * 0.9);
color: #5a5a2a;
color: #535128;
min-width: 4rem;
text-align: center;
}
.oathhammer .item-entry .item-type {
font-size: calc(0.82rem * 0.85);
color: #1a4a7a;
color: #084a74;
min-width: 6rem;
}
.oathhammer .item-entry a {
@@ -263,7 +311,7 @@
opacity: 1;
}
.oathhammer .item-entry a:hover {
color: #1a4a7a;
color: #084a74;
}
.oathhammer .no-items {
color: var(--color-dark-5);
@@ -273,7 +321,7 @@
}
.oathhammer .create-btn {
margin-left: 6px;
color: #1a4a7a;
color: #084a74;
opacity: 0.6;
transition: opacity 0.2s;
}
@@ -282,7 +330,8 @@
}
.oathhammer .item-sheet-common {
overflow: auto;
font-family: "Sherwood", "Palatino Linotype", serif;
padding: 10px 20px;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
background-image: var(--oh-background-image);
background-repeat: no-repeat;
@@ -294,53 +343,86 @@
gap: 8px;
margin-bottom: 8px;
padding-bottom: 4px;
border-bottom: 2px solid #1a4a7a;
border-bottom: 2px solid #084a74;
}
.oathhammer .item-sheet-common .header input[name="name"] {
font-family: "Sherwood", "Palatino Linotype", serif;
}
.oathhammer .item-sheet-common .item-img {
height: 52px;
width: 52px;
border: 2px solid #5a5a2a;
border: 2px solid #535128;
border-radius: 4px;
cursor: pointer;
-o-object-fit: cover;
object-fit: cover;
}
.oathhammer .item-sheet-common .form-group {
display: flex;
flex: 1;
flex-direction: row;
align-items: center;
gap: 4px;
margin-bottom: 2px;
.oathhammer .item-sheet-common input:not([type="checkbox"]),
.oathhammer .item-sheet-common select {
height: 1.5rem;
background-color: rgba(255, 255, 255, 0.3);
border-color: #084a74;
color: #2a1a0a;
}
.oathhammer .item-sheet-common .form-group label {
.oathhammer .item-sheet-common input[type="checkbox"] {
width: auto;
height: auto;
background-color: transparent;
border-color: #084a74;
}
.oathhammer .item-sheet-common input[name="name"] {
height: 2.5rem;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.2);
font-weight: bold;
border: none;
border-bottom: 2px solid #084a74;
background: transparent;
}
.oathhammer .item-sheet-common label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.82rem;
min-width: 9rem;
max-width: 9rem;
color: #2a1a0a;
}
.oathhammer .item-sheet-common .form-group select,
.oathhammer .item-sheet-common .form-group input {
text-align: left;
min-width: 10rem;
max-width: 12rem;
.oathhammer .item-sheet-common .form-group {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
margin-bottom: 4px;
}
.oathhammer .item-sheet-common .form-group > label {
flex: 0 0 8rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.82rem;
color: #2a1a0a;
}
.oathhammer .item-sheet-common .form-group .form-fields {
flex: 1;
min-width: 0;
}
.oathhammer .item-sheet-common .form-group .form-fields input:not([type="checkbox"]),
.oathhammer .item-sheet-common .form-group .form-fields select {
width: 100%;
box-sizing: border-box;
}
.oathhammer .item-sheet-common .align-top {
flex: 1;
min-width: 0;
align-self: flex-start;
padding: 0.2rem;
min-width: 260px;
padding: 0 0.3rem;
}
.oathhammer .item-sheet-common .shift-right {
margin-left: 2rem;
}
.oathhammer .item-sheet-common fieldset {
margin-top: 6px;
border-color: #5a5a2a;
border-color: #535128;
border-radius: 4px;
}
.oathhammer .item-sheet-common legend {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.1);
font-weight: bold;
color: #1a4a7a;
color: #084a74;
}