Files
project-fileshare/apps/frontend/src/app/globals.css
2026-10-29 13:21:30 +06:00

104 lines
2.6 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: #f8fafc;
--foreground: #0f172a;
--card: #ffffff;
--card-foreground: #0f172a;
--primary: #16a34a;
--primary-foreground: #ffffff;
--secondary: #f1f5f9;
--secondary-foreground: #334155;
--muted: #f1f5f9;
--muted-foreground: #64748b;
--accent: #22c55e;
--accent-foreground: #ffffff;
--destructive: #ef4444;
--destructive-foreground: #ffffff;
--border: #e2e8f0;
--input: #e2e8f0;
--ring: #16a34a;
--radius: 0.75rem;
}
}
body {
color: var(--foreground);
background: #f8fafc;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif;
overflow-x: hidden;
background-image:
radial-gradient(at 0% 0%, rgba(34, 197, 94, 0.05) 0px, transparent 45%),
radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.04) 0px, transparent 40%),
radial-gradient(at 50% 100%, rgba(22, 163, 74, 0.03) 0px, transparent 50%);
background-attachment: fixed;
}
/* Custom crisp modern scrollbars */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
background: #cbd5e1;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #94a3b8;
}
/* Premium White Glassmorphism & Card styles */
.glass-panel {
background: rgba(255, 255, 255, 0.94);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(226, 232, 240, 0.9);
box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}
.glass-card {
background: #ffffff;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.03), 0 1px 2px -1px rgba(0, 0, 0, 0.03);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
border-color: rgba(34, 197, 94, 0.5);
transform: translateY(-2px);
box-shadow: 0 12px 24px -6px rgba(22, 163, 74, 0.12);
}
.glow-card-active {
box-shadow: 0 0 25px -5px rgba(34, 197, 94, 0.25);
border-color: #22c55e;
}
.gradient-text {
background: linear-gradient(135deg, #15803d 0%, #16a34a 50%, #22c55e 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.gradient-border {
position: relative;
background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(16, 185, 129, 0.1), rgba(34, 197, 94, 0.1));
padding: 1px;
border-radius: 1rem;
}
/* Watermark background animation */
.watermark-bg {
background-image: url('/logo.png');
background-repeat: no-repeat;
background-position: right -40px bottom -40px;
background-size: 280px;
opacity: 0.03;
}