From c2188b862a571100481de0d4a154e11cc88c582e Mon Sep 17 00:00:00 2001 From: Carsten Graf Date: Mon, 8 Sep 2025 22:13:45 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Fix=20inline=20style=20color=20f?= =?UTF-8?q?or=20page=20visit=20count?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed inline style color from #1e3c72 to #00d4ff - Page visit count now matches cyan accent color theme - Consistent with other statistics numbers --- public/css/admin-dashboard.css | 8 ++++---- public/js/admin-dashboard.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/css/admin-dashboard.css b/public/css/admin-dashboard.css index 9a41214..5931dfb 100644 --- a/public/css/admin-dashboard.css +++ b/public/css/admin-dashboard.css @@ -124,7 +124,7 @@ body { } .card h3 { - color: #1e3c72; + color: #00d4ff; margin-bottom: 15px; display: flex; align-items: center; @@ -421,7 +421,7 @@ body { .page-stats-content .page-count { background: #00d4ff; - color: #0a0a0f; + color: #00d4ff; padding: 4px 8px; border-radius: 12px; font-size: 0.8em; @@ -430,14 +430,14 @@ body { /* Link Statistics Styles */ .link-stats-section { - background: #f8f9fa; + background: #1a1a2f; border-radius: 8px; padding: 20px; margin-top: 20px; } .link-stats-section h3 { - color: #1e3c72; + color: #00d4ff; margin-bottom: 15px; font-size: 1.3em; } diff --git a/public/js/admin-dashboard.js b/public/js/admin-dashboard.js index 5a70d17..ddc68dc 100644 --- a/public/js/admin-dashboard.js +++ b/public/js/admin-dashboard.js @@ -140,7 +140,7 @@ function displayPageStats(containerId, stats) { const mainPageStat = stats.find(stat => stat.page === 'main_page_visit'); const count = mainPageStat ? mainPageStat.count : 0; - container.innerHTML = `
${count}
`; + container.innerHTML = `
${count}
`; } function getPageDisplayName(page) {