From 928273a836da4ec39c93f1966aa985d2e897365b Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Tue, 25 Jan 2022 23:25:18 -0800 Subject: [PATCH] Adjust hover transforms It was too aggressive --- components/CharacterUnit/index.scss | 2 +- components/SummonUnit/index.scss | 7 ++++++- components/WeaponUnit/index.scss | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/components/CharacterUnit/index.scss b/components/CharacterUnit/index.scss index 45aa6f99..4cab997f 100644 --- a/components/CharacterUnit/index.scss +++ b/components/CharacterUnit/index.scss @@ -22,7 +22,7 @@ border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 14px; cursor: pointer; - transform: scale(1.1, 1.1); + transform: scale(1.025, 1.025); } .CharacterUnit.filled h3 { diff --git a/components/SummonUnit/index.scss b/components/SummonUnit/index.scss index 614b482e..d7e87d3a 100644 --- a/components/SummonUnit/index.scss +++ b/components/SummonUnit/index.scss @@ -33,7 +33,12 @@ border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 14px; cursor: pointer; - transform: scale(1.1, 1.1); + transform: scale(1.05, 1.05); + } + + &.main.editable .SummonImage:hover, + &.friend.editable .SummonImage:hover { + transform: scale(1.025, 1.025); } &.filled h3 { diff --git a/components/WeaponUnit/index.scss b/components/WeaponUnit/index.scss index 10d9818d..34c5ae00 100644 --- a/components/WeaponUnit/index.scss +++ b/components/WeaponUnit/index.scss @@ -20,7 +20,11 @@ border: 1px solid rgba(0, 0, 0, 0.1); box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 14px; cursor: pointer; - transform: scale(1.1, 1.1); + transform: scale(1.05, 1.05); +} + +.WeaponUnit.mainhand.editable .WeaponImage:hover { + transform: scale(1.025, 1.025); } .WeaponUnit.filled h3 {