mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
* Merged with main * Added the display * . * Removed unused override function * Fixed layout for generic effects * feat: add basic style to effects tooltip * Corrected distancing * Use CSS based solution for shifting the countdowns * Centered tooltip header --------- Co-authored-by: moliloo <dev.murilobrito@gmail.com> Co-authored-by: Carlos Fernandez <cfern1990@gmail.com>
24 lines
No EOL
832 B
Handlebars
24 lines
No EOL
832 B
Handlebars
<div class="daggerheart dh-style tooltip">
|
|
<div class="tooltip-header">
|
|
<h2>{{effect.name}}</h2>
|
|
{{#if effect.appliedBy}}
|
|
<p class="subtitle">{{localize "DAGGERHEART.UI.EffectsDisplay.appliedBy" by=effect.appliedBy}}</p>
|
|
{{/if}}
|
|
</div>
|
|
|
|
{{#if effect.description}}
|
|
<div class="description">
|
|
{{{effect.description}}}
|
|
</div>
|
|
{{else if effect.parent.system.description}}
|
|
<div class="description">
|
|
{{{effect.parent.system.description}}}
|
|
</div>
|
|
{{/if}}
|
|
|
|
{{#unless effect.isLockedCondition}}
|
|
<p class="close-hint">
|
|
<i class="fa-solid fa-computer-mouse"></i> {{localize "DAGGERHEART.UI.EffectsDisplay.removeThing" thing=(localize "DAGGERHEART.GENERAL.Effect.single")}}
|
|
</p>
|
|
{{/unless}}
|
|
</div> |