File size: 4,056 Bytes
fed1528 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | :root {
color-scheme: dark;
/* Near-black canvas — electric blue must punch (ref control UI) */
--bg-0: #020304;
--bg-1: #050608;
--bg-2: #0a0c10;
--bg-3: #10141c;
--panel: rgba(6, 8, 12, 0.96);
--panel-border: rgba(90, 140, 210, 0.18);
--text: #f4f8ff;
--muted: #8fa0b8;
--faint: #5a6a82;
/* Electric blue stack — primary graph language */
--accent: #3db4ff;
--accent-2: #1a8cff;
--accent-3: #7ec8ff;
--accent-glow: rgba(61, 180, 255, 0.55);
--accent-soft: rgba(61, 180, 255, 0.16);
--accent-line: rgba(61, 180, 255, 0.7);
/* Contrast spark — gold lift, still secondary */
--spark: #f0c14d;
--spark-soft: rgba(240, 193, 77, 0.14);
--spark-line: rgba(240, 193, 77, 0.45);
--warn: #f5b942;
--danger: #ff6b7a;
--ok: #3dde9a;
--node-bg: rgba(8, 11, 18, 0.98);
--node-border: rgba(70, 150, 230, 0.38);
--edge-idle: rgba(50, 150, 255, 0.42);
--edge-live: rgba(70, 190, 255, 1);
--shadow: 0 22px 56px rgba(0, 0, 0, 0.72);
--radius: 14px;
--font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
--mono: "Cascadia Code", "Consolas", ui-monospace, monospace;
--header-h: 56px;
--footer-h: 34px;
--split: 58%;
}
* {
box-sizing: border-box;
}
html,
body,
#root {
width: 100%;
height: 100%;
margin: 0;
}
body {
font-family: var(--font);
background:
radial-gradient(1100px 520px at 12% -12%, rgba(26, 140, 255, 0.14), transparent 58%),
radial-gradient(800px 420px at 88% 0%, rgba(61, 180, 255, 0.09), transparent 52%),
radial-gradient(640px 380px at 76% 10%, rgba(240, 193, 77, 0.04), transparent 50%),
var(--bg-0);
color: var(--text);
overflow: hidden;
-webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
font: inherit;
color: inherit;
}
button {
cursor: pointer;
}
a {
color: inherit;
text-decoration: none;
}
.app-shell {
display: grid;
grid-template-rows: var(--header-h) 1fr var(--footer-h);
height: 100%;
min-height: 0;
}
.workspace {
display: grid;
grid-template-columns: minmax(0, var(--split)) 6px minmax(0, calc(100% - var(--split) - 6px));
min-height: 0;
height: 100%;
}
.pane {
min-width: 0;
min-height: 0;
display: flex;
flex-direction: column;
background: var(--panel);
border: 1px solid var(--panel-border);
overflow: hidden;
}
.pane-left {
border-left: none;
border-radius: 0 0 0 0;
}
.pane-right {
border-right: none;
}
.splitter {
background: linear-gradient(180deg, transparent, rgba(77, 179, 255, 0.28), transparent);
cursor: col-resize;
position: relative;
}
.splitter::after {
content: "";
position: absolute;
inset: 0 -3px;
}
.splitter:hover,
.splitter:active {
background: linear-gradient(180deg, transparent, rgba(77, 179, 255, 0.62), transparent);
}
.pane-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 14px;
border-bottom: 1px solid var(--panel-border);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.pane-title {
display: flex;
flex-direction: column;
gap: 2px;
}
.pane-title strong {
font-size: 13px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.pane-title span {
font-size: 11px;
color: var(--muted);
}
.pane-body {
flex: 1;
min-height: 0;
position: relative;
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 8px;
border-radius: 999px;
border: 1px solid var(--panel-border);
background: rgba(255, 255, 255, 0.03);
color: var(--muted);
font-size: 11px;
letter-spacing: 0.02em;
}
.badge .dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--faint);
}
.badge.live .dot {
background: var(--ok);
box-shadow: 0 0 10px rgba(52, 211, 153, 0.8);
}
.badge.warn .dot {
background: var(--warn);
}
.badge.spark {
border-color: var(--spark-line);
color: var(--spark);
background: var(--spark-soft);
}
.mono {
font-family: var(--mono);
}
.muted {
color: var(--muted);
}
.faint {
color: var(--faint);
}
|