101 lines
No EOL
1.6 KiB
CSS
101 lines
No EOL
1.6 KiB
CSS
.overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.modal {
|
|
background: white;
|
|
padding: 2rem;
|
|
border-radius: 8px;
|
|
width: 90%;
|
|
max-width: 500px;
|
|
position: relative;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.closeButton {
|
|
position: absolute;
|
|
top: 1rem;
|
|
right: 1rem;
|
|
background: none;
|
|
border: none;
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
color: #666;
|
|
}
|
|
|
|
.closeButton:hover {
|
|
color: #333;
|
|
}
|
|
|
|
.dropzone {
|
|
border: 2px dashed #ccc;
|
|
border-radius: 4px;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
margin: 1rem 0;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.dropzone.active {
|
|
border-color: #2196f3;
|
|
background-color: rgba(33, 150, 243, 0.1);
|
|
}
|
|
|
|
.uploadIcon {
|
|
font-size: 3rem;
|
|
color: #666;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.dropzoneText {
|
|
color: #666;
|
|
}
|
|
|
|
.dropzoneText p {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.browseButton {
|
|
background-color: #2196f3;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.browseButton:hover {
|
|
background-color: #1976d2;
|
|
}
|
|
|
|
.selectedFile {
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
background-color: #f5f5f5;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.uploadButton {
|
|
background-color: #4caf50;
|
|
color: white;
|
|
border: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.uploadButton:hover {
|
|
background-color: #388e3c;
|
|
} |