From 450dc0f73affbf61a2c8d809556f821c137636cc Mon Sep 17 00:00:00 2001 From: Carsten Graf Date: Mon, 8 Sep 2025 21:56:27 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20white=20page-stats-section?= =?UTF-8?q?=20in=20admin-dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Updated .page-stats-section background to dark theme - Changed text colors to white for better contrast - Updated border colors to match dark theme - Changed page-count badges to cyan accent color - Fixed 'Hauptseiten besucher' section to match overall dark design --- public/css/admin-dashboard.css | 25 +++++++++++++------------ public/css/adminlogin.css | 2 +- public/css/generator.css | 2 +- 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/public/css/admin-dashboard.css b/public/css/admin-dashboard.css index cced9df..2d765e3 100644 --- a/public/css/admin-dashboard.css +++ b/public/css/admin-dashboard.css @@ -11,7 +11,7 @@ body { background: #0a0a0f; color: #ffffff; min-height: 100vh; - background-image: + background-image: radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%), radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%), radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%); @@ -336,11 +336,11 @@ body { margin: 5% auto; width: 95%; } - + .page-stats-grid { grid-template-columns: 1fr; } - + .link-stats-grid { grid-template-columns: repeat(2, 1fr); } @@ -348,15 +348,16 @@ body { /* Page Statistics Styles */ .page-stats-section { - background: white; + background: rgba(26, 26, 46, 0.95); border-radius: 10px; padding: 25px; margin: 20px 0; - box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); + border: 1px solid rgba(255, 255, 255, 0.1); } .page-stats-section h2 { - color: #1e3c72; + color: #ffffff; margin-bottom: 20px; font-size: 1.5em; } @@ -391,7 +392,7 @@ body { justify-content: space-between; align-items: center; padding: 8px 0; - border-bottom: 1px solid #e9ecef; + border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .page-stats-content .page-item:last-child { @@ -400,12 +401,12 @@ body { .page-stats-content .page-name { font-weight: 500; - color: #495057; + color: #ffffff; } .page-stats-content .page-count { - background: #1e3c72; - color: white; + background: #00d4ff; + color: #0a0a0f; padding: 4px 8px; border-radius: 12px; font-size: 0.8em; @@ -529,10 +530,10 @@ body { text-align: center; gap: 1.5rem; } - + .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.5rem; } -} +} \ No newline at end of file diff --git a/public/css/adminlogin.css b/public/css/adminlogin.css index cbc57cf..06938c2 100644 --- a/public/css/adminlogin.css +++ b/public/css/adminlogin.css @@ -23,7 +23,7 @@ body { align-items: center; justify-content: center; padding: 20px; - background-image: + background-image: radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%), radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%), radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%); diff --git a/public/css/generator.css b/public/css/generator.css index 08e5586..d0082b1 100644 --- a/public/css/generator.css +++ b/public/css/generator.css @@ -23,7 +23,7 @@ body { align-items: center; justify-content: center; padding: 20px; - background-image: + background-image: radial-gradient(circle at 20% 80%, #1a1a2e 0%, transparent 50%), radial-gradient(circle at 80% 20%, #16213e 0%, transparent 50%), radial-gradient(circle at 40% 40%, #0f3460 0%, transparent 50%);