[Feature] 648 - Mark Defeated Actors (#914)

* Improved death marking styling

* Added automation for defeated status

* Fixed so the tracker recognises and sets the correct defeated statuses depending on type

* Fixed so missing statuses doesn't cause crashes

* Increased companion sheet width by 40 pixels

* Added missing inheritDoc

* Removed fas
This commit is contained in:
WBHarry 2025-08-13 19:39:19 +02:00 committed by GitHub
parent c579b5f63c
commit 3489c9c2e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 288 additions and 84 deletions

View file

@ -9,10 +9,14 @@
}
}
}, {
&.adversary {
&.sheet.actor.dh-style.adversary {
.adversary-sidebar-sheet {
background: transparent;
}
.portrait.death-roll .death-roll-btn {
filter: brightness(0) drop-shadow(0 0 3px @dark-blue);
}
}
});
@ -27,6 +31,26 @@
border-bottom: 1px solid light-dark(@dark-blue, @golden);
cursor: pointer;
&.death-roll {
img {
filter: grayscale(1);
}
.death-roll-btn {
display: flex;
position: absolute;
top: 30%;
right: 30%;
font-size: 6rem;
color: @beige;
filter: grayscale(1) drop-shadow(0 0 3px black);
&:hover {
text-shadow: 0 0 8px @beige;
}
}
}
img {
height: 275px;
width: 275px;
@ -37,23 +61,6 @@
.death-roll-btn {
display: none;
}
&.death-roll {
filter: grayscale(1);
.death-roll-btn {
display: flex;
position: absolute;
top: 30%;
right: 30%;
font-size: 6rem;
color: @beige;
&:hover {
text-shadow: 0 0 8px @beige;
}
}
}
}
.threshold-section {

View file

@ -11,11 +11,16 @@
}
}
}, {
.character-sidebar-sheet {
&.sheet.actor.dh-style.character .character-sidebar-sheet {
background: transparent;
.experience-value {
background: url('../assets/svg/experience-shield-light.svg') no-repeat;
}
.portrait.death-roll .death-roll-btn {
filter: brightness(0) drop-shadow(0 0 3px @dark-blue);
}
}
});
@ -29,6 +34,26 @@
border-bottom: 1px solid light-dark(@dark-blue, @golden);
cursor: pointer;
&.death-roll {
img {
filter: grayscale(1);
}
.death-roll-btn {
display: flex;
position: absolute;
top: 30%;
right: 30%;
font-size: 6rem;
color: @beige;
filter: grayscale(1) drop-shadow(0 0 3px black);
&:hover {
text-shadow: 0 0 8px @beige;
}
}
}
img {
height: 275px;
width: 275px;
@ -40,23 +65,6 @@
display: none;
}
&.death-roll {
filter: grayscale(1);
.death-roll-btn {
display: flex;
position: absolute;
top: 30%;
right: 30%;
font-size: 6rem;
color: @beige;
&:hover {
text-shadow: 0 0 8px @beige;
}
}
}
.icons-list {
position: absolute;
display: flex;