From e86312b1627a60146284fa596541a11a896aea27 Mon Sep 17 00:00:00 2001 From: Tissevert Date: Tue, 26 Jul 2022 19:39:06 +0200 Subject: [PATCH] Enable mode switching --- css/toolbox.css | 5 +++++ index.html | 8 +++++--- js/Main.js | 2 ++ js/Mode.js | 14 ++++++++++++++ js/Toolbox.js | 12 +++++++++--- 5 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 js/Mode.js diff --git a/css/toolbox.css b/css/toolbox.css index 7dba7f7..c04cb99 100644 --- a/css/toolbox.css +++ b/css/toolbox.css @@ -1,6 +1,11 @@ #toolbox { list-style: none; padding: 0; + display: none; +} + +#toolbox.active { + display: block; } #colors { diff --git a/index.html b/index.html index 25e078f..8a10a1f 100644 --- a/index.html +++ b/index.html @@ -7,9 +7,11 @@ - +