fix: 管理页改成和 EunivTools 一样的页头和表格

This commit is contained in:
2026-10-30 10:55:28 +08:00
parent 6b34fb438c
commit b052ce2ed0
6 changed files with 229 additions and 146 deletions
+60 -1
View File
@@ -48,7 +48,66 @@ button, input, select { font: inherit; }
gap: 8px;
}
.who { color: var(--muted); font-size: 12px; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--bg); }
.page {
height: 100%;
min-height: 0;
display: flex;
flex-direction: column;
padding: 28px 32px 20px;
box-sizing: border-box;
}
.page-head {
display: flex;
align-items: center;
justify-content: space-between;
flex: none;
margin-bottom: 16px;
}
.page-head h2 {
margin: 0;
font-size: 22px;
font-weight: 650;
letter-spacing: -0.03em;
}
.admin-page { overflow: hidden; }
.admin-alert { flex: none; margin-bottom: 12px; }
.admin-scroll {
flex: 1;
min-height: 0;
overflow: auto;
}
.admin-status { margin: 0; color: var(--muted); }
.admin-table {
width: 100%;
border-collapse: collapse;
}
.admin-table th,
.admin-table td {
padding: 10px 16px 10px 0;
border-bottom: 1px solid var(--line);
text-align: left;
vertical-align: middle;
}
.admin-table th {
position: sticky;
top: 0;
z-index: 1;
background: var(--bg);
color: var(--muted);
font-size: 12px;
font-weight: 400;
}
.form-row {
display: grid;
grid-template-columns: max-content minmax(160px, 280px);
gap: 8px 12px;
align-items: center;
justify-content: start;
margin-bottom: 12px;
}
.form-row label { white-space: nowrap; }
.settings-form { max-width: 640px; }
.topbar {
position: sticky;
top: 0;