添加前端

This commit is contained in:
2026-06-03 18:31:15 +08:00
parent a3ad72c140
commit 9748a1e681
29 changed files with 2506 additions and 20 deletions
+163
View File
@@ -0,0 +1,163 @@
:root {
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
color: #172033;
background: #f3f6fb;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
}
button {
border: 0;
border-radius: 10px;
padding: 10px 18px;
background: #2563eb;
color: white;
cursor: pointer;
font-weight: 600;
}
button:disabled {
opacity: 0.6;
cursor: wait;
}
.page {
width: min(1200px, calc(100vw - 32px));
margin: 0 auto;
padding: 32px 0;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 24px;
margin-bottom: 24px;
}
.eyebrow {
margin: 0 0 6px;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 12px;
font-weight: 700;
}
h1,
h2 {
margin: 0;
}
h1 {
font-size: 34px;
}
h2 {
font-size: 18px;
margin-bottom: 16px;
}
.status,
.error,
.card {
border: 1px solid #e2e8f0;
background: white;
border-radius: 16px;
box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}
.status {
display: flex;
gap: 16px;
align-items: center;
padding: 14px 18px;
margin-bottom: 16px;
color: #92400e;
background: #fffbeb;
}
.status.ok {
color: #166534;
background: #f0fdf4;
}
.error {
padding: 14px 18px;
margin-bottom: 16px;
color: #b91c1c;
background: #fef2f2;
}
.grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.card {
padding: 18px;
overflow: hidden;
}
.card.wide {
grid-column: 1 / -1;
}
table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
th,
td {
border-bottom: 1px solid #e2e8f0;
padding: 10px 8px;
text-align: left;
}
th {
color: #64748b;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.06em;
}
.list {
display: flex;
flex-direction: column;
gap: 12px;
list-style: none;
margin: 0;
padding: 0;
}
.list li {
display: grid;
gap: 4px;
padding-bottom: 12px;
border-bottom: 1px solid #e2e8f0;
}
.list small {
color: #64748b;
}
@media (max-width: 800px) {
.header,
.status {
align-items: flex-start;
flex-direction: column;
}
.grid {
grid-template-columns: 1fr;
}
}