File size: 3,381 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 | :root {
color-scheme: dark;
--bg-0: #07090c;
--bg-1: #0b0d10;
--bg-2: #11151b;
--bg-3: #171c24;
--panel: rgba(17, 21, 27, 0.92);
--panel-border: rgba(148, 163, 184, 0.14);
--text: #e8eef7;
--muted: #93a0b4;
--faint: #64748b;
--accent: #5eead4;
--accent-2: #38bdf8;
--accent-3: #a78bfa;
--warn: #fbbf24;
--danger: #f87171;
--ok: #34d399;
--shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
--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(1200px 600px at 10% -10%, rgba(56, 189, 248, 0.08), transparent 55%),
radial-gradient(900px 500px at 90% 0%, rgba(167, 139, 250, 0.08), transparent 50%),
radial-gradient(800px 500px at 70% 100%, rgba(94, 234, 212, 0.05), transparent 45%),
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(94, 234, 212, 0.25), transparent);
cursor: col-resize;
position: relative;
}
.splitter::after {
content: "";
position: absolute;
inset: 0 -3px;
}
.splitter:hover,
.splitter:active {
background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.55), 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);
}
.mono {
font-family: var(--mono);
}
.muted {
color: var(--muted);
}
.faint {
color: var(--faint);
}
|