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