mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 21:21:08 +01:00
feat: add basic style to effects tooltip
This commit is contained in:
parent
5b671a931e
commit
24626545b9
4 changed files with 58 additions and 26 deletions
|
|
@ -1,7 +1,7 @@
|
|||
.daggerheart.dh-style.effects-display {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
width: 68px;
|
||||
width: 40px;
|
||||
max-height: 600px;
|
||||
overflow: hidden;
|
||||
border: 0;
|
||||
|
|
@ -20,13 +20,18 @@
|
|||
.effect-container {
|
||||
position: relative;
|
||||
pointer-events: all;
|
||||
border: 2px solid light-dark(@dark-blue, @golden);
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border-radius: 3px;
|
||||
|
||||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.effect-locked {
|
||||
position: absolute;
|
||||
bottom: 4px;
|
||||
right: 4px;
|
||||
font-size: 24px;
|
||||
font-size: 16px;
|
||||
color: @golden;
|
||||
filter: drop-shadow(0 0 3px black);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,8 @@
|
|||
@dark-golden-40: #2b1d0340;
|
||||
@dark-golden-80: #2b1d0380;
|
||||
|
||||
@rustic-brown-80: #4c340780;
|
||||
|
||||
@red: #e54e4e;
|
||||
@red-10: #e54e4e10;
|
||||
@red-40: #e54e4e40;
|
||||
|
|
|
|||
|
|
@ -1,28 +1,45 @@
|
|||
#tooltip.bordered-tooltip {
|
||||
width: 320px;
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
border: 1px solid @golden;
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
|
||||
.daggerheart.dh-style.tooltip {
|
||||
color: @beige;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: start;
|
||||
width: 100%;
|
||||
gap: 5px;
|
||||
padding: 0px;
|
||||
border-radius: 3px;
|
||||
|
||||
.tooltip-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
text-align: start;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
gap: 0px;
|
||||
|
||||
.helper {
|
||||
h2 {
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
font-size: var(--font-size-20);
|
||||
color: @golden;
|
||||
font-weight: 700;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip-footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
.close-hint {
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
background: @rustic-brown-80;
|
||||
color: @golden;
|
||||
font-size: 12px;
|
||||
width: 100%;
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue