style: enhance UI aesthetics with vibrant glows, solid cards, hover lift animations, and active nav styling
This commit is contained in:
+114
-15
@@ -5,21 +5,21 @@
|
||||
Glassmorphismus & Aurora Keyframes für den Vibe 2026. */
|
||||
|
||||
:root {
|
||||
--background: 222 24% 7%;
|
||||
--background: 224 30% 6%;
|
||||
--foreground: 210 20% 92%;
|
||||
--card: 222 22% 10%;
|
||||
--card-foreground: 210 20% 92%;
|
||||
--popover: 222 24% 9%;
|
||||
--popover-foreground: 210 20% 92%;
|
||||
--primary: 172 66% 50%;
|
||||
--primary-foreground: 222 47% 8%;
|
||||
--muted: 220 14% 15%;
|
||||
--muted-foreground: 215 14% 62%;
|
||||
--accent: 220 14% 17%;
|
||||
--accent-foreground: 210 20% 92%;
|
||||
--border: 220 14% 19%;
|
||||
--input: 220 14% 19%;
|
||||
--ring: 172 66% 50%;
|
||||
--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;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
}
|
||||
|
||||
* {
|
||||
border-color: hsl(var(--border));
|
||||
border-color: hsl(var(--border) / 0.85);
|
||||
outline-color: hsl(var(--primary) / 0.5);
|
||||
}
|
||||
|
||||
@@ -111,3 +111,102 @@ body {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user