b5f00509ee
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PSK5g6qYLknKj8u3QAFEr6
852 lines
19 KiB
CSS
852 lines
19 KiB
CSS
/* Felhom Hub — Dark theme */
|
|
/* Felhom Hub — design system v2 (TASK-D4). Canonical tokens:
|
|
documentation/design/design-system.md */
|
|
|
|
@font-face {
|
|
font-family: 'Plus Jakarta Sans';
|
|
font-style: normal;
|
|
font-weight: 400 800;
|
|
font-display: swap;
|
|
src: url('/static/fonts/pjs-latin.woff2') format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: 'Plus Jakarta Sans';
|
|
font-style: normal;
|
|
font-weight: 400 800;
|
|
font-display: swap;
|
|
src: url('/static/fonts/pjs-latin-ext.woff2') format('woff2');
|
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
}
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 400 500;
|
|
font-display: swap;
|
|
src: url('/static/fonts/jbm-latin.woff2') format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: 'JetBrains Mono';
|
|
font-style: normal;
|
|
font-weight: 400 500;
|
|
font-display: swap;
|
|
src: url('/static/fonts/jbm-latin-ext.woff2') format('woff2');
|
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
}
|
|
|
|
:root {
|
|
--bg-0: #0A1220; --bg-1: #0F1B2E; --bg-2: #16263F;
|
|
--line: #22344F; --line-soft: #1A2A42;
|
|
--text-1: #EDF2F9; --text-2: #94A6BF; --text-3: #5E7392;
|
|
--blue: #0083D8; --blue-bright: #2EA8F5; --blue-dim: rgba(0,131,216,.13);
|
|
--warn: #E0A93E; --warn-dim: rgba(224,169,62,.12);
|
|
--crit: #E5534B; --crit-dim: rgba(229,83,75,.12);
|
|
--radius: 2px;
|
|
--font-ui: 'Plus Jakarta Sans', -apple-system, sans-serif;
|
|
--font-data: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
|
|
body {
|
|
font-family: var(--font-ui);
|
|
background: var(--bg-0);
|
|
color: var(--text-1);
|
|
line-height: 1.6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
/* Header */
|
|
header {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--text-1);
|
|
}
|
|
|
|
.subtitle {
|
|
color: var(--text-2);
|
|
font-size: 0.9rem;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.back-link {
|
|
color: var(--blue-bright);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
display: inline-block;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.back-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Dashboard table */
|
|
.dashboard-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--bg-1);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dashboard-table th {
|
|
text-align: left;
|
|
padding: 0.75rem 1rem;
|
|
background: var(--bg-1);
|
|
color: var(--text-2);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.dashboard-table td {
|
|
padding: 0.75rem 1rem;
|
|
border-bottom: 1px solid var(--line);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.dashboard-table tbody tr {
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.dashboard-table tbody tr:hover {
|
|
background: var(--bg-2);
|
|
}
|
|
|
|
.dashboard-table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.customer-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.status-dot {
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
margin-right: 0.35rem;
|
|
vertical-align: baseline;
|
|
background: var(--text-3);
|
|
}
|
|
.status-dot-nominal { background: var(--blue); }
|
|
.status-dot-warn { background: var(--warn); }
|
|
.status-dot-crit { background: var(--crit); }
|
|
.status-dot-neutral { background: transparent; border: 1px solid var(--text-3); }
|
|
|
|
/* Status badges */
|
|
.status-badge {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: var(--radius);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
/* Status = STATE -> tag semantics (outline + dot; design-system addendum). Keyed by the
|
|
raw status value the templates emit; exception-color: ok is blue, pending/disabled quiet. */
|
|
.status-badge { border: 1px solid var(--line); background: transparent; color: var(--text-2); }
|
|
.status-badge::before {
|
|
content: '';
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
margin-right: 0.35rem;
|
|
background: var(--text-3);
|
|
vertical-align: 0.05em;
|
|
}
|
|
.status-badge-ok { border-color: rgba(0,131,216,.45); color: var(--blue-bright); }
|
|
.status-badge-ok::before { background: var(--blue); }
|
|
.status-badge-warn, .status-badge-blocked, .status-badge-stale { border-color: var(--warn); color: var(--warn); background: var(--warn-dim); }
|
|
.status-badge-warn::before, .status-badge-blocked::before, .status-badge-stale::before { background: var(--warn); }
|
|
.status-badge-down, .status-badge-fail { border-color: var(--crit); color: var(--crit); background: var(--crit-dim); }
|
|
.status-badge-down::before, .status-badge-fail::before { background: var(--crit); }
|
|
.status-badge-disabled, .status-badge-pending { color: var(--text-3); }
|
|
.status-badge-disabled::before, .status-badge-pending::before { background: transparent; border: 1px solid var(--text-3); }
|
|
|
|
/* Config badges */
|
|
.config-badge {
|
|
display: inline-block;
|
|
padding: 0.15em 0.5em;
|
|
border-radius: var(--radius);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
.config-badge-managed { background: var(--blue-dim); color: var(--blue-bright); }
|
|
.config-badge-manual { background: var(--bg-2); color: var(--text-2); }
|
|
.config-badge-blocked { background: var(--crit-dim); color: var(--crit); }
|
|
|
|
/* Blocked banner */
|
|
.flash-blocked {
|
|
background: var(--crit-dim);
|
|
border: 1px solid rgba(229,83,75,.3);
|
|
color: var(--crit);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Blocked row in tables */
|
|
.row-blocked { opacity: 0.5; }
|
|
|
|
/* Cards */
|
|
.card {
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 1.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.card h2 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
color: var(--text-1);
|
|
}
|
|
|
|
.card h3 {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
margin-top: 0.75rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--text-2);
|
|
}
|
|
|
|
/* Info grid */
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.info-item .label {
|
|
display: block;
|
|
font-size: 0.75rem;
|
|
color: var(--text-3);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.info-item .value {
|
|
font-size: 0.9rem;
|
|
color: var(--text-1);
|
|
}
|
|
|
|
/* Metrics */
|
|
.metrics-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 1rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.metric {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.metric-label {
|
|
font-size: 0.8rem;
|
|
color: var(--text-2);
|
|
}
|
|
|
|
.metric-value {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
font-family: var(--font-data);
|
|
}
|
|
|
|
.metric-detail {
|
|
font-size: 0.8rem;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
.bar {
|
|
height: 6px;
|
|
background: var(--line);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bar-fill {
|
|
height: 100%;
|
|
background: var(--blue-bright);
|
|
border-radius: var(--radius);
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* Container table */
|
|
.container-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.container-table th {
|
|
text-align: left;
|
|
padding: 0.5rem 0.75rem;
|
|
color: var(--text-3);
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.container-table td {
|
|
padding: 0.4rem 0.75rem;
|
|
border-bottom: 1px solid rgba(51, 65, 85, 0.5);
|
|
}
|
|
|
|
.container-state {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.container-state-running { color: var(--blue-bright); }
|
|
.container-state-stopped, .container-state-exited { color: var(--crit); }
|
|
.container-state-unhealthy { color: var(--warn); }
|
|
|
|
/* Health */
|
|
.health-status {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.health-status-ok { color: var(--blue-bright); }
|
|
.health-status-warn { color: var(--warn); }
|
|
.health-status-fail { color: var(--crit); }
|
|
|
|
.issue-list, .warning-list {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.issue-list li::before { content: "● "; color: var(--crit); }
|
|
.warning-list li::before { content: "● "; color: var(--warn); }
|
|
|
|
.issue, .warning {
|
|
padding: 0.25rem 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* History */
|
|
.history-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.85rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.history-table th {
|
|
text-align: left;
|
|
padding: 0.4rem 0.5rem;
|
|
color: var(--text-3);
|
|
font-size: 0.75rem;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.history-table td {
|
|
padding: 0.3rem 0.5rem;
|
|
border-bottom: 1px solid rgba(51, 65, 85, 0.3);
|
|
}
|
|
|
|
details summary {
|
|
cursor: pointer;
|
|
color: var(--blue-bright);
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* Empty state */
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 4rem 2rem;
|
|
color: var(--text-2);
|
|
}
|
|
|
|
.empty-state .hint {
|
|
margin-top: 0.5rem;
|
|
font-size: 0.85rem;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
.empty-state code {
|
|
background: var(--bg-2);
|
|
padding: 0.15rem 0.4rem;
|
|
border-radius: var(--radius);
|
|
font-family: var(--font-data);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
margin-top: 2rem;
|
|
padding-top: 1rem;
|
|
border-top: 1px solid var(--line);
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
footer a {
|
|
color: var(--blue-bright);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Code */
|
|
code {
|
|
font-family: var(--font-data);
|
|
font-size: 0.85em;
|
|
color: var(--blue-bright);
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--text-2);
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
padding-bottom: 2px;
|
|
border-bottom: 2px solid transparent;
|
|
transition: color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--text-1);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--blue-bright);
|
|
border-bottom-color: var(--blue-bright);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.5rem 1rem;
|
|
background: var(--blue-bright);
|
|
color: var(--bg-0);
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: opacity 0.15s;
|
|
}
|
|
|
|
.btn:hover { opacity: 0.85; }
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--text-2);
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
color: var(--text-1);
|
|
border-color: var(--text-2);
|
|
}
|
|
|
|
.btn-danger {
|
|
background: var(--crit);
|
|
color: #fff;
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 0.3rem 0.6rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Forms */
|
|
.config-form .form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.form-group input[type="text"],
|
|
.form-group input[type="email"] {
|
|
background: var(--bg-0);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 0.5rem 0.75rem;
|
|
color: var(--text-1);
|
|
font-size: 0.9rem;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--blue-bright);
|
|
}
|
|
|
|
.form-group input[readonly] {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.form-hint {
|
|
font-size: 0.75rem;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
/* Credentials */
|
|
.credential-row {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.credential-box {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
background: var(--bg-0);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 0.5rem 0.75rem;
|
|
margin-top: 0.25rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.credential-box code {
|
|
flex: 1;
|
|
font-size: 0.8rem;
|
|
word-break: break-all;
|
|
color: var(--text-1);
|
|
}
|
|
|
|
.copy-btn {
|
|
background: transparent;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
color: var(--text-2);
|
|
cursor: pointer;
|
|
padding: 0.2rem 0.5rem;
|
|
font-size: 0.85rem;
|
|
flex-shrink: 0;
|
|
transition: color 0.15s, border-color 0.15s;
|
|
}
|
|
|
|
.copy-btn:hover {
|
|
color: var(--blue-bright);
|
|
border-color: var(--blue-bright);
|
|
}
|
|
|
|
/* Flash messages */
|
|
.flash {
|
|
padding: 0.75rem 1rem;
|
|
border-radius: var(--radius);
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.flash-success {
|
|
background: var(--blue-dim);
|
|
color: var(--blue-bright);
|
|
border: 1px solid rgba(74, 222, 128, 0.3);
|
|
}
|
|
|
|
.flash-error {
|
|
background: var(--crit-dim);
|
|
color: var(--crit);
|
|
border: 1px solid rgba(229,83,75,.3);
|
|
}
|
|
|
|
/* YAML Preview */
|
|
.yaml-preview {
|
|
background: var(--bg-0);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 1rem;
|
|
max-height: 500px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.yaml-preview pre {
|
|
font-family: var(--font-data);
|
|
font-size: 0.8rem;
|
|
color: var(--text-2);
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Muted text */
|
|
.text-muted {
|
|
color: var(--text-3);
|
|
}
|
|
|
|
/* Severity badges */
|
|
.severity-badge {
|
|
display: inline-block;
|
|
padding: 0.15em 0.5em;
|
|
border-radius: var(--radius);
|
|
font-size: 0.8em;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.severity-error {
|
|
background: rgba(239, 68, 68, 0.15);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.severity-warning {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
color: #f59e0b;
|
|
}
|
|
|
|
.severity-info {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.severity-critical {
|
|
background: var(--crit-dim);
|
|
color: var(--crit);
|
|
}
|
|
|
|
.severity-ok {
|
|
background: var(--bg-2);
|
|
color: var(--text-2);
|
|
}
|
|
|
|
/* Event filter buttons */
|
|
.event-filter {
|
|
font-size: 0.8em;
|
|
padding: 0.2em 0.6em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.event-filter.active {
|
|
background: var(--blue-bright);
|
|
color: #fff;
|
|
border-color: var(--blue-bright);
|
|
}
|
|
|
|
/* Notification channel badges */
|
|
.status-badge-operator {
|
|
background: rgba(139, 92, 246, 0.15);
|
|
color: #8b5cf6;
|
|
}
|
|
|
|
.status-badge-customer {
|
|
background: rgba(59, 130, 246, 0.15);
|
|
color: #3b82f6;
|
|
}
|
|
|
|
/* Config diff table */
|
|
.diff-changed td { color: #f59e0b; }
|
|
.diff-hub_only td { color: #3b82f6; }
|
|
.diff-controller_only td { color: #fb923c; }
|
|
|
|
/* Badge styles */
|
|
.badge {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.5rem;
|
|
border-radius: var(--radius);
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
font-family: var(--font-data);
|
|
}
|
|
.badge-error {
|
|
background: var(--crit-dim);
|
|
color: var(--crit);
|
|
}
|
|
.badge-warn {
|
|
background: rgba(250, 204, 21, 0.2);
|
|
color: var(--warn);
|
|
}
|
|
|
|
/* Summary cards row */
|
|
.summary-cards {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.summary-card {
|
|
flex: 1;
|
|
min-width: 160px;
|
|
background: var(--bg-1);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 1rem 1.25rem;
|
|
}
|
|
.summary-card .card-number {
|
|
font-size: 2rem;
|
|
font-weight: 700;
|
|
color: var(--text-1);
|
|
font-family: var(--font-data);
|
|
line-height: 1.1;
|
|
}
|
|
.summary-card .card-label {
|
|
font-size: 0.8rem;
|
|
color: var(--text-3);
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Chart container */
|
|
.chart-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 280px;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
/* Period selector button group */
|
|
.period-selector {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.period-btn {
|
|
padding: 0.3rem 0.75rem;
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--bg-1);
|
|
color: var(--text-2);
|
|
font-size: 0.85rem;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.period-btn:hover, .period-btn.active {
|
|
background: var(--blue-bright);
|
|
color: var(--bg-0);
|
|
border-color: var(--blue-bright);
|
|
}
|
|
|
|
/* Accuracy dot */
|
|
.accuracy-dot {
|
|
display: inline-block;
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
margin-left: 0.25rem;
|
|
}
|
|
.accuracy-ok { background: var(--blue-bright); }
|
|
.accuracy-warn { background: var(--warn); }
|
|
.accuracy-danger { background: var(--crit); }
|
|
|
|
/* Memory color classes */
|
|
.mem-ok { color: var(--blue-bright); }
|
|
.mem-warn { color: var(--warn); }
|
|
.mem-danger { color: var(--crit); }
|
|
|
|
/* Data table (apps page) */
|
|
.data-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.9rem;
|
|
}
|
|
.data-table th {
|
|
text-align: left;
|
|
padding: 0.6rem 0.75rem;
|
|
font-weight: 600;
|
|
color: var(--text-2);
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.04em;
|
|
border-bottom: 1px solid var(--line);
|
|
white-space: nowrap;
|
|
}
|
|
.data-table td {
|
|
padding: 0.6rem 0.75rem;
|
|
border-bottom: 1px solid rgba(100,116,139,0.15);
|
|
color: var(--text-1);
|
|
font-family: var(--font-data);
|
|
font-size: 0.875rem;
|
|
}
|
|
.data-table td a {
|
|
color: var(--blue-bright);
|
|
text-decoration: none;
|
|
font-family: var(--font-sans, sans-serif);
|
|
}
|
|
.data-table td a:hover { text-decoration: underline; }
|
|
.data-table th a {
|
|
color: var(--text-2);
|
|
text-decoration: none;
|
|
}
|
|
.data-table th a:hover { color: var(--text-1); }
|
|
.data-table tr:hover td { background: rgba(96,165,250,0.04); }
|
|
.data-table input[type="checkbox"] {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
cursor: pointer;
|
|
accent-color: var(--blue-bright);
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.container { padding: 1rem; }
|
|
.dashboard-table { font-size: 0.8rem; }
|
|
.dashboard-table th, .dashboard-table td { padding: 0.5rem; }
|
|
.info-grid { grid-template-columns: 1fr 1fr; }
|
|
.metrics-grid { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
|
|
/* Row tint — exception rule: only warn/crit rows carry a wash; ok/pending stay quiet. */
|
|
.dashboard-table tbody tr.status-warn { background: var(--warn-dim); }
|
|
.dashboard-table tbody tr.status-down { background: var(--crit-dim); }
|
|
|
|
/* Two-tone brand heading */
|
|
header h1 span { color: var(--blue-bright); }
|
|
|
|
/* Inline icon (Lucide sprite) */
|
|
.ico { width: 16px; height: 16px; flex-shrink: 0; vertical-align: -0.18em; }
|
|
|
|
/* Hairline table rows (v2): soft dividers, header underline stays --line. */
|
|
.dashboard-table td, .data-table td { border-bottom: 1px solid var(--line-soft); }
|
|
|
|
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 1px; }
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { animation: none !important; transition: none !important; }
|
|
}
|