mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
feat: style armor hbs tooltip
This commit is contained in:
parent
84a0734305
commit
3e7af7cfd7
1 changed files with 16 additions and 15 deletions
|
|
@ -1,21 +1,22 @@
|
|||
<div class="daggerheart dh-style tooltip">
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<div class="daggerheart dh-style tooltip armor">
|
||||
<img class="tooltip-image" src="{{item.img}}" />
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
|
||||
<div class="tooltip-information-section">
|
||||
<div class="tooltip-information full-width">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.Armor.baseScore"}}</label>
|
||||
<div>{{item.system.baseScore}}</div>
|
||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||
<div class="tags">
|
||||
<div class="tag">
|
||||
<span>{{localize "DAGGERHEART.ITEMS.Armor.baseScore"}} {{item.system.baseScore}}</span>
|
||||
</div>
|
||||
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.major"}}</label>
|
||||
<div>{{item.system.baseThresholds.major}}</div>
|
||||
<div class="tag">
|
||||
<span>{{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.major"}} {{item.system.baseThresholds.major}}</span>
|
||||
</div>
|
||||
<div class="tooltip-information">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.severe"}}</label>
|
||||
<div>{{item.system.baseThresholds.severe}}</div>
|
||||
<div class="tag">
|
||||
<span>{{localize "DAGGERHEART.ITEMS.Armor.baseThresholds.severe"}} {{item.system.baseThresholds.severe}}</span>
|
||||
</div>
|
||||
</div>
|
||||
{{#if description}}
|
||||
<div class="tooltip-description">{{{description}}}</div>
|
||||
{{/if}}
|
||||
|
||||
<p class="tooltip-hint">
|
||||
<i class="fa-solid fa-computer-mouse"></i> {{localize "DAGGERHEART.UI.Tooltip.middleClick"}}
|
||||
</p>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue