From f158852be57917a40111db1473881841b062d2fe Mon Sep 17 00:00:00 2001 From: Jason Mishi Carvalho Date: Sat, 27 Aug 2022 01:52:04 +0530 Subject: [PATCH] Grey out skill when insufficient mana fixes #13286 (#14100) * disable spell if user doesn't have enough mana * differenciate insufficient mana and disabled spell * linting * reduce opacity, no hover state when insufficient mana * display that lvl insufficient in spell tooltip * change spell text color when spell has no effect change spell-text color to blue-500 when spell has no effect --- .../client/src/components/tasks/spells.vue | 30 +++++++++---------- 1 file changed, 14 insertions(+), 16 deletions(-) mode change 100644 => 100755 website/client/src/components/tasks/spells.vue diff --git a/website/client/src/components/tasks/spells.vue b/website/client/src/components/tasks/spells.vue old mode 100644 new mode 100755 index 8e690aee94..bcdcfff581 --- a/website/client/src/components/tasks/spells.vue +++ b/website/client/src/components/tasks/spells.vue @@ -68,7 +68,8 @@
Level {{ skill.lvl }}
-
-
-
-
{{ skill.mana }}
-
-