mirror of
https://github.com/zen-browser/desktop.git
synced 2026-05-04 13:05:12 +00:00
Enhance zen animations with improved scaling and add macOS-specific animation variant
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user