mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31: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
|
|
@ -1,3 +1,5 @@
|
|||
<footer>
|
||||
<button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>{{localize "DAGGERHEART.ITEMS.Beastform.transform"}}</button>
|
||||
<button type="button" data-action="submitBeastform" {{#if (not canSubmit)}}disabled{{/if}}>
|
||||
<span>{{localize "DAGGERHEART.ITEMS.Beastform.transform"}}</span>
|
||||
</button>
|
||||
</footer>
|
||||
|
|
@ -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>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<i class="{{#if move.selected}}fa-solid{{else}}fa-regular{{/if}} fa-circle activity-marker"></i>
|
||||
<div class="activity-select-section">
|
||||
<i class="{{move.icon}} activity-icon"></i>
|
||||
<div>{{move.name}}</div>
|
||||
<span>{{move.name}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if move.selected}}<div class="activity-selected-marker">{{move.selected}}</div>{{/if}}
|
||||
|
|
|
|||
|
|
@ -14,14 +14,14 @@
|
|||
<div class="refreshables-container {{#if (and shortRestMoves longRestMoves)}}wide{{/if}}">
|
||||
{{#each this.refreshables.actionItems as | item |}}
|
||||
<div class="refreshable-container">
|
||||
<div class="refreshable-title">{{item.title}}</div>
|
||||
<div class="refreshable-name">{{item.name}}</div>
|
||||
<span class="refreshable-title">{{item.title}}</span>
|
||||
<span class="refreshable-name">{{item.name}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
{{#each this.refreshables.resourceItems as | item |}}
|
||||
<div class="refreshable-container">
|
||||
<div class="refreshable-title">{{item.title}}</div>
|
||||
<div class="refreshable-name">{{item.name}}</div>
|
||||
<span class="refreshable-title">{{item.title}}</span>
|
||||
<span class="refreshable-name">{{item.name}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue