83 lines
2.4 KiB
CSS
83 lines
2.4 KiB
CSS
/* simply-dvb – "control room" style panel (inspired by RustProxy) */
|
||
:root {
|
||
color-scheme: dark;
|
||
--bg: #131615;
|
||
--panel: #1b1f1d;
|
||
--panel2: #202622;
|
||
--line: #323a34;
|
||
--row-line: #2b332c;
|
||
--muted: #a0aaa0;
|
||
--subtle: #879082;
|
||
--text: #edf0e9;
|
||
--accent: #f69b74;
|
||
--accent-hover: #ffb090;
|
||
--accent-ink: #221810;
|
||
--green: #bdd293;
|
||
--red: #ffaaa2;
|
||
--blue: #8ebcff;
|
||
--yellow: #e7c76d;
|
||
--sidebar-bg: #101310;
|
||
--nav-active-bg: #242b23;
|
||
--field-bg: #131813;
|
||
--field-line: #47523f;
|
||
--danger-line: #644a47;
|
||
--notice-bg: #29251c;
|
||
--notice-line: #554833;
|
||
--mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Consolas, monospace;
|
||
--sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
|
||
--radius: 3px;
|
||
}
|
||
html[data-theme=light] {
|
||
color-scheme: light;
|
||
--bg: #f4f6f2;
|
||
--panel: #fff;
|
||
--panel2: #edf1eb;
|
||
--line: #cbd3c7;
|
||
--row-line: #dde3d9;
|
||
--muted: #5e685f;
|
||
--subtle: #6f786c;
|
||
--text: #1d241f;
|
||
--accent: #b85b38;
|
||
--accent-hover: #9c4729;
|
||
--accent-ink: #fff;
|
||
--green: #5f783f;
|
||
--red: #b64a43;
|
||
--blue: #2d6bc4;
|
||
--yellow: #8c6a12;
|
||
--sidebar-bg: #eef2ec;
|
||
--nav-active-bg: #dfe7da;
|
||
--field-bg: #fff;
|
||
--field-line: #b9c3b3;
|
||
--danger-line: #e3b8b3;
|
||
--notice-bg: #fbf5e6;
|
||
--notice-line: #e2d2a8;
|
||
}
|
||
html[data-theme=midnight] {
|
||
--bg: #050605;
|
||
--panel: #0c0e0d;
|
||
--panel2: #121513;
|
||
--line: #222823;
|
||
--row-line: #1a1f1b;
|
||
--sidebar-bg: #000;
|
||
--nav-active-bg: #151a15;
|
||
--field-bg: #070907;
|
||
--field-line: #333c30;
|
||
}
|
||
* { box-sizing: border-box; }
|
||
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 13px/1.45 var(--sans); }
|
||
a { color: var(--accent); text-decoration: none; }
|
||
a:hover { color: var(--accent-hover); }
|
||
.hidden { display: none !important; }
|
||
.mono { font-family: var(--mono); }
|
||
.muted { color: var(--muted); }
|
||
.small { font-size: 11px; }
|
||
.error-text { color: var(--red); min-height: 1.2em; }
|
||
.ok-text { color: var(--green); }
|
||
.warn-text { color: var(--yellow); }
|
||
h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -.01em; }
|
||
code, .code { font-family: var(--mono); font-size: 12px; background: var(--field-bg); border: 1px solid var(--line); padding: 1px 5px; border-radius: var(--radius); word-break: break-all; }
|
||
::-webkit-scrollbar { width: 10px; height: 10px; }
|
||
::-webkit-scrollbar-track { background: var(--bg); }
|
||
::-webkit-scrollbar-thumb { background: #4f5d50; border-radius: 6px; border: 2px solid var(--bg); }
|
||
|