/* Neon / terminal "hackertyper" theme. Dense, operator-oriented UI — no framework, hand-tuned CSS. Class names are load-bearing (HTML + renderer/app.js reference them); this file only restyles, it doesn't rename anything. */ :root { /* Near-black base, faintly green-shifted like a phosphor display. */ --bg: #03070a; --bg-elev: #070d12; --bg-elev-2: #0c151c; /* Phosphor-tinted text. */ --fg: #d7f7ea; --fg-dim: #6f9b8e; --border: #123026; /* Neon accents. */ --neon: #00ffa3; /* primary — terminal green/cyan */ --neon-soft: #19f9d8; --cyan: #38e1ff; --magenta: #ff3df0; --accent: var(--neon); --accent-hover: var(--neon-soft); --ok: #2bff88; --warn: #ffc44d; --danger: #ff3b6b; --danger-hover: #ff5d85; --info: var(--cyan); --mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace; /* Reusable glow shadows. */ --glow-neon: 0 0 6px rgba(0, 255, 163, 0.55); --glow-neon-strong: 0 0 10px rgba(0, 255, 163, 0.7), 0 0 22px rgba(0, 255, 163, 0.35); --glow-danger: 0 0 8px rgba(255, 59, 107, 0.6); --glow-cyan: 0 0 8px rgba(56, 225, 255, 0.55); } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; height: 100%; background: var(--bg); color: var(--fg); /* Monospace everywhere — terminal feel. */ font-family: var(--mono); font-size: 13px; line-height: 1.45; } /* Ambient phosphor vignette behind everything. */ body { background: radial-gradient(1200px 600px at 50% -10%, rgba(0, 255, 163, 0.08), transparent 60%), radial-gradient(900px 500px at 100% 110%, rgba(56, 225, 255, 0.06), transparent 60%), var(--bg); } /* CRT scanline + flicker overlay. Non-interactive, sits above content. */ body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 9999; background: repeating-linear-gradient( to bottom, rgba(0, 0, 0, 0) 0px, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0.18) 3px, rgba(0, 0, 0, 0) 4px ); mix-blend-mode: multiply; opacity: 0.5; animation: scanflicker 6s steps(60) infinite; } @keyframes scanflicker { 0%, 97%, 100% { opacity: 0.5; } 98% { opacity: 0.62; } 99% { opacity: 0.42; } } ::selection { background: rgba(0, 255, 163, 0.28); color: #fff; text-shadow: none; } /* Neon scrollbars (WebKit / Chromium — Electron). */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--bg-elev); } ::-webkit-scrollbar-thumb { background: #0f3a2c; border-radius: 6px; border: 1px solid var(--border); } ::-webkit-scrollbar-thumb:hover { background: #135a44; box-shadow: var(--glow-neon); } code { font-family: var(--mono); background: var(--bg-elev-2); padding: 1px 4px; border-radius: 3px; font-size: 12px; color: var(--neon-soft); border: 1px solid var(--border); } .muted { color: var(--fg-dim); } .small { font-size: 12px; } .hidden { display: none !important; } .error { color: var(--danger); text-shadow: var(--glow-danger); } .row { display: flex; gap: 8px; align-items: center; } .inline { display: inline-flex; align-items: center; gap: 6px; } .topbar { display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: linear-gradient(180deg, rgba(0, 255, 163, 0.05), transparent), var(--bg-elev); border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(0, 255, 163, 0.15), 0 6px 18px -10px rgba(0, 255, 163, 0.3); } .topbar .brand { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--neon); text-shadow: var(--glow-neon-strong); animation: brandflicker 4.5s infinite; } .topbar .brand::before { content: "▌ "; color: var(--neon); opacity: 0.8; } @keyframes brandflicker { 0%, 19%, 21%, 55%, 57%, 100% { opacity: 1; text-shadow: var(--glow-neon-strong); } 20% { opacity: 0.7; } 56% { opacity: 0.85; text-shadow: var(--glow-neon); } } .topbar .session { margin-left: auto; color: var(--cyan); font-family: var(--mono); font-size: 12px; text-shadow: var(--glow-cyan); } .view { display: flex; gap: 0; height: calc(100vh - 45px); } #view-login { justify-content: center; align-items: flex-start; padding-top: 60px; } .card { background: var(--bg-elev); border: 1px solid var(--neon); border-radius: 8px; padding: 24px; width: 440px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--glow-neon-strong), inset 0 0 30px rgba(0, 255, 163, 0.05); } .card h1 { margin: 0 0 4px; font-size: 18px; color: var(--neon); text-shadow: var(--glow-neon); letter-spacing: 1px; } .card p { margin: 0 0 8px; } label { display: flex; flex-direction: column; gap: 4px; color: var(--fg-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; } label.inline { flex-direction: row; align-items: center; gap: 6px; color: var(--fg); text-transform: none; letter-spacing: 0; } input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], input[type="datetime-local"], select { background: var(--bg-elev-2); border: 1px solid var(--border); color: var(--fg); padding: 7px 9px; border-radius: 4px; font-size: 13px; font-family: var(--mono); outline: none; transition: border-color 0.12s ease, box-shadow 0.12s ease; } input::placeholder { color: #3f5e54; } input:focus, select:focus { border-color: var(--neon); box-shadow: var(--glow-neon), inset 0 0 8px rgba(0, 255, 163, 0.12); caret-color: var(--neon); } /* Glowing checkbox accent. */ input[type="checkbox"] { accent-color: var(--neon); } button { font-family: var(--mono); font-size: 13px; letter-spacing: 0.5px; padding: 7px 14px; border-radius: 4px; border: 1px solid var(--border); background: var(--bg-elev-2); color: var(--fg); cursor: pointer; transition: border-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease, background 0.12s ease; } button:hover:not(:disabled) { border-color: var(--neon); color: var(--neon); box-shadow: var(--glow-neon); } button:disabled { opacity: 0.4; cursor: not-allowed; } button.primary { background: rgba(0, 255, 163, 0.1); color: var(--neon); border-color: var(--neon); font-weight: 700; text-transform: uppercase; text-shadow: var(--glow-neon); box-shadow: var(--glow-neon), inset 0 0 10px rgba(0, 255, 163, 0.12); } button.primary:hover:not(:disabled) { background: rgba(0, 255, 163, 0.18); color: #002a1c; background-color: var(--neon); box-shadow: var(--glow-neon-strong); text-shadow: none; } button.ghost { background: transparent; } button.ghost:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-cyan); } button.danger { background: rgba(255, 59, 107, 0.12); color: var(--danger); border-color: var(--danger); font-weight: 700; text-transform: uppercase; text-shadow: var(--glow-danger); box-shadow: var(--glow-danger), inset 0 0 10px rgba(255, 59, 107, 0.12); } button.danger:hover:not(:disabled) { background: var(--danger); color: #1a0008; border-color: var(--danger-hover); box-shadow: 0 0 12px rgba(255, 59, 107, 0.8), 0 0 26px rgba(255, 59, 107, 0.4); text-shadow: none; } .panel-left { width: 320px; padding: 16px; border-right: 1px solid var(--border); background: linear-gradient(180deg, rgba(0, 255, 163, 0.03), transparent 240px), var(--bg-elev); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; } .panel-left h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--neon); text-shadow: var(--glow-neon); margin: 12px 0 0; padding-bottom: 4px; border-bottom: 1px solid var(--border); } .panel-left h2:first-child { margin-top: 0; } .panel-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; } .panel-main h2 { margin: 0; font-size: 15px; color: var(--fg); letter-spacing: 0.5px; } .fleet-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; } .fleet-head h2 span { color: var(--neon); text-shadow: var(--glow-neon); } .selected-summary { background: var(--bg-elev-2); padding: 8px 10px; border-radius: 4px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; } .selected-summary strong { color: var(--neon); text-shadow: var(--glow-neon); } .fleet-table-wrap { flex: 1; overflow: auto; border: 1px solid var(--border); border-radius: 4px; box-shadow: inset 0 0 24px rgba(0, 255, 163, 0.04); } .fleet-table { width: 100%; border-collapse: collapse; font-size: 12px; } .fleet-table thead th { position: sticky; top: 0; background: var(--bg-elev); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--neon); color: var(--neon); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; text-shadow: var(--glow-neon); z-index: 1; } .fleet-table tbody td { padding: 6px 10px; border-bottom: 1px solid var(--border); font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; } .fleet-table tbody tr:hover { background: rgba(0, 255, 163, 0.06); } .fleet-table tbody tr.selected { background: rgba(0, 255, 163, 0.12); box-shadow: inset 3px 0 0 var(--neon), inset 0 0 18px rgba(0, 255, 163, 0.12); } .status-ok { color: var(--ok); text-shadow: 0 0 6px rgba(43, 255, 136, 0.55); } .status-warn { color: var(--warn); text-shadow: 0 0 6px rgba(255, 196, 77, 0.5); } .status-err { color: var(--danger); text-shadow: var(--glow-danger); } .status-info { color: var(--info); text-shadow: var(--glow-cyan); } .status-pending { color: var(--fg-dim); } /* Compact FEC counter readout under the health pill in the preview table. Each line is "tail=value" so the operator can correlate with the same names used by the PON Manager UI (Pre-FEC BER etc.). */ .fec-cell { white-space: normal; max-width: 280px; } /* Verify-view table cells contain stacked before/after blocks; let them wrap and align to the top so before/after lines line up. */ #verify-table tbody td { white-space: normal; vertical-align: top; } #verify-table .delta-arrow { color: var(--neon); font-size: 11px; } #verify-table .before-line, #verify-table .after-line { display: block; } #verify-table .before-line { color: var(--fg-dim); font-size: 11px; } .fec-pill { font-weight: 700; } .fec-counters { display: block; margin-top: 3px; color: var(--fg-dim); font-family: var(--mono); font-size: 11px; line-height: 1.35; } .fec-counters .pre { color: var(--warn); } .fec-counters .post { color: var(--danger); } .fec-counters .ok { color: var(--fg-dim); } .slot-arrow { display: inline-block; padding: 1px 6px; border-radius: 3px; background: var(--bg-elev-2); border: 1px solid var(--neon); color: var(--neon); text-shadow: var(--glow-neon); }