Files
GMW/services/frontend/src/styles.css
T

127 lines
2.9 KiB
CSS
Raw Normal View History

@import "tailwindcss";
@config "../tailwind.config.js";
@layer base {
:root {
--background: 1 0 0;
--foreground: 0.141 0.005 285.823;
--card: 1 0 0;
--card-foreground: 0.141 0.005 285.823;
--primary: 0.623 0.214 259.815;
--primary-soft: 0.92 0.04 259.815;
--primary-foreground: 0.97 0.014 254.604;
--secondary: 0.967 0.001 286.375;
--secondary-foreground: 0.21 0.006 285.885;
--muted: 0.967 0.001 286.375;
--muted-foreground: 0.552 0.016 285.938;
--accent: 0.967 0.001 286.375;
--accent-foreground: 0.21 0.006 285.885;
--destructive: 0.577 0.245 27.325;
--destructive-foreground: 0.97 0.014 254.604;
--border: 0.92 0.004 286.32;
--input: 0.92 0.004 286.32;
--ring: 0.623 0.214 259.815;
--radius: 1rem;
--primary-glow: 0.623 0.214 259.815 / 0.15;
--accent-glow: 0.552 0.016 285.938 / 0.15;
--card-shadow: 0.92 0.004 286.32 / 0.3;
}
* {
border-color: oklch(var(--border));
}
body {
background-color: oklch(var(--background));
color: oklch(var(--foreground));
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html,
body,
#root {
min-height: 100%;
}
}
@layer utilities {
.glass-card {
@apply bg-white/70 backdrop-blur-sm border border-[oklch(0.92_0.004_286.32)] rounded-xl;
}
.grid-pattern {
background-image:
linear-gradient(oklch(0.92 0.004 286.32 / 0.3) 1px, transparent 1px),
linear-gradient(90deg, oklch(0.92 0.004 286.32 / 0.3) 1px, transparent 1px);
background-size: 40px 40px;
}
.gradient-text {
@apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-blue-400;
}
.animate-fade-in-up {
animation: fadeInUp 0.5s ease-out;
}
.animate-fade-in {
animation: fadeIn 0.3s ease-out;
}
}
@keyframes bar-pulse {
0%, 100% {
transform: scaleY(0.8);
}
50% {
transform: scaleY(1.2);
}
}
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-bar-pulse {
animation: bar-pulse 0.4s ease-in-out infinite;
transform-origin: bottom;
}
.animate-shimmer {
background: linear-gradient(
90deg,
oklch(0.92 0.004 286.32 / 0.5) 0%,
oklch(0.967 0.001 286.375) 40%,
oklch(0.92 0.004 286.32 / 0.5) 80%,
oklch(0.92 0.004 286.32 / 0.7) 100%
);
background-size: 200% 100%;
animation: shimmer 1.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}