192 lines
2.9 KiB
CSS
192 lines
2.9 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.upload-box {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
background: white;
|
|
padding: 16px;
|
|
padding-bottom: 200px; /* Reserve space for progress bar and files */
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
}
|
|
|
|
.form-field {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-field label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: #333;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.form-field input[type="email"],
|
|
.form-field textarea {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
font-family: Arial, sans-serif;
|
|
transition: border-color 0.3s;
|
|
}
|
|
|
|
.form-field input[type="email"]:focus,
|
|
.form-field textarea:focus {
|
|
outline: none;
|
|
border-color: #0066cc;
|
|
}
|
|
|
|
.form-field input[type="email"]:disabled,
|
|
.form-field textarea:disabled {
|
|
background: #f5f5f5;
|
|
cursor: not-allowed;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.form-field textarea {
|
|
resize: vertical;
|
|
min-height: 80px;
|
|
}
|
|
|
|
.drop-area {
|
|
border: 2px dashed #ccc;
|
|
border-radius: 4px;
|
|
padding: 24px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
.drop-area:hover {
|
|
border-color: #666;
|
|
background: #f9f9f9;
|
|
}
|
|
|
|
.drop-area.dragover {
|
|
border-color: #0066cc;
|
|
background: #e6f2ff;
|
|
}
|
|
|
|
.drop-area.disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.drop-area p + p {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
input[type="file"] {
|
|
display: none;
|
|
}
|
|
|
|
.file-list {
|
|
margin-top: 20px;
|
|
display: none;
|
|
}
|
|
|
|
.file-list.show {
|
|
display: block;
|
|
}
|
|
|
|
.file-item {
|
|
padding: 10px;
|
|
background: #f9f9f9;
|
|
margin-bottom: 5px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
button {
|
|
margin-top: 20px;
|
|
padding: 12px 24px;
|
|
background: #0066cc;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
width: 100%;
|
|
}
|
|
|
|
button:hover {
|
|
background: #0052a3;
|
|
}
|
|
|
|
button:disabled {
|
|
background: #ccc;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.progress-container {
|
|
margin-top: 20px;
|
|
padding: 16px;
|
|
background: #f9f9f9;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 24px;
|
|
background: #e0e0e0;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: #0066cc;
|
|
border-radius: 12px;
|
|
transition: width 0.3s ease;
|
|
width: 0%;
|
|
}
|
|
|
|
.progress-message {
|
|
font-size: 14px;
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
|
|
footer {
|
|
margin-top: auto;
|
|
text-align: right;
|
|
font-size: 12px;
|
|
color: #888;
|
|
}
|
|
|
|
footer a {
|
|
color: #666;
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|