Implements HP loss HUD button
All checks were successful
Release Creation / build (release) Successful in 54s

This commit is contained in:
2025-04-27 22:11:10 +02:00
parent a043117ec7
commit 157163672c
31 changed files with 184 additions and 108 deletions

View File

@@ -1,21 +0,0 @@
#lethalfantasy-application-manager {
display: flex;
font-family: var(--font-primary);
font-size: calc(var(--font-size-standard) * 1);
color: var(--color-dark-1);
background-image: var(--background-image-base);
background-repeat: no-repeat;
background-size: 100% 100%;
.lethalfantasy-table {
margin: 1rem;
background: none;
padding: 0;
margin: 0;
text-align: center;
.player {
font-size: calc(var(--font-size-standard) * 1);
}
}
}

View File

@@ -10,7 +10,7 @@
@import "weapon.less";
@import "armor.less";
@import "spell.less";
@import "vulnerability.less";
@import "vulnerability.less";
@import "chat.less";
@import "equipment.less";
@import "shield.less";
@@ -18,4 +18,4 @@
}
@import "roll.less";
@import "application-manager.less";
@import "hud.less";

32
styles/hud.less Normal file
View File

@@ -0,0 +1,32 @@
#token-hud .hp-loss-wrap {
position: absolute;
left: 75px;
display: none;
top: 50%;
transform: translate(-200%, -50%);
width: 48px;
text-align: start;
overflow-y: auto;
}
#token-hud .hp-loss-hud-active {
display: block;
}
#token-hud .hp-loss-hud-disabled {
display: none;
}
#token-hud .hud-loss-hp-button-select {
max-width: 40px;
background-image: var(--background-image-base);
padding-top: 0;
padding-bottom: 0;
width: max-content;
margin: 0;
}
#token-hud .hp-loss-wrap .hud-loss-hp-button-select {
padding-left: 8px;
font-size: 0.7rem;
}