Removed actions/features from tooltips. Removed golden borders (#524)

This commit is contained in:
WBHarry 2025-08-02 22:34:00 +02:00 committed by GitHub
parent af40f9d712
commit 2e5337c5c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 2 additions and 50 deletions

View file

@ -3,6 +3,7 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
gap: 4px; gap: 4px;
border-width: 0;
.tooltip-title-container { .tooltip-title-container {
width: 100%; width: 100%;
@ -30,6 +31,7 @@
.tooltip-description { .tooltip-description {
font-style: italic; font-style: italic;
text-align: start;
} }
.tooltip-sub-title { .tooltip-sub-title {
@ -47,12 +49,6 @@
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr 1fr;
} }
&.border {
border: 1px solid light-dark(@dark-blue, @golden);
border-radius: 6px;
padding: 2px;
}
.tooltip-information { .tooltip-information {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -59,6 +59,4 @@
<div>{{item.system.motivesAndTactics}}</div> <div>{{item.system.motivesAndTactics}}</div>
</div> </div>
</div> </div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.features }}
</div> </div>

View file

@ -18,20 +18,4 @@
<div>{{item.system.baseThresholds.severe}}</div> <div>{{item.system.baseThresholds.severe}}</div>
</div> </div>
</div> </div>
{{#if (gt item.system.armorFeatures.length 0)}}<h4 class="tooltip-sub-title">{{localize "DAGGERHEART.GENERAL.features"}}</h4>{{/if}}
<div class="tooltip-tags">
{{#each item.system.armorFeatures}}
{{#with (lookup ../config.ITEM.armorFeatures this.value) as | feature | }}
<div class="tooltip-tag">
<div class="tooltip-tag-label-container">
<div class="tooltip-tag-label">{{localize feature.label}}</div>
</div>
<div class="tooltip-tag-description">{{{localize feature.description}}}</div>
</div>
{{/with}}
{{/each}}
</div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.customActions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural")}}
</div> </div>

View file

@ -2,7 +2,4 @@
<h2 class="tooltip-title">{{item.name}}</h2> <h2 class="tooltip-title">{{item.name}}</h2>
<img class="tooltip-image" src="{{item.img}}" /> <img class="tooltip-image" src="{{item.img}}" />
<div class="tooltip-description">{{{description}}}</div> <div class="tooltip-description">{{{description}}}</div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipChips.hbs" chips=item.system.advantageOn label=(localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label")}}
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.features label=(localize "DAGGERHEART.GENERAL.features")}}
</div> </div>

View file

@ -9,6 +9,4 @@
<div>{{item.system.quantity}}</div> <div>{{item.system.quantity}}</div>
</div> </div>
</div> </div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
</div> </div>

View file

@ -26,6 +26,4 @@
<div>{{item.system.recallCost}}</div> <div>{{item.system.recallCost}}</div>
</div> </div>
</div> </div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
</div> </div>

View file

@ -2,7 +2,4 @@
<h2 class="tooltip-title">{{item.name}}</h2> <h2 class="tooltip-title">{{item.name}}</h2>
<img class="tooltip-image" src="{{item.img}}" /> <img class="tooltip-image" src="{{item.img}}" />
<div class="tooltip-description">{{{description}}}</div> <div class="tooltip-description">{{{description}}}</div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.effects label=(localize "DAGGERHEART.GENERAL.Effect.plural") }}
</div> </div>

View file

@ -37,20 +37,4 @@
<div>{{{damageSymbols item.system.attack.damage.parts}}}</div> <div>{{{damageSymbols item.system.attack.damage.parts}}}</div>
</div> </div>
</div> </div>
{{#if (gt item.system.weaponFeatures.length 0)}}<h4 class="tooltip-sub-title">{{localize "DAGGERHEART.GENERAL.features"}}</h4>{{/if}}
<div class="tooltip-tags">
{{#each item.system.weaponFeatures}}
{{#with (lookup ../config.ITEM.weaponFeatures this.value) as | feature | }}
<div class="tooltip-tag">
<div class="tooltip-tag-label-container">
<div class="tooltip-tag-label">{{localize feature.label}}</div>
</div>
<div class="tooltip-tag-description">{{{localize feature.description}}}</div>
</div>
{{/with}}
{{/each}}
</div>
{{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.customActions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
</div> </div>