Added the NPC Actor

This commit is contained in:
WBHarry 2026-05-30 19:20:15 +02:00
parent 2bc1c04c93
commit f24d37e935
21 changed files with 461 additions and 1 deletions

View file

@ -0,0 +1,54 @@
.application.sheet.daggerheart.actor.dh-style.npc {
.npc-header-sheet {
width: 100%;
display: flex;
.portrait {
cursor: pointer;
width: 275px;
img {
height: 275px;
}
}
.info-section {
flex: 1;
padding: 0 15px;
padding-top: var(--header-height);
display: flex;
flex-direction: column;
gap: 8px;
.name-row {
display: flex;
gap: 5px;
align-items: center;
justify-content: space-between;
h1 {
display: flex;
flex: 1;
padding: 6px 0 0 0;
font-size: var(--font-size-32);
text-align: start;
border: 1px solid transparent;
outline: 2px solid transparent;
transition: all 0.3s ease;
word-break: break-word;
&:hover {
outline: 2px solid light-dark(@dark, @golden);
}
}
}
.npc-info {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px 0;
}
}
}
}

View file

@ -0,0 +1,13 @@
.application.sheet.daggerheart.actor.dh-style.npc {
.window-content {
display: grid;
grid-template-rows: auto auto 1fr;
}
.npc-navigation {
padding: 0 15px;
display: flex;
gap: 8px;
align-items: center;
}
}

View file

@ -8,6 +8,9 @@
@import './actors/adversary/sidebar.less';
@import './actors/adversary/effects.less';
@import './actors/npc/sheet.less';
@import './actors/npc/header.less';
@import './actors/character/biography.less';
@import './actors/character/effects.less';
@import './actors/character/features.less';