Files

394 lines
9.0 KiB
CSS

:root {
--bg: #0f1419;
--bg-elev: #1a2332;
--bg-card: #1e2a3a;
--border: #2d3a4d;
--text: #e8eef6;
--text-muted: #8b9cb3;
--accent: #3b82f6;
--accent-soft: rgba(59, 130, 246, 0.15);
--pass: #22c55e;
--pass-bg: rgba(34, 197, 94, 0.12);
--warn: #f59e0b;
--warn-bg: rgba(245, 158, 11, 0.12);
--fail: #ef4444;
--fail-bg: rgba(239, 68, 68, 0.12);
--partial: #a78bfa;
--partial-bg: rgba(167, 139, 250, 0.12);
--info: #38bdf8;
--radius: 12px;
--shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
--font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
--mono: "SF Mono", "Cascadia Code", "Consolas", monospace;
}
[data-theme="light"] {
--bg: #f4f6f9;
--bg-elev: #ffffff;
--bg-card: #ffffff;
--border: #e2e8f0;
--text: #1e293b;
--text-muted: #64748b;
--accent-soft: rgba(59, 130, 246, 0.1);
--shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--font);
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.app-header {
position: sticky;
top: 0;
z-index: 100;
background: var(--bg-elev);
border-bottom: 1px solid var(--border);
backdrop-filter: blur(12px);
}
.header-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0.85rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
}
.brand-mark {
width: 36px;
height: 36px;
border-radius: 10px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
display: grid;
place-items: center;
font-weight: 700;
font-size: 0.85rem;
color: #fff;
}
.brand h1 {
font-size: 1.05rem;
font-weight: 650;
letter-spacing: -0.02em;
}
.brand .sub {
font-size: 0.75rem;
color: var(--text-muted);
}
.header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn {
border: 1px solid var(--border);
background: var(--bg-card);
color: var(--text);
padding: 0.4rem 0.85rem;
border-radius: 8px;
font-size: 0.85rem;
cursor: pointer;
font-family: inherit;
transition: background 0.15s, border-color 0.15s;
}
.btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-icon { padding: 0.4rem 0.55rem; }
.nav-tabs {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
display: flex;
gap: 0.25rem;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.nav-tabs a {
flex-shrink: 0;
padding: 0.7rem 1rem;
color: var(--text-muted);
font-size: 0.9rem;
font-weight: 500;
border-bottom: 2px solid transparent;
text-decoration: none;
transition: color 0.15s, border-color 0.15s;
}
.nav-tabs a:hover { color: var(--text); }
.nav-tabs a.active {
color: var(--accent);
border-bottom-color: var(--accent);
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 1.5rem;
}
.section { display: none; animation: fadeIn 0.25s ease; }
.section.active { display: block; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: none; }
}
.page-title {
font-size: 1.35rem;
font-weight: 650;
margin-bottom: 0.35rem;
}
.page-desc {
color: var(--text-muted);
font-size: 0.9rem;
margin-bottom: 1.25rem;
}
.grid-3 {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1rem;
}
.card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.25rem;
box-shadow: var(--shadow);
}
.card h3 {
font-size: 0.95rem;
font-weight: 600;
margin-bottom: 0.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.card p { font-size: 0.88rem; color: var(--text-muted); }
.badge {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.15rem 0.55rem;
border-radius: 999px;
font-size: 0.72rem;
font-weight: 650;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.badge-pass { background: var(--pass-bg); color: var(--pass); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-fail { background: var(--fail-bg); color: var(--fail); }
.badge-partial, .badge-mixed, .badge-close { background: var(--partial-bg); color: var(--partial); }
.badge-matches { background: var(--pass-bg); color: var(--pass); }
.badge-conflict { background: var(--fail-bg); color: var(--fail); }
.badge-not_found { background: rgba(100, 116, 139, 0.2); color: var(--text-muted); }
.badge-Verified { background: var(--pass-bg); color: var(--pass); }
.badge-Partial { background: var(--partial-bg); color: var(--partial); }
.stat-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 0.75rem;
margin-top: 1.25rem;
}
.stat {
background: var(--bg-elev);
border: 1px solid var(--border);
border-radius: 10px;
padding: 0.9rem 1rem;
text-align: center;
}
.stat .num { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.stat .lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.15rem; }
.table-wrap {
overflow-x: auto;
border: 1px solid var(--border);
border-radius: var(--radius);
background: var(--bg-card);
}
table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
}
th, td {
padding: 0.7rem 0.9rem;
text-align: left;
border-bottom: 1px solid var(--border);
vertical-align: top;
}
th {
background: var(--bg-elev);
color: var(--text-muted);
font-weight: 600;
font-size: 0.78rem;
text-transform: uppercase;
letter-spacing: 0.03em;
white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--accent-soft); }
.toolbar {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
align-items: center;
}
.toolbar input, .toolbar select {
background: var(--bg-card);
border: 1px solid var(--border);
color: var(--text);
padding: 0.45rem 0.75rem;
border-radius: 8px;
font-family: inherit;
font-size: 0.85rem;
}
.toolbar input { min-width: 200px; flex: 1; }
.platform-grid {
display: grid;
gap: 1rem;
}
.platform-card .claims {
list-style: none;
margin-top: 0.75rem;
}
.platform-card .claims li {
display: flex;
justify-content: space-between;
gap: 0.75rem;
padding: 0.4rem 0;
border-bottom: 1px dashed var(--border);
font-size: 0.85rem;
}
.platform-card .claims li:last-child { border-bottom: none; }
.platform-meta {
font-size: 0.8rem;
color: var(--text-muted);
margin-top: 0.5rem;
}
.md-body {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.5rem 1.75rem;
font-size: 0.92rem;
line-height: 1.75;
}
.md-body h1 { font-size: 1.4rem; margin: 0 0 1rem; }
.md-body h2 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; border-bottom: 1px solid var(--border); padding-bottom: 0.35rem; }
.md-body h3 { font-size: 1rem; margin: 1.2rem 0 0.5rem; }
.md-body p { margin: 0.6rem 0; }
.md-body ul, .md-body ol { margin: 0.5rem 0 0.5rem 1.4rem; }
.md-body li { margin: 0.25rem 0; }
.md-body blockquote {
border-left: 3px solid var(--accent);
margin: 0.8rem 0;
padding: 0.4rem 0.9rem;
color: var(--text-muted);
background: var(--accent-soft);
border-radius: 0 8px 8px 0;
}
.md-body code {
font-family: var(--mono);
font-size: 0.84em;
background: var(--bg-elev);
padding: 0.1rem 0.35rem;
border-radius: 4px;
}
.md-body pre {
background: var(--bg);
border: 1px solid var(--border);
border-radius: 8px;
padding: 0.9rem 1rem;
overflow-x: auto;
margin: 0.8rem 0;
}
.md-body pre code { background: none; padding: 0; }
.md-body table { margin: 0.8rem 0; font-size: 0.85rem; }
.md-body th, .md-body td { border: 1px solid var(--border); }
.md-body hr { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.md-body strong { font-weight: 650; }
.alert {
border-radius: var(--radius);
padding: 1rem 1.15rem;
margin-bottom: 1rem;
font-size: 0.9rem;
border: 1px solid var(--border);
}
.alert-info { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.35); }
.alert-warn { background: var(--warn-bg); border-color: rgba(245, 158, 11, 0.35); }
.file-list { display: grid; gap: 0.4rem; }
.file-item {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.65rem 0.9rem;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 8px;
font-size: 0.85rem;
}
.file-item:hover { border-color: var(--accent); }
.file-name { font-weight: 500; word-break: break-all; }
.file-meta { color: var(--text-muted); font-size: 0.75rem; white-space: nowrap; }
.footer {
max-width: 1200px;
margin: 2rem auto 0;
padding: 1.25rem 1.5rem 2rem;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 0.78rem;
text-align: center;
}
.empty {
text-align: center;
padding: 2.5rem 1rem;
color: var(--text-muted);
}
@media (max-width: 640px) {
main { padding: 1rem; }
.brand h1 { font-size: 0.95rem; }
.md-body { padding: 1rem; }
}