Fixes and enhancements, from issue list

This commit is contained in:
2026-03-27 21:21:17 +01:00
parent f1dda301d7
commit c22c3d713b
25 changed files with 531 additions and 111 deletions

View File

@@ -168,6 +168,27 @@
}
.res-sep { opacity: 0.7; font-size: @font-size-xs; }
&.character-resource--luck {
.luck-stepper {
display: flex;
align-items: center;
gap: 1px;
}
.luck-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.2rem;
height: 1.4rem;
font-size: @font-size-sm;
font-weight: bold;
color: @color-olive;
cursor: pointer;
line-height: 1;
&:hover { color: @color-dark; }
}
}
}
.resource-label {

77
less/free-roll.less Normal file
View File

@@ -0,0 +1,77 @@
// ============================================================
// FREE ROLL BAR — injected below the chat log
// ============================================================
.oh-free-roll-bar {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
padding: 4px 6px;
border-top: 1px solid fade(@color-olive, 40%);
background: fade(@color-olive, 8%);
flex-shrink: 0;
flex-wrap: wrap;
z-index: 1;
position: relative;
.oh-frb-label {
font-family: @font-secondary;
font-size: @font-size-xs;
font-weight: bold;
color: @color-dark;
white-space: nowrap;
display: flex;
align-items: center;
gap: 4px;
}
.oh-frb-controls {
display: flex;
flex-direction: row;
align-items: center;
gap: 4px;
flex-wrap: wrap;
flex: 1;
select {
font-size: @font-size-xs;
padding: 1px 2px;
height: 1.6rem;
border: 1px solid @color-olive;
border-radius: 3px;
background: #fff;
cursor: pointer;
}
.oh-frb-pool { width: 3.8rem; }
.oh-frb-color { flex: 1; min-width: 6rem; }
.oh-frb-explode-label {
display: flex;
align-items: center;
gap: 3px;
font-size: @font-size-xs;
cursor: pointer;
white-space: nowrap;
color: @color-dark;
input[type="checkbox"] { cursor: pointer; }
}
.oh-frb-roll-btn {
font-family: @font-secondary;
font-size: @font-size-xs;
font-weight: bold;
padding: 2px 8px;
height: 1.6rem;
border: 1px solid @color-olive;
border-radius: 3px;
background: @color-olive-faint;
color: @color-dark;
cursor: pointer;
white-space: nowrap;
&:hover { background: @color-gold; border-color: darken(@color-gold, 10%); }
}
}
}

View File

@@ -14,3 +14,4 @@
@import "settlement-sheet";
@import "party-sheet";
@import "army-sheet";
@import "free-roll";

View File

@@ -191,7 +191,7 @@
.item-list--oath {
.item-list-header, .item-entry {
grid-template-columns: @item-img-size 1fr 7rem 3.5rem 3.5rem;
grid-template-columns: @item-img-size 12rem 1fr 3.5rem 3.5rem;
}
}

View File

@@ -216,7 +216,7 @@
.oathhammer .npc-main .regiment-vitals-grid {
&.regiment-row1 { grid-template-columns: 1fr 1fr 1fr; }
&.regiment-row2 {
grid-template-columns: 1fr 1fr;
grid-template-columns: 1fr 1fr 1fr;
border-top: none;
margin-top: 4px;
padding-top: 4px;

View File

@@ -132,13 +132,43 @@
.party-currency-sp .currency-label { color: #888; }
.party-currency-cp .currency-label { color: #aa6633; }
}
.party-slots {
display: flex;
align-items: center;
gap: 0.4rem;
margin-top: 0.3rem;
font-family: @font-secondary;
font-size: @font-size-sm;
.party-slots-label {
font-weight: bold;
color: @color-olive;
margin-right: 0.3rem;
text-transform: uppercase;
font-size: @font-size-xs;
letter-spacing: 0.04em;
}
.party-slots-current {
font-weight: bold;
min-width: 1.8rem;
text-align: right;
}
.party-slots-sep { color: @color-olive; }
.party-slots-max {
width: 3.5rem;
text-align: center;
font-family: @font-secondary;
font-size: @font-size-sm;
}
}
}
// ── Member list ────────────────────────────────────────────────
.oathhammer .item-list--party-member {
.item-list-header, .item-entry {
// order# | img | name | class | level | grit | actions
grid-template-columns: 1.8rem @item-img-size 1fr 7rem 3rem 5rem 5.5rem;
// order# | img | name | lineage | grit | light | actions
grid-template-columns: 1.8rem @item-img-size 1fr 7rem 5rem 3rem 5.5rem;
}
.party-member-order {
@@ -149,6 +179,12 @@
text-align: center;
align-self: center;
}
.item-detail--center {
text-align: center;
a { color: @color-dark; }
.fa-faded { opacity: 0.2; }
}
}
// ── Loot list ──────────────────────────────────────────────────