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>
14 lines
No EOL
676 B
Handlebars
14 lines
No EOL
676 B
Handlebars
<div>
|
|
<div class="effects-display-container">
|
|
{{#each effects as | effect |}}
|
|
<span class="effect-container {{#if effect.condition}}disabled{{/if}}" data-tooltip="#effect-display#" id="{{effect.id}}"
|
|
data-applied-by="{{effect.appliedBy}}" {{#if effect.condition}}data-condition="{{effect.condition}}"{{else}}data-uuid="{{effect.uuid}}"{{/if}}
|
|
>
|
|
<a {{#if effect.condition}}disabled{{/if}}>
|
|
<img src="{{effect.img}}" />
|
|
</a>
|
|
{{#if effect.condition}}<i class="effect-locked fa-solid fa-lock"></i>{{/if}}
|
|
</span>
|
|
{{/each}}
|
|
</div>
|
|
</div> |