|
55 | 55 | free as a window-drag surface in the native macOS app. */ |
56 | 56 | .chat-floating-toggles { |
57 | 57 | position: absolute; |
58 | | - top: 10px; |
59 | | - right: 10px; |
| 58 | + /* 8px top + 2px row padding keeps the 28px buttons on the shared 24px |
| 59 | + chrome centerline (sidebar brand row, pane-header actions). */ |
| 60 | + top: 8px; |
| 61 | + right: 8px; |
60 | 62 | z-index: 12; |
61 | 63 | display: flex; |
62 | | - gap: 6px; |
| 64 | + /* Same tight spacing as .chat-pane__actions so both rows read identical. */ |
| 65 | + gap: 2px; |
| 66 | + /* Ghost buttons carry no chrome of their own, but scrolled thread content |
| 67 | + passes under this row; a frosted wash keeps the icons legible without |
| 68 | + reading as boxed buttons. Invisible over the empty titlebar band. */ |
| 69 | + padding: 2px; |
| 70 | + border-radius: var(--radius-md); |
| 71 | + background: color-mix(in srgb, var(--bg) 72%, transparent); |
| 72 | + backdrop-filter: blur(10px); |
| 73 | + -webkit-backdrop-filter: blur(10px); |
63 | 74 | } |
64 | 75 |
|
65 | | -.chat-workspace-open, |
66 | | -.chat-tasks-open, |
67 | | -.chat-diff-open, |
68 | | -.chat-open-split-view { |
69 | | - /* Match the 28px pane-header/split-view openers; .btn--icon's |
70 | | - min-width/height of 36px would win otherwise. */ |
| 76 | +/* Compact icon button shared by the split-pane header actions and the |
| 77 | + floating toggles above: one borderless 28px design so both surfaces match. |
| 78 | + Sizing only — chrome stays ghost; .btn--icon's 36px min-width/height would |
| 79 | + win otherwise. The floating row sits in the thread's reserved titlebar band |
| 80 | + (never over content), so it needs no backdrop of its own. */ |
| 81 | +.chat-icon-btn { |
71 | 82 | width: 28px; |
72 | 83 | min-width: 28px; |
73 | 84 | height: 28px; |
74 | 85 | min-height: 28px; |
75 | 86 | padding: 5px; |
76 | | - border: 1px solid color-mix(in srgb, var(--border) 88%, transparent); |
77 | | - background: color-mix(in srgb, var(--panel) 92%, transparent); |
78 | | - box-shadow: var(--shadow-sm); |
79 | | - backdrop-filter: blur(10px); |
80 | | - -webkit-backdrop-filter: blur(10px); |
81 | 87 | } |
82 | 88 |
|
83 | 89 | /* The workspace rail adapts to the pane width (side column on wide panes, |
|
86 | 92 | side-dock only, so its toggles still hide on narrow viewports until it |
87 | 93 | grows a narrow presentation. */ |
88 | 94 | @media (max-width: 1120px) { |
89 | | - .chat-tasks-open, |
90 | | - .chat-pane__actions .chat-tasks-toggle { |
| 95 | + .chat-tasks-toggle { |
91 | 96 | display: none; |
92 | 97 | } |
93 | 98 | } |
|
1745 | 1750 | /* ── Session diff panel (sessions.diff sidebar content) ── */ |
1746 | 1751 |
|
1747 | 1752 | /* The floating diff opener sits in the .chat-floating-toggles row and shares |
1748 | | - the .chat-workspace-open sizing/chrome rules near the top of this file. */ |
| 1753 | + the .chat-icon-btn sizing/chrome rules near the top of this file. */ |
1749 | 1754 |
|
1750 | 1755 | .session-diff { |
1751 | 1756 | display: flex; |
|
0 commit comments