Nombreuses corrections sur les fiches settlement/NPC
This commit is contained in:
@@ -646,19 +646,241 @@
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
.oathhammer .npc-main .npc-left {
|
||||
min-width: 160px;
|
||||
max-width: 160px;
|
||||
.oathhammer .stress-controls {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
gap: 6px;
|
||||
flex-wrap: nowrap;
|
||||
padding: 4px 0;
|
||||
}
|
||||
.oathhammer .stress-controls .stress-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border: 1px solid #535128;
|
||||
border-radius: 3px;
|
||||
background: rgba(42, 26, 10, 0.06);
|
||||
color: #2a1a0a;
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
.oathhammer .stress-controls .stress-btn:hover {
|
||||
background: rgba(8, 74, 116, 0.15);
|
||||
border-color: #084a74;
|
||||
}
|
||||
.oathhammer .stress-controls .arcane-stress-display {
|
||||
font-family: "BlueDragon", "Palatino Linotype", serif;
|
||||
font-size: calc(0.86rem * 1.1);
|
||||
font-weight: bold;
|
||||
color: #2a1a0a;
|
||||
min-width: 3rem;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oathhammer .stress-controls .arcane-stress-display.stress-at-limit {
|
||||
color: #c0392b;
|
||||
}
|
||||
.oathhammer .stress-controls .stress-bonus-label {
|
||||
margin-left: auto;
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
color: #535128;
|
||||
white-space: nowrap;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oathhammer .stress-controls .stress-bonus-input {
|
||||
width: 3rem;
|
||||
text-align: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oathhammer .npc-main .npc-left {
|
||||
min-width: 120px;
|
||||
max-width: 120px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oathhammer .npc-main .npc-left .actor-img {
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
-o-object-position: center top;
|
||||
object-position: center top;
|
||||
}
|
||||
.oathhammer .npc-main .npc-right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
.oathhammer .npc-main .character-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
border-bottom: 1px solid #535128;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
.oathhammer .npc-main .character-name input {
|
||||
flex: 1;
|
||||
font-family: "Sherwood", "Palatino Linotype", serif;
|
||||
font-size: calc(0.86rem * 1.1);
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 4px 10px;
|
||||
padding: 4px 6px;
|
||||
border: 1px solid #535128;
|
||||
border-radius: 3px;
|
||||
background: rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-label {
|
||||
font-family: "BlueDragon", "Palatino Linotype", serif;
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
font-weight: bold;
|
||||
color: #2a1a0a;
|
||||
white-space: nowrap;
|
||||
min-width: 4.5rem;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-roll-label {
|
||||
cursor: pointer;
|
||||
color: #084a74;
|
||||
transition: color 0.15s;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-roll-label i {
|
||||
margin-right: 2px;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-roll-label:hover {
|
||||
color: #c8a84b;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
flex: 1;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-value div.form-group {
|
||||
display: contents;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-value input,
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-value .npc-num-input {
|
||||
width: 2.8rem;
|
||||
text-align: center;
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
padding: 1px 2px;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital .vital-value .res-sep {
|
||||
opacity: 0.6;
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital-grit .vital-value .grit-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
font-size: 0.85rem;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
border: 1px solid #535128;
|
||||
border-radius: 3px;
|
||||
background: rgba(83, 81, 40, 0.2);
|
||||
color: #2a1a0a;
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oathhammer .npc-main .npc-vitals-grid .npc-vital-grit .vital-value .grit-btn:hover {
|
||||
background: #c8a84b;
|
||||
border-color: #c8a84b;
|
||||
}
|
||||
.oathhammer .npc-color-badge {
|
||||
font-size: 0.85rem;
|
||||
flex-shrink: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
.oathhammer .npc-color-select {
|
||||
width: 88px;
|
||||
max-width: 88px;
|
||||
flex-shrink: 0;
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
padding: 0 2px;
|
||||
height: 20px;
|
||||
min-width: 0;
|
||||
}
|
||||
.oathhammer .npc-subtype-badge {
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
color: #2a1a0a;
|
||||
background: rgba(200, 168, 75, 0.2);
|
||||
border: 1px solid rgba(200, 168, 75, 0.5);
|
||||
border-radius: 3px;
|
||||
padding: 1px 8px;
|
||||
}
|
||||
.oathhammer .npc-subtype-select {
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
padding: 0 2px;
|
||||
height: 20px;
|
||||
min-width: 80px;
|
||||
}
|
||||
.oathhammer .npc-skill-color {
|
||||
font-size: 0.95rem;
|
||||
text-align: center;
|
||||
line-height: 1;
|
||||
justify-self: center;
|
||||
}
|
||||
.oathhammer .npc-skill-color-white {
|
||||
opacity: 0.75;
|
||||
}
|
||||
.oathhammer .npc-skill-color-red {
|
||||
color: #cc4444;
|
||||
}
|
||||
.oathhammer .npc-skill-color-black {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
.oathhammer .npc-skill-roll-btn {
|
||||
color: #c8a84b;
|
||||
padding: 2px 4px;
|
||||
border: 1px solid rgba(200, 168, 75, 0.4);
|
||||
border-radius: 3px;
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
text-align: center;
|
||||
justify-self: center;
|
||||
}
|
||||
.oathhammer .npc-skill-roll-btn:hover {
|
||||
background: rgba(200, 168, 75, 0.15);
|
||||
}
|
||||
.oathhammer .npc-trait-type-badge {
|
||||
font-size: 0.72rem;
|
||||
padding: 1px 5px;
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
background: rgba(200, 168, 75, 0.15);
|
||||
border: 1px solid rgba(200, 168, 75, 0.35);
|
||||
color: #2a1a0a;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.npc-skill-dialog {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 4px 0;
|
||||
}
|
||||
.oathhammer .item-list {
|
||||
list-style: none;
|
||||
@@ -772,10 +994,18 @@
|
||||
.oathhammer .item-list--weapon .item-entry {
|
||||
grid-template-columns: 24px 1fr 4.5rem 3.5rem 2rem 1.5rem 1.8rem 9rem;
|
||||
}
|
||||
.oathhammer .item-list--weapons .item-list-header,
|
||||
.oathhammer .item-list--weapons .item-entry {
|
||||
grid-template-columns: 24px 1fr 6rem 4rem;
|
||||
}
|
||||
.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 5.5rem;
|
||||
}
|
||||
.oathhammer .item-list--armors .item-list-header,
|
||||
.oathhammer .item-list--armors .item-entry {
|
||||
grid-template-columns: 24px 1fr 6rem 4rem;
|
||||
}
|
||||
.oathhammer .item-list--ammo .item-list-header,
|
||||
.oathhammer .item-list--ammo .item-entry {
|
||||
grid-template-columns: 24px 1fr 4rem 3.5rem;
|
||||
@@ -812,6 +1042,30 @@
|
||||
.oathhammer .item-list--oath .item-entry {
|
||||
grid-template-columns: 24px 1fr 7rem 3.5rem 3.5rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-skill .item-list-header,
|
||||
.oathhammer .item-list--npc-skill .item-entry {
|
||||
grid-template-columns: 1.8rem 1fr 3.5rem 3.5rem 2rem 4.5rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-weapon .item-list-header,
|
||||
.oathhammer .item-list--npc-weapon .item-entry {
|
||||
grid-template-columns: 24px 1fr 3.5rem 2.5rem 7rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-trait .item-list-header,
|
||||
.oathhammer .item-list--npc-trait .item-entry {
|
||||
grid-template-columns: 24px 1fr 6rem 3.5rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-armor .item-list-header,
|
||||
.oathhammer .item-list--npc-armor .item-entry {
|
||||
grid-template-columns: 24px 1fr 3rem 3rem 3.5rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-equip .item-list-header,
|
||||
.oathhammer .item-list--npc-equip .item-entry {
|
||||
grid-template-columns: 24px 1fr 3.5rem;
|
||||
}
|
||||
.oathhammer .item-list--npc-attack .item-list-header,
|
||||
.oathhammer .item-list--npc-attack .item-entry {
|
||||
grid-template-columns: 24px 1fr 7rem 3rem 6rem;
|
||||
}
|
||||
.oathhammer .item-usage {
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
color: #2a1a0a;
|
||||
@@ -909,6 +1163,10 @@
|
||||
background: rgba(192, 57, 43, 0.1);
|
||||
border-color: rgba(192, 57, 43, 0.4);
|
||||
}
|
||||
.oathhammer .item-list--regiment .item-list-header,
|
||||
.oathhammer .item-list--regiment .item-entry {
|
||||
grid-template-columns: 24px 1fr 4rem 5rem 4rem 4.5rem;
|
||||
}
|
||||
.oathhammer .item-sheet-common {
|
||||
overflow: auto;
|
||||
padding: 10px 20px;
|
||||
@@ -1007,6 +1265,20 @@
|
||||
font-weight: bold;
|
||||
color: #084a74;
|
||||
}
|
||||
.oathhammer .item-sheet-common .enchantment-fieldset .enchant-cursed-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex-shrink: 0;
|
||||
margin-left: 8px;
|
||||
font-family: "BlueDragon", "Palatino Linotype", serif;
|
||||
font-size: 0.86rem;
|
||||
color: #2a1a0a;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.oathhammer .item-sheet-common .enchantment-fieldset .enchant-cursed-label input[type="checkbox"] {
|
||||
margin: 0;
|
||||
}
|
||||
.oathhammer .item-sheet-common .proficiency-section {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
@@ -1036,6 +1308,91 @@
|
||||
height: auto;
|
||||
accent-color: #084a74;
|
||||
}
|
||||
.oathhammer .skillnpc-sheet .skillnpc-stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.oathhammer .skillnpc-sheet .skillnpc-stats .form-group > label {
|
||||
flex: 0 0 9rem;
|
||||
}
|
||||
.oathhammer .npcattack-sheet .npcattack-stats {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.oathhammer .npcattack-sheet .npcattack-stats .form-group > label {
|
||||
flex: 0 0 9rem;
|
||||
}
|
||||
.oathhammer .regiment-sheet {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-stats-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
gap: 4px;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-stats-row .form-group > label {
|
||||
flex: 0 0 6rem;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-armor-fields {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-armor-fields input[type="number"] {
|
||||
width: 3rem;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-row,
|
||||
.oathhammer .regiment-sheet .regiment-attack-row,
|
||||
.oathhammer .regiment-sheet .regiment-trait-row {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
margin-bottom: 2px;
|
||||
align-items: center;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-row input,
|
||||
.oathhammer .regiment-sheet .regiment-attack-row input,
|
||||
.oathhammer .regiment-sheet .regiment-trait-row input,
|
||||
.oathhammer .regiment-sheet .regiment-skill-row select,
|
||||
.oathhammer .regiment-sheet .regiment-attack-row select,
|
||||
.oathhammer .regiment-sheet .regiment-trait-row select {
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
padding: 1px 3px;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-row a.item-delete,
|
||||
.oathhammer .regiment-sheet .regiment-attack-row a.item-delete,
|
||||
.oathhammer .regiment-sheet .regiment-trait-row a.item-delete {
|
||||
text-align: center;
|
||||
color: #2a1a0a;
|
||||
opacity: 0.4;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-row a.item-delete:hover,
|
||||
.oathhammer .regiment-sheet .regiment-attack-row a.item-delete:hover,
|
||||
.oathhammer .regiment-sheet .regiment-trait-row a.item-delete:hover {
|
||||
color: #c0392b;
|
||||
opacity: 1;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-header,
|
||||
.oathhammer .regiment-sheet .regiment-attack-header {
|
||||
font-weight: bold;
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
color: #2a1a0a;
|
||||
opacity: 0.6;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-skill-row {
|
||||
grid-template-columns: 1fr 3rem 6rem 1.5rem;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-attack-row {
|
||||
grid-template-columns: 1fr 3.5rem 6rem 3rem 1fr 1.5rem;
|
||||
}
|
||||
.oathhammer .regiment-sheet .regiment-trait-row {
|
||||
grid-template-columns: 1fr 2fr 1.5rem;
|
||||
}
|
||||
.oh-roll-card {
|
||||
font-family: "Calibri", "Segoe UI", sans-serif;
|
||||
border: 1px solid #535128;
|
||||
@@ -1044,6 +1401,9 @@
|
||||
background: rgba(245, 234, 208, 0.4);
|
||||
}
|
||||
.oh-roll-card .oh-roll-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-family: "BlueDragon", "Palatino Linotype", serif;
|
||||
font-size: 0.86rem;
|
||||
font-weight: bold;
|
||||
@@ -1052,6 +1412,15 @@
|
||||
border-bottom: 1px solid rgba(83, 81, 40, 0.2);
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
.oh-roll-card .oh-roll-header .oh-card-weapon-img {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
-o-object-fit: contain;
|
||||
object-fit: contain;
|
||||
border: 1px solid rgba(83, 81, 40, 0.2);
|
||||
border-radius: 3px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.oh-roll-card .oh-roll-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -1368,6 +1737,31 @@
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
}
|
||||
.oh-weapon-dialog .weapon-header .weapon-badges .roll-color-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding: 2px 7px;
|
||||
border-radius: 4px;
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
font-weight: bold;
|
||||
border: 1px solid;
|
||||
}
|
||||
.oh-weapon-dialog .weapon-header .weapon-badges .color-badge-white {
|
||||
background: #f0f0f0;
|
||||
color: #555;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.oh-weapon-dialog .weapon-header .weapon-badges .color-badge-red {
|
||||
background: rgba(231, 76, 60, 0.12);
|
||||
color: #c0392b;
|
||||
border-color: rgba(231, 76, 60, 0.35);
|
||||
}
|
||||
.oh-weapon-dialog .weapon-header .weapon-badges .color-badge-black {
|
||||
background: rgba(44, 62, 80, 0.1);
|
||||
color: #2c3e50;
|
||||
border-color: rgba(44, 62, 80, 0.35);
|
||||
}
|
||||
.oh-weapon-dialog .weapon-header .damage-formula-badge {
|
||||
font-family: "Calibri", "Segoe UI", sans-serif;
|
||||
font-size: calc(0.86rem * 0.9);
|
||||
@@ -1786,12 +2180,13 @@
|
||||
gap: 8px;
|
||||
}
|
||||
.oathhammer .settlement-archetype-badge {
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
color: #2a1a0a;
|
||||
background: rgba(200, 168, 75, 0.15);
|
||||
border: 1px solid rgba(200, 168, 75, 0.4);
|
||||
font-size: 0.86rem;
|
||||
font-weight: 600;
|
||||
color: #150d05;
|
||||
background: rgba(200, 168, 75, 0.2);
|
||||
border: 1px solid rgba(200, 168, 75, 0.55);
|
||||
border-radius: 3px;
|
||||
padding: 1px 6px;
|
||||
padding: 1px 8px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.oathhammer .settlement-stats {
|
||||
@@ -1903,3 +2298,33 @@
|
||||
.oathhammer .construct-toggle:hover {
|
||||
color: #214621;
|
||||
}
|
||||
.oathhammer .settlement-buildings-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.oathhammer .settlement-buildings-header .settlement-hint {
|
||||
margin: 0;
|
||||
}
|
||||
.oathhammer .settlement-buildings-header .collect-taxes-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding: 3px 10px;
|
||||
background: rgba(200, 168, 75, 0.2);
|
||||
border: 1px solid rgba(200, 168, 75, 0.6);
|
||||
border-radius: 4px;
|
||||
font-size: calc(0.86rem * 0.85);
|
||||
font-weight: bold;
|
||||
color: #2a1a0a;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.oathhammer .settlement-buildings-header .collect-taxes-btn:hover {
|
||||
background: rgba(200, 168, 75, 0.4);
|
||||
border-color: #c8a84b;
|
||||
}
|
||||
.oathhammer .settlement-buildings-header .collect-taxes-btn i {
|
||||
color: #c8a84b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user