Add party an army sheeets
This commit is contained in:
152
less/army-sheet.less
Normal file
152
less/army-sheet.less
Normal file
@@ -0,0 +1,152 @@
|
||||
// ============================================================
|
||||
// ARMY ACTOR SHEET
|
||||
// ============================================================
|
||||
|
||||
.oathhammer .army-main {
|
||||
|
||||
.army-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 8px;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.army-portrait-wrap {
|
||||
flex-shrink: 0;
|
||||
|
||||
.army-portrait {
|
||||
width: 94px;
|
||||
height: 110px;
|
||||
object-fit: cover;
|
||||
object-position: center top;
|
||||
border: 2px solid fade(@color-dark, 40%);
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.army-header-body {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
|
||||
.character-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
border-bottom: 1px solid @color-olive;
|
||||
padding-bottom: 4px;
|
||||
|
||||
input, span {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-family: @font-primary;
|
||||
font-size: @font-size-lg;
|
||||
}
|
||||
|
||||
> .control { flex-shrink: 0; }
|
||||
}
|
||||
}
|
||||
|
||||
.army-header-fieldset {
|
||||
border: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
// ── Leader row ─────────────────────────────────────────────
|
||||
.army-leader-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 5px;
|
||||
border: 1px dashed @color-olive;
|
||||
border-radius: 3px;
|
||||
min-height: 2rem;
|
||||
background: fade(@color-olive, 5%);
|
||||
|
||||
.army-field-label {
|
||||
font-family: @font-secondary;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: bold;
|
||||
color: @color-dark;
|
||||
white-space: nowrap;
|
||||
min-width: 6rem;
|
||||
}
|
||||
|
||||
.army-leader-img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
border: 1px solid @color-olive;
|
||||
}
|
||||
|
||||
.army-leader-name {
|
||||
flex: 1;
|
||||
font-size: @font-size-sm;
|
||||
color: @color-dark;
|
||||
&:hover { color: @color-olive; text-decoration: underline; }
|
||||
}
|
||||
|
||||
.army-leader-clear {
|
||||
color: @color-olive;
|
||||
&:hover { color: #aa3333; }
|
||||
}
|
||||
|
||||
.army-field-empty {
|
||||
flex: 1;
|
||||
font-size: @font-size-xs;
|
||||
color: fade(@color-dark, 50%);
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
// ── Location row ───────────────────────────────────────────
|
||||
.army-location-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
|
||||
.army-field-label {
|
||||
font-family: @font-secondary;
|
||||
font-size: @font-size-sm;
|
||||
font-weight: bold;
|
||||
color: @color-dark;
|
||||
white-space: nowrap;
|
||||
min-width: 6rem;
|
||||
}
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
font-size: @font-size-sm;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ── Regiment list ──────────────────────────────────────────────
|
||||
.oathhammer .item-list--army-regiment {
|
||||
.item-list-header, .item-entry {
|
||||
// img | name | grit | armor | movement | supply | actions
|
||||
grid-template-columns: @item-img-size 1fr 4.5rem 4.5rem 4.5rem 4.5rem 3rem;
|
||||
}
|
||||
|
||||
.army-total-row {
|
||||
border-top: 2px solid @color-olive;
|
||||
font-weight: bold;
|
||||
|
||||
.army-total-label {
|
||||
font-family: @font-secondary;
|
||||
font-size: @font-size-sm;
|
||||
color: @color-dark;
|
||||
}
|
||||
|
||||
.army-total-value {
|
||||
color: darken(@color-gold, 15%);
|
||||
font-family: @font-secondary;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user