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 {
148 position: relative;
149 height: 84px;
150 cursor: text;
151 touch-action: none;
152}
153#timeline-canvas {
154 position: absolute;
155 inset: 0;
156 width: 100%;
157 height: 100%;
158 display: block;
159}
160
161#controls {
162 display: flex;
163 align-items: center;
164 gap: 6px;
165 min-height: 46px;
166 padding: 6px 10px;
167 border-top: 1px solid var(--line);
168 flex-wrap: wrap;
169}
170
171.spacer { flex: 1 1 auto; }
172
173button, select, input[type="text"] {
174 font: inherit;
175 color: var(--text);
176 background: var(--panel-2);
177 border: 1px solid var(--line);
178 border-radius: 6px;
179 height: 30px;
180}
181button { cursor: pointer; padding: 0 10px; }
182button:hover, select:hover { border-color: #3d3d44; background: #29292e; }
183button:focus-visible, select:focus-visible, input:focus-visible { outline: 2px solid var(--range-edge); outline-offset: 1px; }
184select { padding: 0 6px; cursor: pointer; }
185
186button.icon {
187 width: 34px;
188 padding: 0;
189 display: inline-grid;
190 place-items: center;
191}
192button.icon.small { width: 30px; }
193button.icon svg { width: 15px; height: 15px; fill: currentColor; }
194#btn-play svg { width: 16px; height: 16px; }
195
196#timecode {
197 display: inline-flex;
198 align-items: baseline;
199 gap: 8px;
200 padding: 0 10px;
201 font-family: var(--mono);
202 background: #111113;
203 min-width: 170px;
204}
205#tc-time { font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
206#tc-frame { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
207#tc-dur { color: var(--dim); font: 12px var(--mono); }
208#timecode.copied { border-color: var(--ok); }
209
210#goto {
211 width: 170px;
212 padding: 0 10px;
213 font-family: var(--mono);
214 background: #111113;
215 user-select: text;
216 -webkit-user-select: text;
217}
218
219.chip { font-size: 12px; padding: 0 9px; }
220.chip.toggle { color: var(--dim); }
221.chip.toggle.on { color: var(--text); border-color: var(--range-edge); background: rgba(91, 141, 239, 0.14); }
222#range {
223 font-family: var(--mono);
224 font-size: 11.5px;
225 color: #b9cdf7;
226 border-color: rgba(91, 141, 239, 0.5);
227 background: rgba(91, 141, 239, 0.12);
228}
229#volume { width: 80px; accent-color: var(--text); }
230
231@media (max-width: 640px) {
232 #tc-dur, #volume { display: none; }
233}
234
235/* ------------------------------------------------------------ notes */
236#notes {
237 flex: 0 0 340px;
238 display: flex;
239 flex-direction: column;
240 min-height: 0;
241 background: var(--panel);
242 border-left: 1px solid var(--line);
243}
244#notes[hidden] { display: none; }
245
246.notes-head {
247 display: flex;
248 align-items: center;
249 justify-content: space-between;
250 padding: 8px 10px 8px 14px;
251 border-bottom: 1px solid var(--line);
252}
253.notes-head h2 { margin: 0; font-size: 13px; font-weight: 600; }
254
255#shot-list {
256 flex: 1 1 auto;
257 overflow-y: auto;
258 padding: 10px;
259 display: flex;
260 flex-direction: column;
261 gap: 10px;
262}
263#shot-empty { margin: 0; padding: 4px 16px 16px; color: var(--dim); line-height: 1.5; }
264#shot-empty[hidden] { display: none; }
265kbd {
266 font: 11px var(--mono);
267 padding: 1px 5px;
268 border: 1px solid var(--line);
269 border-radius: 4px;
270 background: var(--panel-2);
271}
272
273.shot {
274 border: 1px solid var(--line);
275 border-radius: 8px;
276 background: var(--panel-2);
277 overflow: hidden;
278}
279.shot.fresh { border-color: var(--range-edge); }
280.shot-img {
281 display: block;
282 width: 100%;
283 max-height: 200px;
284 object-fit: contain;
285 background: #0b0b0c;
286 cursor: pointer;
287}
288.shot-bar {
289 display: flex;
290 align-items: center;
291 gap: 6px;
292 padding: 6px 6px 0 10px;
293}
294.shot-n { color: var(--dim); font-size: 12px; }
295.shot-tc {
296 height: 24px;
297 padding: 0 7px;
298 font: 11.5px var(--mono);
299 color: #b9cdf7;
300 background: rgba(91, 141, 239, 0.12);
301 border-color: rgba(91, 141, 239, 0.4);
302}
303.shot-where { color: var(--dim); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 auto; min-width: 0; }
304.shot-del { height: 24px; width: 24px; padding: 0; display: inline-grid; place-items: center; color: var(--dim); background: transparent; border-color: transparent; }
305.shot-del:hover { color: var(--accent); }
306.shot-del svg { width: 12px; height: 12px; fill: currentColor; }
307
308textarea {
309 display: block;
310 width: 100%;
311 resize: vertical;
312 font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
313 color: var(--text);
314 background: #111113;
315 border: 1px solid var(--line);
316 border-radius: 6px;
317 padding: 7px 9px;
318 user-select: text;
319 -webkit-user-select: text;
320}
321textarea:focus-visible { outline: 2px solid var(--range-edge); outline-offset: 0; }
322.shot textarea { margin: 6px 0 0; border-width: 1px 0 0; border-radius: 0; min-height: 60px; }
323
324.notes-foot {
325 display: flex;
326 flex-direction: column;
327 gap: 8px;
328 padding: 10px;
329 border-top: 1px solid var(--line);
330}
331button.primary {
332 height: 34px;
333 font-weight: 600;
334 background: #3a63c9;
335 border-color: #4a73d9;
336}
337button.primary:hover { background: #4570d8; border-color: #5b8def; }
338button.primary:disabled { opacity: 0.45; cursor: default; background: #3a63c9; }
339#share-status { color: var(--dim); font-size: 12px; line-height: 1.4; min-height: 0; overflow-wrap: anywhere; }
340#share-status:empty { display: none; }
341#share-status .ok { color: var(--ok); }
342#share-status code { font: 11px var(--mono); color: var(--text); user-select: text; -webkit-user-select: text; }
343
344#notes-count:not(:empty) {
345 margin-left: 6px;
346 padding: 0 6px;
347 border-radius: 999px;
348 background: var(--range-edge);
349 color: #fff;
350 font-size: 11px;
351}
352
353@media (max-width: 760px) {
354 #notes { flex-basis: 260px; }
355}