mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 12:41:07 +01:00
refactor font-family styles to avoid unecessary diplicities (#983)
This commit is contained in:
parent
2820c96259
commit
96d26a1e5b
69 changed files with 220 additions and 246 deletions
|
|
@ -6,7 +6,7 @@
|
|||
<h2 class="title">{{item.name}}</h2>
|
||||
<ul class="tags">
|
||||
{{#each item.tags as |tag|}}
|
||||
<li class="tag">{{tag}}</li>
|
||||
<li class="tag"><span>{{tag}}</span></li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -17,11 +17,11 @@
|
|||
<footer class="ability-card-footer">
|
||||
{{#each actions as |action|}}
|
||||
<button class="ability-use-button" id="{{action.id}}">
|
||||
{{action.name}}
|
||||
<span>{{action.name}}</span>
|
||||
</button>
|
||||
{{#if (eq action.systemPath "attack")}}
|
||||
<button class="ability-use-button" id="{{action.id}}" data-direct-damage="true">
|
||||
{{localize "DAGGERHEART.GENERAL.damage"}}
|
||||
<span>{{localize "DAGGERHEART.GENERAL.damage"}}</span>
|
||||
</button>
|
||||
{{/if}}
|
||||
{{!-- {{#if action.cost.value}}<div class="ability-card-action-cost">{{action.cost.value}} {{action.cost.type}}</div>{{/if}} --}}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,9 @@
|
|||
</div>
|
||||
</details>
|
||||
{{#each move.actions as | action index |}}
|
||||
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">{{localize action.name}}</button>
|
||||
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">
|
||||
<span>{{localize action.name}}</span>
|
||||
</button>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue