Feature: Fabrica de Quadrinhos profissional com geracao paralela, modo apresentacao fullscreen, storyboard interativo, exportacao ZIP e adaptacao mobile

This commit is contained in:
2026-08-31 11:05:03 +00:00
parent 665b9abe63
commit 36f72f56dc
3 changed files with 686 additions and 96 deletions
+219 -21
View File
@@ -3358,22 +3358,22 @@ code {
}
/* ==========================================================================
FÁBRICA DE QUADRINHOS
FÁBRICA DE QUADRINHOS — STORYBOARD STUDIO & PRESENTATION MODE
========================================================================== */
.comic-panel-card {
position: relative;
border: 3px solid #1e293b;
background: var(--bg-secondary);
box-shadow: 4px 4px 0px #1e293b;
border-radius: 8px;
border-radius: 10px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform 0.2s, box-shadow 0.2s;
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}
.comic-panel-card:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0px #1e293b;
transform: translateY(-3px);
box-shadow: 6px 8px 0px #1e293b;
}
.comic-panel-image-container {
@@ -3396,51 +3396,103 @@ code {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
display: block;
}
.comic-panel-card:hover .comic-panel-image {
transform: scale(1.02);
}
.comic-panel-overlay-actions {
position: absolute;
top: 8px;
left: 8px;
display: flex;
gap: 6px;
z-index: 15;
opacity: 0.9;
transition: opacity 0.2s;
}
.comic-panel-card:hover .comic-panel-overlay-actions {
opacity: 1;
}
.btn-comic-action {
background: rgba(15, 23, 42, 0.85);
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(4px);
border-radius: 6px;
padding: 4px 7px;
font-size: 0.75rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 4px;
transition: background 0.2s, transform 0.1s;
}
.btn-comic-action:hover {
background: var(--brand-pink, #db2777);
transform: scale(1.05);
}
.comic-speech-bubble {
position: absolute;
top: 8px;
left: 8px;
background: white;
bottom: 10px;
left: 10px;
right: 10px;
background: rgba(255, 255, 255, 0.95);
border: 2px solid #1e293b;
border-radius: 10px;
padding: 4px 8px;
font-size: 0.72rem;
border-radius: 8px;
padding: 6px 10px;
font-size: 0.78rem;
font-weight: 700;
color: #0f172a;
max-width: 65%;
box-shadow: 2px 2px 0px rgba(30, 41, 59, 0.15);
box-shadow: 2px 2px 0px rgba(30, 41, 59, 0.2);
z-index: 10;
pointer-events: none;
}
.comic-panel-number-badge {
position: absolute;
top: 8px;
right: 8px;
background: #fef08a; /* Amarelo claro */
background: #fef08a; /* Amarelo clássico gibi */
color: #1e293b;
font-weight: 800;
font-size: 0.8rem;
width: 20px;
height: 20px;
font-size: 0.82rem;
padding: 2px 8px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid #1e293b;
border-radius: 50%;
z-index: 12;
box-shadow: 1px 1px 0px #1e293b;
box-shadow: 2px 2px 0px #1e293b;
}
.comic-caption-text {
padding: 10px 14px;
padding: 10px 12px;
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;
display: flex;
flex-direction: column;
gap: 6px;
}
.comic-prompt-details {
display: none;
font-size: 0.72rem;
color: var(--text-muted);
background: var(--bg-secondary);
padding: 6px 8px;
border-radius: 6px;
border: 1px dashed var(--border-light);
margin-top: 4px;
}
.btn-comics-qty.active, .btn-comics-bubbles.active, .btn-comics-ratio.active, .btn-comics-char.active {
@@ -3448,7 +3500,113 @@ code {
border-color: #db2777;
color: #f472b6;
font-weight: 600;
box-shadow: 0 0 8px rgba(219, 39, 119, 0.2);
}
/* ==========================================================================
MODO APRESENTAÇÃO / LEITURA (FULLSCREEN STORYBOARD)
========================================================================== */
.comics-presentation-modal {
position: fixed;
inset: 0;
z-index: 10000;
background: rgba(10, 10, 15, 0.95);
backdrop-filter: blur(10px);
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 20px;
box-sizing: border-box;
}
.comics-pres-header {
width: 100%;
max-width: 1000px;
display: flex;
justify-content: space-between;
align-items: center;
color: white;
}
.comics-pres-stage {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 960px;
position: relative;
margin: 10px 0;
}
.comics-pres-card {
max-width: 100%;
max-height: 70vh;
display: flex;
flex-direction: column;
align-items: center;
background: #0f172a;
border: 4px solid #334155;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
animation: comicFadeIn 0.3s ease;
}
.comics-pres-img {
max-width: 100%;
max-height: 55vh;
object-fit: contain;
display: block;
}
.comics-pres-caption {
width: 100%;
background: #ffffff;
color: #0f172a;
padding: 16px 24px;
box-sizing: border-box;
font-size: 1.15rem;
font-weight: 600;
text-align: center;
border-top: 3px solid #1e293b;
font-family: 'Fredoka', 'Outfit', sans-serif;
letter-spacing: 0.3px;
}
.comics-pres-nav {
display: flex;
align-items: center;
gap: 16px;
margin-top: 10px;
}
.btn-pres-nav {
background: rgba(255, 255, 255, 0.12);
color: white;
border: 1px solid rgba(255, 255, 255, 0.25);
padding: 10px 20px;
border-radius: 30px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s;
}
.btn-pres-nav:hover:not(:disabled) {
background: var(--brand-pink, #db2777);
transform: scale(1.05);
}
.btn-pres-nav:disabled {
opacity: 0.3;
cursor: not-allowed;
}
@keyframes comicFadeIn {
from { opacity: 0; transform: scale(0.97); }
to { opacity: 1; transform: scale(1); }
}
/* ==========================================================================
@@ -3635,6 +3793,46 @@ code {
overflow-y: auto;
padding: 8px 4px;
}
/* Otimização Mobile para a Fábrica de Quadrinhos */
#comicsGridContainer {
grid-template-columns: 1fr !important;
gap: 14px !important;
}
.comic-panel-overlay-actions {
opacity: 1 !important;
gap: 4px;
}
.btn-comic-action {
padding: 6px 9px;
font-size: 0.82rem;
min-height: 32px;
}
.comics-presentation-modal {
padding: 12px 10px !important;
}
.comics-pres-card {
max-height: 75vh !important;
border-width: 2px !important;
}
.comics-pres-img {
max-height: 46vh !important;
}
.comics-pres-caption {
font-size: 0.98rem !important;
padding: 12px 14px !important;
}
.btn-pres-nav {
padding: 8px 16px !important;
font-size: 0.9rem !important;
}
}
/* Estilos de progresso da IA (Chain of Thought/Etapas) */