Various fixes and add rune support

This commit is contained in:
2026-03-30 23:38:45 +02:00
parent 2bf737a3ef
commit fb04448ab0
18 changed files with 506 additions and 9 deletions

View File

@@ -570,6 +570,26 @@
.oathhammer .character-main .character-stats-band .character-resources .character-resource.character-resource--luck .luck-btn:hover {
color: #2a1a0a;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource .grit-stepper {
display: flex;
align-items: center;
gap: 1px;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource .grit-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.2rem;
height: 1.4rem;
font-size: calc(0.86rem * 0.85);
font-weight: bold;
color: #535128;
cursor: pointer;
line-height: 1;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource .grit-btn:hover {
color: #2a1a0a;
}
.oathhammer .character-main .character-stats-band .character-resources .resource-label {
min-width: 4.2rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
@@ -1419,6 +1439,110 @@
.oathhammer .item-sheet-common .enchantment-fieldset .enchant-cursed-label input[type="checkbox"] {
margin: 0;
}
.oathhammer .item-sheet-common .rune-zone {
margin-top: 6px;
border-color: #084a74;
}
.oathhammer .item-sheet-common .rune-zone legend {
color: #084a74;
}
.oathhammer .item-sheet-common .rune-zone legend i {
margin-right: 4px;
}
.oathhammer .item-sheet-common .rune-zone .rune-list {
list-style: none;
margin: 0 0 6px;
padding: 0;
display: flex;
flex-direction: column;
gap: 4px;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry {
display: flex;
align-items: center;
gap: 6px;
padding: 3px 6px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.06);
border: 1px solid #535128;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry.rune-exalted {
border-color: #084a74;
background: rgba(8, 74, 116, 0.08);
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-img {
width: 24px;
height: 24px;
border-radius: 3px;
border: 1px solid #535128;
-o-object-fit: cover;
object-fit: cover;
flex-shrink: 0;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-name {
flex: 1;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.86rem;
font-weight: bold;
color: #2a1a0a;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-badge-exalted {
color: #084a74;
font-size: calc(0.86rem * 0.85);
font-weight: bold;
flex-shrink: 0;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-dv {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.9);
color: #535128;
flex-shrink: 0;
white-space: nowrap;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-duration {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: calc(0.86rem * 0.9);
color: #2a1a0a;
opacity: 0.7;
flex-shrink: 0;
white-space: nowrap;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-effect-toggle {
color: #535128;
flex-shrink: 0;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-effect-toggle:hover {
color: #084a74;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-remove {
color: #2a1a0a;
opacity: 0.4;
flex-shrink: 0;
margin-left: auto;
}
.oathhammer .item-sheet-common .rune-zone .rune-entry .rune-remove:hover {
color: #c0392b;
opacity: 1;
}
.oathhammer .item-sheet-common .rune-zone .rune-drop-zone {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 6px 8px;
border: 1px dashed #535128;
border-radius: 3px;
color: #535128;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
font-style: italic;
opacity: 0.7;
pointer-events: none;
}
.oathhammer .item-sheet-common .proficiency-section {
display: flex;
gap: 8px;
@@ -2624,6 +2748,21 @@
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .party-main .party-slots .party-renown-label {
font-weight: bold;
color: #535128;
margin-left: 0.8rem;
margin-right: 0.3rem;
text-transform: uppercase;
font-size: calc(0.86rem * 0.9);
letter-spacing: 0.04em;
}
.oathhammer .party-main .party-slots .party-renown-value {
width: 3.5rem;
text-align: center;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .item-list--party-member .item-list-header,
.oathhammer .item-list--party-member .item-entry {
grid-template-columns: 1.8rem 24px 1fr 7rem 5rem 3rem 5.5rem;