From 726911b54ceffb9945d019697d06ac25cf6d37a2 Mon Sep 17 00:00:00 2001 From: Abel Date: Wed, 8 May 2024 21:07:16 +0200 Subject: [PATCH] HOTFIX: Minor style changes to improve usability --- webapp/src/components/FirstGame.js | 2 +- webapp/src/components/game/Calculator.js | 2 +- webapp/src/components/nav/Nav.js | 4 ++-- webapp/src/index.css | 6 +++++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/webapp/src/components/FirstGame.js b/webapp/src/components/FirstGame.js index 32b04ffd..b8057854 100644 --- a/webapp/src/components/FirstGame.js +++ b/webapp/src/components/FirstGame.js @@ -12,7 +12,7 @@ let haveFailedQuestion = false; let isCorrect = false let load = true; -const previousBackgroundColor = '#1a1a1a' +const previousBackgroundColor = '#3b3b3b' // let points = 0; const Quiz = () => { diff --git a/webapp/src/components/game/Calculator.js b/webapp/src/components/game/Calculator.js index 8c6afbb0..419205d3 100644 --- a/webapp/src/components/game/Calculator.js +++ b/webapp/src/components/game/Calculator.js @@ -8,7 +8,7 @@ import { useLocation, useNavigate } from 'react-router-dom'; let load = true; -const previousBackgroundColor = '#1a1a1a'; +const previousBackgroundColor = '#3b3b3b'; // let questions = [] // let answeredQuestions = [] diff --git a/webapp/src/components/nav/Nav.js b/webapp/src/components/nav/Nav.js index d79b70fa..8dc67928 100644 --- a/webapp/src/components/nav/Nav.js +++ b/webapp/src/components/nav/Nav.js @@ -41,12 +41,12 @@ export const Nav = () => { - + - + diff --git a/webapp/src/index.css b/webapp/src/index.css index df1d373f..ea12400b 100644 --- a/webapp/src/index.css +++ b/webapp/src/index.css @@ -51,7 +51,7 @@ code { } .inner{ - background-color: #1a1a1a; + background-color: #3b3b3b; color: #F0F0F0; transition: all .2s; border-radius: 1em; @@ -88,6 +88,10 @@ input, label{ padding: 1em 4.25em; } +#history main .inner, #storeQuestion main .inner{ + background-color: #1a1a1a; +} + main input:-internal-autofill-selected{ box-shadow: none; -webkit-box-shadow: 0 0 0px 1000px rgba(0,0,0,0) inset;