From 4a8102ddaa1f57f15a61d9354d9e56fd8ca4e256 Mon Sep 17 00:00:00 2001 From: dudleycu Date: Thu, 2 Sep 2021 07:30:06 +0000 Subject: [PATCH] see ess ess --- src/TestPanel.js | 4 ++-- src/style.css | 42 ++++++++++++++++++++++++++++++++---------- 2 files changed, 34 insertions(+), 12 deletions(-) diff --git a/src/TestPanel.js b/src/TestPanel.js index 31e6bd2..8d087e0 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -497,7 +497,7 @@ useEffect(()=>{

Equip

-
{setWeaponSelectWindowOpen(true)}} className="equipPaletteSlot">

Weapons

1
+

Weapons

1
{setArmorSlotSelection(1);setArmorSelectWindowOpen(true)}} className={"equipPaletteSlot"+rarityCheck(selectedArmor1)}>

Armor 1

{setArmorSlotSelection(2);setArmorSelectWindowOpen(true)}} className={"equipPaletteSlot"+rarityCheck(selectedArmor2)}>

Armor 2

{setArmorSlotSelection(3);setArmorSelectWindowOpen(true)}} className={"equipPaletteSlot"+rarityCheck(selectedArmor3)}>

Armor 3

@@ -518,7 +518,7 @@ useEffect(()=>{ <>
-
+
{setWeaponSelectWindowOpen(true)}} className={"itemDetailsIcon"+rarityCheck(selectedWeapon[WEAPON_WEAPON])}>

Edit

diff --git a/src/style.css b/src/style.css index 15cc1d4..788f85b 100644 --- a/src/style.css +++ b/src/style.css @@ -986,13 +986,13 @@ cursor:pointer !important; } /* Sig's Amazing CSS (cuz Dudley edited it) */ -.editBox:hover{ - background-color:rgba(0,0,0,0.5); - cursor:pointer !important; +.editBox:hover, .editClass:hover{ + background: linear-gradient(45deg,rgba(76,113,126,0.66),rgba(113,169,189,00.66)); + cursor:pointer; outline: 2px solid #30cdef; } .editBoxActive:hover { - cursor:pointer !important; + cursor:pointer } input#editBoxInput { position: absolute; @@ -1000,7 +1000,7 @@ input#editBoxInput { text-align: right; background-color: #101317; color: white; - cursor:pointer !important; + cursor:pointer; font-family: ngs,sans-serif; font-size: 16px; @@ -1014,11 +1014,7 @@ input#editBoxInput { display: inline-block; width: 100%; } -.editClass:hover{ - background-color:rgba(0,0,0,0.5); - cursor:pointer !important; - outline: 2px solid #30cdef; -} + .popup{ display: flex; flex-wrap: wrap; @@ -1491,6 +1487,32 @@ p.adminNav hr { .itemDetailsIcon { grid-area: icon; align-self: flex-start; + position: relative; +} +.itemDetailsIcon:hover { + cursor: pointer; + outline: 2px solid #30cdef; +} +.itemDetailsIcon > div { + display: none; + position: absolute; + height: 100%; + width: 100%; + justify-content: center; + align-content: center; + flex-direction: column; + text-align: center; + background: linear-gradient(45deg,rgba(76,113,126,0.66),rgba(113,169,189,00.66)); +} +.itemDetailsIcon > div > p { + margin: 0; + padding: 0; +} +.itemDetailsIcon:hover > div { + display: flex; +} +.itemDetailsIcon > div > p > span { + font-family: "Segoe UI Symbol"; } .itemDetailsProperties { margin: 0 0 0 10px;