mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Added the NPC Actor
This commit is contained in:
parent
2bc1c04c93
commit
f24d37e935
21 changed files with 461 additions and 1 deletions
54
styles/less/sheets/actors/npc/header.less
Normal file
54
styles/less/sheets/actors/npc/header.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
styles/less/sheets/actors/npc/sheet.less
Normal file
13
styles/less/sheets/actors/npc/sheet.less
Normal 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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue