Initial commit: Digital Home dashboard

This commit is contained in:
Cosmo
2026-04-15 20:31:28 +00:00
commit c5c4603903
33 changed files with 1384 additions and 0 deletions

85
src/app/globals.css Normal file
View File

@@ -0,0 +1,85 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 224 71% 4%;
--foreground: 213 31% 91%;
--card: 224 71% 4%;
--card-foreground: 213 31% 91%;
--border: 216 34% 17%;
--input: 216 34% 17%;
--primary: 210 40% 98%;
--primary-foreground: 222.2 47.4% 1.2%;
--secondary: 222.2 47.4% 11.2%;
--secondary-foreground: 210 40% 98%;
--muted: 223 47% 11%;
--muted-foreground: 215.4 16.3% 56.9%;
--accent: 216 34% 17%;
--accent-foreground: 210 40% 98%;
--destructive: 0 63% 31%;
--destructive-foreground: 210 40% 98%;
--ring: 216 34% 17%;
--radius: 0.5rem;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
background: radial-gradient(ellipse at top left, rgba(99,102,241,0.08) 0%, transparent 50%),
radial-gradient(ellipse at bottom right, rgba(139,92,246,0.05) 0%, transparent 50%),
hsl(224, 71%, 4%);
min-height: 100vh;
}
}
.glass-card {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(16px);
border: 1px solid rgba(99, 102, 241, 0.15);
border-radius: 12px;
}
.glass-card:hover {
border-color: rgba(99, 102, 241, 0.3);
transition: border-color 0.2s ease;
}
.sidebar {
background: rgba(10, 17, 32, 0.85);
backdrop-filter: blur(20px);
border-right: 1px solid rgba(99, 102, 241, 0.12);
}
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: rgba(15, 23, 42, 0.3);
}
::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.3);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.5);
}
.status-online {
@apply bg-green-500;
box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}
.status-offline {
@apply bg-red-500;
box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
}
.status-checking {
@apply bg-yellow-500;
}