mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +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>
|
||||
|
|
|
|||
|
|
@ -56,10 +56,10 @@
|
|||
<div class="item-list-header">
|
||||
<div class="item-list-img"></div>
|
||||
<div class="item-list-name" data-sort-key="name" data-sort-type="ASC" data-action="sortList">Name</div>
|
||||
{{#each menu.data.columns}}
|
||||
<div data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{#each menu.data.columns}}
|
||||
<span data-sort-key="{{key}}" data-sort-type="" data-action="sortList">{{label}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="item-list">
|
||||
{{#each items}}
|
||||
|
|
@ -67,14 +67,14 @@
|
|||
<div class="item-header">
|
||||
<div class="item-info" data-action="expandContent">
|
||||
<img src="{{img}}" data-item-key="img" class="item-list-img">
|
||||
<div data-item-key="name" class="item-list-name">{{name}}</div>
|
||||
<span data-item-key="name" class="item-list-name">{{name}}</span>
|
||||
{{#each ../menu.data.columns}}
|
||||
<div data-item-key="{{key}}">{{#with (@root.formatLabel ../this this) as | label |}}{{{label}}}{{/with}}</div>
|
||||
<span data-item-key="{{key}}">{{#with (@root.formatLabel ../this this) as | label |}}{{{label}}}{{/with}}</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="item-desc extensible">
|
||||
<div class="wrapper">{{{system.description}}}</div>
|
||||
<span class="wrapper">{{{system.description}}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
data-action="selectFolder"
|
||||
data-folder-id="{{../id}}.folders.{{id}}"
|
||||
>
|
||||
• {{label}}
|
||||
<span>• {{label}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue