Spaces:
Paused

miracle / frontend /packages /shared /src /styles /animations.css
dushyantsingh0
Beta 1.0: Pure Backend Release (Excluding Frontend)
5eb4857
Raw History Blame Contribute Delete
1.2 kB
/* Premium Micro-Animations for the Nexus Ecosystem */
/* Entrance Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in-up {
animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Glassmorphism Hover Effects */
.glass-hover {
transition: all 0.3s ease;
}
.glass-hover:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--primary);
box-shadow: 0 0 20px 0 var(--primary-glow);
transform: translateY(-2px);
}
/* Shimmer Effect for Loading States */
@keyframes shimmer {
0% { background-position: -1000px 0; }
100% { background-position: 1000px 0; }
}
.shimmer {
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
background-size: 1000px 100%;
animation: shimmer 2s infinite linear;
}
/* Focus Ring animation */
@keyframes focusRing {
0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4); }
70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.focus-ring:focus {
animation: focusRing 1.5s cubic-bezier(0.66, 0, 0, 1) infinite;
}