@ra3orblade/swarm 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +171 -0
- package/dist/swarm-hook.js +52 -0
- package/dist/swarm-mcp.js +19880 -0
- package/dist/swarm.js +830 -0
- package/dist/swarmd.js +4554 -0
- package/package.json +43 -0
- package/web/app.js +1103 -0
- package/web/fm.css +456 -0
- package/web/icons.js +4 -0
- package/web/index.html +444 -0
- package/web/menus.js +14 -0
- package/web/table.js +262 -0
- package/web/viz.js +272 -0
package/web/index.html
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<title>Swarm</title>
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<link rel="stylesheet" href="/fm.css">
|
|
8
|
+
<link rel="icon" href="data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2020%2020%22%20shape-rendering%3D%22crispEdges%22%3E%3Crect%20width%3D%2220%22%20height%3D%2220%22%20rx%3D%224%22%20fill%3D%22%230e1013%22/%3E%3Cg%20transform%3D%22translate%282%2C4%29%22%3E%3Crect%20x%3D%222%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%226%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%227%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%228%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%229%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234f7d24%22/%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%227%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%228%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%229%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%2210%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%2211%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%2212%22%20y%3D%223%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234f7d24%22/%3E%3Crect%20x%3D%221%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%225%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%226%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%227%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%228%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%229%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%2210%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%2211%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%2212%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%2213%22%20y%3D%225%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234f7d24%22/%3E%3Crect%20x%3D%224%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%227%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%228%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%229%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%2210%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%2211%22%20y%3D%227%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234f7d24%22/%3E%3Crect%20x%3D%222%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23a3e635%22/%3E%3Crect%20x%3D%226%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%227%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%228%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%237cc02f%22/%3E%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%234f7d24%22/%3E%3C/g%3E%3C/svg%3E">
|
|
9
|
+
<style>
|
|
10
|
+
:root{
|
|
11
|
+
--bg:#f6f7f9; --panel:#ffffff; --panel-2:#f0f2f5; --line:#e4e7ec; --line-2:#eef0f3;
|
|
12
|
+
--fg:#1a1d21; --fg-2:#3d4650; --dim:#8b929c; --faint:#aab1bb;
|
|
13
|
+
--acc:#4d7c0f; --acc-soft:rgba(132,204,22,.15);
|
|
14
|
+
--ok:#1f9d55; --ok-soft:rgba(31,157,85,.12);
|
|
15
|
+
--warn:#c77800; --warn-soft:rgba(199,120,0,.12);
|
|
16
|
+
--bad:#d1352b; --bad-soft:rgba(209,53,43,.12);
|
|
17
|
+
--violet:#7857c9;
|
|
18
|
+
/* categorical (fixed agent slots; validated adjacent-pair CVD-safe) + one-hue steps for part-to-whole */
|
|
19
|
+
--c0:#8b929c; --c1:#4d9e2a; --c2:#1b9e77; --c3:#9ab828; --c4:#2f7d4f; --c5:#7fb069; --c6:#0f5c3a; --c7:#c3d84a;
|
|
20
|
+
--acc-1:#e7f3d5; --acc-2:#c2e29a; --acc-3:#92c94f; --acc-4:#5a9e2a; --acc-5:#2f6613;
|
|
21
|
+
--mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,monospace;
|
|
22
|
+
--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;
|
|
23
|
+
/* type scale (px) — use these, never literals */
|
|
24
|
+
--fs-2xs:11px; --fs-xs:11.5px; --fs-sm:12px; --fs-mono:12.5px; --fs-md:13px;
|
|
25
|
+
--fs-menu:13.5px; --fs-lg:14px; --fs-xl:15px; --fs-2xl:24px;
|
|
26
|
+
/* elevation */
|
|
27
|
+
--shadow:0 1px 2px rgba(16,24,40,.04),0 1px 3px rgba(16,24,40,.06);
|
|
28
|
+
--shadow-pop:0 8px 24px rgba(16,24,40,.14),0 1px 3px rgba(16,24,40,.08);
|
|
29
|
+
--overlay:rgba(0,0,0,.45);
|
|
30
|
+
/* radii */
|
|
31
|
+
--r:9px; --r-sm:6px; --r-xs:4px; --r-pill:20px;
|
|
32
|
+
/* motion */
|
|
33
|
+
--t-fast:.12s; --t-med:.2s; --t-in:.32s; --t-pulse:2s;
|
|
34
|
+
/* layout constants */
|
|
35
|
+
--hdr-h:48px; --sb-w:240px; --inset-tl:96px;
|
|
36
|
+
/* text on an accent-filled surface */
|
|
37
|
+
--acc-contrast:#ffffff;
|
|
38
|
+
/* recurring spacing */
|
|
39
|
+
--pad-cell:9px 12px; --pad-page:20px 22px; --pad-ctl:7px 11px; --pad-row:7px 10px;
|
|
40
|
+
--gap-sec:18px;
|
|
41
|
+
}
|
|
42
|
+
:root:not([data-theme="light"]){
|
|
43
|
+
@media (prefers-color-scheme: dark){
|
|
44
|
+
--bg:#0c0e12; --panel:#14171d; --panel-2:#1a1e26; --line:#242932; --line-2:#1e222a;
|
|
45
|
+
--fg:#e6e9ee; --fg-2:#c2c8d0; --dim:#7c8592; --faint:#5a626e;
|
|
46
|
+
--acc:#a3e635; --acc-soft:rgba(163,230,53,.14);
|
|
47
|
+
--ok:#3fb571; --ok-soft:rgba(63,181,113,.14);
|
|
48
|
+
--warn:#d9a441; --warn-soft:rgba(217,164,65,.14);
|
|
49
|
+
--bad:#f0655a; --bad-soft:rgba(240,101,90,.14);
|
|
50
|
+
--violet:#a68bec;
|
|
51
|
+
--c0:#7c8592; --c1:#6bbf3a; --c2:#2bb78f; --c3:#b0cf3a; --c4:#3f9d63; --c5:#93c47d; --c6:#2f8f5a; --c7:#d3e88a;
|
|
52
|
+
--acc-1:#1c3311; --acc-2:#2f5a18; --acc-3:#4d8a24; --acc-4:#7cc02f; --acc-5:#bfef7a;
|
|
53
|
+
--shadow:0 1px 2px rgba(0,0,0,.3),0 2px 6px rgba(0,0,0,.25);
|
|
54
|
+
--shadow-pop:0 8px 24px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.4);
|
|
55
|
+
--acc-contrast:#0e1013;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
:root[data-theme="dark"]{
|
|
59
|
+
--bg:#0c0e12; --panel:#14171d; --panel-2:#1a1e26; --line:#242932; --line-2:#1e222a;
|
|
60
|
+
--fg:#e6e9ee; --fg-2:#c2c8d0; --dim:#7c8592; --faint:#5a626e;
|
|
61
|
+
--acc:#a3e635; --acc-soft:rgba(163,230,53,.14);
|
|
62
|
+
--ok:#3fb571; --ok-soft:rgba(63,181,113,.14);
|
|
63
|
+
--warn:#d9a441; --warn-soft:rgba(217,164,65,.14);
|
|
64
|
+
--bad:#f0655a; --bad-soft:rgba(240,101,90,.14);
|
|
65
|
+
--violet:#a68bec;
|
|
66
|
+
--c0:#7c8592; --c1:#6bbf3a; --c2:#2bb78f; --c3:#b0cf3a; --c4:#3f9d63; --c5:#93c47d; --c6:#2f8f5a; --c7:#d3e88a;
|
|
67
|
+
--acc-1:#1c3311; --acc-2:#2f5a18; --acc-3:#4d8a24; --acc-4:#7cc02f; --acc-5:#bfef7a;
|
|
68
|
+
--shadow:0 1px 2px rgba(0,0,0,.3),0 2px 6px rgba(0,0,0,.25);
|
|
69
|
+
--shadow-pop:0 8px 24px rgba(0,0,0,.5),0 1px 3px rgba(0,0,0,.4);
|
|
70
|
+
--acc-contrast:#0e1013;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
*{box-sizing:border-box}
|
|
74
|
+
html,body{height:100%}
|
|
75
|
+
/* UI zoom (desktop app: ⌘/Ctrl +, −, 0) — scales the whole page, persisted by app.js */
|
|
76
|
+
html{zoom:var(--ui-zoom,1)}
|
|
77
|
+
body{margin:0;background:var(--bg);color:var(--fg);font:var(--fs-lg)/1.5 var(--sans);
|
|
78
|
+
-webkit-font-smoothing:antialiased;display:grid;grid-template-rows:var(--hdr-h) 1fr;grid-template-columns:var(--sb-w) 1fr;overflow:hidden;
|
|
79
|
+
animation:appin var(--t-in) ease both;user-select:none;-webkit-user-select:none}
|
|
80
|
+
@keyframes appin{from{opacity:0}to{opacity:1}}
|
|
81
|
+
/* Chrome (header, sidebar, controls) isn't selectable; real data stays selectable/copyable. */
|
|
82
|
+
input,textarea,tbody td,.mono,code,kbd{user-select:text;-webkit-user-select:text}
|
|
83
|
+
::selection{background:var(--acc-soft)}
|
|
84
|
+
a{color:var(--acc);text-decoration:none}
|
|
85
|
+
.dim{color:var(--dim)}.faint{color:var(--faint)}
|
|
86
|
+
.mono{font-family:var(--mono);font-size:var(--fs-mono)}
|
|
87
|
+
.num{text-align:right;font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
|
|
88
|
+
kbd{font:var(--fs-mono) var(--mono);background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r-xs);padding:1px 5px;color:var(--fg-2)}
|
|
89
|
+
code{font:var(--fs-md) var(--mono);color:var(--fg-2)}
|
|
90
|
+
|
|
91
|
+
/* collapsed sidebar */
|
|
92
|
+
body.nosb{grid-template-columns:0 1fr}
|
|
93
|
+
body.nosb>aside{display:none}
|
|
94
|
+
body>aside{grid-column:1;grid-row:2}
|
|
95
|
+
body>main{grid-column:2;grid-row:2}
|
|
96
|
+
#projects h4{display:flex;align-items:center;gap:5px}
|
|
97
|
+
.h4-act{margin-left:auto;cursor:pointer;color:var(--faint);display:inline-flex;padding:2px;border-radius:var(--r-xs)}
|
|
98
|
+
.h4-act:hover{color:var(--acc)}
|
|
99
|
+
.pk-h input{flex:1;background:var(--panel-2);border:1px solid var(--line);color:var(--fg);
|
|
100
|
+
padding:5px 9px;border-radius:var(--r-sm);font:var(--fs-mono) var(--mono);outline:none;min-width:0}
|
|
101
|
+
.pk-h input:focus{border-color:var(--acc)}
|
|
102
|
+
|
|
103
|
+
/* header */
|
|
104
|
+
header{grid-column:1/3;display:flex;align-items:center;gap:6px;padding:0 16px;
|
|
105
|
+
border-bottom:1px solid var(--line);background:var(--panel);z-index:5}
|
|
106
|
+
/* macOS desktop app: overlay title bar — pad the header clear of the traffic lights,
|
|
107
|
+
but reclaim the space in fullscreen where the lights are hidden. */
|
|
108
|
+
html.chrome-inset header{padding-left:var(--inset-tl)}
|
|
109
|
+
html.chrome-inset.fs header{padding-left:16px}
|
|
110
|
+
/* Overlay title bar hides the native drag region; app.js wires header mousedown to
|
|
111
|
+
the Tauri window drag. Interactive controls keep the default cursor. */
|
|
112
|
+
html.chrome-inset header{cursor:default}
|
|
113
|
+
header .logo{font-weight:700;letter-spacing:.02em;font-size:var(--fs-xl);margin-right:14px;display:flex;align-items:center;gap:8px}
|
|
114
|
+
header .logo svg{width:22px;height:auto;image-rendering:pixelated;image-rendering:crisp-edges}
|
|
115
|
+
header .nav{color:var(--dim);padding:6px 11px;border-radius:var(--r-sm);font-weight:500;transition:color var(--t-fast),background var(--t-fast)}
|
|
116
|
+
header .nav:hover{color:var(--fg-2)}
|
|
117
|
+
header .nav.on{color:var(--fg);background:var(--panel-2)}
|
|
118
|
+
header .sp{flex:1}
|
|
119
|
+
header #today{margin-right:18px;color:var(--dim);font-variant-numeric:tabular-nums}
|
|
120
|
+
header #today b{color:var(--fg-2);font-weight:600}
|
|
121
|
+
#daemon{display:flex;align-items:center;gap:7px;color:var(--dim);font-size:var(--fs-md)}
|
|
122
|
+
#daemon .dot{width:7px;height:7px;border-radius:50%;background:var(--bad);transition:background var(--t-med)}
|
|
123
|
+
#daemon .dot.on{background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft)}
|
|
124
|
+
|
|
125
|
+
/* sidebar */
|
|
126
|
+
body>aside{border-right:1px solid var(--line);background:var(--panel);padding:12px 10px;overflow:auto;display:flex;flex-direction:column}
|
|
127
|
+
body>aside h4{margin:14px 8px 6px;color:var(--faint);font-size:var(--fs-xs);font-weight:600;text-transform:uppercase;letter-spacing:.09em}
|
|
128
|
+
body>aside h4:first-child{margin-top:2px}
|
|
129
|
+
.proj{padding:var(--pad-row);border-radius:var(--r-sm);cursor:pointer;display:flex;align-items:center;gap:9px;
|
|
130
|
+
color:var(--fg-2);transition:background var(--t-fast);user-select:none}
|
|
131
|
+
.proj:hover{background:var(--panel-2)}
|
|
132
|
+
.proj.sel{background:var(--acc-soft);color:var(--fg)}
|
|
133
|
+
.proj.sel .nm{font-weight:600}
|
|
134
|
+
.proj .st{width:7px;height:7px;border-radius:50%;background:var(--faint);flex:none;transition:background var(--t-med)}
|
|
135
|
+
.proj .st.live{background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft)}
|
|
136
|
+
.proj .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
|
|
137
|
+
.proj small{color:var(--dim);font-variant-numeric:tabular-nums;font-size:var(--fs-sm)}
|
|
138
|
+
/* The ⋯ takes no space: it swaps in for the live-count on hover instead of reserving a slot. */
|
|
139
|
+
.proj .act{display:none;color:var(--faint);flex:none;font-size:var(--fs-lg);line-height:1;padding:2px;border-radius:var(--r-xs);transition:color var(--t-fast),background var(--t-fast)}
|
|
140
|
+
.proj:hover .act{display:inline-flex}
|
|
141
|
+
.proj:hover small{display:none}
|
|
142
|
+
.proj .act:hover{color:var(--fg);background:var(--line)}
|
|
143
|
+
.proj .act.rm:hover{color:var(--bad)}
|
|
144
|
+
#picker:empty{display:none}
|
|
145
|
+
#picker{position:fixed;inset:0;background:var(--overlay);display:grid;place-items:center;z-index:50}
|
|
146
|
+
.pk{width:min(560px,92vw);max-height:78vh;display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow-pop);overflow:hidden}
|
|
147
|
+
.pk-h{display:flex;align-items:center;gap:8px;padding:12px 14px;border-bottom:1px solid var(--line)}
|
|
148
|
+
.pk-list{overflow:auto;padding:6px}
|
|
149
|
+
.pk-row{display:flex;align-items:center;gap:9px;padding:var(--pad-row);border-radius:var(--r-sm);cursor:pointer;color:var(--fg-2)}
|
|
150
|
+
.pk-row:hover{background:var(--panel-2)}.pk-row .nm{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
151
|
+
.pk-row.up{color:var(--dim)}.pk-row .badge{margin:0}
|
|
152
|
+
.pk-f{display:flex;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
|
|
153
|
+
.pk-f button{flex:none}.pk-f .grow{flex:1}
|
|
154
|
+
.pk-f .primary{background:var(--acc);border-color:var(--acc);color:var(--acc-contrast)}
|
|
155
|
+
.pk-f .primary:hover{filter:brightness(1.06);color:var(--acc-contrast)}
|
|
156
|
+
.proj .nm .pdir{opacity:.5;font-weight:400}
|
|
157
|
+
/* drag-to-reorder (pinned rows only) */
|
|
158
|
+
.proj[draggable]{cursor:grab}
|
|
159
|
+
.proj.dragging{opacity:.35;background:var(--panel-2);outline:1px dashed var(--acc)}
|
|
160
|
+
button{background:var(--panel);border:1px solid var(--line);color:var(--fg-2);padding:var(--pad-ctl);
|
|
161
|
+
border-radius:var(--r-sm);font:600 var(--fs-md) var(--sans);cursor:pointer;transition:border-color var(--t-fast),color var(--t-fast)}
|
|
162
|
+
button:hover{border-color:var(--acc);color:var(--fg)}
|
|
163
|
+
|
|
164
|
+
/* main */
|
|
165
|
+
main{overflow:auto;padding:var(--pad-page)}
|
|
166
|
+
h2.hrow{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
|
|
167
|
+
h2.hrow .s{margin:0}
|
|
168
|
+
h2{font-size:var(--fs-md);margin:0 0 12px;color:var(--dim);font-weight:600;text-transform:uppercase;
|
|
169
|
+
letter-spacing:.07em;display:flex;gap:10px;align-items:baseline}
|
|
170
|
+
h2 span{font-weight:500;text-transform:none;letter-spacing:0;color:var(--faint);font-size:var(--fs-md)}
|
|
171
|
+
h2 .back{color:var(--fg-2);text-transform:none;letter-spacing:0;font-weight:600;font-size:var(--fs-md);display:inline-flex;align-items:center;gap:5px;padding:5px 11px 5px 8px;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--panel);transition:border-color var(--t-fast),color var(--t-fast)}
|
|
172
|
+
|
|
173
|
+
/* tables */
|
|
174
|
+
.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow-x:auto}
|
|
175
|
+
table{width:100%;border-collapse:collapse;table-layout:fixed}
|
|
176
|
+
.card table{background:var(--panel)}
|
|
177
|
+
thead th{text-align:left;padding:var(--pad-cell);color:var(--dim);font-weight:500;font-size:var(--fs-sm);
|
|
178
|
+
border-bottom:1px solid var(--line);background:var(--panel-2);white-space:nowrap}
|
|
179
|
+
tbody td{padding:var(--pad-cell);border-bottom:1px solid var(--line-2);white-space:nowrap;
|
|
180
|
+
overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
|
|
181
|
+
tbody tr:last-child td{border-bottom:0}
|
|
182
|
+
/* edge tool cell: never ellipsize (the browser's "…" showed as a stray dot on every row) */
|
|
183
|
+
tbody td.td-tools{text-overflow:clip;padding-left:0;padding-right:0;text-align:center}
|
|
184
|
+
tbody tr{cursor:pointer;transition:background var(--t-fast)}
|
|
185
|
+
tbody tr:hover{background:var(--panel-2)}
|
|
186
|
+
td:first-child{overflow:visible}
|
|
187
|
+
/* data-grid (table.js): sortable/resizable/reorderable headers + filter row */
|
|
188
|
+
.dt thead th{position:relative;user-select:none;-webkit-user-select:none}
|
|
189
|
+
/* visible column dividers in the header: the "these columns are adjustable" cue */
|
|
190
|
+
.dt thead tr:first-child th[data-col]:not(:last-child)::after{content:"";position:absolute;right:0;top:25%;height:50%;
|
|
191
|
+
border-right:1px solid var(--line)}
|
|
192
|
+
.dt thead th[data-sort]{cursor:pointer}
|
|
193
|
+
.dt thead th[data-sort]:hover{color:var(--fg-2)}
|
|
194
|
+
.dt thead th.dragging{opacity:.4}
|
|
195
|
+
.dt .th-l{display:inline-flex;align-items:center;gap:5px}
|
|
196
|
+
.dt th.num .th-l{justify-content:flex-end;width:100%}
|
|
197
|
+
.dt .sort{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;display:inline-block}
|
|
198
|
+
.dt .sort.asc{border-bottom:5px solid var(--acc)}
|
|
199
|
+
.dt .sort.desc{border-top:5px solid var(--acc)}
|
|
200
|
+
.dt .th-grip{position:absolute;top:0;right:-4px;width:9px;height:100%;cursor:col-resize;z-index:2}
|
|
201
|
+
.dt .th-grip:hover{background:linear-gradient(to right,transparent 3px,var(--acc) 3px,var(--acc) 5px,transparent 5px)}
|
|
202
|
+
body.col-resizing{cursor:col-resize}
|
|
203
|
+
body.col-resizing .dt thead th{cursor:col-resize}
|
|
204
|
+
.dt .th-tools{text-align:right}
|
|
205
|
+
.dt .th-cols{cursor:pointer;color:var(--faint);display:inline-flex}
|
|
206
|
+
.dt .th-cols:hover{color:var(--fg-2)}
|
|
207
|
+
.dt tr.filters th{padding:4px 8px;background:var(--panel)}
|
|
208
|
+
.dt tr.filters input{width:100%;background:var(--panel-2);border:1px solid var(--line);color:var(--fg);
|
|
209
|
+
padding:3px 7px;border-radius:var(--r-sm);font:var(--fs-sm) var(--mono);outline:none}
|
|
210
|
+
.dt tr.filters input:focus{border-color:var(--acc)}
|
|
211
|
+
.dt .tbl-empty td{color:var(--dim);text-align:center;padding:18px;cursor:default}
|
|
212
|
+
td b{font-weight:600;color:var(--fg)}
|
|
213
|
+
td.now,td.br{font-family:var(--mono);font-size:var(--fs-mono);color:var(--fg-2)}
|
|
214
|
+
td.now{color:var(--dim)}
|
|
215
|
+
td a{color:var(--acc)}
|
|
216
|
+
.num{text-align:right}
|
|
217
|
+
th.num{text-align:right}
|
|
218
|
+
|
|
219
|
+
/* status dots */
|
|
220
|
+
.s{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--faint);flex:none}
|
|
221
|
+
.s.active{background:var(--ok);box-shadow:0 0 0 3px var(--ok-soft);animation:pulse var(--t-pulse) ease-in-out infinite}
|
|
222
|
+
.s.waiting{background:var(--warn);box-shadow:0 0 0 3px var(--warn-soft)}
|
|
223
|
+
.s.idle{background:var(--faint)}
|
|
224
|
+
.s.ended{background:var(--line);border:1px solid var(--faint);box-shadow:none}
|
|
225
|
+
@keyframes pulse{0%,100%{box-shadow:0 0 0 3px var(--ok-soft)}50%{box-shadow:0 0 0 5px transparent}}
|
|
226
|
+
|
|
227
|
+
/* badges */
|
|
228
|
+
.badge{display:inline-block;font:500 var(--fs-xs) var(--sans);padding:2px 7px;border-radius:var(--r-pill);
|
|
229
|
+
background:var(--panel-2);color:var(--dim);margin-right:4px;vertical-align:middle}
|
|
230
|
+
.badge.warn{color:var(--warn);background:var(--warn-soft)}
|
|
231
|
+
.badge.acc{color:var(--acc);background:var(--acc-soft)}
|
|
232
|
+
.badge.ok{color:var(--ok);background:var(--ok-soft)}
|
|
233
|
+
.badge.agent{color:var(--violet);background:color-mix(in srgb,var(--violet) 14%,transparent);font-weight:600}
|
|
234
|
+
|
|
235
|
+
/* empty */
|
|
236
|
+
.empty{color:var(--dim);padding:44px 24px;text-align:center;border:1px dashed var(--line);
|
|
237
|
+
border-radius:var(--r);background:var(--panel);line-height:1.7}
|
|
238
|
+
|
|
239
|
+
/* session detail */
|
|
240
|
+
.sess{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:stretch}
|
|
241
|
+
.sess>*{height:calc(100vh - 140px);min-height:320px}
|
|
242
|
+
@media (max-width:980px){.sess{grid-template-columns:1fr}.sess>*{height:auto;max-height:calc(100vh - 140px)}}
|
|
243
|
+
#log{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);
|
|
244
|
+
padding:6px 0;overflow:auto}
|
|
245
|
+
.ev{display:grid;grid-template-columns:68px 112px 1fr;gap:12px;padding:5px 14px;align-items:baseline}
|
|
246
|
+
.ev:hover{background:var(--panel-2)}
|
|
247
|
+
.ev .t{color:var(--faint);font:var(--fs-sm) var(--mono)}
|
|
248
|
+
.ev .k{color:var(--dim);font:500 var(--fs-sm) var(--mono);text-transform:lowercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
249
|
+
.ev .m{white-space:pre-wrap;word-break:break-word;color:var(--fg-2);font-size:var(--fs-menu)}
|
|
250
|
+
.ev.assistant .k{color:var(--violet)}
|
|
251
|
+
.ev.assistant .m{color:var(--fg)}
|
|
252
|
+
.ev.tool\.requested .k{color:var(--acc)}
|
|
253
|
+
.ev.tool\.requested .m{color:var(--dim);font-family:var(--mono);font-size:var(--fs-mono)}
|
|
254
|
+
.ev.incident\.opened .k,.ev.incident\.opened .m{color:var(--warn)}
|
|
255
|
+
.ev.session\.ended .k{color:var(--bad)}
|
|
256
|
+
.ev.prompt\.submitted .k{color:var(--ok)}
|
|
257
|
+
.ev.prompt\.submitted .m{color:var(--fg);font-weight:500}
|
|
258
|
+
|
|
259
|
+
.side{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);
|
|
260
|
+
padding:14px 18px;overflow:auto}
|
|
261
|
+
.side .stats{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
|
|
262
|
+
.stat{display:flex;justify-content:space-between;align-items:baseline;padding:7px 0;border-bottom:1px solid var(--line-2)}
|
|
263
|
+
.stat:last-of-type{border-bottom:0}
|
|
264
|
+
.stat span{color:var(--dim)}
|
|
265
|
+
.stat b{font-weight:600;font-variant-numeric:tabular-nums}
|
|
266
|
+
.stat small{color:var(--faint);font-weight:400}
|
|
267
|
+
.side h4{margin:16px 0 6px;color:var(--faint);font-size:var(--fs-xs);font-weight:600;text-transform:uppercase;letter-spacing:.08em}
|
|
268
|
+
table.mini{border:0;table-layout:fixed}table.mini td{padding:3px 0;border:0;font-size:var(--fs-md)}
|
|
269
|
+
table.mini td:first-child{color:var(--fg-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
270
|
+
table.mini td.num{color:var(--dim);width:34px}
|
|
271
|
+
|
|
272
|
+
/* spend */
|
|
273
|
+
.bars{display:flex;gap:5px;align-items:flex-end;height:110px;background:var(--panel);
|
|
274
|
+
border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px 26px;margin-bottom:var(--gap-sec)}
|
|
275
|
+
.bar{flex:1;height:100%;position:relative;display:flex;align-items:flex-end;min-width:0}
|
|
276
|
+
.bar>div{width:100%;background:linear-gradient(180deg,var(--acc),color-mix(in srgb,var(--acc) 70%,transparent));
|
|
277
|
+
border-radius:var(--r-xs) var(--r-xs) 0 0;min-height:2px;transition:opacity var(--t-fast)}
|
|
278
|
+
.bar:hover>div{opacity:.75}
|
|
279
|
+
.bar span{position:absolute;bottom:-20px;left:0;right:0;text-align:center;font:var(--fs-2xs) var(--mono);color:var(--faint)}
|
|
280
|
+
.cols{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap-sec)}
|
|
281
|
+
|
|
282
|
+
/* charts */
|
|
283
|
+
.chart{display:block;width:100%;overflow:visible}
|
|
284
|
+
.chart .grid{stroke:var(--line-2);stroke-width:1;vector-effect:non-scaling-stroke}
|
|
285
|
+
.chart .base{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
|
|
286
|
+
.chart .ax{fill:var(--faint);font:var(--fs-2xs) var(--mono);text-anchor:start}
|
|
287
|
+
.chart .ax.mid{text-anchor:middle}
|
|
288
|
+
.chart .col:hover path{filter:brightness(1.12)}
|
|
289
|
+
.chart-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:14px 16px 10px;margin-bottom:var(--gap-sec)}
|
|
290
|
+
.chart-card h3{margin:0 0 10px;font-size:var(--fs-md);font-weight:600;color:var(--fg-2);display:flex;gap:10px;align-items:baseline}
|
|
291
|
+
.chart-card h3 span{color:var(--faint);font-weight:400}
|
|
292
|
+
.legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;font-size:var(--fs-mono);color:var(--fg-2)}
|
|
293
|
+
.legend span{display:inline-flex;align-items:center;gap:6px}
|
|
294
|
+
.legend i{width:9px;height:9px;border-radius:2px;display:inline-block}
|
|
295
|
+
.legend em{font-style:normal;color:var(--dim);font-variant-numeric:tabular-nums}
|
|
296
|
+
.legend.small{font-size:var(--fs-sm);margin-top:6px}
|
|
297
|
+
#tip{position:fixed;left:0;top:0;display:none;z-index:50;pointer-events:none;background:var(--fg);color:var(--bg);
|
|
298
|
+
padding:7px 10px;border-radius:var(--r-sm);font:var(--fs-mono)/1.5 var(--sans);box-shadow:var(--shadow-pop);max-width:280px;font-variant-numeric:tabular-nums}
|
|
299
|
+
#tip b{font-weight:600}#tip span{opacity:.7}#tip i{width:8px;height:8px;border-radius:2px;display:inline-block;margin-right:6px}
|
|
300
|
+
.spark{width:88px;height:20px;display:block;overflow:visible}
|
|
301
|
+
.spark path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
|
|
302
|
+
.comp{display:flex;gap:2px;height:12px;border-radius:var(--r-xs);overflow:hidden;margin-top:4px}
|
|
303
|
+
.comp i{display:block;min-width:2px;transition:filter var(--t-fast)}.comp i:hover{filter:brightness(1.15)}
|
|
304
|
+
.hbars{display:flex;flex-direction:column;gap:4px}
|
|
305
|
+
.hb{display:grid;grid-template-columns:minmax(0,88px) 1fr 30px;gap:8px;align-items:center;font-size:var(--fs-md)}
|
|
306
|
+
.hb .k{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--fg-2)}
|
|
307
|
+
.hb .t{height:8px;background:var(--panel-2);border-radius:3px;overflow:hidden}
|
|
308
|
+
.hb .t i{display:block;height:100%;border-radius:3px;min-width:2px}
|
|
309
|
+
.hb .n{text-align:right;color:var(--dim);font-variant-numeric:tabular-nums;font-size:var(--fs-mono)}
|
|
310
|
+
.cal{position:relative;padding-top:16px}
|
|
311
|
+
.cal-months{position:absolute;top:0;left:0;right:0;height:14px}
|
|
312
|
+
.cal-months span{position:absolute;font:var(--fs-2xs) var(--mono);color:var(--faint)}
|
|
313
|
+
.cal-grid{display:grid;gap:2px}
|
|
314
|
+
.cal-col{display:grid;grid-template-rows:repeat(7,1fr);gap:2px;aspect-ratio:1/7}
|
|
315
|
+
.cal-col i{display:block;border-radius:2px;background:var(--acc);outline:1px solid var(--line-2);outline-offset:-1px}
|
|
316
|
+
.cal-col i:hover{outline-color:var(--fg)}
|
|
317
|
+
.chart.line .pt circle{opacity:0}.chart.line .pt:hover circle{opacity:1}
|
|
318
|
+
.records{display:grid;grid-template-columns:1fr 1fr;gap:12px}
|
|
319
|
+
.rec{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:10px 14px;display:flex;flex-direction:column;gap:2px}
|
|
320
|
+
.rec .l{font-size:var(--fs-sm);color:var(--dim);text-transform:uppercase;letter-spacing:.06em;font-weight:600}
|
|
321
|
+
.rec .v{font-size:var(--fs-lg);font-weight:600;color:var(--fg);font-variant-numeric:tabular-nums}
|
|
322
|
+
.rec .d{font-size:var(--fs-mono);color:var(--faint);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
323
|
+
.hm{display:grid;grid-template-columns:34px 1fr;gap:3px 8px;align-items:center}
|
|
324
|
+
.hm-lbl{font:var(--fs-xs) var(--mono);color:var(--faint)}
|
|
325
|
+
.hm-row{display:grid;grid-template-columns:repeat(24,1fr);gap:2px;height:16px}
|
|
326
|
+
.hm-row i{display:block;border-radius:2px;background:var(--acc);outline:1px solid var(--line-2);outline-offset:-1px}
|
|
327
|
+
.hm-row i:hover{outline-color:var(--fg)}
|
|
328
|
+
.hm-hours{position:relative;height:14px;font:var(--fs-2xs) var(--mono);color:var(--faint)}
|
|
329
|
+
.hm-hours span{position:absolute;top:0}
|
|
330
|
+
/* timeline */
|
|
331
|
+
.tl{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:8px 16px 12px}
|
|
332
|
+
.tl-row{display:grid;grid-template-columns:200px 1fr;gap:12px;align-items:center;height:24px;cursor:pointer;border-radius:var(--r-xs)}
|
|
333
|
+
.tl-row:hover{background:var(--panel-2)}
|
|
334
|
+
.tl-row.head{height:22px;cursor:default;margin-bottom:4px;position:sticky;top:-20px;background:var(--panel);z-index:2}
|
|
335
|
+
.tl-row.head:hover{background:var(--panel)}
|
|
336
|
+
.tl-name{font-size:var(--fs-md);color:var(--fg-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:10px}
|
|
337
|
+
.tl-track{position:relative;height:100%}
|
|
338
|
+
.tl-track>i{position:absolute;top:6px;height:12px;border-radius:3px;min-width:3px;opacity:.9}
|
|
339
|
+
.tl-track>i.live{box-shadow:0 0 0 2px var(--panel),0 0 0 3px currentColor;animation:none}
|
|
340
|
+
.tl-track>i:hover{opacity:1;filter:brightness(1.1)}
|
|
341
|
+
.tl-track>i:not([data-tip]){top:0;height:100%;width:1px;background:var(--line-2);border-radius:0;opacity:1;min-width:0;pointer-events:none}
|
|
342
|
+
.tl-axis{position:absolute;inset:0;font:var(--fs-2xs) var(--mono);color:var(--faint)}
|
|
343
|
+
.tl-axis span{position:absolute;top:3px;transform:translateX(-50%)}
|
|
344
|
+
.tl-now{position:absolute;top:0;bottom:-2000px;width:1px;background:var(--bad);z-index:1;pointer-events:none}
|
|
345
|
+
.tl-group{position:relative;margin-top:6px;padding-top:4px;border-top:1px solid var(--line-2)}
|
|
346
|
+
.tl-proj{font-size:var(--fs-sm);font-weight:600;color:var(--dim);text-transform:uppercase;letter-spacing:.06em;padding:4px 10px 2px}
|
|
347
|
+
.tl-proj small{margin-left:8px;font-weight:400;text-transform:none;letter-spacing:0;color:var(--faint)}
|
|
348
|
+
.tl{overflow:hidden}
|
|
349
|
+
.tl-group{overflow:hidden}
|
|
350
|
+
.sw{display:inline-block;width:9px;height:9px;border-radius:2px;margin-right:7px;vertical-align:baseline}
|
|
351
|
+
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:var(--gap-sec)}
|
|
352
|
+
.kpi{background:var(--panel);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:12px 14px}
|
|
353
|
+
.kpi .l{font-size:var(--fs-sm);color:var(--dim);text-transform:uppercase;letter-spacing:.06em;font-weight:600}
|
|
354
|
+
.kpi .v{font-size:var(--fs-2xl);font-weight:600;font-variant-numeric:tabular-nums;margin-top:2px;color:var(--fg)}
|
|
355
|
+
.kpi .d{font-size:var(--fs-mono);color:var(--faint)}
|
|
356
|
+
|
|
357
|
+
/* icons (Phosphor regular, inline) */
|
|
358
|
+
.ph{display:inline-block;vertical-align:middle;flex:none}
|
|
359
|
+
header .nav{display:inline-flex;align-items:center;gap:6px}
|
|
360
|
+
header .navcount{font:600 var(--fs-xs) var(--mono);color:var(--warn);background:var(--warn-soft);border-radius:var(--r-pill);padding:1px 6px;line-height:1.4}
|
|
361
|
+
header .nav .ph{opacity:.75}
|
|
362
|
+
header .nav.on .ph{opacity:1;color:var(--acc)}
|
|
363
|
+
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border-radius:var(--r-sm);
|
|
364
|
+
background:transparent;border:1px solid transparent;color:var(--dim)}
|
|
365
|
+
.icon-btn:hover{background:var(--panel-2);color:var(--fg);border-color:transparent}
|
|
366
|
+
.icon-btn.on{background:var(--panel-2);color:var(--fg)}
|
|
367
|
+
header #settings{margin-left:10px}
|
|
368
|
+
.proj .ph{color:var(--faint)}
|
|
369
|
+
.proj.sel .ph{color:var(--acc)}
|
|
370
|
+
.kind{color:var(--faint);margin-right:6px;vertical-align:middle}
|
|
371
|
+
td .more{opacity:0;color:var(--faint);padding:2px;border-radius:var(--r-xs);transition:opacity var(--t-fast),background var(--t-fast);line-height:0;display:inline-flex;vertical-align:middle}
|
|
372
|
+
tr:hover td .more,.proj:hover .more{opacity:1}
|
|
373
|
+
td .more:hover{background:var(--line);color:var(--fg)}
|
|
374
|
+
.stat .ph{color:var(--faint);margin-right:7px}
|
|
375
|
+
.empty .ph{display:block;margin:0 auto 10px;color:var(--faint)}
|
|
376
|
+
.empty .px{display:block;margin:0 auto 14px;image-rendering:pixelated}
|
|
377
|
+
h2 .back:hover{border-color:var(--acc);color:var(--fg)}
|
|
378
|
+
/* fancy-menus theme → Swarm tokens */
|
|
379
|
+
:root{--fm-surface-bg:var(--panel);--fm-surface-fg:var(--fg);--fm-surface-border:var(--line);--fm-surface-radius:var(--r);
|
|
380
|
+
--fm-surface-shadow:var(--shadow-pop);
|
|
381
|
+
--fm-accent:var(--acc);--fm-accent-fg:var(--acc-contrast);--fm-destructive:var(--bad);--fm-muted-fg:var(--dim);--fm-divider-color:var(--line-2);
|
|
382
|
+
--fm-row-hover-bg:var(--panel-2);--fm-row-active-bg:var(--acc-soft);--fm-row-active-fg:var(--fg);
|
|
383
|
+
--fm-font-size-row:var(--fs-menu);--fm-font-size-caption:var(--fs-sm);--fm-font-size-section:var(--fs-xs);--fm-row-min-h:30px;--fm-row-radius:var(--r-sm)}
|
|
384
|
+
|
|
385
|
+
.fm-row--danger{color:var(--bad)}
|
|
386
|
+
.fm-row--danger:hover{background:var(--bad-soft)}
|
|
387
|
+
/* pressed/active rows: soft accent tint, not the solid accent block */
|
|
388
|
+
.fm-row[data-pressed="true"]{background:var(--acc-soft);color:var(--fg)}
|
|
389
|
+
.fm-row[data-pressed="true"] .fm-ico{color:var(--acc)}
|
|
390
|
+
/* Pixel icons in menu rows: flex-center them and drop the global .ph baseline nudge. */
|
|
391
|
+
.fm-row__icon,.fm-ico{display:inline-flex;align-items:center;justify-content:center}
|
|
392
|
+
.fm-ico .ph{vertical-align:0}
|
|
393
|
+
main>h2:not(:first-child){margin-top:var(--gap-sec)}
|
|
394
|
+
.mt-sec{margin-top:var(--gap-sec)}
|
|
395
|
+
.chips{display:flex;gap:6px;margin-bottom:14px;flex-wrap:wrap}
|
|
396
|
+
.chip{font:500 var(--fs-md) var(--sans);padding:4px 11px;border-radius:var(--r-pill);background:var(--panel);border:1px solid var(--line);color:var(--dim);cursor:pointer;user-select:none}
|
|
397
|
+
.chip:hover{border-color:var(--acc);color:var(--fg-2)}
|
|
398
|
+
.chip.on{background:var(--acc-soft);border-color:transparent;color:var(--acc)}
|
|
399
|
+
.seg{display:inline-flex;gap:2px;background:var(--panel-2);border:1px solid var(--line);border-radius:var(--r-sm);padding:2px}
|
|
400
|
+
.seg a{padding:3px 10px;border-radius:var(--r-sm);font:600 var(--fs-md) var(--sans);color:var(--dim);text-decoration:none;transition:color var(--t-fast),background var(--t-fast);letter-spacing:0;text-transform:none}
|
|
401
|
+
.seg a:hover{color:var(--fg-2)}
|
|
402
|
+
.seg a.on{background:var(--acc-soft);color:var(--acc)}
|
|
403
|
+
.chip b{font-weight:700}
|
|
404
|
+
/* star nudge (once a month, dismissable) */
|
|
405
|
+
.nudge{position:fixed;right:18px;bottom:18px;z-index:40;max-width:400px;background:var(--panel);border:1px solid var(--line);
|
|
406
|
+
border-radius:var(--r);box-shadow:var(--shadow-pop);padding:14px 16px;display:flex;gap:12px;align-items:flex-start;
|
|
407
|
+
font:var(--fs-md) var(--sans);color:var(--fg-2);line-height:1.5}
|
|
408
|
+
.nudge .ic{color:var(--acc);flex:none;margin-top:1px}
|
|
409
|
+
.nudge b{color:var(--fg);display:block;margin-bottom:2px}
|
|
410
|
+
.nudge .row{display:flex;gap:8px;margin-top:10px;align-items:center;white-space:nowrap}
|
|
411
|
+
.nudge button.pri{background:var(--acc-soft);border-color:transparent;color:var(--acc)}
|
|
412
|
+
.nudge a.dim{color:var(--dim);font-size:var(--fs-sm);margin-left:auto}
|
|
413
|
+
body.nosb .nudge{right:18px}
|
|
414
|
+
</style>
|
|
415
|
+
</head>
|
|
416
|
+
<body>
|
|
417
|
+
<header>
|
|
418
|
+
<button class="icon-btn" id="sbToggle" title="Toggle sidebar" aria-label="Toggle sidebar"><i data-icon="arrow-bar-left"></i></button>
|
|
419
|
+
<span class="logo"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 11" shape-rendering="crispEdges"><rect x="2" y="1" width="1" height="1" fill="#a3e635"/><rect x="6" y="1" width="1" height="1" fill="#7cc02f"/><rect x="7" y="1" width="1" height="1" fill="#7cc02f"/><rect x="8" y="1" width="1" height="1" fill="#7cc02f"/><rect x="9" y="1" width="1" height="1" fill="#4f7d24"/><rect x="4" y="3" width="1" height="1" fill="#a3e635"/><rect x="7" y="3" width="1" height="1" fill="#7cc02f"/><rect x="8" y="3" width="1" height="1" fill="#7cc02f"/><rect x="9" y="3" width="1" height="1" fill="#7cc02f"/><rect x="10" y="3" width="1" height="1" fill="#7cc02f"/><rect x="11" y="3" width="1" height="1" fill="#7cc02f"/><rect x="12" y="3" width="1" height="1" fill="#4f7d24"/><rect x="1" y="5" width="1" height="1" fill="#a3e635"/><rect x="5" y="5" width="1" height="1" fill="#a3e635"/><rect x="6" y="5" width="1" height="1" fill="#a3e635"/><rect x="7" y="5" width="1" height="1" fill="#a3e635"/><rect x="8" y="5" width="1" height="1" fill="#a3e635"/><rect x="9" y="5" width="1" height="1" fill="#a3e635"/><rect x="10" y="5" width="1" height="1" fill="#a3e635"/><rect x="11" y="5" width="1" height="1" fill="#a3e635"/><rect x="12" y="5" width="1" height="1" fill="#a3e635"/><rect x="13" y="5" width="1" height="1" fill="#4f7d24"/><rect x="4" y="7" width="1" height="1" fill="#a3e635"/><rect x="7" y="7" width="1" height="1" fill="#7cc02f"/><rect x="8" y="7" width="1" height="1" fill="#7cc02f"/><rect x="9" y="7" width="1" height="1" fill="#7cc02f"/><rect x="10" y="7" width="1" height="1" fill="#7cc02f"/><rect x="11" y="7" width="1" height="1" fill="#4f7d24"/><rect x="2" y="9" width="1" height="1" fill="#a3e635"/><rect x="6" y="9" width="1" height="1" fill="#7cc02f"/><rect x="7" y="9" width="1" height="1" fill="#7cc02f"/><rect x="8" y="9" width="1" height="1" fill="#7cc02f"/><rect x="9" y="9" width="1" height="1" fill="#4f7d24"/></svg>Swarm</span>
|
|
420
|
+
<a href="#" data-view="fleet" class="nav on"><i data-icon="squares-four"></i>Fleet</a>
|
|
421
|
+
<a href="#" data-view="board" class="nav"><i data-icon="stack"></i>Board</a>
|
|
422
|
+
<a href="#" data-view="incidents" class="nav"><i data-icon="warning"></i>Incidents<b id="incCount" class="navcount" hidden></b></a>
|
|
423
|
+
<a href="#" data-view="prs" class="nav"><i data-icon="git-pull-request"></i>PRs</a>
|
|
424
|
+
<a href="#" data-view="timeline" class="nav"><i data-icon="clock-counter-clockwise"></i>Timeline</a>
|
|
425
|
+
<a href="#" data-view="spend" class="nav"><i data-icon="coins"></i>Spend</a>
|
|
426
|
+
<a href="#" data-view="stats" class="nav"><i data-icon="chart-bar"></i>Stats</a>
|
|
427
|
+
<span class="sp"></span>
|
|
428
|
+
<span id="today"></span>
|
|
429
|
+
<span id="daemon"><span class="dot"></span><span class="lbl">Daemon</span></span>
|
|
430
|
+
<button class="icon-btn" id="feedback" title="Send feedback (opens a GitHub issue)" aria-label="Send feedback"><i data-icon="comment-text"></i></button>
|
|
431
|
+
<button class="icon-btn" id="settings" title="Settings" aria-label="Settings"><i data-icon="sliders"></i></button>
|
|
432
|
+
</header>
|
|
433
|
+
<aside>
|
|
434
|
+
<div id="projects"></div>
|
|
435
|
+
</aside>
|
|
436
|
+
<main id="main"></main>
|
|
437
|
+
<div id="picker"></div>
|
|
438
|
+
<script src="/icons.js"></script>
|
|
439
|
+
<script src="/viz.js"></script>
|
|
440
|
+
<script src="/table.js"></script>
|
|
441
|
+
<script src="/app.js"></script>
|
|
442
|
+
<script src="/menus.js" defer></script>
|
|
443
|
+
</body>
|
|
444
|
+
</html>
|