sagadeck 1.8.0 → 1.9.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/README.md +19 -8
- package/SKILL.md +10 -3
- package/bin/sagadeck.js +23 -0
- package/docs/ANDAMENTO.md +367 -7
- package/docs/PLANO-MELHORIAS.md +180 -0
- package/docs/REFERENCIA.md +131 -110
- package/package.json +33 -2
- package/src/ai/commands.js +2 -2
- package/src/ai/deck-ai.js +1 -1
- package/src/ai/ia-check.js +127 -0
- package/src/ai/ia-config.js +2 -2
- package/src/ai/llm.js +5 -1
- package/src/ai/map-analysis-run.js +1 -1
- package/src/ai/quality.js +1 -1
- package/src/ai/video-generation.js +70 -25
- package/src/build.js +46 -14
- package/src/elements.js +39 -1
- package/src/export/pptx.js +7 -2
- package/src/export/shots.js +7 -2
- package/src/fiscal/normalize.js +19 -0
- package/src/fs-retry.js +37 -2
- package/src/import/office.js +5 -4
- package/src/layouts.js +104 -99
- package/src/lessons.js +1 -1
- package/src/library.js +7 -7
- package/src/map-analysis.js +4 -1
- package/src/map-config.js +10 -4
- package/src/map.js +21 -8
- package/src/mcp/server.js +17 -0
- package/src/motion.js +20 -6
- package/src/purpose.js +1 -1
- package/src/runtime/base.css +88 -332
- package/src/runtime/fit.js +3 -2
- package/src/runtime/fonts/amatic-sc.css +3 -0
- package/src/runtime/fonts/bebas-neue.css +2 -0
- package/src/runtime/fonts/cabin-sketch.css +2 -0
- package/src/runtime/fonts/fraunces.css +3 -0
- package/src/runtime/fonts/gelasio.css +3 -0
- package/src/runtime/fonts/ibm-plex-mono.css +4 -0
- package/src/runtime/fonts/index.json +10 -1
- package/src/runtime/fonts/itim.css +2 -0
- package/src/runtime/fonts/montserrat.css +2 -0
- package/src/runtime/fonts/space-grotesk.css +2 -0
- package/src/runtime/map-background.js +91 -0
- package/src/runtime/map.js +41 -9
- package/src/runtime/runtime.js +81 -100
- package/src/runtime/skins/caderno.css +33 -0
- package/src/runtime/skins/cartaz.css +27 -0
- package/src/runtime/skins/infografico.css +29 -0
- package/src/runtime/skins/lousa.css +22 -0
- package/src/runtime/skins/musgo.css +42 -0
- package/src/runtime/vendor/MAPLIBRE-LEAFLET-LICENSE.txt +15 -0
- package/src/runtime/vendor/MAPLIBRE-LICENSE.txt +116 -0
- package/src/runtime/vendor/geo-contornos.json +1 -1
- package/src/runtime/vendor/maplibre-gl.css +1 -0
- package/src/runtime/vendor/maplibre-gl.js +825 -0
- package/src/runtime/vendor/maplibre-leaflet.js +234 -0
- package/src/runtime/vendor/maplibre-worker.js +10 -0
- package/src/studio/assets/imagens/tour-mapa-botao.jpg +0 -0
- package/src/studio/assets/imagens/tour-mapa-editor.jpg +0 -0
- package/src/studio/command-approval.js +2 -3
- package/src/studio/demo-decks.js +4 -2
- package/src/studio/export-jobs.js +86 -0
- package/src/studio/exporting.js +36 -18
- package/src/studio/feature-demos.js +144 -0
- package/src/studio/ia-routes.js +9 -0
- package/src/studio/layout-samples.js +9 -18
- package/src/studio/library-routes.js +0 -9
- package/src/studio/project.js +1 -0
- package/src/studio/public/ai-settings.js +2 -2
- package/src/studio/public/app.js +41 -51
- package/src/studio/public/export-status.js +154 -0
- package/src/studio/public/index.html +13 -10
- package/src/studio/public/library.css +12 -3
- package/src/studio/public/library.html +1 -0
- package/src/studio/public/library.js +36 -14
- package/src/studio/public/map-data.js +7 -3
- package/src/studio/public/map-editor.js +625 -236
- package/src/studio/public/map-settings.js +3 -1
- package/src/studio/public/slide-form.js +18 -15
- package/src/studio/public/style.css +54 -9
- package/src/studio/public/ui-icons.js +1 -1
- package/src/studio/server.js +27 -12
- package/src/studio/snapshot.js +8 -4
- package/src/studio/template-collections.js +1 -1
- package/src/studio/tour.js +89 -7
- package/src/themes.js +154 -0
- package/templates/cenario-e-ciencia.yaml +1 -21
- package/templates/ensaio-api.yaml +3 -3
- package/templates/cenario/Texto no cen/303/241rio.yaml" +0 -171
- package/templates/cenario/imagens/cidade.svg +0 -30
- package/templates/cenario/imagens/pessoa.svg +0 -15
package/src/runtime/runtime.js
CHANGED
|
@@ -261,65 +261,8 @@
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
// ---------- cenas de aula: o clique da apresentação também é a etapa da explicação ----------
|
|
264
|
-
function kineticMorph(root, source, target) {
|
|
265
|
-
if (reducedMotion() || !source) return;
|
|
266
|
-
const word = $(".kinetic-word", target);
|
|
267
|
-
const sequence = $(".kinetic-sequence", root);
|
|
268
|
-
if (!word || !sequence || typeof word.animate !== "function") return;
|
|
269
|
-
const rootRect = root.getBoundingClientRect(), fromRect = source.rect, toRect = word.getBoundingClientRect();
|
|
270
|
-
if (!rootRect.width || !rootRect.height || !fromRect.width || !toRect.width) return;
|
|
271
|
-
const scaleX = root.offsetWidth / rootRect.width, scaleY = root.offsetHeight / rootRect.height;
|
|
272
|
-
const ghost = source.element.cloneNode(true);
|
|
273
|
-
ghost.classList.add("kinetic-morph");
|
|
274
|
-
ghost.removeAttribute("data-fit");
|
|
275
|
-
ghost.setAttribute("aria-hidden", "true");
|
|
276
|
-
const style = source.style;
|
|
277
|
-
Object.assign(ghost.style, {
|
|
278
|
-
position: "absolute",
|
|
279
|
-
left: `${(fromRect.left - rootRect.left) * scaleX}px`,
|
|
280
|
-
top: `${(fromRect.top - rootRect.top) * scaleY}px`,
|
|
281
|
-
width: `${fromRect.width * scaleX}px`,
|
|
282
|
-
height: "auto",
|
|
283
|
-
maxHeight: "none",
|
|
284
|
-
margin: "0",
|
|
285
|
-
overflow: "visible",
|
|
286
|
-
transform: "none",
|
|
287
|
-
transformOrigin: "top left",
|
|
288
|
-
zIndex: "4",
|
|
289
|
-
pointerEvents: "none",
|
|
290
|
-
fontFamily: style.fontFamily,
|
|
291
|
-
fontSize: style.fontSize,
|
|
292
|
-
fontWeight: style.fontWeight,
|
|
293
|
-
fontStyle: style.fontStyle,
|
|
294
|
-
lineHeight: style.lineHeight,
|
|
295
|
-
letterSpacing: style.letterSpacing,
|
|
296
|
-
textTransform: style.textTransform,
|
|
297
|
-
textAlign: style.textAlign,
|
|
298
|
-
color: style.color,
|
|
299
|
-
textShadow: style.textShadow,
|
|
300
|
-
background: style.background,
|
|
301
|
-
padding: style.padding,
|
|
302
|
-
borderRadius: style.borderRadius,
|
|
303
|
-
boxSizing: "border-box",
|
|
304
|
-
});
|
|
305
|
-
sequence.append(ghost);
|
|
306
|
-
const dx = (toRect.left - fromRect.left) * scaleX, dy = (toRect.top - fromRect.top) * scaleY;
|
|
307
|
-
const morphScale = Math.max(.72, Math.min(1.38, toRect.width / fromRect.width));
|
|
308
|
-
const animation = ghost.animate([
|
|
309
|
-
{ opacity: .92, transform: "translate(0, 0) scale(1)", filter: "blur(0)" },
|
|
310
|
-
{ opacity: .82, offset: .62, transform: `translate(${dx * .82}px, ${dy * .82}px) scale(${1 + (morphScale - 1) * .82})`, filter: "blur(0)" },
|
|
311
|
-
{ opacity: 0, transform: `translate(${dx}px, ${dy}px) scale(${morphScale})`, filter: "blur(4px)" },
|
|
312
|
-
], { duration: 720, easing: "cubic-bezier(.22,.78,.22,1)", fill: "both" });
|
|
313
|
-
animation.finished.then(() => ghost.remove(), () => ghost.remove());
|
|
314
|
-
}
|
|
315
|
-
|
|
316
264
|
function renderLesson(root, requested) {
|
|
317
265
|
const n = +root.dataset.lessonCount || 1, index = Math.max(0, Math.min(n - 1, +requested || 0));
|
|
318
|
-
const previous = Number(root.dataset.lessonIndex);
|
|
319
|
-
const oldPanel = root.dataset.lesson === "kinetic" && Number.isInteger(previous)
|
|
320
|
-
? $(`[data-lesson-panel="${previous}"].active`, root) : null;
|
|
321
|
-
const oldWord = oldPanel && $(".kinetic-word", oldPanel);
|
|
322
|
-
const source = oldWord ? { element: oldWord, rect: oldWord.getBoundingClientRect(), style: getComputedStyle(oldWord) } : null;
|
|
323
266
|
root.dataset.lessonIndex = String(index);
|
|
324
267
|
// peças que acompanham o quadro sem serem painéis (carrossel): o CSS gira/desliza com --lesson-i e active/past
|
|
325
268
|
root.style.setProperty("--lesson-i", String(index));
|
|
@@ -359,10 +302,6 @@
|
|
|
359
302
|
}
|
|
360
303
|
}
|
|
361
304
|
if (root.dataset.lesson === "solution") window.SagadeckFit.fitSteps(root); // o quadro novo só mede agora, à vista
|
|
362
|
-
if (root.dataset.lesson === "kinetic") {
|
|
363
|
-
window.SagadeckFit.fitText(root);
|
|
364
|
-
if (previous !== index) kineticMorph(root, source, $(`[data-lesson-panel="${index}"]`, root));
|
|
365
|
-
}
|
|
366
305
|
}
|
|
367
306
|
function fitSpotlight(root) {
|
|
368
307
|
const canvas = $(".spotlight-canvas", root), img = $(".spotlight-image img", root), regions = $(".spotlight-regions", root);
|
|
@@ -408,44 +347,6 @@
|
|
|
408
347
|
hooks[si].leave.push(stop);
|
|
409
348
|
});
|
|
410
349
|
hooks[si].step.push((k) => { renderLesson(root, k); fitSpotlight(root); zoomSpotlight(root); });
|
|
411
|
-
if (root.dataset.lesson === "kinetic") {
|
|
412
|
-
let timer = null;
|
|
413
|
-
let enabled = root.dataset.kineticAutoplay === "true" && !reducedMotion() && +root.dataset.lessonCount > 1;
|
|
414
|
-
const toggle = $("[data-kinetic-toggle]", root);
|
|
415
|
-
const stop = () => { clearInterval(timer); timer = null; };
|
|
416
|
-
const updateToggle = () => {
|
|
417
|
-
if (!toggle) return;
|
|
418
|
-
toggle.textContent = enabled ? "Pausar" : "Reproduzir";
|
|
419
|
-
toggle.setAttribute("aria-label", enabled ? "Pausar sequência" : "Reproduzir sequência");
|
|
420
|
-
toggle.setAttribute("aria-pressed", String(enabled));
|
|
421
|
-
};
|
|
422
|
-
const start = () => {
|
|
423
|
-
if (!enabled || EXPORT || timer || +root.dataset.lessonIndex >= +root.dataset.lessonCount - 1) return;
|
|
424
|
-
const interval = Math.max(450, Math.min(5000, +root.dataset.kineticInterval || 1000));
|
|
425
|
-
timer = setInterval(() => {
|
|
426
|
-
const index = +root.dataset.lessonIndex || 0;
|
|
427
|
-
if (index >= +root.dataset.lessonCount - 1) { stop(); return; }
|
|
428
|
-
goto(si, index + 1);
|
|
429
|
-
}, interval);
|
|
430
|
-
};
|
|
431
|
-
toggle?.addEventListener("click", (event) => {
|
|
432
|
-
event.stopPropagation();
|
|
433
|
-
enabled = !enabled;
|
|
434
|
-
if (enabled && +root.dataset.lessonIndex >= +root.dataset.lessonCount - 1) goto(si, 0);
|
|
435
|
-
updateToggle();
|
|
436
|
-
if (enabled) start(); else stop();
|
|
437
|
-
});
|
|
438
|
-
hooks[si].enter.push(start);
|
|
439
|
-
hooks[si].leave.push(stop);
|
|
440
|
-
hooks[si].step.push((index) => {
|
|
441
|
-
if (index >= +root.dataset.lessonCount - 1 && enabled) {
|
|
442
|
-
stop();
|
|
443
|
-
enabled = false;
|
|
444
|
-
updateToggle();
|
|
445
|
-
}
|
|
446
|
-
});
|
|
447
|
-
updateToggle();
|
|
448
|
-
}
|
|
449
350
|
root.addEventListener("click", (event) => {
|
|
450
351
|
const button = event.target.closest("button");
|
|
451
352
|
if (!button || !root.contains(button) || button.disabled) return;
|
|
@@ -660,6 +561,38 @@
|
|
|
660
561
|
cmd("goto", [to, 0]);
|
|
661
562
|
}, true);
|
|
662
563
|
|
|
564
|
+
// cartão que vira (data-flip) e botão + com balão (data-pop). Clique fora fecha os balões; sair do slide desvira e fecha.
|
|
565
|
+
const closePops = (root) => $$(".pop.open", root).forEach((p) => { p.classList.remove("open"); $(".pop-btn", p)?.setAttribute("aria-expanded", "false"); });
|
|
566
|
+
const flip = (c, on) => { c.classList.toggle("flipped", on); c.setAttribute("aria-pressed", String(on)); };
|
|
567
|
+
document.addEventListener("click", (e) => {
|
|
568
|
+
if (EXPORT || !e.target.closest) return;
|
|
569
|
+
const slide = e.target.closest(".slide");
|
|
570
|
+
if (!slide) return;
|
|
571
|
+
if (e.target.closest(".pop-card")) return;
|
|
572
|
+
const pop = e.target.closest("[data-pop]");
|
|
573
|
+
if (pop) {
|
|
574
|
+
e.stopPropagation();
|
|
575
|
+
const open = !pop.classList.contains("open");
|
|
576
|
+
closePops(slide);
|
|
577
|
+
pop.classList.toggle("open", open);
|
|
578
|
+
$(".pop-btn", pop)?.setAttribute("aria-expanded", String(open));
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
closePops(slide);
|
|
582
|
+
const card = e.target.closest("[data-flip]");
|
|
583
|
+
if (card) { e.stopPropagation(); flip(card, !card.classList.contains("flipped")); }
|
|
584
|
+
});
|
|
585
|
+
document.addEventListener("keydown", (e) => {
|
|
586
|
+
const card = e.target.closest && e.target.closest("[data-flip]");
|
|
587
|
+
if (!card || (e.key !== "Enter" && e.key !== " ")) return;
|
|
588
|
+
e.preventDefault(); e.stopPropagation();
|
|
589
|
+
flip(card, !card.classList.contains("flipped"));
|
|
590
|
+
}, true);
|
|
591
|
+
slides.forEach((sl, si) => {
|
|
592
|
+
if (!sl.querySelector("[data-flip],[data-pop]")) return;
|
|
593
|
+
hooks[si].leave.push(() => { closePops(sl); $$("[data-flip].flipped", sl).forEach((c) => flip(c, false)); });
|
|
594
|
+
});
|
|
595
|
+
|
|
663
596
|
function cmd(c, arg) {
|
|
664
597
|
if (PRESENTER && window.opener && !window.opener.closed) { window.opener.postMessage({ sagadeck: DATA.id, type: "cmd", c, arg }, "*"); return; }
|
|
665
598
|
local(c, arg);
|
|
@@ -793,6 +726,53 @@
|
|
|
793
726
|
if (document.visibilityState === "visible") requestWakeLock();
|
|
794
727
|
});
|
|
795
728
|
|
|
729
|
+
// ---------- eco ambiente "rede": nós à deriva que se ligam por proximidade (canvas no tamanho lógico do slide) ----------
|
|
730
|
+
// Anda só no slide atual; parada (um quadro) com movimento reduzido e na exportação. Cores do tom: --hi e a 2ª da paleta.
|
|
731
|
+
function mountAmbientNet() {
|
|
732
|
+
slides.forEach((sl, si) => {
|
|
733
|
+
const cv = sl.dataset.ambient === "rede" && $(".ambient canvas", sl);
|
|
734
|
+
const g = cv && cv.getContext("2d");
|
|
735
|
+
if (!g) return;
|
|
736
|
+
const css = getComputedStyle(sl);
|
|
737
|
+
const hi = css.getPropertyValue("--hi").trim() || "#f0b24a";
|
|
738
|
+
const alt = css.getPropertyValue("--c-c2").trim() || hi;
|
|
739
|
+
cv.width = SW; cv.height = SH;
|
|
740
|
+
let seed = 7 + si * 131;
|
|
741
|
+
const rnd = () => ((seed = (seed * 16807) % 2147483647) / 2147483647);
|
|
742
|
+
const nodes = Array.from({ length: Math.round(SW * SH / 32000) }, () => ({
|
|
743
|
+
x: rnd() * SW, y: rnd() * SH, vx: (rnd() - 0.5) * 0.75, vy: (rnd() - 0.5) * 0.75, r: rnd() * 2.2 + 1, a: rnd() * 0.45 + 0.15,
|
|
744
|
+
}));
|
|
745
|
+
const LINK = 210;
|
|
746
|
+
const draw = (move) => {
|
|
747
|
+
g.clearRect(0, 0, SW, SH);
|
|
748
|
+
if (move) for (const n of nodes) {
|
|
749
|
+
n.x += n.vx; n.y += n.vy;
|
|
750
|
+
if (n.x < 0 || n.x > SW) n.vx *= -1;
|
|
751
|
+
if (n.y < 0 || n.y > SH) n.vy *= -1;
|
|
752
|
+
}
|
|
753
|
+
g.strokeStyle = hi; g.lineWidth = 1.3;
|
|
754
|
+
for (let a = 0; a < nodes.length; a++) for (let b = a + 1; b < nodes.length; b++) {
|
|
755
|
+
const d = Math.hypot(nodes[a].x - nodes[b].x, nodes[a].y - nodes[b].y);
|
|
756
|
+
if (d >= LINK) continue;
|
|
757
|
+
g.globalAlpha = 0.16 * (1 - d / LINK);
|
|
758
|
+
g.beginPath(); g.moveTo(nodes[a].x, nodes[a].y); g.lineTo(nodes[b].x, nodes[b].y); g.stroke();
|
|
759
|
+
}
|
|
760
|
+
for (const n of nodes) {
|
|
761
|
+
g.globalAlpha = n.a; g.fillStyle = n.a > 0.42 ? hi : alt;
|
|
762
|
+
g.beginPath(); g.arc(n.x, n.y, n.r, 0, Math.PI * 2); g.fill();
|
|
763
|
+
}
|
|
764
|
+
g.globalAlpha = 1;
|
|
765
|
+
};
|
|
766
|
+
let raf = 0, on = false;
|
|
767
|
+
const loop = () => { if (!on) return; if (!document.hidden) draw(true); raf = requestAnimationFrame(loop); };
|
|
768
|
+
const start = () => { if (on) return; if (EXPORT || reducedMotion()) return draw(false); on = true; raf = requestAnimationFrame(loop); };
|
|
769
|
+
const stop = () => { on = false; cancelAnimationFrame(raf); };
|
|
770
|
+
draw(false);
|
|
771
|
+
hooks[si].enter.push(start);
|
|
772
|
+
hooks[si].leave.push(stop);
|
|
773
|
+
});
|
|
774
|
+
}
|
|
775
|
+
|
|
796
776
|
// ---------- inicialização ----------
|
|
797
777
|
function parseHash() {
|
|
798
778
|
const m = location.hash.match(/^#(\d+)(?:\.(\d+))?/);
|
|
@@ -803,6 +783,7 @@
|
|
|
803
783
|
scale(); window.addEventListener("resize", scale);
|
|
804
784
|
mountWidgets();
|
|
805
785
|
mountLessons();
|
|
786
|
+
mountAmbientNet();
|
|
806
787
|
initDrawing();
|
|
807
788
|
requestWakeLock();
|
|
808
789
|
document.addEventListener("keydown", onKey);
|
|
@@ -819,7 +800,7 @@
|
|
|
819
800
|
const t = e.changedTouches[0], dx = t.clientX - tx, dy = t.clientY - ty, dt = Date.now() - tt;
|
|
820
801
|
tx = ty = null;
|
|
821
802
|
if (Math.abs(dx) > 50 && Math.abs(dx) > Math.abs(dy)) { cmd(dx < 0 ? "next" : "prev"); return; }
|
|
822
|
-
if (Math.abs(dx) < 12 && Math.abs(dy) < 12 && dt < 500 && !e.target.closest("a,button,input,textarea,select,[contenteditable],video,audio,iframe,.widget,.map-box,[data-goto]")) {
|
|
803
|
+
if (Math.abs(dx) < 12 && Math.abs(dy) < 12 && dt < 500 && !e.target.closest("a,button,input,textarea,select,[contenteditable],video,audio,iframe,.widget,.map-box,[data-goto],[data-flip],[data-pop]")) {
|
|
823
804
|
const sel = typeof getSelection === "function" && getSelection();
|
|
824
805
|
if (sel && !sel.isCollapsed) return; // selecionando texto: não avança
|
|
825
806
|
cmd("next");
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* Caderno (visual thinking): papel claro, rabiscos de ícones em pastel nos cantos (ícones Lucide do pacote como
|
|
2
|
+
máscara), título em letra de mão alta com um traço de lápis embaixo, chapéu coral em serifada, frase em lilás,
|
|
3
|
+
cartões brancos com moldura grossa pastel (menta, lilás, amarelo, coral), botão + amarelo contornado */
|
|
4
|
+
.th-caderno.tone-light{background-image:radial-gradient(circle at 18% 12%,#fff 0,transparent 42%),radial-gradient(circle at 86% 84%,#ebe7dc 0,transparent 46%)}
|
|
5
|
+
.th-caderno .orn i{width:var(--s,92px);height:var(--s,92px);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;background:var(--c,#8E7896);transform:rotate(var(--r,0deg));opacity:.92}
|
|
6
|
+
.th-caderno .orn i:nth-child(1){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-search%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22m21 21-4.34-4.34%22/%3E %3Ccircle cx=%2211%22 cy=%2211%22 r=%228%22/%3E%3C/svg%3E");--c:#6FBF86;left:64px;top:80px;--r:-14deg}
|
|
7
|
+
.th-caderno .orn i:nth-child(2){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-hourglass%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M5 22h14%22/%3E %3Cpath d=%22M5 2h14%22/%3E %3Cpath d=%22M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22%22/%3E %3Cpath d=%22M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2%22/%3E%3C/svg%3E");--c:#D9B24C;right:84px;top:44px;--r:12deg;--s:84px}
|
|
8
|
+
.th-caderno .orn i:nth-child(3){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-settings%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915%22/%3E %3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E");--c:#8E7896;right:70px;bottom:64px;--s:104px}
|
|
9
|
+
.th-caderno .orn i:nth-child(4){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-pencil%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22/%3E %3Cpath d=%22m15 5 4 4%22/%3E%3C/svg%3E");--c:#DE8178;left:70px;bottom:80px;--r:-24deg;--s:80px}
|
|
10
|
+
.th-caderno.L-section-slide .orn i:nth-child(1){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-wrench%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z%22/%3E%3C/svg%3E");--c:#8E7896;top:auto;bottom:150px;left:84px;--r:-30deg}
|
|
11
|
+
.th-caderno.L-section-slide .orn i:nth-child(4){--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-lightbulb%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22/%3E %3Cpath d=%22M9 18h6%22/%3E %3Cpath d=%22M10 22h4%22/%3E%3C/svg%3E");--c:#D9B24C;left:auto;bottom:auto;top:90px;right:240px;--r:8deg}
|
|
12
|
+
.th-caderno:not(.L-cover-slide):not(.L-section-slide):not(.L-end-slide) .orn :is(i:nth-child(1),i:nth-child(3),i:nth-child(4)){display:none}
|
|
13
|
+
.th-caderno:not(.L-cover-slide):not(.L-section-slide):not(.L-end-slide) .orn i:nth-child(2){--s:62px;right:48px;top:34px;opacity:.75}
|
|
14
|
+
.th-caderno .kicker{color:var(--em);font-size:40px}
|
|
15
|
+
.th-caderno .L-cover:not(:has(.cv-fig)) .cv-main,.th-caderno .L-end:not(:has(.en-fig)) .en-main{text-align:center}
|
|
16
|
+
.th-caderno .L-cover .ttl::after{content:"";display:block;height:5px;margin:16px auto 0;width:min(100%,1000px);border-radius:5px;background:var(--fg);transform:rotate(-.5deg);opacity:.85}
|
|
17
|
+
.th-caderno .L-cover .sub{color:var(--c-c2)}
|
|
18
|
+
.th-caderno .L-section:not(:has(.sc-fig)){flex-direction:column;justify-content:center;align-items:stretch;text-align:center;gap:6px}
|
|
19
|
+
.th-caderno .sc-num{font-size:240px;color:var(--c-alert)}
|
|
20
|
+
.th-caderno .L-statement .st-line{font-family:'Gelasio',Georgia,serif;font-weight:500;letter-spacing:0;color:var(--c-c2)}
|
|
21
|
+
.th-caderno:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) .ttl mark{background:linear-gradient(transparent 55%,color-mix(in srgb,var(--hi) 80%,transparent) 55% 92%,transparent 92%);color:inherit;padding:0 .08em}
|
|
22
|
+
.th-caderno :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+1){--cc:#B5E3C3}
|
|
23
|
+
.th-caderno :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+2){--cc:#8E7896}
|
|
24
|
+
.th-caderno :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+3){--cc:#F0D488}
|
|
25
|
+
.th-caderno :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+4){--cc:#DE8178}
|
|
26
|
+
.th-caderno :is(.card:not(.card-hi),.stat-card,.step-card,.ps-panel){background:#fff;border:7px solid var(--cc,#B5E3C3);border-radius:32px;box-shadow:none}
|
|
27
|
+
.th-caderno.tone-dark :is(.card:not(.card-hi),.stat-card,.step-card){background:var(--surface)}
|
|
28
|
+
.th-caderno .card-hi{border-radius:32px;border:7px solid var(--fg)}
|
|
29
|
+
.th-caderno .li-b{width:24px;height:24px;background:var(--cc,#F0D488);border:3px solid var(--fg)}
|
|
30
|
+
.th-caderno .li-n{font-family:'Amatic SC',cursive;font-weight:700;color:var(--fg)}
|
|
31
|
+
.th-caderno .q-mark{color:var(--c-c2)}
|
|
32
|
+
.th-caderno .pop-btn{background:#F0D488;color:var(--c-ink);border:3px solid var(--c-ink);box-shadow:none}
|
|
33
|
+
.th-caderno .flip-hint{background:color-mix(in srgb,var(--c-ink) 55%,transparent);color:#fff}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* Cartaz (protesto): papel cinza com grão, moldura preta grossa com filete branco na capa, título em faixa vermelha
|
|
2
|
+
torta com letra branca, chapéu como etiqueta amarela, seção em faixa vermelha com o número num disco amarelo,
|
|
3
|
+
cartões brancos girados como fotos coladas (moldura lavanda, menta, amarela, vermelha), destaque em vermelho */
|
|
4
|
+
.th-cartaz.tone-light{background-image:radial-gradient(ellipse at 28% 18%,rgba(255,255,255,.55),transparent 58%),radial-gradient(ellipse at 82% 88%,rgba(0,0,0,.06),transparent 55%)}
|
|
5
|
+
.th-cartaz.deco-grain::after{opacity:.13}
|
|
6
|
+
.th-cartaz:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(1){display:block;inset:34px;border:16px solid var(--c-ink);box-shadow:inset 0 0 0 12px #fff}
|
|
7
|
+
.th-cartaz :is(.L-cover,.L-end) .ttl{width:fit-content;max-width:100%;background:var(--c-accent);color:#fff;padding:.1em .32em .02em;transform:rotate(-2deg);box-shadow:8px 8px 0 rgba(0,0,0,.14)}
|
|
8
|
+
.th-cartaz:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) :is(.L-cover,.L-end,.L-section) .ttl mark{color:var(--c-ink)}
|
|
9
|
+
.th-cartaz .kicker{align-self:flex-start;width:fit-content;background:var(--c-alert);color:var(--c-ink);padding:6px 18px 2px;transform:rotate(-2deg);font-size:34px}
|
|
10
|
+
.th-cartaz:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) :is(.ttl,.st-line,.q-text) mark{background:none;color:var(--c-accent);padding:0;margin:0}
|
|
11
|
+
.th-cartaz .hd .ttl{border-left:18px solid var(--c-accent);padding-left:26px}
|
|
12
|
+
.th-cartaz .L-section .ttl{width:fit-content;max-width:100%;background:var(--c-accent);color:#fff;padding:.1em .45em .02em;transform:rotate(-1.5deg)}
|
|
13
|
+
.th-cartaz .sc-num{flex:none;width:320px;height:320px;border-radius:50%;display:grid;place-items:center;background:var(--c-alert);color:var(--c-ink);font-size:190px;line-height:1;transform:rotate(-8deg);padding-top:24px}
|
|
14
|
+
.th-cartaz :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+1){--cc:#C3C7F0}
|
|
15
|
+
.th-cartaz :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+2){--cc:#8CC8BF}
|
|
16
|
+
.th-cartaz :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+3){--cc:#F2BE4E}
|
|
17
|
+
.th-cartaz :is(.cards,.stats-grid,.steps,.list)>:nth-child(4n+4){--cc:#D9565B}
|
|
18
|
+
.th-cartaz :is(.card:not(.card-hi),.stat-card,.step-card,.ps-panel){background:#fff;border:12px solid #fff;outline:7px solid var(--cc,#C3C7F0);border-radius:0;box-shadow:0 14px 28px rgba(0,0,0,.14)}
|
|
19
|
+
.th-cartaz :is(.cards,.stats-grid,.steps)>:nth-child(odd){transform:rotate(-1.2deg)}
|
|
20
|
+
.th-cartaz :is(.cards,.stats-grid,.steps)>:nth-child(even){transform:rotate(1deg)}
|
|
21
|
+
.th-cartaz .card-hi{border-radius:0;box-shadow:0 14px 28px rgba(0,0,0,.14)}
|
|
22
|
+
.th-cartaz .st-val{font-family:'Bebas Neue',sans-serif;font-weight:400;color:var(--c-accent)}
|
|
23
|
+
.th-cartaz .li-n{font-family:'Bebas Neue',sans-serif;background:var(--cc,#C3C7F0);color:var(--c-ink);padding:6px 14px 0;transform:rotate(-3deg);min-width:0}
|
|
24
|
+
.th-cartaz .li-b{border:0;border-radius:0;width:20px;height:20px;background:var(--c-accent);transform:rotate(45deg)}
|
|
25
|
+
.th-cartaz .q-mark{color:var(--c-accent)}
|
|
26
|
+
.th-cartaz .pop-btn{border-radius:4px;background:var(--c-alert);color:var(--c-ink);transform:rotate(-4deg);box-shadow:4px 4px 0 rgba(0,0,0,.18)}
|
|
27
|
+
.th-cartaz .pop-card{border-radius:0;background:#fff;color:var(--c-ink);border:0;outline:6px solid var(--c-c4)}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* Infográfico (dados chapados): capa azul com chão verde e nuvens brancas, título enorme em condensada, chapéu numa
|
|
2
|
+
caixa azul-clara; título dos slides em maiúsculas, chapéu numa tarja verde; números enormes; cartões e números de
|
|
3
|
+
lista com a cor do grupo (azul, verde, laranja, amarelo, azul-piscina), sem sombra nem degradê */
|
|
4
|
+
.th-infografico.L-cover-slide,.th-infografico.L-end-slide{--bg:var(--c-accent);--fg:#fff;--muted:#E3EEF9;--hi:var(--c-c2);--em:var(--c-c4);--line:#6AA3D8;background-color:var(--c-accent)}
|
|
5
|
+
.th-infografico:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(1){display:block;left:0;right:0;bottom:0;height:150px;background:var(--c-c2)}
|
|
6
|
+
.th-infografico:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(2){display:block;right:170px;top:120px;width:260px;height:90px;border-radius:60px;background:#fff;opacity:.9;box-shadow:-70px 30px 0 -10px #fff,60px 34px 0 -6px #fff}
|
|
7
|
+
.th-infografico:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(3){display:block;left:0;right:0;bottom:150px;height:14px;background:color-mix(in srgb,var(--c-c2) 70%,#fff)}
|
|
8
|
+
.th-infografico :is(.L-cover,.L-end) .ttl{text-transform:uppercase}
|
|
9
|
+
.th-infografico.L-cover-slide .kicker{background:#6AA3D8;color:#fff;padding:12px 22px;width:fit-content}
|
|
10
|
+
.th-infografico .kicker{width:fit-content;background:var(--c-c2);color:#fff;padding:8px 20px}
|
|
11
|
+
.th-infografico .hd .ttl{text-transform:uppercase}
|
|
12
|
+
.th-infografico.L-section-slide .orn i:nth-child(1){display:block;left:0;right:0;bottom:0;height:120px;background:var(--c-c2)}
|
|
13
|
+
.th-infografico .L-section .ttl{font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:1.25em;text-transform:uppercase}
|
|
14
|
+
.th-infografico .sc-num{color:var(--c-c4)}
|
|
15
|
+
.th-infografico:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) .ttl mark{background:none;color:var(--em);padding:0;margin:0}
|
|
16
|
+
.th-infografico :is(.cards,.stats-grid,.steps,.list)>:nth-child(5n+1){--cc:#3F86C9}
|
|
17
|
+
.th-infografico :is(.cards,.stats-grid,.steps,.list)>:nth-child(5n+2){--cc:#8DC63F}
|
|
18
|
+
.th-infografico :is(.cards,.stats-grid,.steps,.list)>:nth-child(5n+3){--cc:#EB6C35}
|
|
19
|
+
.th-infografico :is(.cards,.stats-grid,.steps,.list)>:nth-child(5n+4){--cc:#F5C02F}
|
|
20
|
+
.th-infografico :is(.cards,.stats-grid,.steps,.list)>:nth-child(5n+5){--cc:#3AAFC1}
|
|
21
|
+
.th-infografico .stat-card.stat-card{background:var(--cc,#3F86C9);border:0;border-radius:var(--radius);--fg:#fff;--muted:rgba(255,255,255,.88);color:#fff}
|
|
22
|
+
.th-infografico .st-val{font-family:'Bebas Neue',sans-serif;font-weight:400;font-size:150px;color:#fff;line-height:.9}
|
|
23
|
+
.th-infografico :is(.card:not(.card-hi):not(.stat-card),.step-card,.ps-panel){background:var(--surface);border:0;border-top:14px solid var(--cc,#3F86C9);border-radius:var(--radius);box-shadow:none}
|
|
24
|
+
.th-infografico .cd-num{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:var(--cc,#3F86C9);color:#fff;font-size:64px}
|
|
25
|
+
.th-infografico .li{align-items:center}
|
|
26
|
+
.th-infografico .li-n{flex:none;width:84px;height:84px;min-width:0;border-radius:50%;display:grid;place-items:center;background:var(--cc,#3F86C9);color:#fff;font-family:'Bebas Neue',sans-serif;font-size:50px;padding-top:4px}
|
|
27
|
+
.th-infografico .li-b{width:26px;height:26px;border:0;background:var(--cc,#3F86C9)}
|
|
28
|
+
.th-infografico .q-mark{color:var(--c-c2)}
|
|
29
|
+
.th-infografico .pop-btn{background:var(--c-c4);color:var(--c-ink)}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* Lousa: quadro verde com marcas de giz apagado e poeira de giz, letra com halo de giz, título em giz amarelo com o
|
|
2
|
+
traço laranja embaixo, linha de giz amarelo sob o título dos slides, cartões contornados a giz com borda torta,
|
|
3
|
+
marcadores como pingos de giz e botão + laranja (como alfinete de mapa) */
|
|
4
|
+
.th-lousa{background-image:radial-gradient(ellipse 60% 45% at 22% 28%,rgba(255,255,255,.075),transparent 70%),radial-gradient(ellipse 50% 40% at 78% 72%,rgba(255,255,255,.055),transparent 70%),radial-gradient(ellipse 120% 95% at 50% 50%,transparent 58%,rgba(0,0,0,.3))}
|
|
5
|
+
.th-lousa::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.11;mix-blend-mode:screen;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E")}
|
|
6
|
+
.th-lousa .safe .t{text-shadow:0 0 1.5px rgba(255,255,255,.35),0 0 8px rgba(255,255,255,.07)}
|
|
7
|
+
.th-lousa :is(.L-cover,.L-end,.L-section) .ttl{color:var(--c-accent)}
|
|
8
|
+
.th-lousa .L-cover .ttl::after,.th-lousa .L-end .ttl::after{content:"";display:block;height:8px;margin-top:22px;width:min(115%,1150px);border-radius:8px;background:repeating-linear-gradient(90deg,var(--c-alert) 0 46px,color-mix(in srgb,var(--c-alert) 65%,transparent) 46px 52px);opacity:.9;transform:rotate(-.5deg)}
|
|
9
|
+
.th-lousa .kicker{color:var(--fg);text-transform:none;letter-spacing:.01em;font-size:40px}
|
|
10
|
+
.th-lousa .hd::after{content:"";height:5px;width:100%;border-radius:5px;background:color-mix(in srgb,var(--c-accent) 70%,transparent);opacity:.75;transform:rotate(-.2deg)}
|
|
11
|
+
.th-lousa:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) mark{background:none;color:var(--c-accent);padding:0;margin:0}
|
|
12
|
+
.th-lousa :is(.card:not(.card-hi),.stat-card,.step-card,.ps-panel,.cp-col:not(.hl)){background:rgba(255,255,255,.035);border:3px solid rgba(241,240,232,.72);border-radius:20px 28px 16px 24px/24px 16px 28px 20px;box-shadow:none}
|
|
13
|
+
.th-lousa .card-hi{background:transparent;color:var(--c-ink);--fg:var(--c-ink);--muted:var(--c-muted);border:3px solid var(--c-accent);border-radius:20px 28px 16px 24px/24px 16px 28px 20px}
|
|
14
|
+
.th-lousa .li-b{width:20px;height:20px;border:0;border-radius:46% 54% 42% 58%;background:var(--c-alert)}
|
|
15
|
+
.th-lousa :is(.li-n,.st-val,.sc-num){color:var(--c-accent)}
|
|
16
|
+
.th-lousa .q-mark{color:var(--c-alert)}
|
|
17
|
+
.th-lousa .pop-btn{background:var(--c-alert);color:#fff;box-shadow:0 4px 0 rgba(0,0,0,.25)}
|
|
18
|
+
.th-lousa .pop-card{background:color-mix(in srgb,var(--bg) 92%,#fff);border:3px solid rgba(241,240,232,.6)}
|
|
19
|
+
.th-lousa .orn i{-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;background:var(--c);opacity:.85}
|
|
20
|
+
.th-lousa:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(1){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-lightbulb%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22/%3E %3Cpath d=%22M9 18h6%22/%3E %3Cpath d=%22M10 22h4%22/%3E%3C/svg%3E");--c:var(--c-accent);width:120px;height:120px;right:150px;top:110px;transform:rotate(14deg)}
|
|
21
|
+
.th-lousa:is(.L-cover-slide,.L-end-slide) .orn i:nth-child(2){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-pencil%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z%22/%3E %3Cpath d=%22m15 5 4 4%22/%3E%3C/svg%3E");--c:var(--c-ink);width:96px;height:96px;right:120px;bottom:110px;transform:rotate(-30deg)}
|
|
22
|
+
.th-lousa.L-section-slide .orn i:nth-child(1){display:block;--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Csvg class=%22lucide lucide-lightbulb%22 xmlns=%22http://www.w3.org/2000/svg%22 width=%2224%22 height=%2224%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22currentColor%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 %3E %3Cpath d=%22M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5%22/%3E %3Cpath d=%22M9 18h6%22/%3E %3Cpath d=%22M10 22h4%22/%3E%3C/svg%3E");--c:var(--c-accent);width:110px;height:110px;right:160px;top:120px;transform:rotate(14deg)}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* Musgo: verde quase preto com grão, grade de pontos que some nas bordas (capa, seção, encerramento), luz âmbar no alto
|
|
2
|
+
da capa, chapéu em monoespaçada com fio âmbar, título em Fraunces com o destaque em âmbar itálico e a faixa que corre */
|
|
3
|
+
.th-musgo.deco-grain::after{mix-blend-mode:screen;opacity:.06}
|
|
4
|
+
.th-musgo .orn i:nth-child(1){display:block;inset:0;background-image:radial-gradient(color-mix(in srgb,var(--fg) 17%,transparent) 1.6px,transparent 2px);background-size:40px 40px;-webkit-mask-image:radial-gradient(ellipse 90% 70% at 50% 30%,#000 30%,transparent 75%);mask-image:radial-gradient(ellipse 90% 70% at 50% 30%,#000 30%,transparent 75%)}
|
|
5
|
+
.th-musgo .orn i:nth-child(2){display:block;left:-10%;right:-10%;top:-35%;height:85%;background:radial-gradient(ellipse at 28% 45%,color-mix(in srgb,var(--hi) 10%,transparent),transparent 62%)}
|
|
6
|
+
.th-musgo:not(.L-cover-slide):not(.L-section-slide):not(.L-end-slide) .orn i:nth-child(1),.th-musgo:not(.L-cover-slide):not(.L-end-slide) .orn i:nth-child(2){display:none}
|
|
7
|
+
.th-musgo .kicker{display:flex;align-items:center;gap:22px;color:var(--hi);font-size:21px}
|
|
8
|
+
.th-musgo .kicker::before{content:"";flex:none;width:64px;height:2px;background:color-mix(in srgb,var(--hi) 60%,transparent)}
|
|
9
|
+
.th-musgo:not(.ms-sublinhado):not(.ms-cor):not(.ms-negrito):not(.ms-nenhum) :is(.ttl,.st-line) mark{background:none;color:var(--hi);font-style:italic;padding:0;margin:0}
|
|
10
|
+
.th-musgo .L-cover .sub,.th-musgo .L-end .sub{max-width:1150px;line-height:1.5}
|
|
11
|
+
/* seção (o separador de temas): número em monoespaçada entre fios, na mesma linha do chapéu; título grande embaixo */
|
|
12
|
+
.th-musgo .L-section{display:grid;grid-template-columns:auto 1fr auto;align-content:center;align-items:center;column-gap:22px;row-gap:34px}
|
|
13
|
+
.th-musgo .L-section .sc-text{display:contents}
|
|
14
|
+
.th-musgo .L-section .sc-num{grid-column:1;grid-row:1;display:flex;align-items:center;gap:22px;font:500 26px/1 'IBM Plex Mono',monospace;letter-spacing:.25em;color:var(--hi)}
|
|
15
|
+
.th-musgo .L-section .sc-num::before,.th-musgo .L-section .sc-num::after{content:"";flex:none;width:64px;height:2px;background:color-mix(in srgb,var(--hi) 60%,transparent)}
|
|
16
|
+
.th-musgo .L-section .sc-num::after{width:28px}
|
|
17
|
+
.th-musgo .L-section .kicker{grid-column:2;grid-row:1}
|
|
18
|
+
.th-musgo .L-section:not(:has(.sc-num)) .kicker{grid-column:1/3}
|
|
19
|
+
.th-musgo .L-section .sc-num~.sc-text .kicker::before{display:none}
|
|
20
|
+
.th-musgo .L-section .sc-text>:not(.kicker){grid-column:1/3}
|
|
21
|
+
.th-musgo .L-section .sub{max-width:1250px;line-height:1.5}
|
|
22
|
+
.th-musgo .L-section .sc-fig{grid-column:3;grid-row:1/span 3}
|
|
23
|
+
/* conteúdo: cartões vazados que sobem no mouse, números em monoespaçada âmbar, marcador em losango */
|
|
24
|
+
.th-musgo :is(.card:not(.card-hi),.stat-card,.step-card,.cp-col:not(.hl),.ps-panel){background:color-mix(in srgb,var(--surface) 55%,transparent);border:1px solid var(--line);border-radius:18px;transition:transform .35s cubic-bezier(.22,1,.36,1),border-color .35s,background-color .35s}
|
|
25
|
+
.th-musgo :is(.card:not(.card-hi),.stat-card,.step-card):hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--hi) 60%,transparent);background:color-mix(in srgb,var(--surface) 85%,transparent)}
|
|
26
|
+
.th-musgo .card-hi{border-radius:18px}
|
|
27
|
+
.th-musgo .st-lab{font-family:'Space Grotesk',sans-serif;font-weight:400;color:var(--muted)}
|
|
28
|
+
.th-musgo .st-val{font-family:'IBM Plex Mono',monospace;font-weight:600;color:var(--hi);letter-spacing:-.02em}
|
|
29
|
+
.th-musgo .li-n{font-family:'IBM Plex Mono',monospace;color:var(--hi)}
|
|
30
|
+
.th-musgo .li-b{width:13px;height:13px;border:0;border-radius:0;background:var(--hi);transform:rotate(45deg)}
|
|
31
|
+
.th-musgo .q-mark{color:var(--hi)}
|
|
32
|
+
/* código numa janela: barra com as três bolinhas (ferrugem, âmbar, sálvia); o editor de código já tem a dele */
|
|
33
|
+
.th-musgo .codewalk-editor{background:color-mix(in srgb,var(--surface) 45%,var(--bg));border-color:var(--line);box-shadow:0 30px 80px -30px #000000b3}
|
|
34
|
+
.th-musgo .codewalk-bar{background:color-mix(in srgb,var(--surface) 90%,var(--bg));border-bottom-color:var(--line);color:var(--fg)}
|
|
35
|
+
.th-musgo .codewalk-lights i:first-child{background:color-mix(in srgb,var(--c-alert) 75%,transparent)}.th-musgo .codewalk-lights i:nth-child(2){background:color-mix(in srgb,var(--c-accent) 75%,transparent)}.th-musgo .codewalk-lights i:last-child{background:color-mix(in srgb,var(--c-c2) 75%,transparent)}
|
|
36
|
+
.th-musgo :is(.codewalk-language,.codewalk-footer){color:var(--muted)}.th-musgo .codewalk-footer{border-top-color:var(--line)}
|
|
37
|
+
.th-musgo .code:not(.codewalk-editor .code){border:1px solid var(--line);border-radius:18px;padding-top:84px;background:radial-gradient(circle 9px at 38px 30px,color-mix(in srgb,var(--c-alert) 75%,transparent) 96%,transparent),radial-gradient(circle 9px at 66px 30px,color-mix(in srgb,var(--c-accent) 75%,transparent) 96%,transparent),radial-gradient(circle 9px at 94px 30px,color-mix(in srgb,var(--c-c2) 75%,transparent) 96%,transparent),linear-gradient(color-mix(in srgb,var(--surface) 90%,var(--bg)) 0 60px,var(--line) 60px 61px,color-mix(in srgb,var(--surface) 45%,var(--bg)) 61px);background-repeat:no-repeat}
|
|
38
|
+
/* botões: âmbar cheio que sobe e clareia; o Voltar vazado com borda que acende */
|
|
39
|
+
.th-musgo .api-run{border-radius:10px;font:600 26px 'Space Grotesk',sans-serif;box-shadow:none;transition:transform .2s,background-color .2s}
|
|
40
|
+
.th-musgo .api-run:hover{transform:translateY(-2px);background:var(--fg);filter:none}
|
|
41
|
+
.th-musgo .nav-back{border-radius:10px;background:transparent;border:1px solid var(--line);transition:border-color .2s,color .2s}
|
|
42
|
+
.th-musgo .nav-back:hover{background:transparent;border-color:var(--hi);color:var(--hi)}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Copyright (c) 2021 MapLibre contributors
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014, Mapbox
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
15
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
Copyright (c) 2023, MapLibre contributors
|
|
2
|
+
|
|
3
|
+
All rights reserved.
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
6
|
+
are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
9
|
+
this list of conditions and the following disclaimer.
|
|
10
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
* Neither the name of MapLibre GL JS nor the names of its contributors
|
|
14
|
+
may be used to endorse or promote products derived from this software
|
|
15
|
+
without specific prior written permission.
|
|
16
|
+
|
|
17
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
21
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
22
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
23
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
24
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
25
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
26
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
27
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
-------------------------------------------------------------------------------
|
|
31
|
+
|
|
32
|
+
Contains code from mapbox-gl-js v1.13 and earlier
|
|
33
|
+
|
|
34
|
+
Version v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license
|
|
35
|
+
|
|
36
|
+
Copyright (c) 2020, Mapbox
|
|
37
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
38
|
+
are permitted provided that the following conditions are met:
|
|
39
|
+
|
|
40
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
41
|
+
this list of conditions and the following disclaimer.
|
|
42
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
43
|
+
this list of conditions and the following disclaimer in the documentation
|
|
44
|
+
and/or other materials provided with the distribution.
|
|
45
|
+
* Neither the name of Mapbox GL JS nor the names of its contributors
|
|
46
|
+
may be used to endorse or promote products derived from this software
|
|
47
|
+
without specific prior written permission.
|
|
48
|
+
|
|
49
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
50
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
51
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
52
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
53
|
+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
54
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
55
|
+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
56
|
+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
57
|
+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
58
|
+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
|
59
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
-------------------------------------------------------------------------------
|
|
63
|
+
|
|
64
|
+
Contains code from glfx.js
|
|
65
|
+
|
|
66
|
+
Copyright (C) 2011 by Evan Wallace
|
|
67
|
+
|
|
68
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
69
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
70
|
+
in the Software without restriction, including without limitation the rights
|
|
71
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
72
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
73
|
+
furnished to do so, subject to the following conditions:
|
|
74
|
+
|
|
75
|
+
The above copyright notice and this permission notice shall be included in
|
|
76
|
+
all copies or substantial portions of the Software.
|
|
77
|
+
|
|
78
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
79
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
80
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
81
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
82
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
83
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
84
|
+
THE SOFTWARE.
|
|
85
|
+
|
|
86
|
+
--------------------------------------------------------------------------------
|
|
87
|
+
|
|
88
|
+
Contains a portion of d3-color https://github.com/d3/d3-color
|
|
89
|
+
|
|
90
|
+
Copyright 2010-2016 Mike Bostock
|
|
91
|
+
All rights reserved.
|
|
92
|
+
|
|
93
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
94
|
+
are permitted provided that the following conditions are met:
|
|
95
|
+
|
|
96
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
97
|
+
list of conditions and the following disclaimer.
|
|
98
|
+
|
|
99
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
100
|
+
this list of conditions and the following disclaimer in the documentation
|
|
101
|
+
and/or other materials provided with the distribution.
|
|
102
|
+
|
|
103
|
+
* Neither the name of the author nor the names of contributors may be used to
|
|
104
|
+
endorse or promote products derived from this software without specific prior
|
|
105
|
+
written permission.
|
|
106
|
+
|
|
107
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
108
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
109
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
110
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
|
111
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
112
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
113
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
114
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
115
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
116
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|