71 lines
1.1 KiB
CSS
71 lines
1.1 KiB
CSS
.upload-container {
|
|
max-width: 600px;
|
|
margin: 2rem auto;
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.upload-area {
|
|
border: 2px dashed #3498db;
|
|
border-radius: 8px;
|
|
padding: 3rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
background: #f8f9fa;
|
|
}
|
|
|
|
.upload-area:hover {
|
|
background: #e9ecef;
|
|
border-color: #2980b9;
|
|
}
|
|
|
|
.upload-area.dragover {
|
|
background: #d4edda;
|
|
border-color: #27ae60;
|
|
}
|
|
|
|
.upload-icon {
|
|
font-size: 3rem;
|
|
color: #3498db;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.file-input {
|
|
display: none;
|
|
}
|
|
|
|
.preview-image {
|
|
max-width: 100%;
|
|
max-height: 400px;
|
|
margin-top: 1rem;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.btn-upload {
|
|
margin-top: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.status-message {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
border-radius: 4px;
|
|
display: none;
|
|
}
|
|
|
|
.status-message.success {
|
|
background: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.status-message.error {
|
|
background: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|