mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-11 03:27:08 +01:00
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:
parent
420d436bb1
commit
3bfa6b28ed
5 changed files with 59 additions and 17 deletions
|
|
@ -319,6 +319,8 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
|
|
@ -332,6 +334,15 @@
|
|||
font-size: 12px;
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
|
||||
h4, i {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
}
|
||||
.slot-value {
|
||||
position: absolute;
|
||||
|
|
@ -369,7 +380,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.slot-label {
|
||||
.slot-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: light-dark(@beige, @dark-blue);
|
||||
|
|
@ -381,6 +392,17 @@
|
|||
font-size: var(--font-size-12);
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
border: 1px solid transparent;
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover {
|
||||
background: light-dark(@light-black, @dark-blue);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
|
||||
.label, .value, i {
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
|
||||
.label {
|
||||
padding-right: 1px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue