This commit is contained in:
2026-03-04 01:08:00 +08:00
parent 006a30ea0c
commit 24c799f08e
6 changed files with 960 additions and 214 deletions
+140
View File
@@ -870,6 +870,141 @@ a:hover {
color: var(--text-secondary);
}
/* ================================
模态框
================================ */
.modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 1000;
animation: fadeIn 0.2s ease;
}
.modal-content {
background: var(--bg-primary);
border-radius: var(--radius-lg);
width: 90%;
max-width: 500px;
max-height: 90vh;
overflow: auto;
animation: slideUp 0.3s ease;
}
.modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: var(--space-6);
border-bottom: 1px solid var(--border-light);
}
.modal-header h2 {
font-size: var(--text-xl);
font-weight: 600;
}
.modal-close {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
border: none;
background: transparent;
color: var(--text-secondary);
font-size: 24px;
cursor: pointer;
border-radius: var(--radius-md);
transition: all 0.2s;
}
.modal-close:hover {
background: var(--gray-100);
color: var(--text-primary);
}
.modal-body {
padding: var(--space-6);
}
.modal-footer {
display: flex;
gap: var(--space-3);
justify-content: flex-end;
padding: var(--space-6);
border-top: 1px solid var(--border-light);
}
/* ================================
复选框组
================================ */
.checkbox-group {
display: flex;
flex-wrap: wrap;
gap: var(--space-3);
}
.checkbox-label {
display: flex;
align-items: center;
gap: var(--space-2);
padding: var(--space-2) var(--space-3);
background: var(--gray-100);
border-radius: var(--radius-md);
cursor: pointer;
transition: all 0.2s;
}
.checkbox-label:hover {
background: var(--gray-200);
}
.checkbox-label input[type="checkbox"] {
width: 16px;
height: 16px;
cursor: pointer;
}
/* ================================
按钮变体
================================ */
.btn-error {
background: var(--error);
color: white;
border: none;
padding: var(--space-2) var(--space-4);
border-radius: var(--radius-md);
font-size: var(--text-sm);
cursor: pointer;
transition: all 0.2s;
}
.btn-error:hover {
background: #dc2626;
}
.btn-secondary {
background: var(--gray-200);
color: var(--text-primary);
border: none;
padding: var(--space-2) var(--space-4);
border-radius: var(--radius-md);
font-size: var(--text-sm);
cursor: pointer;
transition: all 0.2s;
}
.btn-secondary:hover {
background: var(--gray-300);
}
/* ================================
进度条
================================ */
@@ -1489,6 +1624,11 @@ a:hover {
color: var(--primary-700);
}
.auth-tip {
color: var(--text-tertiary);
font-size: var(--text-sm);
}
.page-container {
max-width: 1200px;
margin: 0 auto;