refactor font-family styles to avoid unecessary diplicities (#983)

This commit is contained in:
Murilo Brito 2025-08-17 09:37:39 -03:00 committed by GitHub
parent 2820c96259
commit 96d26a1e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 220 additions and 246 deletions

View file

@ -6,17 +6,23 @@
<ul class="moves-list">
{{#each this.options as |option key|}}
<li class="move-item" data-tooltip="{{concat "#" "deathMove" "#"}}" data-action="selectMove" data-move="{{key}}"data-death-img="{{option.img}}" data-death-name="{{this.name}}" data-death-description="{{this.description}}">
<label class="label" for="{{id}}" data-tooltip="{{localize tooltip}}" data-tooltip-direction="LEFT">
<div class="label" for="{{id}}" data-tooltip="{{localize tooltip}}" data-tooltip-direction="LEFT">
<i class="fa-solid {{icon}} fa-xl"></i>
<span class="label">{{localize this.name}}</span>
</label>
</div>
<input type="radio" {{#if (eq ../this.selectedMove.id option.id)}}checked{{/if}}>
</li>
{{/each}}
</ul>
</div>
<footer class="flexrow">
<button data-action="close">{{localize "Cancel"}}</button>
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}</button>
<button data-action="close">
<span>{{localize "Cancel"}}</span>
</button>
<button data-action="takeMove" {{#if (not this.selectedMove)}}disabled{{/if}}>
<span>
{{localize "DAGGERHEART.APPLICATIONS.DeathMove.selectMove"}}
</span>
</button>
</footer>
</div>