Open History to see the last commit
1:root {
2 --bg: #0e0e10;
3 --stage: #141416;
4 --panel: #19191c;
5 --panel-2: #222226;
6 --line: #2c2c31;
7 --text: #e8e8ea;
8 --dim: #8d8d95;
9 --accent: #ff4f4f;
10 --range: rgba(91, 141, 239, 0.16);
11 --range-edge: #5b8def;
12 --ok: #4fb37a;
13 --warn: #e2b55e;
14 --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
15 color-scheme: dark;
16}
17
18* { box-sizing: border-box; }
19
20html, body {
21 margin: 0;
22 height: 100%;
23 background: var(--bg);
24 color: var(--text);
25 font: 13px/1.3 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
26 overflow: hidden;
27 user-select: none;
28 -webkit-user-select: none;
29}
30
31body {
32 display: flex;
33 flex-direction: column;
34}
35
36/* ------------------------------------------------------------ stage */
37#main {
38 flex: 1 1 auto;
39 display: flex;
40 min-height: 80px;
41}
42
43#stage {
44 position: relative;
45 flex: 1 1 auto;
46 min-width: 0;
47 min-height: 80px;
48 background: var(--stage);
49 overflow: hidden;
50}
51
52#canvas {
53 position: absolute;
54 inset: 0;
55 width: 100%;
56 height: 100%;
57 display: block;
58}
59
60#badge {
61 position: absolute;
62 top: 10px;
63 left: 10px;
64 display: flex;
65 align-items: center;
66 gap: 8px;
67 padding: 5px 10px 5px 8px;
68 border-radius: 999px;
69 background: rgba(14, 14, 16, 0.72);
70 backdrop-filter: blur(8px);
71 font-size: 12px;
72 color: var(--dim);
73 opacity: 0;
74 transition: opacity 0.2s;
75 pointer-events: none;
76}
77#stage:hover #badge, #badge.show { opacity: 1; }
78#badge-name { color: var(--text); font-weight: 600; }
79#badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
80#badge-dot.ok { background: var(--ok); }
81#badge-dot.busy { background: var(--warn); }
82#badge-dot.err { background: var(--accent); }
83
84#error {
85 position: absolute;
86 left: 12px;
87 right: 12px;
88 bottom: 12px;
89 max-height: 50%;
90 overflow: auto;
91 margin: 0;
92 padding: 12px 14px;
93 border-radius: 8px;
94 border: 1px solid rgba(255, 79, 79, 0.5);
95 background: rgba(40, 10, 12, 0.92);
96 color: #ffc9c9;
97 font: 12px/1.45 var(--mono);
98 white-space: pre-wrap;
99 user-select: text;
100 -webkit-user-select: text;
101}
102
103#toast {
104 position: absolute;
105 top: 12px;
106 left: 50%;
107 transform: translateX(-50%);
108 padding: 7px 12px;
109 border-radius: 8px;
110 background: rgba(14, 14, 16, 0.9);
111 border: 1px solid var(--line);
112 font: 12px var(--mono);
113 pointer-events: none;
114}
115
116#help {
117 position: absolute;
118 inset: 0;
119 display: grid;
120 place-items: center;
121 background: rgba(0, 0, 0, 0.55);
122 z-index: 5;
123}
124#help[hidden] { display: none; }
125.help-card {
126 width: min(460px, calc(100% - 32px));
127 max-height: calc(100% - 32px);
128 overflow: auto;
129 padding: 18px 20px;
130 border-radius: 12px;
131 background: var(--panel);
132 border: 1px solid var(--line);
133}
134.help-card h2 { margin: 0 0 12px; font-size: 14px; }
135.help-card dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
136.help-card dt { font: 12px var(--mono); color: var(--text); }
137.help-card dd { margin: 0; color: var(--dim); }
138.help-card .hint { margin: 14px 0 0; color: var(--dim); font-size: 12px; }
139
140/* ------------------------------------------------------------ dock */
141#dock {
142 flex: 0 0 auto;
143 background: var(--panel);
144 border-top: 1px solid var(--line);
145}
146
147#timeline-wrap {
148 --lane: 40px;
149 display: flex;
150 height: calc(28px + var(--tracks, 1) * var(--lane));
151 min-height: 68px;
152}
153
154#track-heads {
155 flex: 0 0 236px;
156 border-right: 1px solid var(--line);
157 padding: 0 8px;
158}
159.heads-top {
160 display: flex;
161 align-items: center;
162 justify-content: space-between;
163 height: 24px;
164}
165button.heads-title {
166 display: inline-flex;
167 align-items: center;
168 gap: 4px;
169 height: 20px;
170 padding: 0 4px 0 0;
171 margin-left: -2px;
172 color: var(--dim);
173 background: transparent;
174 border-color: transparent;
175 font-size: 11px;
176 letter-spacing: 0.04em;
177 text-transform: uppercase;
178 white-space: nowrap;
179}
180button.heads-title:hover { color: var(--text); background: transparent; border-color: transparent; }
181.heads-title svg { width: 12px; height: 12px; fill: currentColor; transition: transform 0.15s; }
182#tracks-count { text-transform: none; letter-spacing: 0; }
183
184body.tracks-collapsed #timeline-wrap { height: 40px; min-height: 0; }
185body.tracks-collapsed #track-list,
186body.tracks-collapsed #btn-add-track,
187body.tracks-collapsed #clips,
188body.tracks-collapsed #clip-inspector { display: none; }
189body.tracks-collapsed .heads-title svg { transform: rotate(-90deg); }
190#btn-add-track { height: 20px; font-size: 11px; padding: 0 7px; }
191#btn-add-track:disabled { opacity: 0.4; cursor: default; }
192#track-list { display: flex; flex-direction: column; gap: 4px; }
193
194.track-head {
195 display: flex;
196 align-items: center;
197 gap: 4px;
198 height: 36px;
199 padding: 0 4px 0 6px;
200 border-radius: 6px;
201 background: var(--panel-2);
202}
203.track-head.silent .th-name, .track-head.silent .th-val { opacity: 0.5; }
204.th-n { color: var(--dim); font: 11px var(--mono); width: 10px; }
205.track-head input.th-name {
206 flex: 1 1 auto;
207 min-width: 0;
208 height: 24px;
209 padding: 0 5px;
210 font-size: 12px;
211 background: transparent;
212 border-color: transparent;
213 user-select: text;
214 -webkit-user-select: text;
215}
216.track-head input.th-name:hover { border-color: var(--line); }
217.track-head input.th-name:focus { background: #111113; border-color: var(--line); }
218.tbtn {
219 height: 22px;
220 min-width: 22px;
221 padding: 0 4px;
222 font: 600 11px var(--mono);
223 color: var(--dim);
224 border-radius: 4px;
225 display: inline-grid;
226 place-items: center;
227}
228.tbtn svg { width: 11px; height: 11px; fill: currentColor; }
229.th-mute.on { color: #111; background: var(--warn); border-color: var(--warn); }
230.th-solo.on { color: #111; background: #7ec4ff; border-color: #7ec4ff; }
231.th-del { background: transparent; border-color: transparent; }
232.th-del:hover { color: var(--accent); }
233.th-del[hidden] { display: none; }
234.th-vol { width: 52px; accent-color: var(--text); }
235.th-val { width: 34px; text-align: right; font: 11px var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }
236
237#timeline {
238 position: relative;
239 flex: 1 1 auto;
240 min-width: 0;
241 cursor: text;
242 touch-action: none;
243}
244
245#clips { position: absolute; inset: 0; pointer-events: none; }
246.clip {
247 position: absolute;
248 pointer-events: auto;
249 display: flex;
250 align-items: flex-start;
251 gap: 4px;
252 padding: 2px 5px;
253 height: 36px;
254 border-radius: 5px;
255 border: 1px solid color-mix(in srgb, var(--c) 70%, transparent);
256 border-left-width: 3px;
257 background: color-mix(in srgb, var(--c) 10%, transparent);
258 font-size: 10.5px;
259 line-height: 1.2;
260 overflow: hidden;
261 cursor: grab;
262 touch-action: none;
263}
264.clip:hover { background: color-mix(in srgb, var(--c) 18%, transparent); border-color: var(--c); }
265.clip.selected { border-color: #fff; border-left-color: var(--c); box-shadow: 0 0 0 1px #fff; z-index: 2; }
266.clip.dragging { cursor: grabbing; opacity: 0.85; z-index: 3; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
267.clip.silent { opacity: 0.45; }
268.clip-name { color: var(--text); white-space: nowrap; text-shadow: 0 1px 2px #000; }
269.clip-gain { color: #ffd88a; font-family: var(--mono); white-space: nowrap; text-shadow: 0 1px 2px #000; }
270.clip[hidden] { display: none; }
271.clip.alt { align-items: flex-end; }
272.clip.cut { border-right-color: transparent; border-top-right-radius: 0; border-bottom-right-radius: 0; }
273.clip.narrow { padding: 0; border-left-width: 2px; }
274.clip.stacked { padding-top: 0; padding-bottom: 0; align-items: center; }
275.clip.narrow .clip-name, .clip.narrow .clip-gain { display: none; }
276
277#clip-inspector {
278 display: flex;
279 align-items: center;
280 gap: 8px;
281 min-height: 40px;
282 padding: 5px 10px;
283 border-top: 1px solid var(--line);
284 background: #1c1d22;
285 flex-wrap: wrap;
286}
287#clip-inspector[hidden] { display: none; }
288#ci-dot { width: 10px; height: 10px; border-radius: 3px; }
289#ci-name { font-weight: 600; }
290#ci-time { height: 24px; font: 11.5px var(--mono); color: #b9cdf7; background: rgba(91, 141, 239, 0.12); border-color: rgba(91, 141, 239, 0.4); }
291#ci-asset { color: var(--dim); font-size: 12px; }
292.ci-sep { width: 1px; height: 18px; background: var(--line); }
293.ci-label { color: var(--dim); font-size: 12px; }
294.ci-steps { position: relative; width: 150px; height: 26px; display: flex; align-items: center; }
295#ci-gain { width: 100%; margin: 0; accent-color: #ffd88a; }
296.ci-ticks {
297 position: absolute;
298 left: 7px;
299 right: 7px;
300 bottom: 0;
301 display: flex;
302 justify-content: space-between;
303 pointer-events: none;
304}
305.ci-ticks i { width: 1px; height: 4px; background: #5a5a63; }
306.ci-ticks i:first-child, .ci-ticks i:nth-child(6), .ci-ticks i:last-child { height: 6px; background: #8d8d95; }
307#ci-pct { width: 38px; text-align: right; font: 12px var(--mono); font-variant-numeric: tabular-nums; }
308#ci-db { width: 64px; font: 11.5px var(--mono); color: var(--dim); }
309#ci-all, #ci-reset { height: 24px; }
310#ci-all[hidden] { display: none; }
311#ci-reset:disabled { opacity: 0.4; cursor: default; }
312#timeline-canvas {
313 position: absolute;
314 inset: 0;
315 width: 100%;
316 height: 100%;
317 display: block;
318}
319
320#controls {
321 display: flex;
322 align-items: center;
323 gap: 6px;
324 min-height: 46px;
325 padding: 6px 10px;
326 border-top: 1px solid var(--line);
327 flex-wrap: wrap;
328}
329
330.spacer { flex: 1 1 auto; }
331
332button, select, input[type="text"] {
333 font: inherit;
334 color: var(--text);
335 background: var(--panel-2);
336 border: 1px solid var(--line);
337 border-radius: 6px;
338 height: 30px;
339}
340button { cursor: pointer; padding: 0 10px; }
341button:hover, select:hover { border-color: #3d3d44; background: #29292e; }
342button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--range-edge); outline-offset: 1px; }
343select { padding: 0 6px; cursor: pointer; }
344
345button.icon {
346 width: 34px;
347 padding: 0;
348 display: inline-grid;
349 place-items: center;
350}
351button.icon.small { width: 30px; }
352button.icon svg { width: 15px; height: 15px; fill: currentColor; }
353#btn-play svg { width: 16px; height: 16px; }
354
355#timecode {
356 display: inline-flex;
357 align-items: baseline;
358 gap: 8px;
359 padding: 0 10px;
360 font-family: var(--mono);
361 background: #111113;
362 min-width: 170px;
363}
364#tc-time { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
365#tc-frame { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
366#tc-dur { color: var(--dim); font: 12px var(--mono); }
367#timecode.copied { border-color: var(--ok); }
368
369#goto {
370 width: 170px;
371 padding: 0 10px;
372 font-family: var(--mono);
373 background: #111113;
374 user-select: text;
375 -webkit-user-select: text;
376}
377
378.chip { font-size: 12px; padding: 0 9px; }
379.chip.toggle { color: var(--dim); }
380.chip.toggle.on { color: var(--text); border-color: var(--range-edge); background: rgba(91, 141, 239, 0.14); }
381#range {
382 font-family: var(--mono);
383 font-size: 11.5px;
384 color: #b9cdf7;
385 border-color: rgba(91, 141, 239, 0.5);
386 background: rgba(91, 141, 239, 0.12);
387}
388#volume { width: 80px; accent-color: var(--text); }
389
390@media (max-width: 640px) {
391 #tc-dur, #volume { display: none; }
392 #track-heads { flex-basis: 150px; }
393 .th-vol, .th-n { display: none; }
394}
395
396/* ------------------------------------------------------------ notes */
397#notes {
398 flex: 0 0 340px;
399 display: flex;
400 flex-direction: column;
401 min-height: 0;
402 background: var(--panel);
403 border-left: 1px solid var(--line);
404}
405#notes[hidden] { display: none; }
406
407.notes-head {
408 display: flex;
409 align-items: center;
410 justify-content: space-between;
411 padding: 8px 10px 8px 14px;
412 border-bottom: 1px solid var(--line);
413}
414.notes-head h2 { margin: 0; font-size: 13px; font-weight: 600; }
415
416#shot-list {
417 flex: 1 1 auto;
418 overflow-y: auto;
419 padding: 10px;
420 display: flex;
421 flex-direction: column;
422 gap: 10px;
423}
424#shot-empty { margin: 0; padding: 4px 16px 16px; color: var(--dim); line-height: 1.5; }
425#shot-empty[hidden] { display: none; }
426kbd {
427 font: 11px var(--mono);
428 padding: 1px 5px;
429 border: 1px solid var(--line);
430 border-radius: 4px;
431 background: var(--panel-2);
432}
433
434.shot {
435 border: 1px solid var(--line);
436 border-radius: 8px;
437 background: var(--panel-2);
438 overflow: hidden;
439}
440.shot.fresh { border-color: var(--range-edge); }
441.shot-img {
442 display: block;
443 width: 100%;
444 max-height: 200px;
445 object-fit: contain;
446 background: #0b0b0c;
447 cursor: pointer;
448}
449.shot-bar {
450 display: flex;
451 align-items: center;
452 gap: 6px;
453 padding: 6px 6px 0 10px;
454}
455.shot-n { color: var(--dim); font-size: 12px; }
456.shot-tc {
457 height: 24px;
458 padding: 0 7px;
459 font: 11.5px var(--mono);
460 color: #b9cdf7;
461 background: rgba(91, 141, 239, 0.12);
462 border-color: rgba(91, 141, 239, 0.4);
463}
464.shot-where { color: var(--dim); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
465.shot-del { height: 24px; width: 24px; padding: 0; display: inline-grid; place-items: center; color: var(--dim); background: transparent; border-color: transparent; }
466.shot-del:hover { color: var(--accent); }
467.shot-del svg { width: 12px; height: 12px; fill: currentColor; }
468
469textarea {
470 display: block;
471 width: 100%;
472 resize: vertical;
473 font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
474 color: var(--text);
475 background: #111113;
476 border: 1px solid var(--line);
477 border-radius: 6px;
478 padding: 7px 9px;
479 user-select: text;
480 -webkit-user-select: text;
481}
482textarea:focus-visible { outline: 2px solid var(--range-edge); outline-offset: 0; }
483.shot textarea { margin: 6px 0 0; border-width: 1px 0 0; border-radius: 0; min-height: 60px; }
484
485.notes-foot {
486 display: flex;
487 flex-direction: column;
488 gap: 8px;
489 padding: 10px;
490 border-top: 1px solid var(--line);
491}
492button.primary {
493 height: 34px;
494 font-weight: 600;
495 background: #3a63c9;
496 border-color: #4a73d9;
497}
498button.primary:hover { background: #4570d8; border-color: #5b8def; }
499button.primary:disabled { opacity: 0.45; cursor: default; background: #3a63c9; }
500#share-status { color: var(--dim); font-size: 12px; line-height: 1.4; min-height: 0; overflow-wrap: anywhere; }
501#share-status:empty { display: none; }
502#share-status .ok { color: var(--ok); }
503#share-status code { font: 11px var(--mono); color: var(--text); user-select: text; -webkit-user-select: text; }
504
505#notes-count:not(:empty) {
506 margin-left: 6px;
507 padding: 0 6px;
508 border-radius: 999px;
509 background: var(--range-edge);
510 color: #fff;
511 font-size: 11px;
512}
513
514@media (max-width: 760px) {
515 #notes { flex-basis: 260px; }
516}