tahamajs/IE / Projects /front /src /index.css
tahamajs's picture
download
raw
9.81 kB
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--background: 220 40% 97%;
--foreground: 222 47% 11%;
--card: 0 0% 100%;
--card-foreground: 222 47% 11%;
--muted: 210 40% 96%;
--muted-foreground: 215 16% 47%;
--border: 214 32% 91%;
--ring: 262 80% 50%;
--primary: 262 80% 50%;
--primary-foreground: 0 0% 100%;
--secondary: 316 70% 50%;
--secondary-foreground: 0 0% 100%;
--accent: 214 100% 97%;
--accent-foreground: 222 47% 11%;
--radius: 1.25rem;
/* Glassmorphism system */
--glass-bg: rgba(255, 255, 255, 0.45);
--glass-border: rgba(255, 255, 255, 0.6);
--glass-highlight: rgba(255, 255, 255, 0.85);
--glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
}
.dark {
--background: 224 71% 4%;
--foreground: 210 40% 98%;
--card: 224 71% 7%;
--card-foreground: 210 40% 98%;
--muted: 217 33% 12%;
--muted-foreground: 215 20% 65%;
--border: 217 33% 15%;
--ring: 262 80% 60%;
--primary: 262 80% 60%;
--primary-foreground: 222 47% 8%;
--secondary: 316 70% 60%;
--secondary-foreground: 222 47% 8%;
--accent: 217 33% 14%;
--accent-foreground: 210 40% 98%;
/* Glassmorphism system */
--glass-bg: rgba(13, 20, 38, 0.45);
--glass-border: rgba(255, 255, 255, 0.05);
--glass-highlight: rgba(255, 255, 255, 0.08);
--glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
}
.dark body {
background-image:
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15), transparent 40%),
radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.12), transparent 35%),
radial-gradient(circle at 50% 80%, rgba(20, 184, 166, 0.1), transparent 40%),
radial-gradient(circle at 80% 90%, rgba(139, 92, 246, 0.12), transparent 35%);
}
html {
scroll-behavior: smooth;
}
body {
@apply antialiased;
background-color: hsl(var(--background));
background-image:
radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.12), transparent 35%),
radial-gradient(circle at 90% 10%, rgba(236, 72, 153, 0.1), transparent 30%),
radial-gradient(circle at 50% 80%, rgba(20, 184, 166, 0.08), transparent 35%),
radial-gradient(circle at 80% 90%, rgba(139, 92, 246, 0.08), transparent 30%);
background-attachment: fixed;
color: hsl(var(--foreground));
font-family: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
min-height: 100vh;
overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Outfit', sans-serif;
letter-spacing: -0.02em;
}
/* Premium custom scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: rgba(124, 58, 237, 0.2) transparent;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(124, 58, 237, 0.2);
border-radius: 999px;
transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(124, 58, 237, 0.45);
}
::selection {
background: hsl(var(--primary) / 0.3);
}
:focus-visible {
outline: 2px solid hsl(var(--ring));
outline-offset: 2px;
}
a {
color: inherit;
text-decoration: none;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
button,
input,
textarea,
select {
font: inherit;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Base UI Glassmorphism styles */
.glass {
background: var(--glass-bg);
backdrop-filter: blur(28px);
-webkit-backdrop-filter: blur(28px);
border: 1px solid var(--glass-border);
box-shadow: var(--glass-shadow), inset 0 1px 1px var(--glass-highlight);
}
.surface {
background: var(--glass-bg);
backdrop-filter: blur(28px);
-webkit-backdrop-filter: blur(28px);
border: 1px solid var(--glass-border);
border-radius: var(--radius);
box-shadow: var(--glass-shadow), inset 0 1px 1px var(--glass-highlight);
color: hsl(var(--card-foreground));
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.surface:hover {
transform: translateY(-4px) scale(1.005);
border-color: rgba(124, 58, 237, 0.2);
box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.08), inset 0 1px 1px var(--glass-highlight);
}
.dark .surface:hover {
border-color: rgba(124, 58, 237, 0.3);
box-shadow: 0 20px 45px 0 rgba(0, 0, 0, 0.45), inset 0 1px 1px var(--glass-highlight);
}
/* Text Gradient Utilities */
.gradient-text {
background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.gradient-text-animated {
background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)), hsl(var(--primary)));
background-size: 200% auto;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradient-shift 6s linear infinite;
}
/* Premium Inputs */
.glass-input {
background: rgba(255, 255, 255, 0.45);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
box-shadow: inset 0 1px 1px var(--glass-highlight);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dark .glass-input {
background: rgba(15, 23, 42, 0.45);
}
.glass-input:focus {
background: rgba(255, 255, 255, 0.6);
border-color: hsl(var(--primary) / 0.5);
box-shadow: 0 0 0 4px hsl(var(--primary) / 0.15), inset 0 1px 1px var(--glass-highlight);
}
.dark .glass-input:focus {
background: rgba(15, 23, 42, 0.6);
border-color: hsl(var(--primary) / 0.6);
box-shadow: 0 0 0 4px hsl(var(--primary) / 0.25), inset 0 1px 1px var(--glass-highlight);
}
@layer components {
/* Buttons styling */
.btn-base {
@apply inline-flex items-center justify-center gap-2 rounded-full px-6 py-2.5 text-sm font-semibold transition-all duration-300 cursor-pointer;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.btn-primary {
@apply btn-base text-white shadow-lg shadow-indigo-500/10 dark:shadow-indigo-500/5;
background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
background-size: 200% auto;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
background-position: right center;
transform: translateY(-2px) scale(1.02);
box-shadow: 0 12px 24px -6px hsl(var(--primary) / 0.4);
}
.btn-secondary {
@apply btn-base border text-slate-800 dark:text-slate-100;
background: var(--glass-bg);
border-color: var(--glass-border);
box-shadow: var(--glass-shadow), inset 0 1px 1px var(--glass-highlight);
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-secondary:hover {
background: rgba(255, 255, 255, 0.7);
border-color: rgba(124, 58, 237, 0.3);
transform: translateY(-2px) scale(1.02);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06), inset 0 1px 1px var(--glass-highlight);
}
.dark .btn-secondary:hover {
background: rgba(30, 41, 59, 0.7);
border-color: rgba(124, 58, 237, 0.4);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25), inset 0 1px 1px var(--glass-highlight);
}
/* Card and headings styling */
.card {
@apply surface p-6;
}
.section-heading {
@apply text-3.5xl font-extrabold tracking-tight text-slate-950 dark:text-white;
font-family: 'Outfit', sans-serif;
}
.section-muted {
@apply text-base text-slate-500 dark:text-slate-400;
}
/* Premium Glass Cards */
.premium-glass {
background: var(--glass-bg);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
border: 1px solid var(--glass-border);
border-radius: var(--radius);
box-shadow: var(--glass-shadow), inset 0 1px 1px var(--glass-highlight);
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-glass:hover {
transform: translateY(-4px) scale(1.005);
border-color: rgba(124, 58, 237, 0.2);
box-shadow: 0 24px 50px -12px rgba(0,0,0,0.1), inset 0 1px 1px var(--glass-highlight);
}
.dark .premium-glass:hover {
border-color: rgba(124, 58, 237, 0.35);
box-shadow: 0 24px 55px -12px rgba(0,0,0,0.45), inset 0 1px 1px var(--glass-highlight);
}
.premium-gradient {
@apply bg-gradient-to-br from-indigo-500 via-fuchsia-500 to-pink-500 text-transparent bg-clip-text;
}
.premium-bg-gradient {
background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(236, 72, 153, 0.06));
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
}
/* Hover Lift Effect */
.hover-lift {
@apply transition-all duration-300;
}
.hover-lift:hover {
transform: translateY(-4px) scale(1.01);
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}
/* Animations */
.animate-float {
animation: float 6s ease-in-out infinite;
}
.animate-pulse-slow {
animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0px); }
}
@keyframes gradient-shift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
/* User Preferences overrides */
.no-glass .premium-glass,
.no-glass .backdrop-blur-sm,
.no-glass .backdrop-blur-md,
.no-glass .backdrop-blur-lg,
.no-glass .backdrop-blur-xl,
.no-glass .backdrop-blur-2xl,
.no-glass .backdrop-blur-3xl {
backdrop-filter: none !important;
-webkit-backdrop-filter: none !important;
}
.no-glass .premium-glass {
background-color: rgb(248, 250, 252) !important;
}
.dark.no-glass .premium-glass {
background-color: rgb(15, 23, 42) !important;
}
.no-animations * {
animation: none !important;
transition: none !important;
}

Xet Storage Details

Size:
9.81 kB
·
Xet hash:
a174fff8555dff918833b033d17cf8dbf3b050fde12a5066da9ca10c1bca8db9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.