diff --git a/frontend/src/lib/assets/app.css b/frontend/src/lib/assets/app.css index 3b6731b8dc..9e4d4ea753 100644 --- a/frontend/src/lib/assets/app.css +++ b/frontend/src/lib/assets/app.css @@ -427,21 +427,42 @@ input[type='time']::-webkit-calendar-picker-indicator { z-index: -10; } +/* Row actions shown only for the row being used: hovered, tabbed into, keyboard-selected, or + with one of its menus open. Opacity rather than visibility, so Tab still reaches them. Focus + only when visible: a menu hands focus back to its trigger on close, and a mouse user would + otherwise keep that row's actions up after leaving it. */ +/* A list whose rows are not ruled off from each other (Home's items). Rows mark themselves + with `data-list-row`; their own `border-b` stays for every other list. */ +[data-unruled] [data-list-row] { + border-bottom-width: 0 !important; + border-radius: 0.375rem !important; +} + +[data-hover-actions] [data-list-row] [data-row-actions] { + opacity: 0; + transition: opacity 100ms; +} +[data-hover-actions] [data-list-row]:hover [data-row-actions], +[data-hover-actions] [data-list-row]:has(:focus-visible) [data-row-actions], +[data-hover-actions] [data-list-row][data-row-keyboard-selected] [data-row-actions], +[data-hover-actions] [data-row-actions]:has([aria-expanded='true']) { + opacity: 1; +} + /* The composer's glide, defined once: the Home ↔ AI Sessions view transition below and the in-page move on a session's first message (the spacer under AIChatDisplay's composer) both read it. */ :root { - --composer-glide-duration: 200ms; - --composer-glide-easing: cubic-bezier(0.2, 0, 0, 1); + --composer-glide-duration: 380ms; + --composer-glide-easing: cubic-bezier(0.2, 0.8, 0.2, 1); } -/* Home ↔ AI Sessions (homeSessionsTransition.svelte.ts). The session heading and composer - glide from where they were to where they land; everything else, Home's list included, is +/* Home ↔ AI Sessions (homeSessionsTransition.svelte.ts). The composer glides from where it + was to where it lands; everything else, Home's list and the session's greeting included, is the page cross-fading, kept short. The pseudo-elements hang off :root itself, so no space before `::view-transition-*`: with one, the selector looks for a descendant and never matches. */ -:root[data-home-sessions-transition]::view-transition-group(session-heading), -:root[data-home-sessions-transition]::view-transition-group(session-composer) { +:root[data-home-sessions-transition]::view-transition-group(composer) { animation-duration: var(--composer-glide-duration); animation-timing-function: var(--composer-glide-easing); } diff --git a/frontend/src/lib/components/FilterSearchbar.svelte b/frontend/src/lib/components/FilterSearchbar.svelte index 0a65701b06..4f7ee40fd1 100644 --- a/frontend/src/lib/components/FilterSearchbar.svelte +++ b/frontend/src/lib/components/FilterSearchbar.svelte @@ -801,14 +801,18 @@