mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 13:41:07 +01:00
[PR][Feature] Items Tooltips Styles (#1445)
* feat: add basic tooltip style and style domain card template * feat: change weapon hbs tooltip and increase box-shadow blur * feat: style armor hbs tooltip * feat: style consumable hbs tooltip * feat: style loot hbs tooltip * feat: style feature hbs tooltip * bugfix: prevent style conflicts between tooltips * feat: style action hbs tooltip * feat: style attack hbs tooltip * feat: style effect hbs tooltip * feat: increase tooltip width * style beatform tooltip, fix unnarmed attack location, add outline border when users use midle click * feat: add beige outline and box shadow to tooltips to enhance contrast * bugfix: requested changes * bugfix: fix typo * bugfix: fix tooltip breaking interface position
This commit is contained in:
parent
0806c2d1ac
commit
f8b003b304
15 changed files with 469 additions and 241 deletions
|
|
@ -1,12 +1,12 @@
|
|||
{{#if (gt features.length 0)}}<h4 class="tooltip-sub-title">{{label}}</h4>{{/if}}
|
||||
{{#if (gt features.length 0)}}<h2 class="tooltip-title">{{label}}</h2>{{/if}}
|
||||
<div class="tooltip-tags">
|
||||
{{#each features as | feature |}}
|
||||
{{#with (ifThen ../isAction feature (ifThen feature.item feature.item feature))}}
|
||||
<div class="tooltip-tag">
|
||||
<div class="tooltip-tag-label-container">
|
||||
<div class="tooltip-tag-label">{{localize this.name}}</div>
|
||||
{{#if this.img}}<img class="tooltip-tag-image" src="{{this.img}}" />{{/if}}
|
||||
</div>
|
||||
<span class="tooltip-tag-label">{{localize this.name}}</span>
|
||||
</div>
|
||||
<div class="tooltip-tag-description">{{{localize (ifThen this.enrichedDescription this.enrichedDescription this.system.enrichedDescription)}}}</div>
|
||||
</div>
|
||||
{{/with}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue