From 6e1617e621e87c98fdf683c270710527f5a940d0 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Fri, 12 May 2023 23:20:00 -0400 Subject: [PATCH] Make clickable buttons appear clickable --- src/handbook/src/css/views/SideBar.scss | 8 ++++++++ src/handbook/src/css/widgets/HomeButton.scss | 5 +++++ src/handbook/src/css/widgets/ItemCard.scss | 10 ++++++++++ src/handbook/src/css/widgets/SideBarButton.scss | 1 + 4 files changed, 24 insertions(+) diff --git a/src/handbook/src/css/views/SideBar.scss b/src/handbook/src/css/views/SideBar.scss index 52c2ef5ce..5a383939a 100644 --- a/src/handbook/src/css/views/SideBar.scss +++ b/src/handbook/src/css/views/SideBar.scss @@ -20,6 +20,12 @@ max-height: 128px; text-align: center; align-self: center; + + user-select: none; +} + +.SideBar_Title:hover { + cursor: pointer; } .SideBar_Buttons { @@ -28,6 +34,8 @@ padding-left: 27px; gap: 15px; + + user-select: none; } .SideBar_Enter { diff --git a/src/handbook/src/css/widgets/HomeButton.scss b/src/handbook/src/css/widgets/HomeButton.scss index 6f05ebe07..0b85cdfa6 100644 --- a/src/handbook/src/css/widgets/HomeButton.scss +++ b/src/handbook/src/css/widgets/HomeButton.scss @@ -14,6 +14,11 @@ gap: 20px; border-radius: 10px; + user-select: none; +} + +.HomeButton:hover { + cursor: pointer; } .HomeButton_Icon { diff --git a/src/handbook/src/css/widgets/ItemCard.scss b/src/handbook/src/css/widgets/ItemCard.scss index 3578447c5..3781bf25e 100644 --- a/src/handbook/src/css/widgets/ItemCard.scss +++ b/src/handbook/src/css/widgets/ItemCard.scss @@ -111,6 +111,10 @@ background-color: var(--background-color); } +.ItemCard_Operation:hover { + cursor: pointer; +} + .ItemCard_Count { max-width: 105px; height: 48px; @@ -140,4 +144,10 @@ color: var(--text-primary-color); background-color: var(--secondary-color); + + user-select: none; +} + +.ItemCard_Submit:hover { + cursor: pointer; } diff --git a/src/handbook/src/css/widgets/SideBarButton.scss b/src/handbook/src/css/widgets/SideBarButton.scss index 805ad7513..7b43a5777 100644 --- a/src/handbook/src/css/widgets/SideBarButton.scss +++ b/src/handbook/src/css/widgets/SideBarButton.scss @@ -10,6 +10,7 @@ max-height: 64px; align-items: center; + cursor: pointer; } .SideBarButton_Icon {