317 lines
4.9 KiB
CSS
317 lines
4.9 KiB
CSS
:root {
|
|
--bg: #f4f1ea;
|
|
--panel: #fffdf9;
|
|
--border: #d8d0c3;
|
|
--ink: #26231e;
|
|
--muted: #6a6258;
|
|
--accent: #8f3b2e;
|
|
--ok-bg: #d8f1df;
|
|
--ok-fg: #1f6a32;
|
|
--warn-bg: #fff0bf;
|
|
--warn-fg: #8a6200;
|
|
--crit-bg: #ffd7d2;
|
|
--crit-fg: #9a2419;
|
|
--unknown-bg: #e3e5e8;
|
|
--unknown-fg: #4f5965;
|
|
--empty-bg: #ece7de;
|
|
--empty-fg: #72675b;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background:
|
|
radial-gradient(circle at top left, #efe1cf 0, transparent 30%),
|
|
linear-gradient(180deg, #f8f4ed 0%, var(--bg) 100%);
|
|
color: var(--ink);
|
|
font: 14px/1.45 "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 24px 28px 18px;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.page-header h1 {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.page-header p {
|
|
margin: 6px 0 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-action {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
padding: 10px 16px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.page-main {
|
|
width: min(1500px, calc(100vw - 32px));
|
|
margin: 0 auto;
|
|
padding: 20px 0 32px;
|
|
}
|
|
|
|
.empty-panel,
|
|
.meta-panel,
|
|
.notice-panel,
|
|
.section-card,
|
|
.upload-panel {
|
|
background: var(--panel);
|
|
border: 1px solid var(--border);
|
|
border-radius: 14px;
|
|
box-shadow: 0 10px 30px rgba(78, 54, 26, 0.05);
|
|
padding: 18px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.empty-panel h2,
|
|
.section-card h2,
|
|
.meta-panel h2,
|
|
.notice-panel h2,
|
|
.upload-panel h2 {
|
|
display: block;
|
|
margin: 0 0 12px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.empty-panel p,
|
|
.notice-panel p,
|
|
.upload-panel p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.upload-panel {
|
|
width: min(680px, 100%);
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.upload-dropzone {
|
|
display: block;
|
|
margin-top: 16px;
|
|
border: 1px dashed var(--border);
|
|
border-radius: 12px;
|
|
padding: 18px;
|
|
background: #faf6ef;
|
|
}
|
|
|
|
.upload-dropzone input {
|
|
display: block;
|
|
width: 100%;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.upload-eyebrow {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.upload-dropzone strong {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.upload-actions {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.upload-actions button {
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
padding: 10px 16px;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.error-box {
|
|
margin-bottom: 16px;
|
|
border: 1px solid var(--crit-fg);
|
|
border-radius: 10px;
|
|
padding: 12px;
|
|
background: var(--crit-bg);
|
|
color: var(--crit-fg);
|
|
}
|
|
|
|
.section-nav {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.section-nav a {
|
|
text-decoration: none;
|
|
color: var(--accent);
|
|
background: rgba(143, 59, 46, 0.08);
|
|
padding: 7px 11px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.sections-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.section-card {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.section-card-half {
|
|
grid-column: span 1;
|
|
}
|
|
|
|
.section-card-full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.kv-table,
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.kv-table th,
|
|
.kv-table td,
|
|
.data-table th,
|
|
.data-table td {
|
|
vertical-align: top;
|
|
text-align: left;
|
|
border-top: 1px solid var(--border);
|
|
padding: 10px 8px;
|
|
}
|
|
|
|
.kv-table tr:first-child th,
|
|
.kv-table tr:first-child td,
|
|
.data-table tr:first-child th,
|
|
.data-table tr:first-child td {
|
|
border-top: 0;
|
|
}
|
|
|
|
.kv-table th,
|
|
.data-table th {
|
|
color: var(--muted);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.table-group + .table-group {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.table-group h3 {
|
|
margin: 0 0 8px;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.data-table thead th {
|
|
position: sticky;
|
|
top: 0;
|
|
background: #f7f1e7;
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-block;
|
|
border-radius: 999px;
|
|
padding: 3px 9px;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.status-ok {
|
|
background: var(--ok-bg);
|
|
color: var(--ok-fg);
|
|
}
|
|
|
|
.status-warning {
|
|
background: var(--warn-bg);
|
|
color: var(--warn-fg);
|
|
}
|
|
|
|
.status-critical {
|
|
background: var(--crit-bg);
|
|
color: var(--crit-fg);
|
|
}
|
|
|
|
.status-unknown {
|
|
background: var(--unknown-bg);
|
|
color: var(--unknown-fg);
|
|
}
|
|
|
|
.status-empty {
|
|
background: var(--empty-bg);
|
|
color: var(--empty-fg);
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.page-header {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.page-main {
|
|
width: min(100vw - 20px, 1500px);
|
|
}
|
|
|
|
.sections-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 18px 14px 14px;
|
|
}
|
|
|
|
.page-header h1 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.empty-panel,
|
|
.meta-panel,
|
|
.section-card,
|
|
.upload-panel {
|
|
padding: 14px;
|
|
}
|
|
|
|
.section-card-half,
|
|
.section-card-full {
|
|
grid-column: auto;
|
|
}
|
|
}
|