[PR][Feature] 798 - Attribution (#986)

* Added attribution for items, adversary and environment

* Added Attribution to all adversaries

* Added attribution to environments

* Added attribution for class and subclass

* Added Attribution to Ancestry/Community

* Added Attribution for Beastforms

* Added Attribution to DomainCards

* Added Attribution for wepaons

* Attribution for Armor/Loot/Consumables

* Added a setting to hide attribution
This commit is contained in:
WBHarry 2025-08-18 03:44:59 +02:00 committed by GitHub
parent 495575fba4
commit 8c84edddad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
982 changed files with 9082 additions and 3996 deletions

View file

@ -0,0 +1,23 @@
.daggerheart.dh-style.dialog.attribution {
.window-content {
padding-top: 0;
}
.attribution-container {
display: flex;
flex-direction: column;
gap: 8px;
h4 {
margin-bottom: 0;
}
footer {
display: flex;
button {
flex: 1;
}
}
}
}

View file

@ -1,3 +1,4 @@
@import './attribution/sheet.less';
@import './level-up/navigation-container.less';
@import './level-up/selections-container.less';
@import './level-up/sheet.less';

View file

@ -519,6 +519,17 @@
}
}
}
.artist-attribution {
width: 100%;
display: flex;
justify-content: left;
font-style: italic;
font-family: @font-body;
margin-top: 4px;
color: light-dark(#14142599, #efe6d850);
font-size: 12px;
padding-left: 3px;
}
}
.application.setting.dh-style {

View file

@ -1,8 +1,20 @@
.application.sheet.daggerheart.actor.dh-style {
.portrait img, .profile {
.portrait img,
.profile {
width: 100%;
object-fit: cover;
object-position: top center;
}
}
&.minimized {
.attribution-header-label {
display: none;
}
}
.attribution-header-label {
font-style: italic;
font-family: @font-body;
color: light-dark(@chat-blue-bg, @beige-50);
}
}

View file

@ -55,6 +55,13 @@
font-size: 12px;
}
}
.attribution-header-label {
text-align: left;
position: relative;
top: 4px;
margin-bottom: -6px;
}
}
.status-number {

View file

@ -5,6 +5,10 @@
.appTheme({
&.environment {
background-image: url('../assets/parchments/dh-parchment-dark.png');
.attribution-header-label {
background-image: url('../assets/parchments/dh-parchment-dark.png');
}
}
}, {
&.environment {
@ -18,5 +22,11 @@
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
&.active {
overflow: hidden;
display: flex;
flex-direction: column;
}
}
}

View file

@ -26,3 +26,5 @@
@import './items/class.less';
@import './items/domain-card.less';
@import './items/feature.less';
@import './items/heritage.less';
@import './items/item-sheet-shared.less';

View file

@ -0,0 +1,12 @@
.application.sheet.daggerheart.dh-style {
&.ancestry,
&.community {
.item-card-header {
.item-info {
.item-description {
gap: 0;
}
}
}
}
}

View file

@ -0,0 +1,13 @@
.application.sheet.daggerheart.dh-style.item {
&.minimized {
.attribution-header-label {
display: none;
}
}
.attribution-header-label {
font-style: italic;
font-family: @font-body;
color: light-dark(@chat-blue-bg, @beige-50);
}
}