comfy-ts 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{LogsSt-U1H0mP1m.js → LogsSt-CUeo843w.js} +18 -4
- package/dist/LogsSt-CUeo843w.js.map +1 -0
- package/dist/cli.js +4 -4
- package/dist/index.cjs +123 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -16
- package/dist/index.d.ts +96 -16
- package/dist/index.js +123 -12
- package/dist/index.js.map +1 -1
- package/dist/{run-serve-BeAznay5.js → run-serve-DUqcn0h3.js} +477 -63
- package/dist/run-serve-DUqcn0h3.js.map +1 -0
- package/dist/{run-tui-BTGjvnKk.js → run-tui-D-LaSqgB.js} +4 -4
- package/dist/{run-tui-BTGjvnKk.js.map → run-tui-D-LaSqgB.js.map} +1 -1
- package/dist/{schemaDrift-Cg39vs53.js → schemaDrift-E95iTF7E.js} +4 -1
- package/dist/{schemaDrift-Cg39vs53.js.map → schemaDrift-E95iTF7E.js.map} +1 -1
- package/dist/serve-web.js +378 -141
- package/dist/{state-C7REnHan.js → state-BytbdZ8s.js} +122 -14
- package/dist/state-BytbdZ8s.js.map +1 -0
- package/dist/web.d.ts +96 -16
- package/dist/web.js +123 -12
- package/dist/web.js.map +1 -1
- package/examples/comfy-cloud/sdk.d.ts +163 -163
- package/examples/rvion/10-anima-t2i.cflow.ts +48 -25
- package/examples/rvion/11-yue2-t2a.cflow.ts +105 -0
- package/examples/rvion/12-stable-audio-3-t2a.cflow.ts +78 -0
- package/examples/rvion/13-ace-step-15-xl-t2a.cflow.ts +153 -0
- package/examples/rvion/stableAudio3Prompts.ts +19 -0
- package/package.json +2 -2
- package/src/cli/serve/ServeApp.ts +224 -77
- package/src/cli/serve/byteRange.ts +48 -0
- package/src/cli/serve/resultHistory.ts +125 -0
- package/src/cli/serve/run-serve.ts +12 -3
- package/src/cli/serve/runError.ts +23 -0
- package/src/cli/serve/serveSettings.ts +17 -1
- package/src/cli/serve/web/api.ts +53 -2
- package/src/cli/serve/web/components/App.tsx +311 -160
- package/src/cli/serve/web/components/DraftTabs.tsx +167 -0
- package/src/cli/serve/web/components/Gallery.tsx +75 -25
- package/src/cli/serve/web/components/Icon.tsx +44 -0
- package/src/cli/serve/web/components/MemoryBudget.tsx +98 -0
- package/src/cli/serve/web/components/Omnibox.tsx +70 -20
- package/src/cli/serve/web/components/RunError.tsx +19 -0
- package/src/cli/serve/web/components/ShortcutsModal.tsx +54 -0
- package/src/cli/serve/web/components/SideMenu.tsx +428 -0
- package/src/cli/serve/web/components/TooltipLayer.tsx +3 -2
- package/src/cli/serve/web/components/VarsForm.tsx +141 -404
- package/src/cli/serve/web/components/controls/BasicControls.tsx +8 -1
- package/src/cli/serve/web/components/controls/LorasControl.tsx +30 -25
- package/src/cli/serve/web/promptEditor/promptExtensions.ts +9 -4
- package/src/cli/serve/web/state/EnhancerSt.ts +17 -2
- package/src/cli/serve/web/state/FormSt.ts +22 -2
- package/src/cli/serve/web/state/OmniboxSt.ts +3 -1
- package/src/cli/serve/web/state/RunSt.ts +61 -3
- package/src/cli/serve/web/state/WebSt.ts +198 -35
- package/src/cli/serve/web/state/draftNames.ts +16 -0
- package/src/cli/serve/web/state/draftTabs.ts +75 -0
- package/src/cli/serve/web/state/formRows.ts +9 -0
- package/src/cli/serve/web/state/generateButton.ts +1 -1
- package/src/cli/serve/web/state/keptResults.ts +26 -0
- package/src/cli/serve/web/state/lightbox.ts +17 -0
- package/src/cli/serve/web/state/omnibox.ts +82 -18
- package/src/cli/serve/web/state/shortcutCatalog.ts +100 -0
- package/src/cli/serve/web/state/shortcuts.ts +66 -7
- package/src/cli/serve/web/styles.ts +327 -93
- package/src/cli/serve/workflowTags.ts +42 -0
- package/src/cli/serve/workspaceLabels.ts +23 -0
- package/src/cli/tui/state/DraftsSt.ts +10 -6
- package/src/coreExports.ts +1 -0
- package/src/host/ComfyHost.ts +17 -2
- package/src/host/ResilientWebsocket.ts +54 -4
- package/src/runner/ComfyExecution.ts +60 -0
- package/src/runner/ComfyWorkflow.ts +4 -0
- package/src/runner/ComfyWsApi.ts +2 -0
- package/src/runner/MediaImage.ts +2 -2
- package/src/sdk-generator/ComfyUIObjectInfoTypes.ts +5 -5
- package/src/sdk-generator/comfyui-sdk-codegen.ts +1 -1
- package/src/utils/copyName.ts +12 -0
- package/src/vars/DefinedWorkflow.ts +7 -1
- package/dist/LogsSt-U1H0mP1m.js.map +0 -1
- package/dist/run-serve-BeAznay5.js.map +0 -1
- package/dist/state-C7REnHan.js.map +0 -1
|
@@ -6,6 +6,15 @@ export const STYLES = /* css */ `
|
|
|
6
6
|
--panel: #171a21;
|
|
7
7
|
--panel-2: #1d2129;
|
|
8
8
|
--border: #2a2f3a;
|
|
9
|
+
/* the chrome (menu, tabs bar, preview side): lifted off the work area by a cool tint and a
|
|
10
|
+
soft top light, split from it by hairlines instead of solid bands */
|
|
11
|
+
--chrome: linear-gradient(180deg, #1a1f2b 0%, #151922 40%, #13161d 100%);
|
|
12
|
+
--chrome-flat: #171b24;
|
|
13
|
+
--hairline: color-mix(in srgb, var(--border) 70%, transparent);
|
|
14
|
+
/* a picked option (segment, mode toggle): a tint of the accent, never a solid slab */
|
|
15
|
+
--sel-bg: color-mix(in srgb, var(--accent) 22%, var(--panel-2));
|
|
16
|
+
--sel-border: color-mix(in srgb, var(--accent) 55%, transparent);
|
|
17
|
+
--sel-text: #c3d3fb;
|
|
9
18
|
--text: #e8eaf0;
|
|
10
19
|
--dim: #8b93a7;
|
|
11
20
|
--accent: #7aa2f7;
|
|
@@ -15,6 +24,9 @@ export const STYLES = /* css */ `
|
|
|
15
24
|
--amber: #e0af68;
|
|
16
25
|
}
|
|
17
26
|
* { box-sizing: border-box; }
|
|
27
|
+
/* every scroller: a thin thumb in the theme, no track. The system scrollbar is a 15px dark band
|
|
28
|
+
under always-visible scrollbars, beside each panel's own padding and the split handle */
|
|
29
|
+
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--dim) 40%, transparent) transparent; }
|
|
18
30
|
html, body { margin: 0; height: 100%; }
|
|
19
31
|
body {
|
|
20
32
|
background: var(--bg);
|
|
@@ -31,15 +43,42 @@ body {
|
|
|
31
43
|
.modal.omni { width: min(560px, 100%); max-height: min(70vh, 100%); }
|
|
32
44
|
.omni-list { padding: 4px; }
|
|
33
45
|
.omni-row {
|
|
34
|
-
display: flex; width: 100%; gap:
|
|
35
|
-
text-align: left; border: 0; background: none; color: var(--text); padding:
|
|
46
|
+
display: flex; width: 100%; gap: 8px; align-items: center;
|
|
47
|
+
text-align: left; border: 0; background: none; color: var(--text); padding: 5px 10px;
|
|
36
48
|
border-radius: 6px; cursor: pointer; font: inherit;
|
|
37
49
|
}
|
|
38
50
|
.omni-row:hover { background: var(--panel-2); }
|
|
39
51
|
.omni-row.sel { background: var(--accent-dim); color: #fff; }
|
|
40
|
-
.omni-row.
|
|
41
|
-
.omni-
|
|
42
|
-
.omni-
|
|
52
|
+
.omni-row.workflow { margin-top: 6px; padding-top: 7px; padding-bottom: 7px; }
|
|
53
|
+
.omni-row.workflow:first-child { margin-top: 0; }
|
|
54
|
+
.omni-row.draft { padding-left: 38px; color: var(--dim); }
|
|
55
|
+
.omni-row.draft .icon { opacity: 0.6; flex-shrink: 0; }
|
|
56
|
+
.omni-row.draft.sel, .omni-row.draft:hover { color: var(--text); }
|
|
57
|
+
.omni-row.draft.open .omni-draft { color: var(--text); font-weight: 600; }
|
|
58
|
+
.omni-draft { overflow-wrap: anywhere; }
|
|
59
|
+
.omni-open { margin-left: auto; font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
|
|
60
|
+
.omni-icon {
|
|
61
|
+
display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
|
|
62
|
+
width: 22px; height: 22px; border-radius: 6px; background: var(--panel-2);
|
|
63
|
+
}
|
|
64
|
+
.omni-path { min-width: 0; overflow-wrap: anywhere; }
|
|
65
|
+
.omni-folder { color: var(--dim); font-size: 12px; }
|
|
66
|
+
.omni-name { font-weight: 600; }
|
|
67
|
+
.omni-tags { margin-left: auto; display: flex; gap: 4px; align-items: center; flex-shrink: 0; }
|
|
68
|
+
.omni-tag {
|
|
69
|
+
font-size: 10.5px; line-height: 1; padding: 3px 6px; border-radius: 999px;
|
|
70
|
+
color: var(--dim); border: 1px solid var(--border);
|
|
71
|
+
}
|
|
72
|
+
.omni-host { color: var(--dim); font-size: 11px; white-space: nowrap; margin-left: 4px; opacity: 0.7; }
|
|
73
|
+
.tint-image { color: var(--accent); }
|
|
74
|
+
.tint-audio { color: var(--green); }
|
|
75
|
+
.tint-video { color: var(--amber); }
|
|
76
|
+
.tint-text, .tint-llm { color: #bb9af7; }
|
|
77
|
+
.tint-edit { color: var(--red); }
|
|
78
|
+
.tint-workflow { color: var(--dim); }
|
|
79
|
+
.omni-tag[class*='tint-'] { background: color-mix(in srgb, currentColor 12%, transparent); border-color: color-mix(in srgb, currentColor 35%, transparent); }
|
|
80
|
+
/* a chip the query named: the filter that is on */
|
|
81
|
+
.omni-tag.hit { border-color: currentColor; background: color-mix(in srgb, currentColor 24%, transparent); font-weight: 600; }
|
|
43
82
|
.omni-errors { margin: 10px 6px 4px; padding: 8px; border: 1px solid var(--red); border-radius: 6px; font-size: 12px; }
|
|
44
83
|
.omni-errors .section-title { margin-top: 0; color: var(--red); }
|
|
45
84
|
.omni-errors .file { color: var(--dim); word-break: break-all; }
|
|
@@ -56,41 +95,126 @@ button.link.load-errors { color: var(--red); font-size: 11px; }
|
|
|
56
95
|
.main h2 { font-size: 14px; margin: 0; color: var(--dim); font-weight: 500; }
|
|
57
96
|
.main h2 b { color: var(--text); }
|
|
58
97
|
|
|
59
|
-
/* the TUI header on the web
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
.
|
|
83
|
-
.
|
|
84
|
-
.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
98
|
+
/* the menu column: the TUI header on the web, one labelled card per scope, stacked */
|
|
99
|
+
.menu-layout { flex: 1; min-width: 0; height: 100%; }
|
|
100
|
+
.menu-panel { height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--chrome); }
|
|
101
|
+
.menu-main { height: 100%; display: flex; min-width: 0; }
|
|
102
|
+
.menu-main > .main { height: 100%; }
|
|
103
|
+
/* the open drafts as tabs over the work area. The body below takes the rest: the panel group
|
|
104
|
+
inside it sets its own height to 100%, which must mean the room under the bar */
|
|
105
|
+
.tabs-col { display: flex; flex-direction: column; flex: 1; min-width: 0; height: 100%; }
|
|
106
|
+
.tabs-body { flex: 1; min-height: 0; display: flex; }
|
|
107
|
+
.tabs-body > .main { height: 100%; }
|
|
108
|
+
.draft-tabs {
|
|
109
|
+
display: flex; gap: 0; padding: 0; overflow-x: auto; flex-shrink: 0;
|
|
110
|
+
background: var(--chrome-flat); border-bottom: 1px solid var(--hairline);
|
|
111
|
+
}
|
|
112
|
+
/* square segments split by hairlines, as tall as the menu head so both bottom lines meet. The
|
|
113
|
+
open one wears the btn-group pick: the accent tint and an accent underline */
|
|
114
|
+
.draft-tab {
|
|
115
|
+
display: inline-flex; align-items: center; gap: 4px; max-width: 240px; height: 44px; padding: 0 8px 0 14px;
|
|
116
|
+
font-size: 14px; color: var(--dim); cursor: pointer; user-select: none; white-space: nowrap;
|
|
117
|
+
border-right: 1px solid var(--hairline); position: relative;
|
|
118
|
+
}
|
|
119
|
+
.draft-tab:hover { color: var(--text); background: var(--panel-2); }
|
|
120
|
+
.draft-tab.on { color: var(--sel-text); background: var(--sel-bg); box-shadow: inset 0 -2px 0 var(--accent); }
|
|
121
|
+
.draft-tab-name { overflow: hidden; text-overflow: ellipsis; }
|
|
122
|
+
.draft-tab-wf { color: var(--dim); font-size: 11px; }
|
|
123
|
+
.draft-tab button.draft-tab-close {
|
|
124
|
+
border: 0; background: none; padding: 1px; border-radius: 4px; color: inherit; opacity: 0;
|
|
125
|
+
display: inline-flex; align-items: center;
|
|
126
|
+
}
|
|
127
|
+
.draft-tab:hover button.draft-tab-close, .draft-tab.on button.draft-tab-close { opacity: 0.7; }
|
|
128
|
+
.draft-tab button.draft-tab-close:hover { opacity: 1; background: var(--border); }
|
|
129
|
+
/* the open tab's actions: its name to edit, then the menu's own draft rows */
|
|
130
|
+
.tab-menu {
|
|
131
|
+
z-index: 60; display: flex; flex-direction: column; gap: 2px; min-width: 220px; padding: 6px;
|
|
132
|
+
background: var(--panel); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
|
|
133
|
+
}
|
|
134
|
+
.tab-menu input.head-input { width: 100%; margin-bottom: 4px; }
|
|
135
|
+
.tab-menu .menu-action.danger:hover { color: var(--red); }
|
|
136
|
+
.menu-col { padding: 0 0 14px; }
|
|
137
|
+
/* ☰ + the name: the same height as the rail's first icon, so folding never moves it */
|
|
138
|
+
.menu-head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border-bottom: 1px solid var(--hairline); }
|
|
139
|
+
.menu-brand { font-weight: 700; letter-spacing: 0.01em; }
|
|
140
|
+
.menu-head-key { margin-left: auto; }
|
|
141
|
+
/* a full-row action (duplicate, new): reads as an entry of the list, its key at the end */
|
|
142
|
+
.menu-action { color: var(--dim); font-size: 13px; }
|
|
143
|
+
.menu-action:hover { color: var(--text); }
|
|
144
|
+
.menu-action .kbd-hint { margin-left: auto; }
|
|
145
|
+
/* the preview placements: equal tiles, icon over its word, wrapping when the menu is narrow */
|
|
146
|
+
.layout-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(42px, 1fr)); gap: 4px; padding: 2px 4px; }
|
|
147
|
+
.layout-tile {
|
|
148
|
+
display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 0 5px; min-width: 0;
|
|
149
|
+
border: 1px solid var(--border); border-radius: 7px; background: none; color: var(--dim); font-size: 11px; cursor: pointer;
|
|
150
|
+
}
|
|
151
|
+
.layout-tile .icon + * { margin-left: 0; }
|
|
152
|
+
.layout-tile:hover { color: var(--text); background: var(--panel-2); }
|
|
153
|
+
.layout-tile.sel { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); font-weight: 600; }
|
|
154
|
+
.menu-sections { display: flex; flex-direction: column; }
|
|
155
|
+
.menu-section { padding: 10px 10px 12px; border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 2px; }
|
|
156
|
+
.menu-title {
|
|
157
|
+
display: flex; align-items: center; justify-content: space-between; min-height: 24px; padding: 0 4px;
|
|
158
|
+
color: var(--dim); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase;
|
|
159
|
+
}
|
|
160
|
+
.menu-title-actions { display: flex; align-items: center; gap: 2px; text-transform: none; letter-spacing: 0; }
|
|
161
|
+
.menu-title-actions .kbd-hint { font-size: 10px; }
|
|
162
|
+
/* a row is a line of the list: icon, value, and its own actions at the end */
|
|
163
|
+
.menu-row {
|
|
164
|
+
display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 2px 4px; border-radius: 6px;
|
|
165
|
+
width: 100%; border: 0; background: none; color: var(--text); font: inherit; text-align: left; min-width: 0;
|
|
166
|
+
}
|
|
167
|
+
.menu-row > .icon { color: var(--dim); flex-shrink: 0; }
|
|
168
|
+
button.menu-row { cursor: pointer; }
|
|
169
|
+
button.menu-row:hover { background: var(--panel-2); }
|
|
170
|
+
.menu-value { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
|
|
171
|
+
.workflow-row .menu-value { color: var(--amber); }
|
|
172
|
+
.menu-value.host { color: var(--green); }
|
|
173
|
+
.menu-select {
|
|
174
|
+
flex: 1; min-width: 0; padding: 2px 4px; font: inherit; font-weight: 600;
|
|
175
|
+
background: transparent; border: 1px solid transparent; border-radius: 5px;
|
|
176
|
+
}
|
|
177
|
+
.menu-select:hover, .menu-select:focus { border-color: var(--border); background: var(--bg); }
|
|
178
|
+
.menu-select.draft { color: var(--accent); }
|
|
179
|
+
.menu-select.host { color: var(--green); }
|
|
180
|
+
.menu-row-actions { margin-left: auto; display: flex; gap: 2px; flex-shrink: 0; }
|
|
181
|
+
/* quiet word buttons under a row: borderless until hovered */
|
|
182
|
+
.menu-buttons { flex-wrap: wrap; gap: 2px; padding-left: 26px; }
|
|
183
|
+
.menu-buttons > button {
|
|
184
|
+
display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px;
|
|
185
|
+
border: 1px solid transparent; border-radius: 6px; background: none; color: var(--dim); font-size: 12.5px; cursor: pointer;
|
|
186
|
+
}
|
|
187
|
+
.menu-buttons > button:hover { color: var(--text); background: var(--panel-2); border-color: var(--border); }
|
|
188
|
+
.menu-buttons > button.sel { color: var(--accent); background: var(--accent-dim); }
|
|
189
|
+
.menu-buttons > button.quiet-danger:hover { color: var(--red); border-color: var(--red); }
|
|
190
|
+
/* the draft file state in the draft title: a grey check, or a small ring turning while unsaved */
|
|
191
|
+
.save-mark { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--dim); }
|
|
192
|
+
.save-mark .spinner {
|
|
193
|
+
width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--dim); border-top-color: transparent;
|
|
194
|
+
animation: spin 0.7s linear infinite;
|
|
195
|
+
}
|
|
196
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
197
|
+
.menu-title-actions .head-icon.dirty { color: var(--amber); }
|
|
198
|
+
.menu-note { margin-left: auto; font-size: 11px; color: var(--dim); }
|
|
199
|
+
.menu-note.error { color: var(--red); font-weight: 600; }
|
|
200
|
+
.menu-error { font-size: 12px; padding: 4px; }
|
|
201
|
+
.path-row .path-text { color: var(--text); }
|
|
202
|
+
.menu-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 0 10px; }
|
|
203
|
+
.menu-rail > button:first-child { height: 44px; }
|
|
204
|
+
.path-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: rtl; text-align: left; }
|
|
205
|
+
/* phones: the menu is a drawer, a slim bar names where you are */
|
|
206
|
+
.mobile-bar {
|
|
207
|
+
display: flex; align-items: center; gap: 8px; padding: 6px 10px;
|
|
208
|
+
border-bottom: 1px solid var(--border); background: var(--panel);
|
|
209
|
+
}
|
|
210
|
+
.mobile-where { border: 0; background: none; font: inherit; color: var(--text); padding: 0; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
211
|
+
.mobile-draft { color: var(--accent); }
|
|
212
|
+
.mobile-workflow { color: var(--amber); }
|
|
213
|
+
.drawer-overlay { position: fixed; inset: 0; z-index: 50; background: rgb(0 0 0 / 0.5); }
|
|
214
|
+
.drawer {
|
|
215
|
+
position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); overflow-y: auto;
|
|
216
|
+
background: var(--panel); border-right: 1px solid var(--border); padding: 0 0 16px;
|
|
217
|
+
}
|
|
94
218
|
button.danger { color: var(--dim); }
|
|
95
219
|
/* a button that asks to be pressed: the host changed under the panel */
|
|
96
220
|
button.attention { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); font-size: 11px; white-space: nowrap; }
|
|
@@ -101,7 +225,17 @@ button.danger:hover { color: var(--red); border-color: var(--red); }
|
|
|
101
225
|
rows — a per-row grid would give every row its own width. The 150px track is the
|
|
102
226
|
pre-subgrid fallback, kept first so an old engine still gets aligned columns */
|
|
103
227
|
/* the form needs air under the head boxes: the first var sat flush against them */
|
|
104
|
-
.vars { display: grid; grid-template-columns: 120px minmax(0, 1fr); margin-top: 14px; position: relative; }
|
|
228
|
+
.vars { display: grid; grid-template-columns: 120px minmax(0, 1fr); margin-top: 14px; position: relative; padding-left: 22px; }
|
|
229
|
+
/* each row's reset, in the form's left gutter (the padding above): borderless until
|
|
230
|
+
hovered, out of the flow so it never moves a label */
|
|
231
|
+
.var-row { position: relative; }
|
|
232
|
+
button.var-reset {
|
|
233
|
+
position: absolute; left: -20px; top: 6px; width: 20px; height: 20px; padding: 0;
|
|
234
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
235
|
+
border: 1px solid transparent; border-radius: 5px; background: none; color: var(--dim); cursor: pointer;
|
|
236
|
+
}
|
|
237
|
+
button.var-reset:hover:not(:disabled) { border-color: var(--border); color: var(--text); background: var(--panel-2); }
|
|
238
|
+
button.var-reset:disabled { opacity: 0.25; cursor: default; }
|
|
105
239
|
/* the label column's edge: a thin strip you drag, lit on hover */
|
|
106
240
|
.label-resizer {
|
|
107
241
|
position: absolute; top: 0; bottom: 0; width: 6px; margin-left: -3px; z-index: 5;
|
|
@@ -124,7 +258,12 @@ button.danger:hover { color: var(--red); border-color: var(--red); }
|
|
|
124
258
|
/* the label IS the drag handle for its row: no separate grip to reveal or aim at */
|
|
125
259
|
/* labels never wrap: one line at the height of a control, cut with an ellipsis, whole on hover.
|
|
126
260
|
The icon and the (?) keep their size, only the name gives way */
|
|
127
|
-
|
|
261
|
+
/* a drag handle never selects its text: WebKit starts a text selection instead of the drag
|
|
262
|
+
when the press lands on selectable text */
|
|
263
|
+
.var-label {
|
|
264
|
+
display: flex; align-items: center; justify-content: flex-end; min-height: 28px; min-width: 0; cursor: grab;
|
|
265
|
+
user-select: none; -webkit-user-select: none; -webkit-user-drag: element;
|
|
266
|
+
}
|
|
128
267
|
.var-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
|
|
129
268
|
/* the ⌘ key that jumps to this var, on its own line under the name */
|
|
130
269
|
.var-label.has-kbd { flex-wrap: wrap; align-content: center; row-gap: 3px; }
|
|
@@ -132,7 +271,7 @@ button.danger:hover { color: var(--red); border-color: var(--red); }
|
|
|
132
271
|
.var-row.inactive .var-control { opacity: 0.18; filter: grayscale(1); }
|
|
133
272
|
.var-row.inactive .var-label { opacity: 0.45; }
|
|
134
273
|
.var-label:active { cursor: grabbing; }
|
|
135
|
-
.lora-chip[draggable='true'] { cursor: grab; }
|
|
274
|
+
.lora-chip[draggable='true'] { cursor: grab; user-select: none; -webkit-user-select: none; -webkit-user-drag: element; }
|
|
136
275
|
/* the card drags from anywhere, so its own controls must keep their cursor */
|
|
137
276
|
.lora-chip input, .lora-chip label, .lora-chip button { cursor: pointer; }
|
|
138
277
|
.lora-chip input[type='number'] { cursor: text; }
|
|
@@ -146,6 +285,9 @@ button.danger:hover { color: var(--red); border-color: var(--red); }
|
|
|
146
285
|
}
|
|
147
286
|
.var-label .dirty-dot:hover { background: var(--red); }
|
|
148
287
|
.var-control { min-width: 0; }
|
|
288
|
+
/* a one-line control sits on the label's 28px line: rows align to the top, so a shorter line
|
|
289
|
+
(a toggle and its word) floated above the label's centre */
|
|
290
|
+
.var-control > .row-inline { min-height: 28px; }
|
|
149
291
|
/* a workflow's own icons: beside a label, or inside a choice button */
|
|
150
292
|
.var-icon { width: 15px; height: 15px; margin-right: 5px; flex-shrink: 0; }
|
|
151
293
|
.btn-group button .var-icon { margin-right: 3px; }
|
|
@@ -168,7 +310,35 @@ input[type='range'] { width: 100%; accent-color: var(--accent); }
|
|
|
168
310
|
/* a steps or cfg slider across a whole wide row is a long drag for a small number: 320px is
|
|
169
311
|
still a fine grain for 1..60, and the number box keeps its place right after it */
|
|
170
312
|
.var-control input[type='range'] { max-width: 320px; }
|
|
171
|
-
|
|
313
|
+
/* a number var's slider: a thin dark track, the accent up to the value, a small dot */
|
|
314
|
+
input[type='range'].num-range {
|
|
315
|
+
appearance: none; height: 16px; margin: 0; padding: 0; cursor: pointer; border-radius: 2px;
|
|
316
|
+
background-color: transparent; background-size: 100% 4px; background-position: center; background-repeat: no-repeat;
|
|
317
|
+
}
|
|
318
|
+
input[type='range'].num-range::-webkit-slider-runnable-track { height: 4px; background: transparent; }
|
|
319
|
+
input[type='range'].num-range::-webkit-slider-thumb {
|
|
320
|
+
appearance: none; width: 14px; height: 14px; border-radius: 50%; margin-top: -5px;
|
|
321
|
+
background: var(--accent); border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--accent-dim);
|
|
322
|
+
}
|
|
323
|
+
input[type='range'].num-range:hover::-webkit-slider-thumb { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
|
|
324
|
+
input[type='range'].num-range::-moz-range-track { height: 4px; background: transparent; }
|
|
325
|
+
input[type='range'].num-range::-moz-range-thumb {
|
|
326
|
+
width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--bg);
|
|
327
|
+
}
|
|
328
|
+
/* every checkbox is drawn as a toggle, the same pill as .switch: the native box was the one
|
|
329
|
+
control on the page still in the browser's own chrome */
|
|
330
|
+
input[type='checkbox'] {
|
|
331
|
+
appearance: none; position: relative; flex-shrink: 0; width: 36px; height: 20px; margin: 0; align-self: center;
|
|
332
|
+
border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); cursor: pointer;
|
|
333
|
+
vertical-align: middle; transition: background 0.15s, border-color 0.15s;
|
|
334
|
+
}
|
|
335
|
+
input[type='checkbox']::before {
|
|
336
|
+
content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
|
|
337
|
+
background: var(--dim); transition: transform 0.15s, background 0.15s;
|
|
338
|
+
}
|
|
339
|
+
input[type='checkbox']:checked { background: var(--sel-bg); border-color: var(--sel-border); }
|
|
340
|
+
input[type='checkbox']:checked::before { transform: translateX(16px); background: var(--accent); }
|
|
341
|
+
input[type='checkbox']:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
172
342
|
.row-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
173
343
|
/* lanes (src/vars/lanes.ts): named groups merged top to bottom. Each lane is a BAND: a tinted
|
|
174
344
|
strip, its name as plain small text on the left (clickable, not dressed as a button: click
|
|
@@ -274,6 +444,7 @@ button.primary {
|
|
|
274
444
|
}
|
|
275
445
|
/* running: the fill sweeps across a dim track, the text stays, so nothing beside it moves */
|
|
276
446
|
button.primary.running { color: #fff; border-color: var(--accent); }
|
|
447
|
+
/* the run button: one short word, so a compact button */
|
|
277
448
|
.kbd-hint {
|
|
278
449
|
font-size: 10px; opacity: 0.65; border: 1px solid currentColor; border-radius: 4px;
|
|
279
450
|
padding: 0 4px; line-height: 1.4;
|
|
@@ -282,7 +453,7 @@ button.link { border: 0; background: none; color: var(--accent); padding: 0; }
|
|
|
282
453
|
button.link.danger { color: var(--dim); }
|
|
283
454
|
button.link.danger:hover { color: var(--red); }
|
|
284
455
|
button.mode { padding: 2px 7px; font-size: 12px; }
|
|
285
|
-
button.mode.sel { background: var(--
|
|
456
|
+
button.mode.sel { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-text); }
|
|
286
457
|
/* the actions that START something (new draft, add loras): accent outline, so the eye finds
|
|
287
458
|
them before the neutral ones. The lit segment of a group is a solid accent fill */
|
|
288
459
|
button.accent { color: var(--accent); border-color: var(--accent-dim); }
|
|
@@ -292,26 +463,35 @@ button.mini:hover { color: var(--text); }
|
|
|
292
463
|
.prompt-actions { gap: 6px; margin-top: 4px; }
|
|
293
464
|
button.accent:hover { background: var(--accent-dim); color: #fff; }
|
|
294
465
|
|
|
295
|
-
/*
|
|
296
|
-
|
|
297
|
-
.run-
|
|
298
|
-
.
|
|
299
|
-
.run-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
.run-
|
|
306
|
-
.run-
|
|
466
|
+
/* two rows, three columns: Run / queue / images on top, the three buttons that end something
|
|
467
|
+
underneath, one per column, all the same size */
|
|
468
|
+
.run-bar { display: inline-flex; align-items: stretch; gap: 8px; flex-shrink: 0; flex-wrap: nowrap; }
|
|
469
|
+
/* inside the group, .btn-group's segment colors come later and would repaint Run: restate it */
|
|
470
|
+
.run-split button.primary, .run-split button.primary:hover {
|
|
471
|
+
padding: 5px 14px; font-size: 13px; background: var(--accent); border-color: var(--accent); color: #0d1117;
|
|
472
|
+
}
|
|
473
|
+
.run-split button.primary.running { color: #fff; }
|
|
474
|
+
.run-split button.primary + button { border-left-color: var(--accent); }
|
|
475
|
+
/* the stop square: grey and inert when nothing runs, red while a run can be stopped */
|
|
476
|
+
.run-split button.run-stop { padding: 5px 9px; color: var(--dim); display: inline-flex; align-items: center; }
|
|
477
|
+
.run-split button.run-stop:disabled { opacity: 0.45; }
|
|
478
|
+
.run-split button.run-stop.live { color: var(--red); }
|
|
479
|
+
.run-split button.run-stop.live:hover { color: #fff; background: var(--red); border-color: var(--red); }
|
|
480
|
+
/* the count a clear button acts on: tabular and at a fixed width, so 9 → 10 never moves the row */
|
|
481
|
+
.run-num { display: inline-block; min-width: 2ch; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
|
|
482
|
+
button.run-end { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 13px; }
|
|
483
|
+
button.run-end:not(:disabled):hover { color: #fff; background: var(--red); border-color: var(--red); }
|
|
484
|
+
button.run-end:disabled { opacity: 0.45; cursor: default; }
|
|
485
|
+
.run-error-block {
|
|
486
|
+
display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; padding: 8px 10px;
|
|
487
|
+
border: 1px solid var(--red); border-radius: 8px; color: var(--red); font-size: 12px;
|
|
488
|
+
}
|
|
489
|
+
.run-error-block > .icon { flex-shrink: 0; margin-top: 2px; }
|
|
490
|
+
.run-error-text { flex: 1; min-width: 0; margin: 0; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; }
|
|
307
491
|
.run-error { flex: 1; min-width: 0; height: 1.4em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--red); font-size: 12px; }
|
|
308
492
|
input[type='range'].setting-range:disabled { opacity: 0.3; }
|
|
309
493
|
.live-preview-error { margin-left: 4px; }
|
|
310
494
|
.live-preview-line { min-height: 1.35em; }
|
|
311
|
-
.run-chip {
|
|
312
|
-
display: inline-flex; gap: 3px; align-items: center; color: var(--dim); font-size: 12px;
|
|
313
|
-
border: 1px solid var(--border); border-radius: 999px; padding: 1px 3px 1px 8px; flex-shrink: 0;
|
|
314
|
-
}
|
|
315
495
|
.runbar {
|
|
316
496
|
position: sticky; bottom: 0; display: flex; gap: 14px; align-items: center;
|
|
317
497
|
background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
|
|
@@ -319,9 +499,6 @@ input[type='range'].setting-range:disabled { opacity: 0.3; }
|
|
|
319
499
|
}
|
|
320
500
|
/* the changed-vars broom: FAR RIGHT of the draft box line and outside the button group, so
|
|
321
501
|
appearing and disappearing with the dirty count never shifts the buttons beside it */
|
|
322
|
-
.head-box .head-right { margin-left: auto; padding: 2px 5px; }
|
|
323
|
-
.head-box button.dirty { color: var(--amber); }
|
|
324
|
-
.head-box button.dirty:hover { color: var(--red); border-color: var(--red); }
|
|
325
502
|
.runbar .error { color: var(--red); font-size: 12px; white-space: pre-wrap; }
|
|
326
503
|
.pulse { animation: pulse 1.2s ease-in-out infinite; }
|
|
327
504
|
@keyframes pulse { 50% { opacity: 0.45; } }
|
|
@@ -340,14 +517,17 @@ input[type='range'].setting-range:disabled { opacity: 0.3; }
|
|
|
340
517
|
.host-action.danger:hover { color: var(--red); border-color: var(--red); }
|
|
341
518
|
.lightbox-bar .host-action { padding: 4px 10px; }
|
|
342
519
|
.run-card img { max-width: min(320px, 100%); max-height: 320px; border-radius: 6px; display: block; }
|
|
343
|
-
/*
|
|
344
|
-
run
|
|
345
|
-
.gallery.
|
|
346
|
-
.gallery.
|
|
347
|
-
.gallery.
|
|
348
|
-
.gallery.
|
|
349
|
-
.gallery.
|
|
520
|
+
/* columns: equal shares of the panel width (the count is inline), every image as wide as its
|
|
521
|
+
column. A result without an image, and the run card of a graph without one, take a full row */
|
|
522
|
+
.gallery.by-cols { display: grid; align-items: start; }
|
|
523
|
+
.gallery.by-cols > .run-card { grid-column: 1 / -1; min-width: 0; }
|
|
524
|
+
.gallery.by-cols > .run-card.has-image, .gallery.by-cols > .run-card.cell { grid-column: auto; }
|
|
525
|
+
.gallery.by-cols .imgs { flex-direction: column; }
|
|
526
|
+
.gallery.by-cols .img-cell, .gallery.by-cols .img-button { width: 100%; }
|
|
527
|
+
.gallery.by-cols .run-card img { width: 100%; height: auto; max-width: 100%; max-height: none; }
|
|
350
528
|
.run-card .noimg { color: var(--dim); font-style: italic; }
|
|
529
|
+
.audio-cell { display: flex; flex-direction: column; gap: 4px; width: min(100%, 480px); }
|
|
530
|
+
.audio-cell audio { width: 100%; }
|
|
351
531
|
.run-card.running { border-color: var(--accent-dim); }
|
|
352
532
|
/* what the host is on, in the node's own unit — the live signal of a text run, which has
|
|
353
533
|
neither a latent frame nor an image to show */
|
|
@@ -383,6 +563,12 @@ input[type='range'].setting-range:disabled { opacity: 0.3; }
|
|
|
383
563
|
font-size: 11px; line-height: 1.4; cursor: pointer;
|
|
384
564
|
}
|
|
385
565
|
.live-preview:hover { border-color: var(--accent-dim); }
|
|
566
|
+
.live-preview-row { display: flex; gap: 4px; align-items: stretch; min-width: 0; }
|
|
567
|
+
button.live-preview-copy {
|
|
568
|
+
flex-shrink: 0; display: inline-flex; align-items: center; padding: 0 8px; color: var(--dim);
|
|
569
|
+
background: var(--bg); border: 1px solid var(--border); border-radius: 6px;
|
|
570
|
+
}
|
|
571
|
+
button.live-preview-copy:not(:disabled):hover { color: var(--text); border-color: var(--accent-dim); }
|
|
386
572
|
.live-preview-name { flex-shrink: 0; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; font-size: 10px; }
|
|
387
573
|
.live-preview-lines { display: flex; flex-direction: column; min-width: 0; flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
|
|
388
574
|
.live-preview-line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
|
|
@@ -513,6 +699,17 @@ input[type='range'].setting-range:disabled { opacity: 0.3; }
|
|
|
513
699
|
height, so typing a filter or hiding images never moves it */
|
|
514
700
|
.modal-overlay.top { align-items: flex-start; padding-top: 5vh; }
|
|
515
701
|
.modal.loras-modal { height: min(86vh, 100%); max-height: none; }
|
|
702
|
+
.modal.shortcuts-modal { width: min(640px, 100%); max-height: min(86vh, 100%); }
|
|
703
|
+
.shortcuts-modal .modal-head { align-items: center; }
|
|
704
|
+
.shortcuts-title { flex: 1; font-weight: 600; }
|
|
705
|
+
.shortcuts-body { overflow-y: auto; padding: 4px 14px 14px; }
|
|
706
|
+
.shortcuts-group { padding-top: 10px; }
|
|
707
|
+
.shortcuts-row { display: flex; align-items: baseline; gap: 12px; padding: 4px 0; font-size: 13px; }
|
|
708
|
+
.shortcuts-keys { display: inline-flex; flex-wrap: wrap; gap: 4px; width: 200px; flex-shrink: 0; }
|
|
709
|
+
.shortcuts-row kbd {
|
|
710
|
+
font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; padding: 1px 6px; border-radius: 5px;
|
|
711
|
+
background: var(--panel-2); border: 1px solid var(--border); border-bottom-width: 2px; color: var(--text);
|
|
712
|
+
}
|
|
516
713
|
.modal.loras-modal { width: min(1180px, 100%); }
|
|
517
714
|
/* the palette sits BESIDE the gallery, each scrolling alone: picking a lora grows the palette
|
|
518
715
|
and never moves a card under the pointer. Narrow: a fixed-height strip above, same reason */
|
|
@@ -708,11 +905,31 @@ button.enh-big { font-size: 14px; padding: 8px 18px; }
|
|
|
708
905
|
.corner-run-meta { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--dim); white-space: nowrap; }
|
|
709
906
|
.corner-run-meta .run-meta-text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
|
|
710
907
|
/* blur mode: every result, the latent frame included, stays blurred until the pointer is on it */
|
|
711
|
-
.gallery.blur img { filter: blur(22px); transition: filter 0.12s; }
|
|
908
|
+
.gallery.blur img { filter: blur(22px); transition: filter 0.12s, transform 0.12s; }
|
|
712
909
|
.gallery.blur img:hover, .gallery.blur .img-cell:hover img, .gallery.blur button:hover img { filter: none; }
|
|
713
|
-
/*
|
|
714
|
-
|
|
715
|
-
.
|
|
910
|
+
/* the blur stays inside the image: clipped by its button, and the image scaled up a little while
|
|
911
|
+
blurred, else the clip shows the blur fading to transparent along every edge */
|
|
912
|
+
.gallery.blur .img-button { position: relative; overflow: hidden; border-radius: 6px; }
|
|
913
|
+
.gallery.blur .img-button img { transform: scale(1.12); }
|
|
914
|
+
.gallery.blur .img-button:hover img { transform: none; }
|
|
915
|
+
.blur-hint {
|
|
916
|
+
position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
|
|
917
|
+
font-size: 13px; padding: 2px 8px; color: #fff; opacity: 0.85; background: rgba(0, 0, 0, 0.35);
|
|
918
|
+
}
|
|
919
|
+
.img-button:hover .blur-hint { display: none; }
|
|
920
|
+
/* an unsaved output: only the serve process holds it, so it says so where the eye lands */
|
|
921
|
+
.gallery .img-button, .audio-cell { position: relative; }
|
|
922
|
+
.ephemeral-pill {
|
|
923
|
+
position: absolute; left: 6px; bottom: 6px; pointer-events: auto; display: inline-flex; align-items: center; gap: 4px;
|
|
924
|
+
font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px;
|
|
925
|
+
color: #1a1400; background: var(--amber); opacity: 0.92;
|
|
926
|
+
}
|
|
927
|
+
.audio-cell .ephemeral-pill { position: static; align-self: flex-start; }
|
|
928
|
+
.memory-menu { max-width: 300px; }
|
|
929
|
+
.memory-note { margin: 0; padding: 2px 4px; font-size: 12px; line-height: 1.4; }
|
|
930
|
+
.memory-note.error { color: var(--red); }
|
|
931
|
+
/* bigger control buttons: the preview head and the menu column, one size with the form rows */
|
|
932
|
+
.results-head .btn-group > button, .menu-section .btn-group > button, .menu-panel button.head-icon, .drawer button.head-icon {
|
|
716
933
|
height: 28px; min-width: 28px; font-size: 13px;
|
|
717
934
|
display: inline-flex; align-items: center; justify-content: center; gap: 4px;
|
|
718
935
|
}
|
|
@@ -720,11 +937,33 @@ button.enh-big { font-size: 14px; padding: 8px 18px; }
|
|
|
720
937
|
results never read as one page. Placement rules below refine it (the corner card is tighter) */
|
|
721
938
|
.results-col { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px 10px; }
|
|
722
939
|
.results-col .gallery { margin-top: 0; }
|
|
723
|
-
|
|
940
|
+
/* on the preview surface a result is its image, title and buttons, with no frame of its own */
|
|
941
|
+
.results-col .run-card { background: none; border: 0; border-radius: 0; padding: 0; }
|
|
942
|
+
/* a result with an image is only its image: the title and delete show over its top edge on
|
|
943
|
+
hover. Out of the flow, the title no longer sizes the card, so grid cards wrap at the image
|
|
944
|
+
width. A screen with no hover keeps the line visible */
|
|
945
|
+
.gallery.by-cols .run-card.has-image { position: relative; }
|
|
946
|
+
.gallery.by-cols .run-card.has-image > .meta {
|
|
947
|
+
position: absolute; top: 0; left: 0; right: 0; z-index: 2; margin: 0; padding: 6px 8px 14px;
|
|
948
|
+
align-items: flex-start; color: #fff; border-radius: 6px 6px 0 0;
|
|
949
|
+
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
|
|
950
|
+
opacity: 0; pointer-events: none; transition: opacity 0.12s;
|
|
951
|
+
}
|
|
952
|
+
.gallery .run-card.has-image > .meta .meta-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
953
|
+
.gallery .run-card.has-image:hover > .meta { opacity: 1; pointer-events: auto; }
|
|
954
|
+
.gallery .run-card.has-image > .meta button.link { color: #fff; }
|
|
955
|
+
@media (hover: none) {
|
|
956
|
+
.gallery .run-card.has-image > .meta { opacity: 1; pointer-events: auto; }
|
|
957
|
+
}
|
|
724
958
|
.work.layout-bottom .results-col { margin-top: 16px; }
|
|
725
959
|
/* the panel's own controls sit on top of it */
|
|
726
960
|
.head-group-labeled { display: flex; flex-direction: column; gap: 2px; }
|
|
727
|
-
|
|
961
|
+
/* the columns count: one button tall, the word inside, like the blur toggle beside it */
|
|
962
|
+
.cols-field {
|
|
963
|
+
display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; font-size: 13px;
|
|
964
|
+
border: 1px solid var(--border); border-radius: 6px; background: var(--panel-2); color: var(--dim);
|
|
965
|
+
}
|
|
966
|
+
.cols-field input { width: 3.2em; padding: 1px 4px; font-size: 13px; text-align: center; }
|
|
728
967
|
.head-row { gap: 6px; flex-wrap: nowrap; }
|
|
729
968
|
.group-caption { font-size: 10px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; padding-left: 2px; }
|
|
730
969
|
.results-head {
|
|
@@ -744,13 +983,16 @@ button.enh-big { font-size: 14px; padding: 8px 18px; }
|
|
|
744
983
|
.work.split { flex: 1; min-width: 0; height: 100%; gap: 0; align-items: stretch; }
|
|
745
984
|
.split-panel { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
|
|
746
985
|
.split-form { padding: 12px 14px 14px; }
|
|
747
|
-
.split-results { background: var(--
|
|
986
|
+
.split-results { background: var(--chrome); padding: 10px 12px; }
|
|
748
987
|
.work.split .results-col {
|
|
749
988
|
position: static; width: auto; max-height: none; overflow: visible;
|
|
750
989
|
background: none; border: 0; border-radius: 0; padding: 0;
|
|
751
990
|
}
|
|
752
|
-
.split-handle {
|
|
753
|
-
|
|
991
|
+
.split-handle {
|
|
992
|
+
width: 5px; cursor: col-resize; transition: background 0.1s;
|
|
993
|
+
background: linear-gradient(90deg, transparent 2px, var(--hairline) 2px, var(--hairline) 3px, transparent 3px);
|
|
994
|
+
}
|
|
995
|
+
.split-handle:hover, .split-handle[data-separator-state='drag'] { background: var(--accent-dim); }
|
|
754
996
|
|
|
755
997
|
/* the placements. Each one is a BUTTON and nothing else: there is no width rule that quietly
|
|
756
998
|
moves the panel somewhere no button is showing */
|
|
@@ -817,11 +1059,11 @@ button.enh-big { font-size: 14px; padding: 8px 18px; }
|
|
|
817
1059
|
}
|
|
818
1060
|
.btn-group button:first-child { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
|
|
819
1061
|
.btn-group button:last-child { border-right-width: 1px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
|
|
820
|
-
.btn-group button.sel { background: var(--
|
|
1062
|
+
.btn-group button.sel { background: var(--sel-bg); border-color: var(--sel-border); color: var(--sel-text); font-weight: 600; }
|
|
821
1063
|
/* the selected segment owns the divider on both sides, else its highlight looks clipped */
|
|
822
|
-
.btn-group button.sel + button { border-left-color: var(--
|
|
1064
|
+
.btn-group button.sel + button { border-left-color: var(--sel-border); }
|
|
823
1065
|
.btn-group button:hover { background: var(--panel); }
|
|
824
|
-
.btn-group button.sel:hover { background: var(--
|
|
1066
|
+
.btn-group button.sel:hover { background: var(--sel-bg); }
|
|
825
1067
|
/* ONE height for every button a var row shows in a group or an action line: a choice, the
|
|
826
1068
|
lora toggles, a lane header, the seed modes. Before, each kind had its own padding and a
|
|
827
1069
|
choice sat visibly smaller than the toggles beside it */
|
|
@@ -836,18 +1078,10 @@ button.enh-big { font-size: 14px; padding: 8px 18px; }
|
|
|
836
1078
|
.field-height button { display: inline-flex; align-items: center; justify-content: center; }
|
|
837
1079
|
/* a one-character mode button still needs a target: = + ? are narrow glyphs */
|
|
838
1080
|
.btn-group.field-height button { min-width: 28px; }
|
|
839
|
-
/* the draft line: rename, the name, delete, on one line around the name they act on */
|
|
840
|
-
.draft-line { display: flex; gap: 4px; align-items: center; min-width: 0; }
|
|
841
|
-
.draft-line select { flex: 1; min-width: 0; }
|
|
842
1081
|
button.head-icon { padding: 2px 5px; background: none; border-color: transparent; color: var(--dim); }
|
|
843
1082
|
button.head-icon:hover { border-color: var(--border); color: var(--text); }
|
|
844
1083
|
button.head-icon.danger:hover { color: var(--red); border-color: var(--red); }
|
|
845
|
-
.head-input { padding: 2px 6px; font-size: 13px; font-weight: 600; color: var(--accent);
|
|
846
|
-
.head-label .save-state { color: var(--dim); font-weight: 400; margin-left: 4px; }
|
|
847
|
-
.head-label .save-state.error { color: var(--red); }
|
|
848
|
-
/* every head box is two lines: what you are on, then what you can do to it */
|
|
849
|
-
.head-box { display: flex; flex-direction: column; gap: 5px; }
|
|
850
|
-
.head-line { display: flex; gap: 8px; align-items: center; min-height: 24px; }
|
|
1084
|
+
.head-input { flex: 1; min-width: 0; padding: 2px 6px; font-size: 13px; font-weight: 600; color: var(--accent); }
|
|
851
1085
|
|
|
852
1086
|
/* the lora controls sit above the palette, left aligned */
|
|
853
1087
|
.lora-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
|
|
@@ -883,7 +1117,7 @@ button.head-icon.danger:hover { color: var(--red); border-color: var(--red); }
|
|
|
883
1117
|
content: ''; position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%;
|
|
884
1118
|
background: var(--dim); transition: transform 0.15s, background 0.15s;
|
|
885
1119
|
}
|
|
886
|
-
.switch input:checked + .track { background: var(--
|
|
1120
|
+
.switch input:checked + .track { background: var(--sel-bg); border-color: var(--sel-border); }
|
|
887
1121
|
.switch input:checked + .track::after { transform: translateX(12px); background: var(--accent); }
|
|
888
1122
|
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
889
1123
|
|