From 2e5337c5c53e6b0296e79d71b30e15c6465ec3d7 Mon Sep 17 00:00:00 2001
From: WBHarry <89362246+WBHarry@users.noreply.github.com>
Date: Sat, 2 Aug 2025 22:34:00 +0200
Subject: [PATCH] Removed actions/features from tooltips. Removed golden
borders (#524)
---
styles/less/ux/tooltip/tooltip.less | 8 ++------
templates/ui/tooltip/adversary.hbs | 2 --
templates/ui/tooltip/armor.hbs | 16 ----------------
templates/ui/tooltip/beastform.hbs | 3 ---
templates/ui/tooltip/consumable.hbs | 2 --
templates/ui/tooltip/domainCard.hbs | 2 --
templates/ui/tooltip/feature.hbs | 3 ---
templates/ui/tooltip/weapon.hbs | 16 ----------------
8 files changed, 2 insertions(+), 50 deletions(-)
diff --git a/styles/less/ux/tooltip/tooltip.less b/styles/less/ux/tooltip/tooltip.less
index e6b660a5..44f8ce1a 100644
--- a/styles/less/ux/tooltip/tooltip.less
+++ b/styles/less/ux/tooltip/tooltip.less
@@ -3,6 +3,7 @@
flex-direction: column;
align-items: center;
gap: 4px;
+ border-width: 0;
.tooltip-title-container {
width: 100%;
@@ -30,6 +31,7 @@
.tooltip-description {
font-style: italic;
+ text-align: start;
}
.tooltip-sub-title {
@@ -47,12 +49,6 @@
grid-template-columns: 1fr 1fr 1fr;
}
- &.border {
- border: 1px solid light-dark(@dark-blue, @golden);
- border-radius: 6px;
- padding: 2px;
- }
-
.tooltip-information {
display: flex;
flex-direction: column;
diff --git a/templates/ui/tooltip/adversary.hbs b/templates/ui/tooltip/adversary.hbs
index cb8a9bc0..b400bd29 100644
--- a/templates/ui/tooltip/adversary.hbs
+++ b/templates/ui/tooltip/adversary.hbs
@@ -59,6 +59,4 @@
{{item.system.motivesAndTactics}}
-
- {{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.features }}
\ No newline at end of file
diff --git a/templates/ui/tooltip/armor.hbs b/templates/ui/tooltip/armor.hbs
index 8163feff..b2e07970 100644
--- a/templates/ui/tooltip/armor.hbs
+++ b/templates/ui/tooltip/armor.hbs
@@ -18,20 +18,4 @@
{{item.system.baseThresholds.severe}}
-
- {{#if (gt item.system.armorFeatures.length 0)}}{{/if}}
-
-
- {{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.customActions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural")}}
\ No newline at end of file
diff --git a/templates/ui/tooltip/beastform.hbs b/templates/ui/tooltip/beastform.hbs
index 3afc0c84..fb07d895 100644
--- a/templates/ui/tooltip/beastform.hbs
+++ b/templates/ui/tooltip/beastform.hbs
@@ -2,7 +2,4 @@
{{{description}}}
-
- {{> "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")}}
\ No newline at end of file
diff --git a/templates/ui/tooltip/consumable.hbs b/templates/ui/tooltip/consumable.hbs
index e51ec255..d39cdfa6 100644
--- a/templates/ui/tooltip/consumable.hbs
+++ b/templates/ui/tooltip/consumable.hbs
@@ -9,6 +9,4 @@
{{item.system.quantity}}
-
- {{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
\ No newline at end of file
diff --git a/templates/ui/tooltip/domainCard.hbs b/templates/ui/tooltip/domainCard.hbs
index fabc1671..c209f29d 100644
--- a/templates/ui/tooltip/domainCard.hbs
+++ b/templates/ui/tooltip/domainCard.hbs
@@ -26,6 +26,4 @@
{{item.system.recallCost}}
-
- {{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.actions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
\ No newline at end of file
diff --git a/templates/ui/tooltip/feature.hbs b/templates/ui/tooltip/feature.hbs
index 3e8867c1..fb07d895 100644
--- a/templates/ui/tooltip/feature.hbs
+++ b/templates/ui/tooltip/feature.hbs
@@ -2,7 +2,4 @@
{{{description}}}
-
- {{> "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") }}
\ No newline at end of file
diff --git a/templates/ui/tooltip/weapon.hbs b/templates/ui/tooltip/weapon.hbs
index a8fe9c46..bf414e5c 100644
--- a/templates/ui/tooltip/weapon.hbs
+++ b/templates/ui/tooltip/weapon.hbs
@@ -37,20 +37,4 @@
{{{damageSymbols item.system.attack.damage.parts}}}
-
- {{#if (gt item.system.weaponFeatures.length 0)}}{{/if}}
-
-
- {{> "systems/daggerheart/templates/ui/tooltip/parts/tooltipTags.hbs" features=item.system.customActions isAction=true label=(localize "DAGGERHEART.GENERAL.Action.plural") }}
\ No newline at end of file