199 - Tooltips (#311)

* Set up templates for all 'advanced' tooltips

* Fixed ItemFeature Header label

* Fixed less import
This commit is contained in:
WBHarry 2025-07-11 22:26:56 +02:00 committed by GitHub
parent 72436478c1
commit b6195127fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 505 additions and 54 deletions

View file

@ -0,0 +1,12 @@
{{#if (gt features.length 0)}}<h4 class="tooltip-sub-title">{{label}}</h4>{{/if}}
<div class="tooltip-tags">
{{#each features as | feature |}}
<div class="tooltip-tag">
<div class="tooltip-tag-label-container">
<div class="tooltip-tag-label">{{localize feature.name}}</div>
{{#if feature.img}}<img class="tooltip-tag-image" src="{{feature.img}}" />{{/if}}
</div>
<div class="tooltip-tag-description">{{{localize (tertiary feature.description feature.system.description)}}}</div>
</div>
{{/each}}
</div>