update dashboard ux

This commit is contained in:
root
2026-06-24 03:04:01 -04:00
parent 2739f14e45
commit 572d115003
11 changed files with 449 additions and 36 deletions
+76
View File
@@ -17,6 +17,20 @@ html.dark {
--sidebar-bg: #0a1128;
--sidebar-text: #94a3b8;
--sidebar-active: #ffffff;
--bg-elevated: rgb(255 255 255 / 0.82);
--border-accent: rgb(231 229 228 / 0.8);
--glass-bg: rgb(255 255 255 / 0.72);
--shadow-card: 0 30px 80px rgba(28, 25, 23, 0.08);
--shadow-glow: 0 0 20px rgba(249, 115, 22, 0.15);
}
html.dark {
--bg-elevated: rgb(11 25 55 / 0.78);
--border-accent: rgb(30 60 140 / 0.40);
--glass-bg: rgb(11 25 55 / 0.65);
--shadow-card: 0 30px 80px rgba(0, 0, 0, 0.36);
--shadow-glow: 0 0 20px rgba(249, 115, 22, 0.25);
}
@layer base {
@@ -41,6 +55,68 @@ html.dark body {
}
@layer components {
.glass-card {
border-color: var(--border-accent);
background-color: var(--glass-bg);
box-shadow: var(--shadow-card);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
@apply rounded-[1.75rem] border transition-colors;
}
html.dark .glass-card {
border-color: rgb(30 60 140 / 0.40);
background-color: rgb(11 25 55 / 0.65);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}
.progress-bar {
@apply h-2 w-full overflow-hidden rounded-full;
background-color: rgb(231 229 228 / 0.5);
}
html.dark .progress-bar {
background-color: rgb(30 60 140 / 0.3);
}
.progress-fill {
@apply h-full rounded-full transition-all duration-500;
}
.progress-fill.blue {
@apply bg-gradient-to-r from-blue-500 to-blue-400;
}
.progress-fill.orange {
@apply bg-gradient-to-r from-orange-500 to-orange-400;
}
html.dark .progress-fill.blue {
@apply bg-gradient-to-r from-blue-400 to-blue-300;
}
html.dark .progress-fill.orange {
@apply bg-gradient-to-r from-orange-400 to-orange-300;
}
/* Pulse glow animation for live indicators */
@keyframes pulse-glow {
0%, 100% { box-shadow: 0 0 4px rgba(249, 115, 22, 0.3); }
50% { box-shadow: 0 0 12px rgba(249, 115, 22, 0.6); }
}
.pulse-glow {
animation: pulse-glow 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
.pulse-glow,
.progress-fill {
animation: none !important;
transition: none !important;
}
}
.btn-primary {
@apply inline-flex items-center gap-2 rounded-full bg-orange-600 px-5 py-2.5 text-sm font-semibold text-white transition hover:bg-orange-700 disabled:cursor-not-allowed disabled:opacity-50 dark:bg-orange-500 dark:hover:bg-orange-400;
}