mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[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:
parent
495575fba4
commit
8c84edddad
982 changed files with 9082 additions and 3996 deletions
23
styles/less/dialog/attribution/sheet.less
Normal file
23
styles/less/dialog/attribution/sheet.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,13 @@
|
|||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.attribution-header-label {
|
||||
text-align: left;
|
||||
position: relative;
|
||||
top: 4px;
|
||||
margin-bottom: -6px;
|
||||
}
|
||||
}
|
||||
|
||||
.status-number {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
12
styles/less/sheets/items/heritage.less
Normal file
12
styles/less/sheets/items/heritage.less
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.application.sheet.daggerheart.dh-style {
|
||||
&.ancestry,
|
||||
&.community {
|
||||
.item-card-header {
|
||||
.item-info {
|
||||
.item-description {
|
||||
gap: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
13
styles/less/sheets/items/item-sheet-shared.less
Normal file
13
styles/less/sheets/items/item-sheet-shared.less
Normal 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue