Files
webb/src/app/globals.css
T

93 lines
2.1 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--color-primary: #2563EB;
--color-primary-hover: #1D4ED8;
--color-primary-light: #EFF6FF;
--color-primary-dark: #1E40AF;
--color-accent: #06B6D4;
--color-accent-hover: #0891B2;
--color-accent-light: #ECFEFF;
--color-surface: #FFFFFF;
--color-surface-subtle: #F8FAFC;
--color-surface-dark: #030712;
--color-surface-dark-subtle: #0B0F19;
--theme-radius: 18px;
--theme-max-width: 1360px;
}
.dark {
--color-surface: #030712;
--color-surface-subtle: #0B0F19;
}
body {
color: #0F172A;
background-color: #FAFAFC;
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
overflow-x: hidden;
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.dark body {
color: #F1F5F9;
background-color: #030712;
}
h1, h2, h3, h4, .font-display {
font-family: var(--font-display), var(--font-sans), sans-serif;
letter-spacing: -0.025em;
}
}
/* Glassmorphism & High-tech Panel Helpers */
.glass-panel {
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(226, 232, 240, 0.8);
}
.dark .glass-panel {
background: rgba(11, 15, 25, 0.75);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border: 1px solid rgba(30, 41, 59, 0.7);
}
/* Subtle Shimmer Effect for Buttons & Badges */
.shimmer-badge {
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.25) 50%,
rgba(255, 255, 255, 0) 100%
);
background-size: 200% 100%;
animation: shimmer 3s infinite;
}
/* Modern Minimalist Scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #CBD5E1;
border-radius: 9999px;
}
.dark ::-webkit-scrollbar-thumb {
background: #1E293B;
}
::-webkit-scrollbar-thumb:hover {
background: #94A3B8;
}