mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Improved styling of duration in tooltips
This commit is contained in:
parent
81be5c3f71
commit
3e78289b39
2 changed files with 30 additions and 2 deletions
|
|
@ -48,6 +48,31 @@
|
|||
flex-direction: column;
|
||||
text-align: center;
|
||||
margin-top: 0.5rem;
|
||||
width: 100%;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
background: var(--golden, #f3c267);
|
||||
mask-image: linear-gradient(270deg, transparent 0%, black 50%, transparent 100%);
|
||||
height: 2px;
|
||||
width: calc(100% - 10px);
|
||||
}
|
||||
|
||||
&::before {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
&::after {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.duration-inner-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 2px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,9 +17,12 @@
|
|||
{{/if}}
|
||||
|
||||
{{#if effect.system.duration.type}}
|
||||
|
||||
<div class="duration-container">
|
||||
<strong>{{localize "EFFECT.DURATION.Label"}}</strong>
|
||||
<span>{{localize (concat "DAGGERHEART.CONFIG.ActiveEffectDuration." effect.system.duration.type )}}</span>
|
||||
<div class="duration-inner-container">
|
||||
<span>{{localize "EFFECT.DURATION.Label"}}:</span>
|
||||
<span>{{localize (concat "DAGGERHEART.CONFIG.ActiveEffectDuration." effect.system.duration.type )}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue