Enhance zen animations with improved scaling and add macOS-specific animation variant

This commit is contained in:
mr. M
2025-01-06 12:20:29 +01:00
parent d840f0ed94
commit 8a695bc1e2
2 changed files with 16 additions and 1 deletions

View File

@@ -9,7 +9,18 @@
}
60% {
transform: scale3d(1.01, 1.01, 1.01);
transform: scale3d(1.02, 1.02, 1.02);
}
to {
opacity: 1;
transform: scale3d(1, 1, 1);
}
}
@keyframes zen-jello-animation-alt {
0% {
transform: scale3d(0.8, 0.8, 0.8);
}
to {

View File

@@ -5,6 +5,10 @@
*/
panel[type='arrow'][animate][animate='open']::part(content) {
animation: zen-jello-animation 0.35s ease;
@media (-moz-platform: macos) {
animation: zen-jello-animation-alt 0.35s ease;
}
}
panel[type='arrow'][animate]:not([animate='open'])::part(content) {