primocode 7.18.0 → 8.0.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/bin/primocode.js +0 -0
- package/lib/catalogo.js +12 -0
- package/lib/studio.js +198 -0
- package/lib/tools.js +15 -0
- package/lib/ui.js +3 -1
- package/package.json +2 -1
- package/studio/PRIMOCODE.md +58 -0
- package/studio/README.md +154 -0
- package/studio/__pycache__/server.cpython-311.pyc +0 -0
- package/studio/ferramentas/00-protocolo.md +111 -0
- package/studio/ferramentas/01-modelos.md +202 -0
- package/studio/ferramentas/README.md +32 -0
- package/studio/ferramentas/corte.md +193 -0
- package/studio/ferramentas/grade.md +92 -0
- package/studio/ferramentas/prisma.md +99 -0
- package/studio/ferramentas/prosa.md +86 -0
- package/studio/ferramentas/tela.md +72 -0
- package/studio/ferramentas/traco.md +79 -0
- package/studio/server.py +792 -0
- package/studio/web/core.css +723 -0
- package/studio/web/home.html +149 -0
- package/studio/web/js/audio.js +262 -0
- package/studio/web/js/editor.js +1270 -0
- package/studio/web/js/exportar.js +135 -0
- package/studio/web/js/ferramentas.js +105 -0
- package/studio/web/js/icones.js +91 -0
- package/studio/web/js/midia.js +157 -0
- package/studio/web/js/narracao.js +254 -0
- package/studio/web/js/player.js +504 -0
- package/studio/web/js/render-grade.js +243 -0
- package/studio/web/js/render-prosa.js +104 -0
- package/studio/web/js/render.js +622 -0
- package/studio/web/render.css +565 -0
- package/studio/web/tool.html +70 -0
- package/studio/web/view.html +20 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
PrimoCode Studio — núcleo visual da interface
|
|
3
|
+
========================================================================== */
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--sans: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
|
|
7
|
+
--mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
|
|
8
|
+
|
|
9
|
+
--preto: #09090b;
|
|
10
|
+
--fundo: #0d0d10;
|
|
11
|
+
--sup: #141419;
|
|
12
|
+
--sup2: #1b1b22;
|
|
13
|
+
--sup3: #23232c;
|
|
14
|
+
--linha: rgba(255, 255, 255, .085);
|
|
15
|
+
--linha2: rgba(255, 255, 255, .16);
|
|
16
|
+
--texto: #f1f1f4;
|
|
17
|
+
--fraco: #8d8d9a;
|
|
18
|
+
--fraco2: #5a5a67;
|
|
19
|
+
--primo: #ff5a36;
|
|
20
|
+
--primo-suave: rgba(255, 90, 54, .14);
|
|
21
|
+
|
|
22
|
+
--r: 10px;
|
|
23
|
+
--r2: 14px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
* { box-sizing: border-box; }
|
|
27
|
+
|
|
28
|
+
html, body {
|
|
29
|
+
margin: 0;
|
|
30
|
+
height: 100%;
|
|
31
|
+
background: var(--fundo);
|
|
32
|
+
color: var(--texto);
|
|
33
|
+
font-family: var(--sans);
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
-webkit-font-smoothing: antialiased;
|
|
36
|
+
-moz-osx-font-smoothing: grayscale;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
a { color: inherit; text-decoration: none; }
|
|
40
|
+
::selection { background: var(--primo); color: #fff; }
|
|
41
|
+
|
|
42
|
+
::-webkit-scrollbar { width: 10px; height: 10px; }
|
|
43
|
+
::-webkit-scrollbar-thumb { background: #2a2a33; border-radius: 6px; border: 3px solid var(--fundo); }
|
|
44
|
+
::-webkit-scrollbar-thumb:hover { background: #383843; }
|
|
45
|
+
|
|
46
|
+
/* ------------------------------------------------------------- primitivas */
|
|
47
|
+
|
|
48
|
+
.btn {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 7px;
|
|
52
|
+
height: 32px;
|
|
53
|
+
padding: 0 12px;
|
|
54
|
+
border: 1px solid var(--linha);
|
|
55
|
+
border-radius: var(--r);
|
|
56
|
+
background: var(--sup2);
|
|
57
|
+
color: var(--texto);
|
|
58
|
+
font: 500 13px/1 var(--sans);
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
white-space: nowrap;
|
|
61
|
+
transition: background .14s, border-color .14s, color .14s;
|
|
62
|
+
}
|
|
63
|
+
.btn:hover { background: var(--sup3); border-color: var(--linha2); }
|
|
64
|
+
.btn.primo { background: var(--primo); border-color: transparent; color: #fff; font-weight: 560; }
|
|
65
|
+
.btn.primo:hover { background: #ff6f50; }
|
|
66
|
+
.btn.vazio { background: transparent; }
|
|
67
|
+
.btn.vazio:hover { background: var(--sup2); }
|
|
68
|
+
.btn.perigo:hover { color: #ff8a72; border-color: rgba(255, 138, 114, .4); }
|
|
69
|
+
.btn svg { width: 15px; height: 15px; }
|
|
70
|
+
.btn.so-icone { width: 32px; padding: 0; justify-content: center; }
|
|
71
|
+
|
|
72
|
+
.campo {
|
|
73
|
+
height: 32px;
|
|
74
|
+
padding: 0 10px;
|
|
75
|
+
border: 1px solid var(--linha);
|
|
76
|
+
border-radius: var(--r);
|
|
77
|
+
background: var(--preto);
|
|
78
|
+
color: var(--texto);
|
|
79
|
+
font: 400 13px/1 var(--sans);
|
|
80
|
+
width: 100%;
|
|
81
|
+
min-width: 0;
|
|
82
|
+
}
|
|
83
|
+
.campo:focus { outline: none; border-color: var(--primo); }
|
|
84
|
+
select.campo { padding-right: 6px; cursor: pointer; }
|
|
85
|
+
textarea.campo { height: auto; padding: 9px 10px; resize: vertical; line-height: 1.5; font-family: var(--sans); }
|
|
86
|
+
input[type="color"].campo { padding: 3px; cursor: pointer; height: 32px; }
|
|
87
|
+
input[type="range"] { width: 100%; accent-color: var(--primo); }
|
|
88
|
+
|
|
89
|
+
.rotulo {
|
|
90
|
+
font-size: 10.5px;
|
|
91
|
+
font-weight: 600;
|
|
92
|
+
letter-spacing: .1em;
|
|
93
|
+
text-transform: uppercase;
|
|
94
|
+
color: var(--fraco2);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.pilula {
|
|
98
|
+
display: inline-flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
gap: 6px;
|
|
101
|
+
height: 22px;
|
|
102
|
+
padding: 0 9px;
|
|
103
|
+
border-radius: 999px;
|
|
104
|
+
background: var(--sup2);
|
|
105
|
+
border: 1px solid var(--linha);
|
|
106
|
+
font-size: 11px;
|
|
107
|
+
color: var(--fraco);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* ------------------------------------------------------------------ topo -- */
|
|
111
|
+
|
|
112
|
+
.topo {
|
|
113
|
+
display: flex;
|
|
114
|
+
align-items: center;
|
|
115
|
+
gap: 10px;
|
|
116
|
+
height: 52px;
|
|
117
|
+
padding: 0 14px;
|
|
118
|
+
background: var(--sup);
|
|
119
|
+
border-bottom: 1px solid var(--linha);
|
|
120
|
+
flex: 0 0 auto;
|
|
121
|
+
position: relative;
|
|
122
|
+
z-index: 20;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.marca {
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
gap: 9px;
|
|
130
|
+
font-size: 13.5px;
|
|
131
|
+
font-weight: 640;
|
|
132
|
+
letter-spacing: -.015em;
|
|
133
|
+
white-space: nowrap;
|
|
134
|
+
}
|
|
135
|
+
.marca .cubo {
|
|
136
|
+
width: 22px; height: 22px;
|
|
137
|
+
border-radius: 7px;
|
|
138
|
+
background: linear-gradient(150deg, var(--primo), #ff9a3c);
|
|
139
|
+
display: grid; place-items: center;
|
|
140
|
+
font-size: 12px; font-weight: 800; color: #1a0a06;
|
|
141
|
+
}
|
|
142
|
+
.marca em { font-style: normal; color: var(--fraco2); font-weight: 500; }
|
|
143
|
+
|
|
144
|
+
.topo .divisor { width: 1px; height: 22px; background: var(--linha); }
|
|
145
|
+
.topo .cresce { flex: 1; }
|
|
146
|
+
|
|
147
|
+
input.titulo-arq {
|
|
148
|
+
background: transparent;
|
|
149
|
+
border: 1px solid transparent;
|
|
150
|
+
border-radius: 8px;
|
|
151
|
+
color: var(--texto);
|
|
152
|
+
font: 600 14px/1 var(--sans);
|
|
153
|
+
padding: 8px 9px;
|
|
154
|
+
min-width: 160px;
|
|
155
|
+
max-width: 380px;
|
|
156
|
+
flex: 1;
|
|
157
|
+
}
|
|
158
|
+
input.titulo-arq:hover { border-color: var(--linha); }
|
|
159
|
+
input.titulo-arq:focus { outline: none; border-color: var(--primo); background: var(--preto); }
|
|
160
|
+
|
|
161
|
+
.estado { font-size: 11.5px; color: var(--fraco2); min-width: 62px; text-align: right; }
|
|
162
|
+
.estado.ok { color: #4ade80; }
|
|
163
|
+
|
|
164
|
+
/* ----------------------------------------------------------------- home --- */
|
|
165
|
+
|
|
166
|
+
.home { max-width: 1080px; margin: 0 auto; padding: 54px 30px 90px; }
|
|
167
|
+
|
|
168
|
+
.hero h1 {
|
|
169
|
+
font-size: 34px;
|
|
170
|
+
font-weight: 660;
|
|
171
|
+
letter-spacing: -.035em;
|
|
172
|
+
margin: 0 0 10px;
|
|
173
|
+
}
|
|
174
|
+
.hero p { color: var(--fraco); font-size: 15px; line-height: 1.65; margin: 0 0 34px; max-width: 620px; }
|
|
175
|
+
|
|
176
|
+
.grade-ferr {
|
|
177
|
+
display: grid;
|
|
178
|
+
grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
|
|
179
|
+
gap: 14px;
|
|
180
|
+
margin-bottom: 46px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cartao-ferr {
|
|
184
|
+
position: relative;
|
|
185
|
+
border: 1px solid var(--linha);
|
|
186
|
+
border-radius: var(--r2);
|
|
187
|
+
background: var(--sup);
|
|
188
|
+
padding: 20px;
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
gap: 8px;
|
|
192
|
+
cursor: pointer;
|
|
193
|
+
overflow: hidden;
|
|
194
|
+
transition: border-color .16s, transform .16s, background .16s;
|
|
195
|
+
}
|
|
196
|
+
.cartao-ferr:hover { border-color: var(--linha2); transform: translateY(-2px); background: var(--sup2); }
|
|
197
|
+
.cartao-ferr .icone {
|
|
198
|
+
width: 34px; height: 34px;
|
|
199
|
+
border-radius: 10px;
|
|
200
|
+
display: grid; place-items: center;
|
|
201
|
+
margin-bottom: 4px;
|
|
202
|
+
}
|
|
203
|
+
.cartao-ferr .icone svg { width: 18px; height: 18px; }
|
|
204
|
+
.cartao-ferr b { font-size: 15.5px; font-weight: 620; letter-spacing: -.015em; }
|
|
205
|
+
.cartao-ferr .papel { font-size: 12px; color: var(--fraco2); }
|
|
206
|
+
.cartao-ferr p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--fraco); }
|
|
207
|
+
.cartao-ferr .equiv { margin-top: 10px; font-size: 11px; color: var(--fraco2); }
|
|
208
|
+
|
|
209
|
+
.faixa-ia {
|
|
210
|
+
border: 1px solid var(--linha);
|
|
211
|
+
border-radius: var(--r2);
|
|
212
|
+
background:
|
|
213
|
+
radial-gradient(600px 200px at 8% 0%, var(--primo-suave), transparent 70%),
|
|
214
|
+
var(--sup);
|
|
215
|
+
padding: 24px 26px;
|
|
216
|
+
margin-bottom: 46px;
|
|
217
|
+
}
|
|
218
|
+
.faixa-ia h2 { margin: 0 0 6px; font-size: 15px; font-weight: 620; }
|
|
219
|
+
.faixa-ia p { margin: 0 0 14px; color: var(--fraco); font-size: 13px; line-height: 1.6; }
|
|
220
|
+
.faixa-ia pre {
|
|
221
|
+
margin: 0 0 12px;
|
|
222
|
+
padding: 14px 16px;
|
|
223
|
+
background: var(--preto);
|
|
224
|
+
border: 1px solid var(--linha);
|
|
225
|
+
border-radius: var(--r);
|
|
226
|
+
font: 400 12px/1.6 var(--mono);
|
|
227
|
+
color: #ffbba8;
|
|
228
|
+
overflow-x: auto;
|
|
229
|
+
}
|
|
230
|
+
.faixa-ia .acoes { display: flex; gap: 9px; align-items: center; }
|
|
231
|
+
|
|
232
|
+
.secao-tit {
|
|
233
|
+
font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
|
|
234
|
+
color: var(--fraco2); font-weight: 620; margin: 0 0 14px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.lista-arq { display: grid; gap: 8px; }
|
|
238
|
+
.item-arq {
|
|
239
|
+
display: flex;
|
|
240
|
+
align-items: center;
|
|
241
|
+
gap: 12px;
|
|
242
|
+
padding: 12px 14px;
|
|
243
|
+
border: 1px solid var(--linha);
|
|
244
|
+
border-radius: var(--r);
|
|
245
|
+
background: var(--sup);
|
|
246
|
+
transition: border-color .14s, background .14s;
|
|
247
|
+
}
|
|
248
|
+
.item-arq:hover { border-color: var(--linha2); background: var(--sup2); }
|
|
249
|
+
.item-arq .tag {
|
|
250
|
+
width: 26px; height: 26px; border-radius: 8px;
|
|
251
|
+
display: grid; place-items: center; flex: 0 0 auto;
|
|
252
|
+
}
|
|
253
|
+
.item-arq .tag svg { width: 14px; height: 14px; }
|
|
254
|
+
.item-arq b { font-size: 13.5px; font-weight: 560; }
|
|
255
|
+
.item-arq .meta { font-size: 11.5px; color: var(--fraco2); }
|
|
256
|
+
.item-arq .cresce { flex: 1; min-width: 0; }
|
|
257
|
+
.vazio-msg { color: var(--fraco2); font-size: 13px; padding: 18px 0; }
|
|
258
|
+
|
|
259
|
+
/* --------------------------------------------------------------- editor -- */
|
|
260
|
+
|
|
261
|
+
.editor { display: flex; height: calc(100% - 52px); overflow: hidden; }
|
|
262
|
+
|
|
263
|
+
/* trilho de inserção */
|
|
264
|
+
.trilho {
|
|
265
|
+
width: 52px;
|
|
266
|
+
background: var(--sup);
|
|
267
|
+
border-right: 1px solid var(--linha);
|
|
268
|
+
display: flex;
|
|
269
|
+
flex-direction: column;
|
|
270
|
+
align-items: center;
|
|
271
|
+
gap: 4px;
|
|
272
|
+
padding: 10px 0;
|
|
273
|
+
flex: 0 0 auto;
|
|
274
|
+
}
|
|
275
|
+
.trilho button {
|
|
276
|
+
width: 36px; height: 36px;
|
|
277
|
+
border: 1px solid transparent;
|
|
278
|
+
border-radius: var(--r);
|
|
279
|
+
background: transparent;
|
|
280
|
+
color: var(--fraco);
|
|
281
|
+
display: grid; place-items: center;
|
|
282
|
+
cursor: pointer;
|
|
283
|
+
transition: background .14s, color .14s;
|
|
284
|
+
}
|
|
285
|
+
.trilho button:hover { background: var(--sup3); color: var(--texto); }
|
|
286
|
+
.trilho button.ativo { background: var(--primo-suave); color: var(--primo); }
|
|
287
|
+
.trilho button svg { width: 17px; height: 17px; }
|
|
288
|
+
.trilho .esp { height: 8px; }
|
|
289
|
+
|
|
290
|
+
/* painel de estrutura */
|
|
291
|
+
.painel {
|
|
292
|
+
width: 216px;
|
|
293
|
+
background: var(--sup);
|
|
294
|
+
border-right: 1px solid var(--linha);
|
|
295
|
+
display: flex;
|
|
296
|
+
flex-direction: column;
|
|
297
|
+
flex: 0 0 auto;
|
|
298
|
+
overflow: hidden;
|
|
299
|
+
}
|
|
300
|
+
.painel-topo {
|
|
301
|
+
display: flex; align-items: center; justify-content: space-between;
|
|
302
|
+
padding: 12px 12px 8px;
|
|
303
|
+
}
|
|
304
|
+
.painel-lista { flex: 1; overflow: auto; padding: 0 8px 10px; display: grid; gap: 5px; align-content: start; }
|
|
305
|
+
|
|
306
|
+
.miniatura {
|
|
307
|
+
border: 1px solid var(--linha);
|
|
308
|
+
border-radius: 9px;
|
|
309
|
+
overflow: hidden;
|
|
310
|
+
cursor: pointer;
|
|
311
|
+
background: var(--preto);
|
|
312
|
+
position: relative;
|
|
313
|
+
transition: border-color .14s;
|
|
314
|
+
}
|
|
315
|
+
.miniatura:hover { border-color: var(--linha2); }
|
|
316
|
+
.miniatura.ativa { border-color: var(--primo); }
|
|
317
|
+
.miniatura .caixa { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; }
|
|
318
|
+
.miniatura .caixa .cena { position: absolute; top: 0; left: 0; transform-origin: top left; }
|
|
319
|
+
.miniatura .num {
|
|
320
|
+
position: absolute; left: 6px; bottom: 4px;
|
|
321
|
+
font-size: 10px; color: var(--fraco2);
|
|
322
|
+
background: rgba(0, 0, 0, .6); padding: 1px 5px; border-radius: 5px;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.camada {
|
|
326
|
+
display: flex; align-items: center; gap: 8px;
|
|
327
|
+
padding: 7px 9px;
|
|
328
|
+
border-radius: 8px;
|
|
329
|
+
font-size: 12.5px;
|
|
330
|
+
color: var(--fraco);
|
|
331
|
+
cursor: pointer;
|
|
332
|
+
border: 1px solid transparent;
|
|
333
|
+
}
|
|
334
|
+
.camada:hover { background: var(--sup2); color: var(--texto); }
|
|
335
|
+
.camada.ativa { background: var(--primo-suave); color: var(--texto); border-color: rgba(255, 90, 54, .3); }
|
|
336
|
+
.camada svg { width: 13px; height: 13px; flex: 0 0 auto; opacity: .8; }
|
|
337
|
+
.camada span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
338
|
+
|
|
339
|
+
/* palco */
|
|
340
|
+
.area-palco {
|
|
341
|
+
flex: 1;
|
|
342
|
+
min-width: 0;
|
|
343
|
+
display: flex;
|
|
344
|
+
flex-direction: column;
|
|
345
|
+
background:
|
|
346
|
+
radial-gradient(900px 500px at 50% -10%, rgba(255, 255, 255, .028), transparent 70%),
|
|
347
|
+
var(--fundo);
|
|
348
|
+
}
|
|
349
|
+
.palco-wrap {
|
|
350
|
+
flex: 1;
|
|
351
|
+
display: grid;
|
|
352
|
+
place-items: center;
|
|
353
|
+
padding: 26px;
|
|
354
|
+
overflow: auto;
|
|
355
|
+
min-height: 0;
|
|
356
|
+
}
|
|
357
|
+
.palco {
|
|
358
|
+
position: relative;
|
|
359
|
+
box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85);
|
|
360
|
+
border-radius: 8px;
|
|
361
|
+
overflow: hidden;
|
|
362
|
+
}
|
|
363
|
+
.palco-barra {
|
|
364
|
+
display: flex; align-items: center; gap: 10px;
|
|
365
|
+
height: 42px; padding: 0 14px;
|
|
366
|
+
border-top: 1px solid var(--linha);
|
|
367
|
+
background: var(--sup);
|
|
368
|
+
font-size: 12px; color: var(--fraco2);
|
|
369
|
+
flex: 0 0 auto;
|
|
370
|
+
}
|
|
371
|
+
.palco-barra .btn { height: 27px; font-size: 12px; padding: 0 10px; }
|
|
372
|
+
|
|
373
|
+
/* inspetor */
|
|
374
|
+
.inspetor {
|
|
375
|
+
width: 268px;
|
|
376
|
+
background: var(--sup);
|
|
377
|
+
border-left: 1px solid var(--linha);
|
|
378
|
+
overflow: auto;
|
|
379
|
+
flex: 0 0 auto;
|
|
380
|
+
padding-bottom: 30px;
|
|
381
|
+
}
|
|
382
|
+
.grupo { border-bottom: 1px solid var(--linha); padding: 14px; }
|
|
383
|
+
.grupo > .rotulo { display: block; margin-bottom: 11px; }
|
|
384
|
+
.linha-campo { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; margin-bottom: 8px; }
|
|
385
|
+
.linha-campo:last-child { margin-bottom: 0; }
|
|
386
|
+
.linha-campo > span { font-size: 11.5px; color: var(--fraco2); }
|
|
387
|
+
.dois { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
|
|
388
|
+
.tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
|
|
389
|
+
.opcoes { display: flex; gap: 4px; }
|
|
390
|
+
.opcoes button {
|
|
391
|
+
flex: 1; height: 30px;
|
|
392
|
+
border: 1px solid var(--linha); border-radius: 8px;
|
|
393
|
+
background: var(--sup2); color: var(--fraco);
|
|
394
|
+
cursor: pointer; display: grid; place-items: center; font-size: 12px;
|
|
395
|
+
}
|
|
396
|
+
.opcoes button.ativo { background: var(--primo-suave); border-color: rgba(255, 90, 54, .4); color: var(--primo); }
|
|
397
|
+
.opcoes button svg { width: 14px; height: 14px; }
|
|
398
|
+
.nada { padding: 26px 16px; color: var(--fraco2); font-size: 12.5px; line-height: 1.6; text-align: center; }
|
|
399
|
+
|
|
400
|
+
.dica-voz {
|
|
401
|
+
margin-top: 14px;
|
|
402
|
+
padding: 12px 13px;
|
|
403
|
+
border: 1px solid rgba(255, 176, 58, .28);
|
|
404
|
+
border-left: 3px solid #ffb03a;
|
|
405
|
+
border-radius: 9px;
|
|
406
|
+
background: rgba(255, 176, 58, .07);
|
|
407
|
+
font-size: 11.5px;
|
|
408
|
+
line-height: 1.6;
|
|
409
|
+
color: var(--fraco);
|
|
410
|
+
}
|
|
411
|
+
.dica-voz b { color: var(--texto); }
|
|
412
|
+
.dica-voz p { margin: 8px 0 0; }
|
|
413
|
+
.dica-voz .caminho {
|
|
414
|
+
font-family: var(--mono);
|
|
415
|
+
font-size: 10.5px;
|
|
416
|
+
color: #ffcf94;
|
|
417
|
+
background: rgba(0, 0, 0, .3);
|
|
418
|
+
padding: 8px 9px;
|
|
419
|
+
border-radius: 7px;
|
|
420
|
+
line-height: 1.7;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/* swatches */
|
|
424
|
+
.cores { display: flex; flex-wrap: wrap; gap: 5px; }
|
|
425
|
+
.cores button {
|
|
426
|
+
width: 22px; height: 22px; border-radius: 6px;
|
|
427
|
+
border: 1px solid var(--linha); cursor: pointer; padding: 0;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
/* seleção no palco */
|
|
431
|
+
.selecao {
|
|
432
|
+
position: absolute;
|
|
433
|
+
border: 1.5px solid var(--primo);
|
|
434
|
+
pointer-events: none;
|
|
435
|
+
z-index: 900;
|
|
436
|
+
}
|
|
437
|
+
.alca {
|
|
438
|
+
position: absolute;
|
|
439
|
+
width: 9px; height: 9px;
|
|
440
|
+
background: #fff;
|
|
441
|
+
border: 1.5px solid var(--primo);
|
|
442
|
+
border-radius: 2px;
|
|
443
|
+
pointer-events: auto;
|
|
444
|
+
z-index: 901;
|
|
445
|
+
}
|
|
446
|
+
.alca.nw { cursor: nwse-resize; } .alca.ne { cursor: nesw-resize; }
|
|
447
|
+
.alca.sw { cursor: nesw-resize; } .alca.se { cursor: nwse-resize; }
|
|
448
|
+
|
|
449
|
+
/* linha do tempo (Corte) */
|
|
450
|
+
.tempo {
|
|
451
|
+
height: 96px;
|
|
452
|
+
border-top: 1px solid var(--linha);
|
|
453
|
+
background: var(--sup);
|
|
454
|
+
display: flex;
|
|
455
|
+
align-items: center;
|
|
456
|
+
gap: 8px;
|
|
457
|
+
padding: 0 14px;
|
|
458
|
+
overflow-x: auto;
|
|
459
|
+
flex: 0 0 auto;
|
|
460
|
+
}
|
|
461
|
+
.clipe {
|
|
462
|
+
position: relative;
|
|
463
|
+
height: 62px;
|
|
464
|
+
min-width: 70px;
|
|
465
|
+
border: 1px solid var(--linha);
|
|
466
|
+
border-radius: 9px;
|
|
467
|
+
background: var(--preto);
|
|
468
|
+
overflow: hidden;
|
|
469
|
+
cursor: pointer;
|
|
470
|
+
flex: 0 0 auto;
|
|
471
|
+
}
|
|
472
|
+
.clipe.ativo { border-color: var(--primo); }
|
|
473
|
+
.clipe .caixa { position: absolute; inset: 0; overflow: hidden; }
|
|
474
|
+
.clipe .caixa .cena { position: absolute; top: 0; left: 0; transform-origin: top left; }
|
|
475
|
+
.clipe .dur {
|
|
476
|
+
position: absolute; right: 4px; bottom: 3px;
|
|
477
|
+
font-size: 9.5px; color: #fff;
|
|
478
|
+
background: rgba(0, 0, 0, .68); padding: 1px 4px; border-radius: 4px;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* modal / folha */
|
|
482
|
+
.folha {
|
|
483
|
+
position: fixed; inset: 0; z-index: 200;
|
|
484
|
+
background: rgba(6, 6, 8, .74);
|
|
485
|
+
backdrop-filter: blur(7px);
|
|
486
|
+
display: none; place-items: center; padding: 30px;
|
|
487
|
+
}
|
|
488
|
+
.folha.on { display: grid; }
|
|
489
|
+
.folha .caixa {
|
|
490
|
+
background: var(--sup);
|
|
491
|
+
border: 1px solid var(--linha);
|
|
492
|
+
border-radius: var(--r2);
|
|
493
|
+
width: min(860px, 100%);
|
|
494
|
+
max-height: 84vh;
|
|
495
|
+
overflow: auto;
|
|
496
|
+
padding: 24px 28px;
|
|
497
|
+
}
|
|
498
|
+
.folha h3 { margin: 0 0 14px; font-size: 15px; }
|
|
499
|
+
.folha pre { margin: 0; font: 400 12px/1.65 var(--mono); color: #c9d1da; white-space: pre-wrap; }
|
|
500
|
+
.folha textarea {
|
|
501
|
+
width: 100%; min-height: 380px;
|
|
502
|
+
font: 400 12.5px/1.6 var(--mono);
|
|
503
|
+
background: var(--preto); color: #d7dee6;
|
|
504
|
+
border: 1px solid var(--linha); border-radius: var(--r);
|
|
505
|
+
padding: 14px; resize: vertical;
|
|
506
|
+
}
|
|
507
|
+
.folha .rodape { display: flex; gap: 9px; justify-content: flex-end; margin-top: 14px; }
|
|
508
|
+
|
|
509
|
+
/* biblioteca de mídia ----------------------------------------------------- */
|
|
510
|
+
|
|
511
|
+
.folha.midia .caixa { width: min(760px, 100%); }
|
|
512
|
+
.midia-topo { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
|
|
513
|
+
.midia-topo h3 { margin: 0; }
|
|
514
|
+
|
|
515
|
+
.solta {
|
|
516
|
+
border: 1.5px dashed var(--linha2);
|
|
517
|
+
border-radius: var(--r2);
|
|
518
|
+
padding: 22px;
|
|
519
|
+
text-align: center;
|
|
520
|
+
color: var(--fraco);
|
|
521
|
+
font-size: 13px;
|
|
522
|
+
cursor: pointer;
|
|
523
|
+
margin-bottom: 18px;
|
|
524
|
+
transition: border-color .15s, background .15s, color .15s;
|
|
525
|
+
}
|
|
526
|
+
.solta:hover, .solta.ativo { border-color: var(--primo); background: var(--primo-suave); color: var(--texto); }
|
|
527
|
+
.solta b { color: var(--texto); }
|
|
528
|
+
|
|
529
|
+
.midia-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 12px; }
|
|
530
|
+
.midia-item {
|
|
531
|
+
position: relative;
|
|
532
|
+
border: 1px solid var(--linha);
|
|
533
|
+
border-radius: var(--r);
|
|
534
|
+
padding: 8px;
|
|
535
|
+
cursor: pointer;
|
|
536
|
+
background: var(--sup2);
|
|
537
|
+
transition: border-color .14s, transform .14s;
|
|
538
|
+
}
|
|
539
|
+
.midia-item:hover { border-color: var(--primo); transform: translateY(-2px); }
|
|
540
|
+
.midia-item .mini-img {
|
|
541
|
+
height: 86px; border-radius: 7px; background-size: cover; background-position: center;
|
|
542
|
+
background-color: var(--preto);
|
|
543
|
+
}
|
|
544
|
+
.midia-item .mini-audio {
|
|
545
|
+
height: 86px; border-radius: 7px;
|
|
546
|
+
display: grid; place-items: center;
|
|
547
|
+
background: linear-gradient(140deg, #2a1b3d, #14202e);
|
|
548
|
+
color: var(--primo);
|
|
549
|
+
}
|
|
550
|
+
.midia-item .mini-audio svg { width: 30px; height: 30px; }
|
|
551
|
+
.midia-item .mini-nome {
|
|
552
|
+
font-size: 11.5px; margin-top: 8px; overflow: hidden;
|
|
553
|
+
text-overflow: ellipsis; white-space: nowrap;
|
|
554
|
+
}
|
|
555
|
+
.midia-item .mini-meta { font-size: 10.5px; color: var(--fraco2); }
|
|
556
|
+
.midia-item .mini-x {
|
|
557
|
+
position: absolute; top: 5px; right: 5px;
|
|
558
|
+
width: 21px; height: 21px; border-radius: 6px;
|
|
559
|
+
border: 0; background: rgba(0, 0, 0, .66); color: #fff;
|
|
560
|
+
cursor: pointer; font-size: 14px; line-height: 1;
|
|
561
|
+
opacity: 0; transition: opacity .14s;
|
|
562
|
+
}
|
|
563
|
+
.midia-item:hover .mini-x { opacity: 1; }
|
|
564
|
+
.midia-item .mini-x:hover { background: #e0224b; }
|
|
565
|
+
.vazio-midia { grid-column: 1/-1; color: var(--fraco2); font-size: 13px; padding: 20px 0; text-align: center; }
|
|
566
|
+
|
|
567
|
+
/* trilhas geradas ---------------------------------------------------------- */
|
|
568
|
+
|
|
569
|
+
.trilha-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
|
|
570
|
+
.trilha-item {
|
|
571
|
+
position: relative;
|
|
572
|
+
border: 1px solid var(--linha);
|
|
573
|
+
border-radius: var(--r);
|
|
574
|
+
background: var(--sup2);
|
|
575
|
+
padding: 14px 15px;
|
|
576
|
+
cursor: pointer;
|
|
577
|
+
display: grid;
|
|
578
|
+
gap: 3px;
|
|
579
|
+
transition: border-color .14s, background .14s;
|
|
580
|
+
}
|
|
581
|
+
.trilha-item:hover { border-color: var(--linha2); }
|
|
582
|
+
.trilha-item.ativo { border-color: var(--primo); background: var(--primo-suave); }
|
|
583
|
+
.trilha-item b { font-size: 14px; font-weight: 600; }
|
|
584
|
+
.trilha-item span { font-size: 11px; color: var(--fraco2); }
|
|
585
|
+
.trilha-item .ouvir {
|
|
586
|
+
position: absolute; top: 10px; right: 10px;
|
|
587
|
+
width: 26px; height: 26px; border-radius: 999px;
|
|
588
|
+
border: 1px solid var(--linha); background: var(--sup3);
|
|
589
|
+
color: var(--texto); cursor: pointer;
|
|
590
|
+
display: grid; place-items: center;
|
|
591
|
+
}
|
|
592
|
+
.trilha-item .ouvir svg { width: 11px; height: 11px; }
|
|
593
|
+
.trilha-item .ouvir:hover { background: var(--primo); border-color: transparent; }
|
|
594
|
+
|
|
595
|
+
/* modo apresentação / visualização */
|
|
596
|
+
body.modo-ver { overflow: hidden; background: #000; }
|
|
597
|
+
body.modo-ver .palco { border-radius: 0; box-shadow: none; }
|
|
598
|
+
|
|
599
|
+
/* transporte do Corte (modo Abrir) --------------------------------------- */
|
|
600
|
+
|
|
601
|
+
.transporte {
|
|
602
|
+
position: fixed;
|
|
603
|
+
left: 0; right: 0; bottom: 0;
|
|
604
|
+
height: 62px;
|
|
605
|
+
display: flex;
|
|
606
|
+
align-items: center;
|
|
607
|
+
gap: 12px;
|
|
608
|
+
padding: 0 18px;
|
|
609
|
+
background: linear-gradient(to top, rgba(6, 6, 9, .96), rgba(6, 6, 9, .72));
|
|
610
|
+
backdrop-filter: blur(10px);
|
|
611
|
+
border-top: 1px solid rgba(255, 255, 255, .1);
|
|
612
|
+
z-index: 500;
|
|
613
|
+
font-family: var(--sans);
|
|
614
|
+
}
|
|
615
|
+
.transporte .tp-btn {
|
|
616
|
+
width: 36px; height: 36px;
|
|
617
|
+
border-radius: 999px;
|
|
618
|
+
border: 1px solid rgba(255, 255, 255, .16);
|
|
619
|
+
background: rgba(255, 255, 255, .08);
|
|
620
|
+
color: #f1f1f4;
|
|
621
|
+
display: grid; place-items: center;
|
|
622
|
+
cursor: pointer;
|
|
623
|
+
flex: 0 0 auto;
|
|
624
|
+
transition: background .15s;
|
|
625
|
+
}
|
|
626
|
+
.transporte .tp-btn:hover { background: rgba(255, 255, 255, .18); }
|
|
627
|
+
.transporte .tp-btn svg { width: 15px; height: 15px; }
|
|
628
|
+
.transporte .tp-btn.pequeno { width: 30px; height: 30px; }
|
|
629
|
+
.transporte .tp-btn.texto {
|
|
630
|
+
width: auto; padding: 0 15px; border-radius: 9px;
|
|
631
|
+
font: 500 12.5px/1 var(--sans);
|
|
632
|
+
}
|
|
633
|
+
.transporte .tp-btn.gravando {
|
|
634
|
+
background: #e0224b; border-color: transparent; color: #fff;
|
|
635
|
+
animation: pulsaGrav 1.3s ease-in-out infinite;
|
|
636
|
+
}
|
|
637
|
+
@keyframes pulsaGrav { 50% { opacity: .55; } }
|
|
638
|
+
|
|
639
|
+
.transporte .tp-tempo {
|
|
640
|
+
font: 500 12px/1 var(--mono);
|
|
641
|
+
color: #9aa0aa;
|
|
642
|
+
font-variant-numeric: tabular-nums;
|
|
643
|
+
flex: 0 0 auto;
|
|
644
|
+
}
|
|
645
|
+
.transporte .tp-barra {
|
|
646
|
+
position: relative;
|
|
647
|
+
flex: 1;
|
|
648
|
+
height: 6px;
|
|
649
|
+
border-radius: 999px;
|
|
650
|
+
background: rgba(255, 255, 255, .13);
|
|
651
|
+
cursor: pointer;
|
|
652
|
+
}
|
|
653
|
+
.transporte .tp-barra::before {
|
|
654
|
+
content: ""; position: absolute; inset: -9px 0; /* alvo de clique maior */
|
|
655
|
+
}
|
|
656
|
+
.transporte .tp-cheio {
|
|
657
|
+
position: absolute; left: 0; top: 0; bottom: 0;
|
|
658
|
+
border-radius: 999px;
|
|
659
|
+
background: linear-gradient(90deg, var(--primo), #ff9a3c);
|
|
660
|
+
width: 0;
|
|
661
|
+
}
|
|
662
|
+
.transporte .tp-marcas { position: absolute; inset: 0; pointer-events: none; }
|
|
663
|
+
.transporte .tp-marcas i {
|
|
664
|
+
position: absolute; top: -2px; bottom: -2px;
|
|
665
|
+
width: 2px;
|
|
666
|
+
background: rgba(9, 9, 11, .85);
|
|
667
|
+
}
|
|
668
|
+
.transporte .tp-vol { width: 88px; flex: 0 0 auto; }
|
|
669
|
+
|
|
670
|
+
@media (max-width: 620px) {
|
|
671
|
+
.transporte .tp-vol, .transporte .tp-btn.pequeno { display: none; }
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.aviso {
|
|
675
|
+
position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
|
|
676
|
+
background: var(--sup3); border: 1px solid var(--linha2);
|
|
677
|
+
padding: 9px 16px; border-radius: 999px; font-size: 12.5px;
|
|
678
|
+
z-index: 500; opacity: 0; pointer-events: none; transition: opacity .25s;
|
|
679
|
+
}
|
|
680
|
+
.aviso.on { opacity: 1; }
|
|
681
|
+
body:has(.transporte) .aviso { bottom: 80px; }
|
|
682
|
+
|
|
683
|
+
/* painel do apresentador (Prisma) ----------------------------------------- */
|
|
684
|
+
|
|
685
|
+
.apresentador {
|
|
686
|
+
position: fixed; right: 0; top: 0; bottom: 0; width: 360px;
|
|
687
|
+
z-index: 480;
|
|
688
|
+
background: #0c0f13;
|
|
689
|
+
color: #e8edf3;
|
|
690
|
+
border-left: 1px solid rgba(255, 255, 255, .1);
|
|
691
|
+
padding: 24px;
|
|
692
|
+
display: flex; flex-direction: column; gap: 18px;
|
|
693
|
+
font-family: var(--sans);
|
|
694
|
+
overflow: auto;
|
|
695
|
+
}
|
|
696
|
+
.apresentador h4 {
|
|
697
|
+
margin: 0 0 8px; font-size: 10.5px; letter-spacing: .17em;
|
|
698
|
+
text-transform: uppercase; color: #7b8794; font-weight: 620;
|
|
699
|
+
}
|
|
700
|
+
.apresentador .relogio {
|
|
701
|
+
font-size: 38px; font-weight: 640; letter-spacing: -.02em;
|
|
702
|
+
font-variant-numeric: tabular-nums;
|
|
703
|
+
}
|
|
704
|
+
.apresentador .corpo { font-size: 14.5px; line-height: 1.65; color: #c3ccd6; }
|
|
705
|
+
.apresentador .prox {
|
|
706
|
+
font-size: 14px; color: #98a4b1;
|
|
707
|
+
border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 14px;
|
|
708
|
+
}
|
|
709
|
+
.apresentador .dica { margin-top: auto; font-size: 11.5px; color: #5e6a77; line-height: 1.75; }
|
|
710
|
+
|
|
711
|
+
@media (max-width: 1100px) {
|
|
712
|
+
.painel { width: 176px; }
|
|
713
|
+
.inspetor { width: 240px; }
|
|
714
|
+
input.titulo-arq { min-width: 90px; }
|
|
715
|
+
}
|
|
716
|
+
@media (max-width: 900px) {
|
|
717
|
+
.trilho { width: 44px; }
|
|
718
|
+
.trilho button { width: 32px; height: 32px; }
|
|
719
|
+
.painel { width: 146px; }
|
|
720
|
+
.inspetor { width: 214px; }
|
|
721
|
+
.topo { gap: 6px; padding: 0 8px; }
|
|
722
|
+
.marca em { display: none; }
|
|
723
|
+
}
|