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

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;
}