Various fixes and changes based on tester feedback

This commit is contained in:
2026-03-17 13:50:32 +01:00
parent 92ba9c3501
commit 000bf348a6
29 changed files with 1450 additions and 192 deletions

View File

@@ -30,7 +30,7 @@
.oathhammer .npc-content {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.86rem;
color: var(--color-dark-1);
color: #2a1a0a;
background-image: var(--oh-background-image);
background-repeat: no-repeat;
background-size: 100% 100%;
@@ -51,7 +51,7 @@
.oathhammer .npc-content select:disabled {
background-color: rgba(0, 0, 0, 0.08);
border-color: transparent;
color: var(--color-dark-3);
color: #2a1a0a;
}
.oathhammer .character-content input,
.oathhammer .npc-content input,
@@ -226,7 +226,8 @@
margin-bottom: 2px;
}
.oathhammer .skills-container .skill-row label.skill-name-col {
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
font-weight: bold;
}
.oathhammer .skills-container .skill-row .skill-rank-col select,
.oathhammer .skills-container .skill-row .skill-modifier-col input {
@@ -409,7 +410,7 @@
border: 1px solid #535128;
border-radius: 3px;
background: rgba(0, 0, 0, 0.15);
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
min-width: 6rem;
min-height: 1.6rem;
}
@@ -429,18 +430,18 @@
.oathhammer .character-main .character-identity-bar .identity-slot .identity-name {
flex: 1;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-icon {
font-size: calc(0.86rem * 0.85);
opacity: 0.6;
font-size: calc(0.86rem * 0.9);
opacity: 0.8;
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-placeholder {
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
}
.oathhammer .character-main .character-identity-bar .identity-slot a {
font-size: calc(0.86rem * 0.85);
opacity: 0.7;
font-size: calc(0.86rem * 0.9);
opacity: 0.85;
}
.oathhammer .character-main .character-identity-bar .identity-slot a:hover {
opacity: 1;
@@ -450,21 +451,22 @@
align-items: center;
gap: 3px;
margin-left: auto;
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
}
.oathhammer .character-main .character-identity-bar .identity-xp .xp-label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
color: #535128;
font-size: calc(0.86rem * 0.9);
font-weight: bold;
color: #2a1a0a;
margin-left: 4px;
}
.oathhammer .character-main .character-identity-bar .identity-xp .xp-sep {
opacity: 0.6;
opacity: 0.8;
}
.oathhammer .character-main .character-identity-bar .identity-xp input {
width: 3rem;
text-align: center;
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
padding: 1px 2px;
}
.oathhammer .character-main .character-stats-band {
@@ -496,17 +498,18 @@
.oathhammer .character-main .character-stats-band .character-resources .character-resource input {
width: 2.4rem;
text-align: center;
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
padding: 1px 2px;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource .res-sep {
opacity: 0.5;
opacity: 0.7;
font-size: calc(0.86rem * 0.9);
}
.oathhammer .character-main .character-stats-band .character-resources .resource-label {
min-width: 3.8rem;
min-width: 4.2rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.9);
font-size: 0.86rem;
font-weight: bold;
color: #2a1a0a;
}
.oathhammer .character-main .character-stats-band .character-attributes {
@@ -529,7 +532,8 @@
}
.oathhammer .attribute-box label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
font-size: calc(0.86rem * 0.9);
font-weight: bold;
color: #2a1a0a;
text-align: center;
}
@@ -622,7 +626,7 @@
text-align: center;
}
.oathhammer .character-arcane-stress span {
opacity: 0.6;
opacity: 0.8;
}
.oathhammer .defense-display {
min-width: 3rem;
@@ -697,7 +701,7 @@
}
.oathhammer .item-entry .item-detail {
font-size: calc(0.86rem * 0.9);
color: #535128;
color: #2a1a0a;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
@@ -705,7 +709,7 @@
}
.oathhammer .item-entry .item-group {
font-size: calc(0.86rem * 0.9);
color: #535128;
color: #2a1a0a;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
@@ -742,7 +746,7 @@
gap: 4px;
}
.oathhammer .item-entry .item-actions a {
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
font-size: calc(0.86rem * 0.85);
}
@@ -754,11 +758,11 @@
}
.oathhammer .item-list--weapon .item-list-header,
.oathhammer .item-list--weapon .item-entry {
grid-template-columns: 24px 1fr 4.5rem 3.5rem 2rem 1.5rem 1.8rem 5.5rem;
grid-template-columns: 24px 1fr 4.5rem 3.5rem 2rem 1.5rem 1.8rem 9rem;
}
.oathhammer .item-list--armor .item-list-header,
.oathhammer .item-list--armor .item-entry {
grid-template-columns: 24px 1fr 3.5rem 2.5rem 3.5rem 1.5rem 1.8rem 3.5rem;
grid-template-columns: 24px 1fr 3.5rem 2.5rem 3.5rem 1.5rem 1.8rem 5.5rem;
}
.oathhammer .item-list--ammo .item-list-header,
.oathhammer .item-list--ammo .item-entry {
@@ -772,6 +776,10 @@
.oathhammer .item-list--miracle .item-entry {
grid-template-columns: 24px 1fr 4.5rem 5.5rem;
}
.oathhammer .miracles-blocked {
opacity: 0.45;
pointer-events: none;
}
.oathhammer .item-list--equipment .item-list-header,
.oathhammer .item-list--equipment .item-entry {
grid-template-columns: 24px 1fr 5rem 3rem 3.5rem;
@@ -794,7 +802,7 @@
}
.oathhammer .item-usage {
font-size: calc(0.86rem * 0.9);
color: #535128;
color: #2a1a0a;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
@@ -817,7 +825,7 @@
color: #c0392b;
}
.oathhammer .no-items {
color: var(--color-dark-5);
color: #535128;
font-style: italic;
font-size: calc(0.86rem * 0.9);
padding: 4px;
@@ -825,12 +833,70 @@
.oathhammer .create-btn {
margin-left: 6px;
color: #084a74;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.oathhammer .create-btn:hover {
opacity: 1;
}
.miracle-blocked-banner {
display: flex;
align-items: center;
gap: 6px;
background: rgba(192, 57, 43, 0.1);
border: 1px solid rgba(192, 57, 43, 0.45);
border-radius: 4px;
padding: 4px 10px;
margin-bottom: 4px;
color: #c0392b;
font-size: calc(0.86rem * 0.9);
font-weight: bold;
}
.miracle-blocked-banner span {
flex: 1;
}
.miracle-blocked-banner a {
color: #2a1a0a;
font-weight: normal;
font-size: calc(0.86rem * 0.85);
opacity: 0.85;
transition: opacity 0.2s;
white-space: nowrap;
}
.miracle-blocked-banner a:hover {
opacity: 1;
}
.miracle-blocked-banner a i {
color: #c8a84b;
}
.slots-counter {
display: flex;
gap: 6px;
padding: 2px 6px 4px;
}
.slots-counter .slots-label {
font-size: calc(0.86rem * 0.9);
font-weight: bold;
color: #2a1a0a;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.slots-counter .slots-value {
font-size: calc(0.86rem * 0.9);
font-weight: bold;
color: #2a1a0a;
background: rgba(200, 168, 75, 0.15);
border: 1px solid rgba(200, 168, 75, 0.4);
border-radius: 4px;
padding: 1px 8px;
min-width: 3.5rem;
text-align: center;
}
.slots-counter .slots-value.slots-over {
color: #c0392b;
background: rgba(192, 57, 43, 0.1);
border-color: rgba(192, 57, 43, 0.4);
}
.oathhammer .item-sheet-common {
overflow: auto;
padding: 10px 20px;
@@ -1025,6 +1091,10 @@
background: rgba(231, 76, 60, 0.15);
color: #c0392b;
}
.oh-roll-card .roll-opposed {
background: rgba(52, 152, 219, 0.15);
color: #1a6fa8;
}
.oathhammer .rarity-roll-btn {
display: inline-flex;
align-items: center;
@@ -1032,7 +1102,7 @@
cursor: pointer;
font-size: calc(0.86rem * 0.9);
color: #084a74;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.oathhammer .rarity-roll-btn:hover {
@@ -1155,25 +1225,27 @@
background: rgba(255, 255, 255, 0.85);
color: #2a1a0a;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-row {
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row {
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
align-items: center;
gap: 4px 8px;
padding: 5px 0;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-row:not(:last-child) {
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row:not(:last-child) {
border-bottom: 1px solid rgba(83, 81, 40, 0.1);
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-row label {
flex: 1 1 120px;
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row label {
flex: 0 0 140px;
font-size: calc(0.86rem * 0.9);
color: #2a1a0a;
white-space: nowrap;
font-family: "Calibri", "Segoe UI", sans-serif;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-row select {
flex: 0 0 90px;
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row select,
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row input[type="text"],
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row input[type="number"] {
flex: 0 0 110px;
padding: 3px 6px;
border: 1px solid rgba(49, 47, 23, 0.2);
border-radius: 3px;
@@ -1182,27 +1254,38 @@
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: calc(0.86rem * 0.9);
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-row .roll-option-hint {
flex: 1 1 100%;
.fvtt-oath-hammer .oh-roll-dialog .roll-option-row .roll-option-hint {
flex: 1 1 auto;
font-size: calc(calc(0.86rem * 0.9) * 0.85);
color: #535128;
font-style: italic;
padding-left: 4px;
white-space: normal;
padding-left: 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-luck label {
.fvtt-oath-hammer .oh-roll-dialog .roll-option-luck label {
color: #c8a84b;
font-weight: bold;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-luck select {
.fvtt-oath-hammer .oh-roll-dialog .roll-option-luck select {
border-color: #c8a84b;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-options-block .roll-option-luck .luck-icon {
.fvtt-oath-hammer .oh-roll-dialog .roll-option-luck .luck-icon {
color: #c8a84b;
font-size: 0.8em;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-option-check input[type="checkbox"] {
flex: 0 0 auto;
width: 16px;
height: 16px;
accent-color: #084a74;
cursor: pointer;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-option-check label {
cursor: pointer;
flex: 1 1 auto;
}
.fvtt-oath-hammer .oh-roll-dialog .roll-visibility-block select {
width: 100%;
padding: 4px 6px;
@@ -1220,7 +1303,7 @@
display: inline-flex;
align-items: center;
gap: 5px;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.fvtt-oath-hammer .skills-list a.skill-name-col:hover {
@@ -1373,7 +1456,7 @@
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: calc(0.86rem * 0.9);
cursor: pointer;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.oh-weapon-card .oh-roll-damage-btn:hover,
@@ -1395,29 +1478,38 @@
font-weight: bold;
margin-left: 8px;
}
.item-list--weapon .item-actions {
gap: 8px;
.item-list--weapon .item-entry .item-actions {
gap: 14px;
}
.item-list--weapon .item-actions a[data-action="attackWeapon"] {
.item-list--weapon .item-entry .item-actions a[data-action="attackWeapon"] {
color: #084a74;
font-size: 1.1em;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.item-list--weapon .item-actions a[data-action="attackWeapon"]:hover {
.item-list--weapon .item-entry .item-actions a[data-action="attackWeapon"]:hover {
opacity: 1;
}
.item-list--weapon .item-actions a[data-action="damageWeapon"] {
.item-list--weapon .item-entry .item-actions a[data-action="defendWeapon"] {
color: #535128;
font-size: 1.1em;
opacity: 0.85;
transition: opacity 0.2s;
}
.item-list--weapon .item-entry .item-actions a[data-action="defendWeapon"]:hover {
opacity: 1;
}
.item-list--weapon .item-entry .item-actions a[data-action="damageWeapon"] {
color: #8b0000;
font-size: 1.1em;
opacity: 0.6;
opacity: 0.85;
transition: opacity 0.2s;
}
.item-list--weapon .item-actions a[data-action="damageWeapon"]:hover {
.item-list--weapon .item-entry .item-actions a[data-action="damageWeapon"]:hover {
opacity: 1;
}
.item-list--weapon .item-actions a[data-action="edit"] {
margin-left: 6px;
.item-list--weapon .item-entry .item-actions a[data-action="edit"] {
margin-left: 4px;
}
.oh-spell-dialog .dv-badge,
.oh-miracle-dialog .dv-badge {
@@ -1565,3 +1657,84 @@
.item-list--miracle .item-actions a[data-action="edit"] {
margin-left: 6px;
}
.oh-defense-dialog .oh-trait-info,
.oh-armor-dialog .oh-trait-info {
display: flex;
align-items: center;
gap: 6px;
padding: 5px 10px;
margin: 4px 0;
background: rgba(8, 74, 116, 0.08);
border: 1px solid rgba(8, 74, 116, 0.25);
border-radius: 4px;
font-size: 0.84em;
color: #052c44;
}
.oh-defense-dialog .oh-trait-info i,
.oh-armor-dialog .oh-trait-info i {
flex-shrink: 0;
}
.oh-defense-card .oh-roll-header,
.oh-armor-card .oh-roll-header {
display: flex;
align-items: center;
gap: 8px;
}
.oh-defense-card .oh-defense-icon,
.oh-armor-card .oh-defense-icon {
font-size: 1.1em;
color: #084a74;
flex-shrink: 0;
}
.oh-defense-card .oh-card-weapon-img,
.oh-armor-card .oh-card-weapon-img {
width: 28px;
height: 28px;
-o-object-fit: contain;
object-fit: contain;
border-radius: 3px;
border: 1px solid rgba(83, 81, 40, 0.2);
flex-shrink: 0;
}
.defense-row {
align-items: flex-end;
}
.defense-row .defense-roll-group {
flex: 0 0 auto;
}
.defense-roll-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 10px;
background: #084a74;
color: #fff;
border-radius: 4px;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
cursor: pointer;
text-decoration: none;
opacity: 0.85;
transition: opacity 0.2s;
}
.defense-roll-btn:hover {
opacity: 1;
}
.defense-roll-btn i {
font-size: 0.9em;
}
.defense-roll-btn:hover {
opacity: 0.85;
color: #fff;
text-decoration: none;
}
.item-list--armor .item-actions {
gap: 8px;
}
.item-list--armor .item-actions a[data-action="rollArmorSave"] .armor-roll-icon {
color: #084a74;
font-size: 1.05em;
}
.item-list--armor .item-actions a[data-action="edit"] {
margin-left: 6px;
}