feat: add style to armors tooltip, add a style to make armor slot label more clear that was a button and add a tooltip location

This commit is contained in:
Murilo Brito 2026-03-09 02:25:38 -03:00
parent 420d436bb1
commit 3bfa6b28ed
5 changed files with 59 additions and 17 deletions

View file

@ -1,7 +1,19 @@
@import '../../utils/fonts.less';
@import '../../utils/colors.less';
.bordered-tooltip.locked-tooltip .daggerheart.armor-management-container {
display: flex;
flex-direction: column;
gap: 16px;
gap: 10px;
padding-bottom: 10px;
h3 {
font-family: @font-subtitle;
margin: 0;
border: none;
font-weight: normal;
font-size: var(--font-size-20);
}
.armor-source-container {
display: flex;
@ -10,16 +22,16 @@
gap: 4px;
.armor-source-label {
font-size: var(--font-size-24);
font-weight: bold;
font-family: @font-body;
margin: 0;
}
.status-bar {
display: flex;
justify-content: center;
position: relative;
width: 80px;
height: 20px;
width: 100%;
height: 30px;
.status-value {
position: absolute;
@ -27,8 +39,8 @@
padding: 0 5px;
font-size: 1rem;
align-items: center;
width: 80px;
height: 20px;
width: 100%;
height: 30px;
justify-content: center;
text-align: center;
z-index: 2;
@ -36,13 +48,13 @@
input[type='number'] {
background: transparent;
font-size: 1rem;
font-size: 1.2rem;
width: 30px;
height: 15px;
text-align: center;
border: none;
outline: 2px solid transparent;
color: @beige;
font-family: @font-body;
&.bar-input {
padding: 0;
@ -50,6 +62,7 @@
backdrop-filter: none;
background: transparent;
transition: all 0.3s ease;
height: 25px;
&:hover,
&:focus {
@ -60,14 +73,16 @@
}
.bar-label {
font-family: @font-body;
width: 40px;
font-size: 1.2rem;
}
}
.progress-bar {
position: absolute;
appearance: none;
width: 80px;
height: 20px;
width: 100%;
height: 30px;
border: 1px solid light-dark(@dark-blue, @golden);
border-radius: 6px;
z-index: 1;
@ -107,8 +122,11 @@
border-radius: 6px;
z-index: 1;
background: @dark-blue;
align-items: center;
justify-content: center;
color: light-dark(@dark-blue, @golden);
min-height: 30px;
width: 100%;
.armor-slot {
cursor: pointer;