From 664af110a84fe7c610a766b138c19222c6d92e21 Mon Sep 17 00:00:00 2001 From: vibe-bot Date: Sat, 9 Aug 2025 00:41:13 +0200 Subject: [PATCH] =?UTF-8?q?Header:=20Neues=20Google=20Stitch=20Design=20im?= =?UTF-8?q?plementiert=20-=20horizontales=20Layout=20mit=20Z=C3=A4hlern=20?= =?UTF-8?q?und=20Buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/App.tsx | 35 ++++++++++++++++++++-------------- web/src/styles.css | 47 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 60 insertions(+), 22 deletions(-) diff --git a/web/src/App.tsx b/web/src/App.tsx index fb9b03e..8019047 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -145,21 +145,28 @@ export default function App() { return (
-
-
-

Soundboard Profis

-

{clock}

-
-
-
- Geladene Sounds - {total} - Gesamt abgespielt: {totalPlays} +
+
+
+

Soundboard Profis

+

{clock}

+
+
+
+
+

Geladene Sounds

+

{total}

+
+
+

Insgesamt abgespielt

+

{totalPlays}

+
+
+ +
- -
diff --git a/web/src/styles.css b/web/src/styles.css index 181fd39..29d9e82 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -108,15 +108,46 @@ body { [data-theme="dark"] .gradient-text { background: -webkit-linear-gradient(45deg,#e0e0e0,#a0a0a0); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent } .container { width: 90vw; max-width: 1800px; margin: 0 auto; padding: 28px; } -header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; } -.header-row { - display: flex; - align-items: center; - justify-content: space-between; - gap: 12px; + +/* Neuer Header-Style basierend auf Google Stitch Design */ +header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 24px; + margin-bottom: 18px; + background: rgba(255, 255, 255, 0.05); + border-radius: 16px; + backdrop-filter: blur(10px); + border: 1px solid rgba(255, 255, 255, 0.1); +} + +/* Light Theme Header */ +[data-theme="light"] header { + background: rgba(255, 255, 255, 0.8); + border: 1px solid rgba(0, 0, 0, 0.1); + color: #1d1d1f; +} + +/* Rainbow Theme Header */ +[data-theme="rainbow"] header { + background: rgba(30, 30, 30, 0.6); + border: 1px solid rgba(255, 255, 255, 0.2); + backdrop-filter: blur(15px); +} +/* Header-Titel und Uhrzeit */ +header h1 { + margin: 0; + font-weight: 800; + letter-spacing: .3px; + color: inherit; +} + +header p { + margin: 0; + opacity: .9; + color: inherit; } -header h1 { margin: 0; font-weight: 800; letter-spacing: .3px; } -header p { opacity: .8; } .clock { font-size: 48px; font-weight: 800;