From f948e48b28c40d844136992a571c700fc280f23f Mon Sep 17 00:00:00 2001 From: Deep Koluguri Date: Fri, 15 May 2026 16:25:41 -0400 Subject: [PATCH] style: premium redesign of dashboard header and accessibility fixes --- dashboard.css | 53 ++++++++++++++++++++++++++++++++------------------ dashboard.html | 3 ++- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/dashboard.css b/dashboard.css index 065f621..7b0dfab 100644 --- a/dashboard.css +++ b/dashboard.css @@ -42,30 +42,42 @@ flex: 1; max-width: 600px; position: relative; + display: flex; + align-items: center; +} + +.search-icon { + position: absolute; + left: 1.25rem; + color: var(--text-muted); + font-size: 1.1rem; + pointer-events: none; + z-index: 1; } .search-bar input { width: 100%; - padding: 1rem 1.5rem; - border-radius: var(--radius-md); + padding: 1rem 1.5rem 1rem 3rem; + border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font-size: 0.95rem; - transition: var(--transition); - box-shadow: var(--shadow-sm); + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); } .search-bar input:focus { outline: none; border-color: var(--secondary); - box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05); - transform: translateY(-1px); + background: white; + box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1); + transform: translateY(-2px); } .header-actions { display: flex; align-items: center; - gap: 1.5rem; + gap: 1.25rem; } .date-picker-group { @@ -73,19 +85,30 @@ align-items: center; gap: 0.75rem; background: var(--surface); - padding: 0.5rem 1rem; - border-radius: var(--radius-md); + padding: 0.65rem 1.25rem; + border-radius: 14px; border: 1px solid var(--border); - box-shadow: var(--shadow-sm); + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); + transition: all 0.2s; +} + +.date-picker-group:hover { + border-color: var(--secondary); + transform: translateY(-1px); +} + +.calendar-icon { + font-size: 1.1rem; } .date-input { border: none; - font-family: inherit; + font-family: 'Inter', sans-serif; font-weight: 600; color: var(--text-main); outline: none; background: transparent; + cursor: pointer; } .logo { display: flex; @@ -118,14 +141,6 @@ box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); } -.logo-text { - font-size: 1.5rem; - font-weight: 700; - color: white !important; - font-family: 'Outfit', sans-serif; - letter-spacing: -0.02em; -} - .side-nav { display: flex; flex-direction: column; diff --git a/dashboard.html b/dashboard.html index 5e9b8e7..8f9fa5e 100644 --- a/dashboard.html +++ b/dashboard.html @@ -43,11 +43,12 @@
- + 📅
Reception Counter: 1