Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
fix(css): rebuild the styles.css tail — the merge resolution had spliced two sections
enesbd3070d5b93a
diff --git a/src/renderer/styles.css b/src/renderer/styles.cssindex fafa3a524..faa0bdcae 100644--- a/src/renderer/styles.css+++ b/src/renderer/styles.css@@ -10629,89 +10629,17 @@ body,white-space: nowrap;}- One terminal fills the window. The surface is a fixed opaque layer ABOVE the canvas (z 40 —- over the sidebar's 12 and the dock's 20, under menus at 46 and dialogs at 55/70), and the- focused `.term-node` is REPARENTED into it (TerminalNode's layout effect) — same element,- same xterm, no respawn. Chrome is not "hidden": it simply sits under the opaque surface, and- the dock is lifted above it (z 41) on pointer proximity / hover. */-.focus-surface {- position: fixed;- inset: 0;- z-index: 40;- display: none;-}-.focus-surface.is-active {- display: block;- background: var(--canvas-bg);-}-/* The reparented node root: fill the surface edge to edge. width/height 100% still resolve- against the surface; the absolute inset pins it regardless of the flow-node sizing props. */-.focus-surface .term-node {- position: absolute;- inset: 0;- width: auto;- height: auto;- border-radius: 0;-}-/* Canvas-only affordances are meaningless off-canvas: resize grips, link handles, flow ports. */-.focus-surface .react-flow__resize-control,-.focus-surface .bridge-handle,-.focus-surface .react-flow__handle {- display: none;-}-.focus-exit {- position: absolute;- top: 10px;- right: 14px;- z-index: 2;- border: 1px solid var(--border);- background: rgba(var(--menu-rgb), 0.92);- color: var(--text);- border-radius: 999px;- font-size: 11px;- padding: 4px 12px;- cursor: pointer;- opacity: 0.4;- transition: opacity 0.16s ease-out;-}-.focus-exit:hover {- opacity: 1;-}-/* The canvas itself goes display:none, not merely covered (review finding on #267): an- IntersectionObserver does not model occlusion, so covered-but-displayed terminals kept- reporting visible, kept their WebGL contexts, and a full budget then refused the one node- filling the screen (tryGrant only evicts HIDDEN holders). display:none zeroes their geometry,- they report hidden, the budget reclaims them — and 16+ occluded terminals stop rendering- frames nobody can see. Their size votes go null via applyFit's focus gate, like the board. */-body.focus-mode .flow-wrap {- display: none;-}-/* Dock reveal: proximity (Canvas toggles `focus-reveal-bottom` on mousemove) or direct hover- keeps it up once revealed. Lifted above the surface, faded via opacity only. */-body.focus-mode .dock {- z-index: 41;- opacity: 0;- pointer-events: none;- transition: opacity 0.16s ease-out;-}-body.focus-mode.focus-reveal-bottom .dock,-body.focus-mode .dock:hover {- opacity: 1;- pointer-events: auto;-}-@media (prefers-reduced-motion: reduce) {- .focus-exit,- body.focus-mode .dock {- transition: none;- }-}-=======/* ================================ Polish pass (issue #78) ==================================Enter animations for the shared overlay shells + quiet scrollbars. Rules of the pass:transform/opacity ONLY (nothing that forces layout — terminals must keep streaming at 60fps),one-shot on mount (no exit mechanism: every shell hard-unmounts via `{open && portal}`, andkeeping portals alive for an exit tween would thread a closing state through 15 dialogs — the- kanban modal set this precedent and it reads fine), and the existing token palette only. */+ kanban modal set this precedent and it reads fine), and the existing token palette only.+ NEVER animate a shell that CONTAINS a terminal: there the constraint is stronger than+ "no layout" — an animating `transform` on an ancestor of a glyph-attached terminal+ desynchronizes the shared canvas (grid origins are measured from the DOM rect, the canvas+ draws from the camera), so such a shell must leave the shared renderer for the duration,+ the way `dragging` already does. Today's selectors are overlays/menus/drawers/tooltips only. */@keyframes nt-overlay-fade {from {@@ -10811,4 +10739,80 @@ body.focus-mode .dock:hover {scrollbar-width: thin;}-/* ================================= Focus mode (issue #78) ===========================\ No newline at end of file+/* ================================= Focus mode (issue #78) ==================================+ One terminal fills the window. The surface is a fixed opaque layer ABOVE the canvas (z 40 —+ over the sidebar's 12 and the dock's 20, under menus at 46 and dialogs at 55/70), and the+ focused `.term-node` is REPARENTED into it (TerminalNode's layout effect) — same element,+ same xterm, no respawn. Chrome is not "hidden": it simply sits under the opaque surface, and+ the dock is lifted above it (z 41) on pointer proximity / hover. */+.focus-surface {+ position: fixed;+ inset: 0;+ z-index: 40;+ display: none;+}+.focus-surface.is-active {+ display: block;+ background: var(--canvas-bg);+}+/* The reparented node root: fill the surface edge to edge. width/height 100% still resolve+ against the surface; the absolute inset pins it regardless of the flow-node sizing props. */+.focus-surface .term-node {+ position: absolute;+ inset: 0;+ width: auto;+ height: auto;+ border-radius: 0;+}+/* Canvas-only affordances are meaningless off-canvas: resize grips, link handles, flow ports. */+.focus-surface .react-flow__resize-control,+.focus-surface .bridge-handle,+.focus-surface .react-flow__handle {+ display: none;+}+.focus-exit {+ position: absolute;+ top: 10px;+ right: 14px;+ z-index: 2;+ border: 1px solid var(--border);+ background: rgba(var(--menu-rgb), 0.92);+ color: var(--text);+ border-radius: 999px;+ font-size: 11px;+ padding: 4px 12px;+ cursor: pointer;+ opacity: 0.4;+ transition: opacity 0.16s ease-out;+}+.focus-exit:hover {+ opacity: 1;+}+/* The canvas itself goes display:none, not merely covered (review finding on #267): an+ IntersectionObserver does not model occlusion, so covered-but-displayed terminals kept+ reporting visible, kept their WebGL contexts, and a full budget then refused the one node+ filling the screen (tryGrant only evicts HIDDEN holders). display:none zeroes their geometry,+ they report hidden, the budget reclaims them — and 16+ occluded terminals stop rendering+ frames nobody can see. Their size votes go null via applyFit's focus gate, like the board. */+body.focus-mode .flow-wrap {+ display: none;+}+/* Dock reveal: proximity (Canvas toggles `focus-reveal-bottom` on mousemove) or direct hover+ keeps it up once revealed. Lifted above the surface, faded via opacity only. */+body.focus-mode .dock {+ z-index: 41;+ opacity: 0;+ pointer-events: none;+ transition: opacity 0.16s ease-out;+}+body.focus-mode.focus-reveal-bottom .dock,+body.focus-mode .dock:hover {+ opacity: 1;+ pointer-events: auto;+}+@media (prefers-reduced-motion: reduce) {+ .focus-exit,+ body.focus-mode .dock {+ transition: none;+ }+}