Skip to content

The agent that grows with you

feat(desktop): sit the HUD band back when a completion list opens

Brooklyn Nicholson5ff506896fc6
diff --git a/apps/desktop/src/styles.css b/apps/desktop/src/styles.css
index cd7fa875732..b2a2386dcee 100644
--- a/apps/desktop/src/styles.css
+++ b/apps/desktop/src/styles.css
@@ -2328,7 +2328,10 @@ button[data-slot='aui_msg-reactions'] svg {
translate: 0 var(--hud-exit-shift, 2.5rem);
transition:
opacity var(--hud-fade) var(--hud-ease-exit),
- translate var(--hud-collapse) var(--hud-ease-exit);
+ translate var(--hud-collapse) var(--hud-ease-exit),
+ scale var(--hud-dim) var(--hud-ease-enter),
+ filter var(--hud-dim) var(--hud-ease-enter);
+ transform-origin: bottom center;
}
/* Shown: recent turn / streaming, or a focused composer.
@@ -2378,9 +2381,12 @@ button[data-slot='aui_msg-reactions'] svg {
height: var(--hud-band-height, 0px);
translate: 0 var(--hud-exit-shift, 2.5rem);
opacity: 0;
+ transform-origin: bottom center;
transition:
opacity var(--hud-fade) var(--hud-ease-exit),
translate var(--hud-collapse) var(--hud-ease-exit),
+ scale var(--hud-dim) var(--hud-ease-enter),
+ filter var(--hud-dim) var(--hud-ease-enter),
height var(--hud-reveal) var(--hud-ease-enter),
background-color var(--hud-dim) var(--hud-ease-enter);
}
@@ -2457,6 +2463,23 @@ button[data-slot='aui_msg-reactions'] svg {
transition-delay: 0s;
}
+/* A completion list is the whole interface for as long as it is open, and it
+ hangs over the band. Two half-lit surfaces stacked on a third thing — the
+ app underneath — is unreadable however the numbers are tuned, so the list
+ goes fully opaque and the band falls back behind it: dimmer, fractionally
+ smaller, slightly out of focus. Scaled from the bar's edge, so it reads as
+ depth rather than as the panel shrinking. */
+[data-hud-shell]:has([data-slot='composer-completion-drawer'])
+ :is([data-slot='composer-bounds'], [data-hud-glass]) {
+ opacity: 0.25 !important;
+ scale: 0.97;
+ filter: blur(1.5px);
+}
+
+[data-hud-shell] [data-slot='composer-completion-drawer'] {
+ background: var(--dt-card) !important;
+}
+
/* User messages ride the band like every other line. In the app each sticky
user row paints an OPAQUE chat-surface slab behind it (so a stuck bubble can
slide over scrolled text) and the bubble is solid --dt-user-bubble — inside