demucs-riz / src /components /FileUpload.css
rizwarrior's picture
Initial commit - Demucs Docker app
5de5922
.upload-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 3rem;
max-width: 600px;
width: 100%;
}
.upload-area {
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
border: 2px dashed #ddd;
border-radius: 20px;
padding: 3rem 2rem;
text-align: center;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.upload-area:hover,
.upload-area.drag-over {
border-color: #667eea;
background: rgba(255, 255, 255, 0.98);
transform: translateY(-5px);
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}
.upload-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.5rem;
}
.upload-icon {
color: #667eea;
opacity: 0.8;
}
.upload-area h2 {
color: #333;
font-size: 1.5rem;
font-weight: 600;
margin: 0;
}
.upload-area p {
color: #666;
font-size: 1rem;
margin: 0;
line-height: 1.5;
}
.supported-formats {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.format-item {
display: flex;
align-items: center;
gap: 0.5rem;
background: rgba(102, 126, 234, 0.1);
padding: 0.5rem 1rem;
border-radius: 20px;
color: #667eea;
font-size: 0.9rem;
font-weight: 500;
}
.upload-button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 1rem 2rem;
border-radius: 12px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.upload-button:hover {
transform: translateY(-2px);
box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}
.info-section {
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 2rem;
width: 100%;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.info-section h3 {
color: #333;
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.steps {
display: flex;
justify-content: space-around;
gap: 1rem;
flex-wrap: wrap;
}
.step {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
flex: 1;
min-width: 120px;
}
.step-number {
width: 40px;
height: 40px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-size: 1.1rem;
}
.step p {
color: #666;
font-size: 0.9rem;
margin: 0;
text-align: center;
}
@media (max-width: 768px) {
.upload-container {
gap: 2rem;
}
.upload-area {
padding: 2rem 1.5rem;
}
.upload-area h2 {
font-size: 1.25rem;
}
.supported-formats {
gap: 0.5rem;
}
.format-item {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
}
.steps {
flex-direction: column;
gap: 1.5rem;
}
.step {
flex-direction: row;
text-align: left;
}
}