veza/apps/web/src/index.css

119 lines
3 KiB
CSS
Raw Normal View History

@import 'tailwindcss';
@import './styles/design-tokens.css';
* {
2026-01-22 16:23:11 +00:00
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.2s ease, opacity 0.2s ease;
}
2026-01-22 16:23:11 +00:00
html,
body {
2026-01-22 16:23:11 +00:00
height: 100%;
width: 100%;
2026-01-22 16:23:11 +00:00
overflow: hidden;
margin: 0;
padding: 0;
/* Use Semantic Background Variable */
background-color: rgb(var(--kodo-ink));
}
2026-01-22 16:23:11 +00:00
/* === BACKGROUND SYSTEM: "DYNAMIC NEBULA" === */
2026-01-22 16:23:11 +00:00
/* 1. Base Aurora (Large soft gradients) */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
2026-01-22 16:23:11 +00:00
width: 100vw;
height: 100vh;
pointer-events: none;
z-index: -2;
/* Use Semantic Gradient Variables */
background:
/* Top Left: Cyan Glow */
radial-gradient(circle at 10% 10%, var(--gradient-glow-cyan) 0%, transparent 45%),
/* Bottom Right: Magenta Glow */
radial-gradient(circle at 90% 90%, var(--gradient-glow-magenta) 0%, transparent 45%),
/* Center: Deep Violet Depth */
radial-gradient(circle at 50% 50%, var(--gradient-glow-violet) 0%, transparent 60%),
/* Top Center: Highlight (The Sun) */
radial-gradient(circle at 50% 0%, var(--gradient-glow-highlight) 0%, transparent 35%);
filter: blur(80px);
/* Softened due to stronger variable colors */
transition: background 0.5s ease;
}
2026-01-22 16:23:11 +00:00
/* 2. Floating Orbs (Vibrant Accents) */
body::after {
content: '';
position: fixed;
top: 20%;
right: 20%;
width: 600px;
height: 600px;
/* Use Semantic Cyan for Orb */
background: radial-gradient(circle, rgba(var(--kodo-cyan), 0.08) 0%, transparent 70%);
border-radius: 50%;
2026-01-22 16:23:11 +00:00
pointer-events: none;
z-index: -1;
animation: float-orb 20s infinite ease-in-out alternate;
}
2026-01-22 16:23:11 +00:00
@keyframes float-orb {
0% {
transform: translate(0, 0) scale(1);
}
100% {
2026-01-22 16:23:11 +00:00
transform: translate(-50px, 50px) scale(1.1);
}
}
2026-01-22 16:23:11 +00:00
#root {
height: 100%;
width: 100%;
isolation: isolate;
}
/* Scrollbars modernes */
.custom-scrollbar::-webkit-scrollbar {
2026-01-22 16:23:11 +00:00
width: 6px;
height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
2026-01-22 16:23:11 +00:00
background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
2026-01-22 16:23:11 +00:00
background: rgba(var(--kodo-slate), 0.4);
border-radius: 99px;
border: 1px solid transparent;
background-clip: content-box;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
2026-01-22 16:23:11 +00:00
background: rgba(var(--kodo-slate), 0.7);
}
2026-01-22 16:23:11 +00:00
/* === UTILITIES GLASS === */
2026-01-22 16:23:11 +00:00
/* HUD (Header/Sidebar): Semantic Transparency */
.glass-hud {
@apply backdrop-blur-2xl;
background: var(--glass-hud-bg);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
border-bottom: 1px solid rgba(var(--glass-hud-border), var(--glass-hud-border-opacity));
border-right: 1px solid rgba(var(--glass-hud-border), var(--glass-hud-border-opacity));
/* Added right border for sidebar */
transition: background 0.3s ease, border-color 0.3s ease;
}
/* Card Glass: Effet "Prisme" */
.card-glass {
background: linear-gradient(145deg, rgba(var(--kodo-text-main), 0.05) 0%, rgba(var(--kodo-text-main), 0.01) 100%);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(var(--glass-card-border), 0.1);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}