From 84ce6efb2d8f1d320020d47f5fba611421fbdb03 Mon Sep 17 00:00:00 2001 From: kyle Date: Sun, 15 Feb 2026 19:59:26 +0100 Subject: [PATCH] fix: reduce clock and site header visual weight for better information hierarchy Co-Authored-By: Claude Opus 4.6 --- public/css/components.css | 69 +++++++++++---------------------------- 1 file changed, 19 insertions(+), 50 deletions(-) diff --git a/public/css/components.css b/public/css/components.css index 846e865..9e948d5 100644 --- a/public/css/components.css +++ b/public/css/components.css @@ -1,57 +1,25 @@ -/* Clock styles - Modern entryway kiosk design with blue glow - Ribbon banner */ +/* Clock styles - Subtle header clock */ .clock-container { - background: linear-gradient(135deg, #003366 0%, #004080 50%, #0059b3 100%); - color: var(--color-surface); - padding: 8px 20px; - border-radius: 8px; + background: linear-gradient(135deg, #003366 0%, #004d80 100%); + color: white; + padding: 6px 20px; + border-radius: 4px; margin-bottom: 8px; text-align: center; - box-shadow: 0 0 20px rgba(0, 89, 179, 0.6), - 0 0 40px rgba(0, 89, 179, 0.4), - 0 4px 12px rgba(0, 0, 0, 0.15), - inset 0 1px 0 rgba(255, 255, 255, 0.3); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); position: relative; overflow: hidden; - backdrop-filter: blur(10px); - transition: box-shadow 0.3s ease; - border: 2px solid rgba(255, 255, 255, 0.2); display: flex; align-items: center; justify-content: center; gap: 15px; -} - -.clock-container::before { - content: ''; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.1) 100%); - pointer-events: none; -} - -.clock-container:hover { - box-shadow: 0 0 30px rgba(0, 89, 179, 0.8), - 0 0 60px rgba(0, 89, 179, 0.5), - 0 4px 12px rgba(0, 0, 0, 0.15), - inset 0 1px 0 rgba(255, 255, 255, 0.3); + border: 1px solid rgba(255, 255, 255, 0.1); + transition: box-shadow 0.3s ease; } body.dark-mode .clock-container { - background: linear-gradient(135deg, #001a33 0%, #002d5c 50%, #004080 100%); - box-shadow: 0 0 25px rgba(0, 89, 179, 0.7), - 0 0 50px rgba(0, 89, 179, 0.4), - 0 4px 12px rgba(0, 0, 0, 0.3), - inset 0 1px 0 rgba(255, 255, 255, 0.2); -} - -body.dark-mode .clock-container:hover { - box-shadow: 0 0 35px rgba(0, 89, 179, 0.9), - 0 0 70px rgba(0, 89, 179, 0.6), - 0 4px 12px rgba(0, 0, 0, 0.3), - inset 0 1px 0 rgba(255, 255, 255, 0.2); + background: linear-gradient(135deg, #001a33 0%, #002d5c 100%); + box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4); } /* Configuration button styles */ @@ -1090,15 +1058,16 @@ body.landscape .site-header { body.landscape .site-name { display: block; - background: linear-gradient(135deg, #0061a1 0%, #003d66 100%); - color: #fff; - font-weight: 700; + background: rgba(0, 97, 161, 0.3); + color: var(--color-text-secondary); + font-weight: 600; text-transform: uppercase; - letter-spacing: 1px; - padding: 6px 16px; - border-radius: 4px; - box-shadow: 0 2px 8px rgba(0, 97, 161, 0.4); - font-size: 0.85em; + letter-spacing: 2px; + padding: 4px 16px; + border-radius: 2px; + box-shadow: none; + font-size: 0.8em; + border-left: 3px solid var(--color-primary-light); } /* Compact weather bar - hidden by default, shown in landscape */