Files
mission-control-v2/frontend/src/index.css
T

235 lines
6.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import "tailwindcss";
/* Design-System: EINE Akzentfarbe Teal. Dark als Default.
Glassmorphismus & Aurora Keyframes für den Vibe 2026. */
:root {
--background: 224 30% 6%;
--foreground: 210 20% 92%;
--card: 224 25% 10%;
--card-foreground: 210 20% 94%;
--popover: 224 28% 9%;
--popover-foreground: 210 20% 94%;
--primary: 172 72% 50%;
--primary-foreground: 224 47% 8%;
--muted: 220 16% 14%;
--muted-foreground: 215 14% 64%;
--accent: 220 16% 16%;
--accent-foreground: 210 20% 94%;
--border: 222 18% 23%;
--input: 222 18% 23%;
--ring: 172 72% 50%;
--radius: 0.75rem;
}
.light {
--background: 0 0% 100%;
--foreground: 222 22% 12%;
--card: 0 0% 100%;
--card-foreground: 222 22% 12%;
--popover: 0 0% 100%;
--popover-foreground: 222 22% 12%;
--primary: 172 70% 38%;
--primary-foreground: 0 0% 100%;
--muted: 220 14% 95%;
--muted-foreground: 220 9% 42%;
--accent: 220 14% 94%;
--accent-foreground: 222 22% 12%;
--border: 220 13% 88%;
--input: 220 13% 88%;
--ring: 172 66% 50%;
}
@theme inline {
--color-background: hsl(var(--background));
--color-foreground: hsl(var(--foreground));
--color-card: hsl(var(--card));
--color-card-foreground: hsl(var(--card-foreground));
--color-popover: hsl(var(--popover));
--color-popover-foreground: hsl(var(--popover-foreground));
--color-primary: hsl(var(--primary));
--color-primary-foreground: hsl(var(--primary-foreground));
--color-muted: hsl(var(--muted));
--color-muted-foreground: hsl(var(--muted-foreground));
--color-accent: hsl(var(--accent));
--color-accent-foreground: hsl(var(--accent-foreground));
--color-border: hsl(var(--border));
--color-input: hsl(var(--input));
--color-ring: hsl(var(--ring));
--radius-lg: var(--radius);
--radius-md: calc(var(--radius) - 2px);
--radius-sm: calc(var(--radius) - 4px);
--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
--font-space: "Space Grotesk", sans-serif;
}
@keyframes aurora {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.animate-aurora {
background-size: 200% 200%;
animation: aurora 25s ease infinite;
}
/* Custom Scrollbars im Glassmorphismus-Design */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: hsl(var(--border));
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--primary) / 0.4);
}
* {
border-color: hsl(var(--border) / 0.85);
outline-color: hsl(var(--primary) / 0.5);
}
html,
body,
#root {
height: 100%;
overflow: hidden;
}
body {
margin: 0;
background-color: hsl(var(--background));
color: hsl(var(--foreground));
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
}
/* ==========================================================================
Model Control HUD 3.0 & Rework Visual Enhancements (Vibrant & Structured)
========================================================================== */
/* SVG Bezier Flow Animation */
@keyframes flow-cyan {
0% {
stroke-dasharray: 6 3;
stroke-dashoffset: 18;
}
100% {
stroke-dasharray: 6 3;
stroke-dashoffset: 0;
}
}
.animate-flow-cyan {
animation: flow-cyan 1.2s linear infinite;
}
/* Base enhancement for major cards to make them clearly visible and pop out */
.rounded-2xl.border.bg-card\/45 {
background-color: hsl(var(--card) / 0.85) !important;
border-color: hsl(var(--border) / 0.95) !important;
box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.05) !important;
position: relative;
overflow: hidden;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* Gorgeous gradient top accent line to all main cards to inject color and structure */
.rounded-2xl.border.bg-card\/45::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3.5px;
background: linear-gradient(90deg, hsl(var(--primary)), #6366f1, #a855f7);
opacity: 0.75;
transition: opacity 0.3s ease !important;
}
/* Smooth hover lifting effect */
.rounded-2xl.border.bg-card\/45:hover {
transform: translateY(-3px);
background-color: hsl(var(--card) / 0.92) !important;
border-color: hsl(var(--primary) / 0.35) !important;
box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.65), 0 0 18px 2px hsl(var(--primary) / 0.05) !important;
}
.rounded-2xl.border.bg-card\/45:hover::before {
opacity: 1;
}
/* Enhancements for smaller cards / lists */
.rounded-xl.border.bg-card\/45 {
background-color: hsl(var(--card) / 0.88) !important;
border-color: hsl(var(--border) / 0.9) !important;
transition: all 0.2s ease !important;
}
.rounded-xl.border.bg-card\/45:hover {
background-color: hsl(var(--card) / 0.95) !important;
border-color: hsl(var(--primary) / 0.3) !important;
}
/* Sidebar active link styling */
aside nav button[class*="bg-primary/15"]:not([class*="justify-center"]) {
background: linear-gradient(90deg, hsl(var(--primary) / 0.18), rgba(99, 102, 241, 0.12)) !important;
color: hsl(var(--primary)) !important;
border-left: 3.5px solid hsl(var(--primary)) !important;
border-radius: 0 var(--radius) var(--radius) 0 !important;
padding-left: calc(0.75rem - 3.5px) !important;
box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.02) !important;
}
aside nav button[class*="bg-primary/15"][class*="justify-center"] {
background: hsl(var(--primary) / 0.18) !important;
color: hsl(var(--primary)) !important;
box-shadow: 0 0 12px 1px hsl(var(--primary) / 0.1) !important;
border: 1px solid hsl(var(--primary) / 0.3) !important;
}
/* Colorful scrollbars */
::-webkit-scrollbar-thumb {
background: hsl(var(--primary) / 0.25) !important;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: hsl(var(--primary) / 0.5) !important;
}
/* Dynamic input focus styling */
input:focus, textarea:focus, select:focus {
border-color: hsl(var(--primary)) !important;
box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15) !important;
outline: none;
}
/* WQHD & 4K Monitor Responsive Scaling (Fluid Typography & UI Scaling) */
@media (min-width: 1440px) {
html {
font-size: 16.5px;
}
}
@media (min-width: 1920px) {
html {
font-size: 17.5px;
}
}
@media (min-width: 2560px) {
html {
font-size: 19px;
}
}
@media (min-width: 3440px) {
html {
font-size: 20px;
}
}