summaryrefslogtreecommitdiff
path: root/webGUI/main.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'webGUI/main.mjs')
-rw-r--r--webGUI/main.mjs14
1 files changed, 13 insertions, 1 deletions
diff --git a/webGUI/main.mjs b/webGUI/main.mjs
index c7464e5..7e48f65 100644
--- a/webGUI/main.mjs
+++ b/webGUI/main.mjs
@@ -1 +1,13 @@
1let modes = ["STATS", ""] \ No newline at end of file 1document.addEventListener("DOMContentLoaded", () => {
2 const buttons = document.querySelectorAll(".controls a");
3
4 buttons.forEach((button) => {
5 button.addEventListener("mouseover", () => {
6 button.style.boxShadow = "0px 6px 12px rgba(255, 255, 255, 0.5)";
7 });
8
9 button.addEventListener("mouseout", () => {
10 button.style.boxShadow = "0px 4px 8px rgba(0, 0, 0, 0.4)";
11 });
12 });
13});