acupedia-web-ui/src/index.css

98 lines
2.2 KiB
CSS

@import "tailwindcss";
@theme {
--color-brand-dark: #0B0B0F;
--color-brand-card: #12121A;
--color-brand-border: #1E1E2C;
--color-brand-accent: #6366F1;
--color-brand-cyan: #06B6D4;
--color-brand-emerald: #10B981;
--color-brand-rose: #EF4444;
}
body {
background-color: #F8FAFC; /* Premium light slate background */
color: #0F172A; /* Dark slate text for maximum high-contrast clinical readability */
font-family: 'Outfit', sans-serif;
background-image:
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.02) 0%, transparent 45%),
radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.02) 0%, transparent 45%);
background-attachment: fixed;
}
/* Custom Scrollbar for Light Theme pages */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
background: #CBD5E1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #94A3B8;
}
/* Glassmorphism Classes adapted for Light theme panels */
.glass-panel {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
border: 1px solid rgba(15, 23, 42, 0.06);
}
.glass-card {
background: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(8px);
border: 1px solid rgba(15, 23, 42, 0.04);
}
/* Premium Gradients */
.gradient-text {
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: linear-gradient(to right, #4F46E5, #0891B2, #059669);
}
.gradient-border-hover {
position: relative;
transition: all 0.3s ease;
}
.gradient-border-hover::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1px;
background: linear-gradient(to right, transparent, transparent);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
transition: all 0.3s ease;
}
.gradient-border-hover:hover::before {
background: linear-gradient(to right, #6366F1, #06B6D4);
}
@keyframes slideIn {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
.animate-slide-in {
animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}