mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-25 20:09:55 +02:00
Compare commits
No commits in common. "961e124ef2fdfde1881769e11042defaae22034c" and "975c6558287df6079cf9875aeb6da523f95448da" have entirely different histories.
961e124ef2
...
975c655828
3 changed files with 8 additions and 33 deletions
|
|
@ -131,15 +131,6 @@ export default class AdversarySheet extends DHBaseActorSheet {
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @inheritdoc */
|
|
||||||
_prepareTabs(group) {
|
|
||||||
const result = super._prepareTabs(group);
|
|
||||||
if (group === 'primary') {
|
|
||||||
result.notes.empty = !this.document.system.notes?.trim();
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**@inheritdoc */
|
/**@inheritdoc */
|
||||||
_attachPartListeners(partId, htmlElement, options) {
|
_attachPartListeners(partId, htmlElement, options) {
|
||||||
super._attachPartListeners(partId, htmlElement, options);
|
super._attachPartListeners(partId, htmlElement, options);
|
||||||
|
|
|
||||||
|
|
@ -37,10 +37,6 @@
|
||||||
color: @color-text-subtle;
|
color: @color-text-subtle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.window-header > .attribution-header-label {
|
|
||||||
margin-right: var(--spacer-4);
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab.inventory {
|
.tab.inventory {
|
||||||
.gold-section {
|
.gold-section {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
||||||
|
|
@ -3,21 +3,16 @@
|
||||||
|
|
||||||
.application.sheet.daggerheart.actor.dh-style.adversary {
|
.application.sheet.daggerheart.actor.dh-style.adversary {
|
||||||
.adversary-header-sheet {
|
.adversary-header-sheet {
|
||||||
|
padding: 0 15px;
|
||||||
padding-top: var(--header-height);
|
padding-top: var(--header-height);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
> *:not(line-div, .tab-navigation) {
|
|
||||||
padding-left: 15px;
|
|
||||||
padding-right: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name-row {
|
.name-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: var(--spacer-4);
|
padding: 8px 0;
|
||||||
padding-bottom: var(--spacer-4);
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
@ -39,8 +34,8 @@
|
||||||
|
|
||||||
.tags {
|
.tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 10px;
|
||||||
padding-bottom: var(--spacer-12);
|
padding-bottom: 8px;
|
||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -49,7 +44,8 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 3px 5px;
|
padding: 3px 5px;
|
||||||
font: var(--font-size-12) @font-body;
|
font-size: var(--font-size-12);
|
||||||
|
font: @font-body;
|
||||||
|
|
||||||
background: light-dark(@dark-15, @beige-15);
|
background: light-dark(@dark-15, @beige-15);
|
||||||
border: 1px solid light-dark(@dark, @beige);
|
border: 1px solid light-dark(@dark, @beige);
|
||||||
|
|
@ -68,16 +64,8 @@
|
||||||
.adversary-info {
|
.adversary-info {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--spacer-8);
|
gap: 12px;
|
||||||
padding-top: var(--spacer-12);
|
padding: 16px 0;
|
||||||
padding-bottom: var(--spacer-12);
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab-navigation {
|
|
||||||
margin-top: 0;
|
|
||||||
button[data-action="openSettings"] {
|
|
||||||
margin-right: 12px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue