diff --git a/public/css/style.css b/public/css/style.css index 56e144a..6051ef9 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -636,6 +636,92 @@ header p { transition: width 0.25s ease; } +.progress-fill.transcode-fill { + background: linear-gradient(90deg, #8b5cf6, #6d28d9); +} + +/* Phase containers */ +.phase-container { + display: flex; + flex-direction: column; + align-items: center; + gap: 0.75rem; + width: 85%; + max-width: 420px; + animation: phaseIn 0.4s ease; +} + +@keyframes phaseIn { + from { opacity: 0; transform: translateY(12px); } + to { opacity: 1; transform: translateY(0); } +} + +.phase-container h3 { + font-size: 1.1rem; + font-weight: 700; + margin: 0; +} + +.phase-container .phase-detail { + color: var(--text-secondary); + font-size: 0.9rem; + margin: 0; +} + +.phase-icon { + width: 64px; + height: 64px; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + margin-bottom: 0.25rem; +} + +.phase-icon.download-icon { + background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15)); + color: #0891b2; + animation: pulse-download 2s ease-in-out infinite; +} + +@keyframes pulse-download { + 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.3); } + 50% { box-shadow: 0 0 0 12px rgba(6, 182, 212, 0); } +} + +.phase-icon.transcode-icon { + background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(109, 40, 217, 0.15)); + color: #7c3aed; + animation: pulse-transcode 2s ease-in-out infinite; +} + +@keyframes pulse-transcode { + 0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); } + 50% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0); } +} + +/* Transcode stats */ +.transcode-stats { + display: flex; + gap: 0.75rem; + justify-content: center; + flex-wrap: wrap; + margin-top: 0.25rem; +} + +.transcode-stats span { + font-size: 0.8rem; + color: var(--text-secondary); + background: rgba(148, 163, 184, 0.12); + padding: 0.25rem 0.6rem; + border-radius: 8px; + font-weight: 500; +} + +.transcode-stats span:empty { + display: none; +} + .play-btn { margin-top: 1rem; padding: 0.85rem 1.25rem; diff --git a/public/index.html b/public/index.html index 9804b2c..4e0b3f5 100644 --- a/public/index.html +++ b/public/index.html @@ -85,13 +85,37 @@

Select a video to start transcoding