From cb9fe8e46485d36161f97c2624184208eedb439f Mon Sep 17 00:00:00 2001 From: kckckc Date: Tue, 19 Apr 2022 13:27:20 -0700 Subject: [PATCH 1/2] Closes #1922 --- src/client/ui/templates/spells/styles.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ui/templates/spells/styles.less b/src/client/ui/templates/spells/styles.less index a6cc44fe..9c59ab45 100644 --- a/src/client/ui/templates/spells/styles.less +++ b/src/client/ui/templates/spells/styles.less @@ -7,7 +7,6 @@ right: 10px; top: 10px; height: (@btnSize + @pad); - box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black; .spell { width: @btnSize; @@ -21,6 +20,7 @@ border: 5px solid fade(#3a3b4a, 90%); transition-property: filter; transition-duration: 0.1s; + box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black; &:first-child { margin-left: 0px; From cdc6a255b1f66010f3cfccfe15d59e6d5d9a92f8 Mon Sep 17 00:00:00 2001 From: kckckc Date: Wed, 20 Apr 2022 00:57:00 -0700 Subject: [PATCH 2/2] Use hasBorderShadow class for spells --- src/client/ui/templates/spells/styles.less | 1 - src/client/ui/templates/spells/templateSpell.html | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/ui/templates/spells/styles.less b/src/client/ui/templates/spells/styles.less index 9c59ab45..2d757538 100644 --- a/src/client/ui/templates/spells/styles.less +++ b/src/client/ui/templates/spells/styles.less @@ -20,7 +20,6 @@ border: 5px solid fade(#3a3b4a, 90%); transition-property: filter; transition-duration: 0.1s; - box-shadow: 0 -2px 0 @black, 0 2px 0 @black, 2px 0 0 @black, -2px 0 0 @black; &:first-child { margin-left: 0px; diff --git a/src/client/ui/templates/spells/templateSpell.html b/src/client/ui/templates/spells/templateSpell.html index b565f9f9..386c44b7 100644 --- a/src/client/ui/templates/spells/templateSpell.html +++ b/src/client/ui/templates/spells/templateSpell.html @@ -1,4 +1,4 @@ -
+
$HOTKEY$