AI media harness for planning, generating, and editing locally
TypeScript
Top bars share a 40px row; fixed-width shot tiles, bigger reference icons, Generator label
Bitti6655e02e51d7
diff --git a/src/components/workspace/GeneratorView.tsx b/src/components/workspace/GeneratorView.tsxindex 6c97b67..38f63f3 100644--- a/src/components/workspace/GeneratorView.tsx+++ b/src/components/workspace/GeneratorView.tsx@@ -520,6 +520,8 @@ export function GeneratorView({ config, folderPath, runtime = null, generationCobeside the name; the words for a state that needs attention arein the tooltip and the status bar. */}<span className={`generator-runtime generator-runtime--${runtimeError ? "unavailable" : generatorRuntime?.state ?? "checking"}`}>+ {/* The combo carries its own full name for assistive tech. */}+ <span className="generator-runtime__label" aria-hidden="true">Generator:</span><i role="img" aria-label={runtimeLabel} data-tooltip={runtimeError ?? generatorRuntime?.detail ?? runtimeLabel} /><ComboBoxclassName="generator-template"diff --git a/src/styles/generator.css b/src/styles/generator.cssindex 5c0f41b..e5492a2 100644--- a/src/styles/generator.css+++ b/src/styles/generator.css@@ -42,7 +42,7 @@the board's well. */.generator-command {flex: 0 0 auto;- min-height: var(--chrome-row);+ height: var(--command-row);border-bottom: 1px solid var(--stroke-divider);background: var(--surface-chrome);}@@ -115,7 +115,16 @@background: var(--danger);}+.generator-runtime__label {+ color: var(--text-secondary);+ font-size: var(--text-base);+ white-space: nowrap;+}++/* Lower than a form field so the command bar's buttons stay the tallest+ thing on the row. */.generator-template {+ height: var(--control-sm);min-width: 140px;max-width: 240px;}@@ -345,12 +354,14 @@of the shot's words. 4px corners and a hairline edge like any Fluent griditem; rest, hover and the open shot are the shared selectable-card rule(.ui-selectable--card: an accent fill and ring). The grid auto-fills- 200px-and-up columns, so it needs no breakpoints.+ fixed 280px columns: resizing the inspector wraps tiles onto more rows+ rather than growing or shrinking them.========================================================================== */.shot-grid {display: grid;- grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));+ grid-template-columns: repeat(auto-fill, minmax(0, var(--shot-tile-width)));+ --shot-tile-width: 280px;gap: var(--space-2);margin: 0;padding: var(--space-2) var(--space-3) var(--space-3);diff --git a/src/styles/references.css b/src/styles/references.cssindex 69fc6b7..e971586 100644--- a/src/styles/references.css+++ b/src/styles/references.css@@ -33,7 +33,7 @@divider where it meets the library's well. */.references-command {flex: 0 0 auto;- min-height: var(--chrome-row);+ height: var(--command-row);border-bottom: 1px solid var(--stroke-divider);background: var(--surface-chrome);}@@ -57,14 +57,14 @@}/* --- Icons view ---------------------------------------------------------------- Auto-filling 120px tiles: a square picture and a 12px name. Rest, hover and+ Auto-filling 176px-and-up tiles: a square picture and a 12px name. Rest, hover andselection are the shared selectable-card rule (.ui-selectable--card): afill under the mouse, an accent fill and ring when selected.========================================================================== */.reference-grid {display: grid;- grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));+ grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));gap: var(--space-2);padding: var(--space-2) var(--space-3);}@@ -114,6 +114,11 @@color: var(--accent-bright);}+.reference-art--text svg {+ width: 48px;+ height: 48px;+}+.reference-art--photo img {width: 100%;height: 100%;diff --git a/src/styles/timeline.css b/src/styles/timeline.cssindex 3b00a53..8c24552 100644--- a/src/styles/timeline.css+++ b/src/styles/timeline.css@@ -78,22 +78,39 @@}/* --- Sources toolbar ---------------------------------------------------------- One PaneHeader for both views: Scenes / Media as a compact segmented- control, Import and (on Media) the grid/list toggle on the trailing edge. */+ One PaneHeader for both views: Scenes / Media as a segmented control,+ Import and (on Media) the grid/list toggle on the trailing edge. It is the+ page's top bar, so it has the Generator and References command bars'+ height (--command-row) and their 32px, 14px controls. */++.scene-panel__toolbar {+ height: var(--command-row);+}++.scene-panel__toolbar .ui-selector-bar--compact {+ height: var(--control-md);+}++.scene-panel__toolbar .ui-selector-bar--compact .ui-selector-bar__item {+ padding: 0 var(--space-3);+ font-size: var(--text-base);+ line-height: var(--leading-normal);+}+.scene-panel__import {- height: var(--control-sm);+ height: var(--control-md);flex: none;display: inline-flex;align-items: center;- gap: var(--space-1);- padding: 0 var(--space-2);+ gap: var(--space-2);+ padding: 0 var(--space-3);border: 0;border-radius: var(--radius-sm);color: var(--text-primary);background: transparent;- font-size: var(--text-xs);- line-height: var(--leading-snug);+ font-size: var(--text-base);+ line-height: var(--leading-normal);transition: var(--transition-control);}@@ -109,8 +126,8 @@/* Icon-only, so each button carries its name in an .sr-only span. The onstate is the shared accent tint (.ui-toggle-button[aria-pressed]). */.scene-panel__toggle {- width: var(--control-sm);- height: var(--control-sm);+ width: var(--control-md);+ height: var(--control-md);display: grid;place-items: center;padding: 0;diff --git a/src/styles/tokens.css b/src/styles/tokens.cssindex 8f9de30..8ca39dc 100644--- a/src/styles/tokens.css+++ b/src/styles/tokens.css@@ -139,7 +139,8 @@The fixed heights a pane is assembled from. A pane is headed by theselected item (--item-header) or by its toolbar (--chrome-row), never bya title bar; sections inside it start with a --section-row header. */- --chrome-row: 36px; /* pane toolbars, command bars */+ --chrome-row: 36px; /* pane toolbars */+ --command-row: 40px; /* a page's top bar: CommandBar, the Timeline sources toolbar */--chrome-row-sm: 24px; /* pane footers, the status bar */--item-header: 48px; /* the selected-item header */--section-row: 28px; /* PropSection header, property rows */diff --git a/src/styles/ui.css b/src/styles/ui.cssindex ce41988..264f35b 100644--- a/src/styles/ui.css+++ b/src/styles/ui.css@@ -1432,7 +1432,7 @@========================================================================== */.ui-command-bar {- min-height: var(--space-7);+ min-height: var(--command-row);display: flex;align-items: center;gap: var(--space-1);