demucs-riz / src /components /ProcessingStatus.css
rizwarrior's picture
Initial commit - Demucs Docker app
5de5922
.processing-container {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.processing-card {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 3rem 2rem;
text-align: center;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
max-width: 500px;
width: 100%;
}
.processing-header {
margin-bottom: 2rem;
}
.processing-icon {
color: #667eea;
margin-bottom: 1rem;
}
.spinner {
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.processing-card h2 {
color: #333;
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.processing-card p {
color: #666;
font-size: 1rem;
line-height: 1.5;
margin: 0;
}
.file-info {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
background: rgba(102, 126, 234, 0.1);
padding: 1rem;
border-radius: 12px;
margin-bottom: 2rem;
color: #667eea;
}
.file-name {
font-weight: 500;
font-size: 0.9rem;
word-break: break-all;
}
.progress-section {
margin-bottom: 2rem;
}
.progress-bar {
width: 100%;
height: 8px;
background: rgba(102, 126, 234, 0.1);
border-radius: 4px;
overflow: hidden;
margin-bottom: 0.75rem;
}
.progress-fill {
height: 100%;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 4px;
transition: width 0.3s ease;
}
.progress-text {
color: #667eea;
font-weight: 600;
font-size: 1rem;
}
.processing-steps {
display: flex;
flex-direction: column;
gap: 1rem;
margin-bottom: 2rem;
text-align: left;
}
.step {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem;
border-radius: 8px;
transition: all 0.3s ease;
}
.step.active {
background: rgba(102, 126, 234, 0.1);
color: #667eea;
}
.step.completed {
background: rgba(46, 204, 113, 0.1);
color: #2ecc71;
}
.step-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ddd;
transition: all 0.3s ease;
}
.step.active .step-dot {
background: #667eea;
animation: pulse 1.5s infinite;
}
.step.completed .step-dot {
background: #2ecc71;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.step span {
font-size: 0.9rem;
font-weight: 500;
}
.estimated-time {
color: #999;
font-size: 0.85rem;
font-style: italic;
}
.estimated-time p {
margin: 0;
}
@media (max-width: 768px) {
.processing-card {
padding: 2rem 1.5rem;
margin: 1rem;
}
.processing-card h2 {
font-size: 1.25rem;
}
.file-info {
padding: 0.75rem;
}
.file-name {
font-size: 0.8rem;
}
}