313 lines
6.0 KiB
CSS
313 lines
6.0 KiB
CSS
:root {
|
|
--primary-color: #1890ff;
|
|
--secondary-color: #40a9ff;
|
|
--background-color: #f0f2f5;
|
|
--text-color: #333;
|
|
--border-color: #ddd;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Helvetica Neue', Arial, sans-serif;
|
|
background-color: var(--background-color);
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
background-color: #ffffff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
|
|
padding: 40px;
|
|
width: 100%;
|
|
max-width: 480px;
|
|
text-align: center;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.container:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.image-container {
|
|
margin-bottom: 30px;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.image-container img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.loading-indicator {
|
|
display: none;
|
|
margin-top: 15px;
|
|
font-size: 16px;
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
|
|
.image-container:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
h1 {
|
|
color: var(--text-color);
|
|
font-size: 28px;
|
|
margin-bottom: 30px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.form-field {
|
|
margin-bottom: 25px;
|
|
text-align: left;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
}
|
|
|
|
select {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
select:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.file-input-wrapper {
|
|
position: relative;
|
|
overflow: visible;
|
|
display: inline-block;
|
|
width: 100%;
|
|
}
|
|
|
|
.file-input-button {
|
|
background-color: #f0f0f0;
|
|
border: 2px solid var(--border-color);
|
|
color: var(--text-color);
|
|
padding: 12px 15px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
width: 100%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.file-input-button:hover {
|
|
background-color: #e0e0e0;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.file-input-button input[type="file"] {
|
|
display: none;
|
|
}
|
|
|
|
#file-name {
|
|
margin-top: 8px;
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
|
|
button[type="submit"], button[id="verify-submit-button"] {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
padding: 14px 20px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
margin-top: 25px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
button[type="submit"]:hover, button[id="verify-submit-button"]:hover {
|
|
background-color: var(--secondary-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
button[type="submit"]:disabled, button[id="verify-submit-button"]:disabled {
|
|
background-color: #d3d3d3;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.progress-container {
|
|
margin-top: 25px;
|
|
display: none;
|
|
}
|
|
|
|
.progress {
|
|
height: 12px;
|
|
background-color: #f0f0f0;
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
background-color: var(--primary-color);
|
|
width: 0;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
#progress-percentage {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-top: 8px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
#status {
|
|
margin-top: 20px;
|
|
font-size: 16px;
|
|
color: #666;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.upload-stats {
|
|
margin-top: 15px;
|
|
font-size: 14px;
|
|
color: #666;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.upload-stats span {
|
|
display: inline-block;
|
|
}
|
|
|
|
.button-group {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
.action-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.action-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.verification-container {
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.verification-input {
|
|
width: 100%;
|
|
padding: 12px;
|
|
border: 2px solid var(--border-color);
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
margin-bottom: 15px;
|
|
transition: border-color 0.3s ease;
|
|
}
|
|
|
|
.verification-input:focus {
|
|
outline: none;
|
|
border-color: var(--primary-color);
|
|
}
|
|
|
|
.download-link-button, .preview-button {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
width: 100%;
|
|
border: none;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
color: white;
|
|
background-size: 200% 200%;
|
|
animation: rainbow 5s ease infinite;
|
|
}
|
|
|
|
.download-link-button {
|
|
background-image: linear-gradient(45deg, #ff9a9e, #fad0c4, #ffecd2, #fcb69f);
|
|
}
|
|
|
|
.preview-button {
|
|
background-image: linear-gradient(45deg, #a1c4fd, #c2e9fb, #d4fc79, #96e6a1);
|
|
}
|
|
|
|
.download-link-button:hover, .preview-button:hover {
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.logout-button:hover {
|
|
background-color: var(--secondary-color);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.logout-button {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: none;
|
|
padding: 14px 20px;
|
|
border-radius: 6px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
width: 100%;
|
|
transition: background-color 0.3s ease, transform 0.3s ease;
|
|
margin-bottom: 25px; /* 适当的间距以与表单分隔开 */
|
|
font-weight: 500;
|
|
}
|
|
|
|
.button-icon {
|
|
font-size: 24px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
@keyframes rainbow {
|
|
0% { background-position: 0% 50% }
|
|
50% { background-position: 100% 50% }
|
|
100% { background-position: 0% 50% }
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.container {
|
|
padding: 30px;
|
|
max-width: 90%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.button-group {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|