From 64b080641a1d818722e0053c10fe6c505a4c30f3 Mon Sep 17 00:00:00 2001 From: Yoyo Date: Tue, 27 Aug 2024 15:04:58 +1200 Subject: [PATCH] Updated buttons on Home page and its subpages --- frontend/src/ui/home/Description.module.css | 4 ++++ frontend/src/ui/home/Registeraccountform.module.css | 6 ++++++ frontend/src/ui/utils/BallManager.tsx | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/ui/home/Description.module.css b/frontend/src/ui/home/Description.module.css index 06a86ad..5132354 100644 --- a/frontend/src/ui/home/Description.module.css +++ b/frontend/src/ui/home/Description.module.css @@ -44,6 +44,10 @@ color: #FBF5F0; } +.eventsButton:hover { + background-color: #87562A; +} + .horizontalAligned { display: flex; gap: 20px; diff --git a/frontend/src/ui/home/Registeraccountform.module.css b/frontend/src/ui/home/Registeraccountform.module.css index 02eaed6..44822d6 100644 --- a/frontend/src/ui/home/Registeraccountform.module.css +++ b/frontend/src/ui/home/Registeraccountform.module.css @@ -119,6 +119,8 @@ border-radius: 25px; text-align: center; background: #DD995B; + border-color: #FFFFFF; + border-width: 0.25rem; padding: 14px 0; color: #FFFFFF; font-weight: bold; @@ -127,4 +129,8 @@ margin-top: 6px; width: 964px; max-width: 90%; +} + +.button:hover { + background-color: #87562A; } \ No newline at end of file diff --git a/frontend/src/ui/utils/BallManager.tsx b/frontend/src/ui/utils/BallManager.tsx index 9dfe1ee..212be2b 100644 --- a/frontend/src/ui/utils/BallManager.tsx +++ b/frontend/src/ui/utils/BallManager.tsx @@ -9,7 +9,7 @@ const poolBallColors = [ "#B15F4D", //orange "#3E76B4", //blue "#C5B460", //yellow - "#222629" //black + // "#222629" //black ] function generateRandomColor() {