From eaac966d4ddea532fd8552becdeafad74e553043 Mon Sep 17 00:00:00 2001 From: hyperbel Date: Mon, 23 Oct 2023 15:38:18 +0000 Subject: [PATCH] basic selection of sections --- party/static/css/session.css | 104 +++++++++++++++++++++++++---------- party/templates/session.html | 51 +++++++++-------- 2 files changed, 103 insertions(+), 52 deletions(-) diff --git a/party/static/css/session.css b/party/static/css/session.css index 6dc9d0c..bde29a6 100644 --- a/party/static/css/session.css +++ b/party/static/css/session.css @@ -199,34 +199,6 @@ p { } /* Icons für die Buttons */ -.seitenbutton:nth-child(1) { - background-image: url('/static/icons/haus.png'); -} - -.seitenbutton:nth-child(2) { - background-image: url('/static/icons/calender.png'); -} - -.seitenbutton:nth-child(3) { - background-image: url('/static/icons/controller.png'); -} - -.seitenbutton:nth-child(4) { - background-image: url('/static/icons/chat.png'); -} - -.seitenbutton:nth-child(5) { - background-image: url('/static/icons/music.png'); -} - -.seitenbutton:nth-child(6) { - background-image: url('/static/icons/bottle.png'); -} - -.seitenbutton:nth-child(7) { - background-image: url('/static/icons/settings.png'); -} - /* Neuer Stil für den ausfahrbaren Kasten */ .popup { position: fixed; @@ -697,4 +669,78 @@ margin-right: auto; select{ background-color:#454443; ; -} \ No newline at end of file +} + +.nav_button + label { + cursor: pointer; + background-color: #333; + width: 70px; + height: 70px; + border-radius: 10px; + border: white 1px solid; +} + +.nav_button { + display: none; +} + +#home_button:checked ~ #home { + display: block; +} + +#planer_button:checked ~ #planer { + display: block; +} + +#games_button:checked ~ #games { + display: block; +} + +#chat_button:checked ~ #chat { + display: block; +} + +#music_button:checked ~ #music { + display: block; +} + +#mate_button:checked ~ #mate { + display: block; +} + +#settings_button:checked ~ #settings { + display: block; +} + +section { + display: none; +} + +#home_button + label { + content: url('/static/icons/haus.png'); +} + +#planer_button + label { + content: url('/static/icons/calender.png'); +} + +#games_button + label { + content: url('/static/icons/controller.png'); +} + +#chat_button + label { + content: url('/static/icons/chat.png'); +} + +#music_button + label { + content: url('/static/icons/music.png'); +} + +#mate_button + label { + content: url('/static/icons/bottle.png'); +} + +#settings_button + label { + content: url('/static/icons/settings.png'); +} + diff --git a/party/templates/session.html b/party/templates/session.html index 09bd138..2c7b912 100644 --- a/party/templates/session.html +++ b/party/templates/session.html @@ -36,26 +36,31 @@
-
-
-
-
-
-
-
-
-
+ +
+ +
+ +
+ +
+ +
+ +
+ +
-
+

Home

Willkommen zur diesjährigen 24-stündigen LAN-Party! Wir haben ein spannendes Line-up mit Spiel 1, Spiel 2 und Spiel 3 vorbereitet. Lasst uns gemeinsam unvergessliche Gaming-Momente schaffen! Möge die Party beginnen, und möge die Beste Person gewinnen!

-
+ -
+

Planer

@@ -81,10 +86,10 @@ min="2023-12-31T00:00" max="2024-01-01T18:00" required> - + -
+

Games

@@ -147,10 +152,10 @@
- + -
+

Chat

@@ -160,18 +165,18 @@
-
+ -
+

Musik

-
+ -
+

Mate

@@ -179,10 +184,10 @@ - + -
+

Einstellungen