Nombreuses corrections sur les fiches settlement/NPC

This commit is contained in:
2026-03-22 21:35:47 +01:00
parent ec291e9c60
commit b46c6d804c
51 changed files with 2892 additions and 227 deletions

View File

@@ -115,6 +115,25 @@
color: @color-blue;
}
// ── Enchantment fieldset ─────────────────────────────────────
.enchantment-fieldset {
.enchant-cursed-label {
display: flex;
align-items: center;
gap: 4px;
flex-shrink: 0;
margin-left: 8px;
font-family: @font-secondary;
font-size: @font-size-base;
color: @color-dark;
white-space: nowrap;
input[type="checkbox"] {
margin: 0;
}
}
}
// ── Class proficiency checkboxes ────────────────────────────
.proficiency-section {
display: flex;
@@ -150,3 +169,78 @@
}
}
}
// SkillNPC sheet — vertical stack layout
.oathhammer .skillnpc-sheet {
.skillnpc-stats {
display: flex;
flex-direction: column;
gap: 2px;
margin-bottom: 6px;
.form-group > label {
flex: 0 0 9rem;
}
}
}
// NpcAttack sheet — vertical stack layout (mirrors skillnpc)
.oathhammer .npcattack-sheet {
.npcattack-stats {
display: flex;
flex-direction: column;
gap: 2px;
margin-bottom: 6px;
.form-group > label {
flex: 0 0 9rem;
}
}
}
// Regiment sheet
.oathhammer .regiment-sheet {
display: flex;
flex-direction: column;
gap: 6px;
.regiment-stats-row {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 4px;
.form-group > label { flex: 0 0 6rem; }
}
.regiment-armor-fields {
display: flex;
gap: 4px;
input[type="number"] { width: 3rem; }
}
.regiment-skill-row,
.regiment-attack-row,
.regiment-trait-row {
display: grid;
gap: 4px;
margin-bottom: 2px;
align-items: center;
input, select { font-size: @font-size-sm; padding: 1px 3px; }
a.item-delete { text-align: center; color: @color-dark; opacity: 0.4; &:hover { color: #c0392b; opacity: 1; } }
}
.regiment-skill-header,
.regiment-attack-header {
font-weight: bold;
font-size: @font-size-xs;
color: @color-dark;
opacity: 0.6;
text-transform: uppercase;
}
.regiment-skill-row { grid-template-columns: 1fr 3rem 6rem 1.5rem; }
.regiment-attack-row { grid-template-columns: 1fr 3.5rem 6rem 3rem 1fr 1.5rem; }
.regiment-trait-row { grid-template-columns: 1fr 2fr 1.5rem; }
}