Skip to content

A local-first multi-agent app development platform, built on PenguinHarness

style(web): 下拉面板的入场动效换成慢-快-慢

lmliheng8e6568e23a9b
diff --git a/packages/web/src/styles.css b/packages/web/src/styles.css
index 363eff6b..2a24e5a0 100644
--- a/packages/web/src/styles.css
+++ b/packages/web/src/styles.css
@@ -160,9 +160,12 @@
.anim-rise {
animation: rise-in 280ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}
-/* Dropdown menu / popover entrance. */
+/* Dropdown menu / popover entrance. Slow-fast-slow rather than ease-out: the panel has to be
+ seen arriving — the sidebar's account menu and every picker open under the pointer that
+ clicked them, and an ease-out is over before the eye follows the click — so it starts
+ gently, travels, and settles. */
.anim-pop {
- animation: pop-in 120ms ease-out both;
+ animation: pop-in 170ms cubic-bezier(0.45, 0, 0.2, 1) both;
}
/* A status icon replaced by the next one (the composer's permission level): the new icon turns
and grows in from small, so the change is seen rather than blinked. */