feat: implementa a Fabrica de Quadrinhos com geracao de PDF e video animado via FFmpeg

This commit is contained in:
2026-06-03 12:01:03 +00:00
parent 4690672245
commit 0dbf687ec9
7 changed files with 914 additions and 1 deletions
+91
View File
@@ -3137,4 +3137,95 @@ code {
color: rgb(253, 224, 71);
}
/* ==========================================================================
FÁBRICA DE QUADRINHOS
========================================================================== */
.comic-panel-card {
position: relative;
border: 3px solid #1e293b;
background: var(--bg-secondary);
box-shadow: 4px 4px 0px #1e293b;
border-radius: 8px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s;
}
.comic-panel-card:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0px #1e293b;
}
.comic-panel-image-container {
position: relative;
width: 100%;
overflow: hidden;
background: var(--bg-tertiary);
border-bottom: 2px solid #1e293b;
}
.comic-panel-image-container.ratio-16-9 {
aspect-ratio: 16/9;
}
.comic-panel-image-container.ratio-4-3 {
aspect-ratio: 4/3;
}
.comic-panel-image {
width: 100%;
height: 100%;
object-fit: cover;
}
.comic-speech-bubble {
position: absolute;
top: 10px;
left: 10px;
background: white;
border: 2px solid #1e293b;
border-radius: 12px;
padding: 6px 10px;
font-size: 0.78rem;
font-weight: 700;
color: #0f172a;
max-width: 80%;
box-shadow: 2px 2px 0px rgba(30, 41, 59, 0.15);
z-index: 10;
}
.comic-panel-number-badge {
position: absolute;
top: 10px;
right: 10px;
background: #fef08a; /* Amarelo claro */
color: #1e293b;
font-weight: 800;
font-size: 0.8rem;
padding: 2px 6px;
border: 2px solid #1e293b;
border-radius: 6px;
z-index: 12;
box-shadow: 1px 1px 0px #1e293b;
}
.comic-caption-text {
padding: 10px 14px;
background: var(--bg-primary);
color: var(--text-primary);
font-size: 0.82rem;
line-height: 1.4;
border-top: 1px solid var(--border-light);
font-weight: 500;
}
.btn-comics-qty.active, .btn-comics-bubbles.active, .btn-comics-ratio.active, .btn-comics-char.active {
background-color: rgba(219, 39, 119, 0.15);
border-color: #db2777;
color: #f472b6;
font-weight: 600;
box-shadow: 0 0 8px rgba(219, 39, 119, 0.2);
}