style: premium redesign of dashboard header and accessibility fixes
Build Curio HMS / build-and-deploy (push) Successful in 49s
Details
Build Curio HMS / build-and-deploy (push) Successful in 49s
Details
This commit is contained in:
parent
083ea41dda
commit
f948e48b28
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -43,11 +43,12 @@
|
|||
<main class="dashboard-main">
|
||||
<header class="dash-header">
|
||||
<div class="search-bar">
|
||||
<span class="search-icon">🔍</span>
|
||||
<input type="text" id="patientSearch" placeholder="Search patients by name or WhatsApp number..." aria-label="Search patients">
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<div class="date-picker-group">
|
||||
<label for="queueDate">Select Date:</label>
|
||||
<span class="calendar-icon">📅</span>
|
||||
<input type="date" id="queueDate" class="date-input" aria-label="Queue Date">
|
||||
</div>
|
||||
<span class="badge counter-badge">Reception Counter: 1</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue