189 lines
5.2 KiB
CSS
189 lines
5.2 KiB
CSS
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
@import "shadcn/tailwind.css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
--font-heading: var(--font-sans);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar);
|
|
--color-chart-5: var(--chart-5);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-ring: var(--ring);
|
|
--color-input: var(--input);
|
|
--color-border: var(--border);
|
|
--color-destructive: var(--destructive);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-card: var(--card);
|
|
--radius-sm: calc(var(--radius) * 0.6);
|
|
--radius-md: calc(var(--radius) * 0.8);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) * 1.4);
|
|
--radius-2xl: calc(var(--radius) * 1.8);
|
|
--radius-3xl: calc(var(--radius) * 2.2);
|
|
--radius-4xl: calc(var(--radius) * 2.6);
|
|
}
|
|
|
|
:root {
|
|
--radius: 0.625rem;
|
|
}
|
|
|
|
.dark {
|
|
--background: hsl(222 47% 5%);
|
|
--foreground: hsl(210 40% 96%);
|
|
--card: hsl(217 33% 6%);
|
|
--card-foreground: hsl(210 40% 96%);
|
|
--popover: hsl(217 33% 6%);
|
|
--popover-foreground: hsl(210 40% 96%);
|
|
--primary: hsl(217 91% 60%);
|
|
--primary-foreground: hsl(210 40% 96%);
|
|
--secondary: hsl(217 33% 12%);
|
|
--secondary-foreground: hsl(210 40% 96%);
|
|
--muted: hsl(217 33% 12%);
|
|
--muted-foreground: hsl(215 20% 55%);
|
|
--accent: hsl(217 33% 12%);
|
|
--accent-foreground: hsl(210 40% 96%);
|
|
--destructive: hsl(0 84% 60%);
|
|
--border: hsl(217 33% 17%);
|
|
--input: hsl(217 33% 17%);
|
|
--ring: hsl(217 91% 60%);
|
|
--chart-1: hsl(217 91% 60%);
|
|
--chart-2: hsl(160 60% 45%);
|
|
--chart-3: hsl(30 80% 55%);
|
|
--chart-4: hsl(280 65% 60%);
|
|
--chart-5: hsl(340 75% 55%);
|
|
--sidebar: hsl(217 33% 6%);
|
|
--sidebar-foreground: hsl(210 40% 96%);
|
|
--sidebar-primary: hsl(217 91% 60%);
|
|
--sidebar-primary-foreground: hsl(210 40% 96%);
|
|
--sidebar-accent: hsl(217 33% 12%);
|
|
--sidebar-accent-foreground: hsl(210 40% 96%);
|
|
--sidebar-border: hsl(217 33% 17%);
|
|
--sidebar-ring: hsl(217 91% 60%);
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
html {
|
|
@apply font-sans;
|
|
}
|
|
}
|
|
|
|
/* --- Visual Polish --- */
|
|
|
|
/* Dot grid background */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background-image: radial-gradient(circle, hsl(217 33% 20%) 1px, transparent 1px);
|
|
background-size: 24px 24px;
|
|
opacity: 0.3;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Subtle card gradient overlay */
|
|
.card-glow {
|
|
background: linear-gradient(135deg, hsl(217 33% 8%) 0%, hsl(222 47% 6%) 100%);
|
|
}
|
|
|
|
/* Status dot glow */
|
|
.glow-green { box-shadow: 0 0 6px 2px rgba(34, 197, 94, 0.4); }
|
|
.glow-red { box-shadow: 0 0 6px 2px rgba(239, 68, 68, 0.4); }
|
|
.glow-amber { box-shadow: 0 0 6px 2px rgba(245, 158, 11, 0.4); }
|
|
.glow-blue { box-shadow: 0 0 6px 2px rgba(59, 130, 246, 0.4); }
|
|
.glow-purple { box-shadow: 0 0 6px 2px rgba(168, 85, 247, 0.4); }
|
|
|
|
/* Pulse animation for LIVE badge */
|
|
@keyframes live-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
.animate-live-pulse {
|
|
animation: live-pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Slide-in animation for feed items */
|
|
@keyframes slide-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-8px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
.animate-slide-in {
|
|
animation: slide-in 0.3s ease-out forwards;
|
|
}
|
|
|
|
/* Shimmer animation for logo */
|
|
@keyframes shimmer {
|
|
0% { background-position: -200% center; }
|
|
100% { background-position: 200% center; }
|
|
}
|
|
.animate-shimmer {
|
|
background-size: 200% auto;
|
|
animation: shimmer 3s linear infinite;
|
|
}
|
|
|
|
/* Number transition */
|
|
.tabular-nums-transition {
|
|
font-variant-numeric: tabular-nums;
|
|
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
/* VRAM bar gradient animation */
|
|
@keyframes bar-glow {
|
|
0%, 100% { filter: brightness(1); }
|
|
50% { filter: brightness(1.2); }
|
|
}
|
|
.animate-bar-glow {
|
|
animation: bar-glow 2s ease-in-out infinite;
|
|
}
|
|
|
|
/* Card hover lift */
|
|
.card-hover-lift {
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.card-hover-lift:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
/* Active nav glow */
|
|
.nav-active-glow {
|
|
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
|
|
}
|