greprag 5.77.0 → 5.78.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/app/app.css +342 -0
- package/app/app.js +360 -0
- package/app/favicon.svg +4 -0
- package/app/index.html +54 -0
- package/dist/app-settings.js +162 -0
- package/dist/commands/app-model.js +308 -0
- package/dist/commands/app.js +310 -0
- package/dist/commands/opencode-interrupt.js +4 -3
- package/dist/hook.js +5 -2
- package/dist/index.js +12 -1
- package/dist/opencode-plugin.bundle.js +300 -272
- package/dist/reminder-injector.js +2 -1
- package/package.json +2 -1
- package/scripts/postinstall.js +2 -1
package/app/app.css
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--void: #0a0a0f;
|
|
3
|
+
--memory-1: #101018;
|
|
4
|
+
--memory-2: #151520;
|
|
5
|
+
--memory-3: #1a1a28;
|
|
6
|
+
--trace: rgba(231, 230, 246, 0.09);
|
|
7
|
+
--trace-strong: rgba(231, 230, 246, 0.16);
|
|
8
|
+
--ink: #ecebf4;
|
|
9
|
+
--ink-soft: #b5b3c7;
|
|
10
|
+
--ink-muted: #77758b;
|
|
11
|
+
--signal: #8178ff;
|
|
12
|
+
--signal-soft: rgba(129, 120, 255, 0.14);
|
|
13
|
+
--healthy: #54d69b;
|
|
14
|
+
--healthy-soft: rgba(84, 214, 155, 0.1);
|
|
15
|
+
--attention: #f0b75e;
|
|
16
|
+
--attention-soft: rgba(240, 183, 94, 0.11);
|
|
17
|
+
--danger: #f07878;
|
|
18
|
+
--radius-control: 7px;
|
|
19
|
+
--radius-card: 11px;
|
|
20
|
+
--font-ui: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", sans-serif;
|
|
21
|
+
--font-code: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
25
|
+
|
|
26
|
+
html {
|
|
27
|
+
min-width: 320px;
|
|
28
|
+
min-height: 100%;
|
|
29
|
+
background: var(--void);
|
|
30
|
+
color: var(--ink);
|
|
31
|
+
font-family: var(--font-ui);
|
|
32
|
+
-webkit-font-smoothing: antialiased;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body { margin: 0; min-height: 100vh; background: var(--void); }
|
|
36
|
+
button, select, input { font: inherit; }
|
|
37
|
+
button, select { color: inherit; }
|
|
38
|
+
button { -webkit-tap-highlight-color: transparent; }
|
|
39
|
+
|
|
40
|
+
.skip-link {
|
|
41
|
+
position: fixed;
|
|
42
|
+
inset-block-start: 8px;
|
|
43
|
+
inset-inline-start: 8px;
|
|
44
|
+
z-index: 20;
|
|
45
|
+
transform: translateY(-160%);
|
|
46
|
+
padding: 8px 12px;
|
|
47
|
+
border-radius: var(--radius-control);
|
|
48
|
+
background: var(--signal);
|
|
49
|
+
color: white;
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
}
|
|
52
|
+
.skip-link:focus { transform: translateY(0); }
|
|
53
|
+
|
|
54
|
+
.app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
|
|
55
|
+
|
|
56
|
+
.sidebar {
|
|
57
|
+
position: sticky;
|
|
58
|
+
inset-block-start: 0;
|
|
59
|
+
height: 100vh;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
padding: 20px 16px 16px;
|
|
63
|
+
border-inline-end: 1px solid var(--trace);
|
|
64
|
+
background: var(--void);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.brand-row { display: flex; align-items: center; min-height: 40px; gap: 10px; margin-block-end: 28px; }
|
|
68
|
+
.brand-mark {
|
|
69
|
+
display: grid;
|
|
70
|
+
place-items: center;
|
|
71
|
+
width: 34px;
|
|
72
|
+
height: 34px;
|
|
73
|
+
border: 1px solid rgba(129, 120, 255, 0.32);
|
|
74
|
+
border-radius: 9px;
|
|
75
|
+
background: var(--signal-soft);
|
|
76
|
+
color: #a9a3ff;
|
|
77
|
+
font: 700 14px/1 var(--font-code);
|
|
78
|
+
}
|
|
79
|
+
.brand-name { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
|
|
80
|
+
.local-badge {
|
|
81
|
+
margin-inline-start: auto;
|
|
82
|
+
color: var(--ink-muted);
|
|
83
|
+
font: 600 9px/1 var(--font-code);
|
|
84
|
+
letter-spacing: 0.1em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.project-picker-label, .eyebrow, .section-kicker, .metric-label, .setting-scope {
|
|
88
|
+
color: var(--ink-muted);
|
|
89
|
+
font: 600 10px/1.2 var(--font-code);
|
|
90
|
+
letter-spacing: 0.08em;
|
|
91
|
+
text-transform: uppercase;
|
|
92
|
+
}
|
|
93
|
+
.project-picker-label { margin: 0 8px 8px; }
|
|
94
|
+
.project-picker {
|
|
95
|
+
width: 100%;
|
|
96
|
+
min-height: 42px;
|
|
97
|
+
margin-block-end: 20px;
|
|
98
|
+
padding: 0 34px 0 12px;
|
|
99
|
+
border: 1px solid var(--trace-strong);
|
|
100
|
+
border-radius: var(--radius-control);
|
|
101
|
+
background: var(--memory-1);
|
|
102
|
+
color: var(--ink);
|
|
103
|
+
font-size: 13px;
|
|
104
|
+
outline: none;
|
|
105
|
+
}
|
|
106
|
+
.project-picker:focus-visible { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
|
|
107
|
+
|
|
108
|
+
.nav-list { display: grid; gap: 2px; }
|
|
109
|
+
.nav-list button {
|
|
110
|
+
display: grid;
|
|
111
|
+
grid-template-columns: 28px 1fr;
|
|
112
|
+
align-items: center;
|
|
113
|
+
min-height: 40px;
|
|
114
|
+
padding: 0 10px;
|
|
115
|
+
border: 0;
|
|
116
|
+
border-radius: var(--radius-control);
|
|
117
|
+
background: transparent;
|
|
118
|
+
color: var(--ink-muted);
|
|
119
|
+
text-align: start;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
transition: color 140ms ease-out, background-color 140ms ease-out, transform 100ms ease-out;
|
|
122
|
+
}
|
|
123
|
+
.nav-list button span { color: #4f4d60; font: 500 9px/1 var(--font-code); }
|
|
124
|
+
.nav-list button:hover { color: var(--ink-soft); background: rgba(255, 255, 255, 0.025); }
|
|
125
|
+
.nav-list button[aria-current="page"] { color: var(--ink); background: var(--memory-2); }
|
|
126
|
+
.nav-list button[aria-current="page"] span { color: var(--signal); }
|
|
127
|
+
.nav-list button:active { transform: scale(0.98); }
|
|
128
|
+
.nav-list button:focus-visible, .refresh-button:focus-visible, .toggle:focus-visible, .action-button:focus-visible {
|
|
129
|
+
outline: 2px solid var(--signal);
|
|
130
|
+
outline-offset: 2px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.sidebar-status { margin-block-start: auto; padding: 14px 10px 4px; border-block-start: 1px solid var(--trace); }
|
|
134
|
+
.connection-line { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 12px; }
|
|
135
|
+
.connection-line + .connection-line { margin-block-start: 7px; }
|
|
136
|
+
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); }
|
|
137
|
+
.status-dot.healthy { background: var(--healthy); box-shadow: 0 0 0 4px var(--healthy-soft); }
|
|
138
|
+
.status-dot.attention { background: var(--attention); box-shadow: 0 0 0 4px var(--attention-soft); }
|
|
139
|
+
.sidebar-version { margin-block-start: 10px; color: var(--ink-muted); font: 10px/1.4 var(--font-code); }
|
|
140
|
+
|
|
141
|
+
.main-panel { min-width: 0; }
|
|
142
|
+
.topbar {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: space-between;
|
|
146
|
+
min-height: 93px;
|
|
147
|
+
padding: 20px clamp(24px, 4vw, 56px);
|
|
148
|
+
border-block-end: 1px solid var(--trace);
|
|
149
|
+
}
|
|
150
|
+
.topbar h1 { margin: 5px 0 0; font-size: 22px; line-height: 1.15; font-weight: 640; letter-spacing: -0.025em; text-wrap: balance; }
|
|
151
|
+
.topbar p { margin: 0; }
|
|
152
|
+
.refresh-button, .action-button {
|
|
153
|
+
min-height: 38px;
|
|
154
|
+
padding: 0 14px;
|
|
155
|
+
border: 1px solid var(--trace-strong);
|
|
156
|
+
border-radius: var(--radius-control);
|
|
157
|
+
background: var(--memory-1);
|
|
158
|
+
color: var(--ink-soft);
|
|
159
|
+
font-size: 12px;
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
transition: background-color 140ms ease-out, color 140ms ease-out, transform 100ms ease-out;
|
|
162
|
+
}
|
|
163
|
+
.refresh-button:hover, .action-button:hover { background: var(--memory-2); color: var(--ink); }
|
|
164
|
+
.refresh-button:active, .action-button:active { transform: scale(0.97); }
|
|
165
|
+
.refresh-button:disabled, .action-button:disabled { opacity: 0.5; cursor: wait; }
|
|
166
|
+
|
|
167
|
+
.content { width: min(1180px, 100%); padding: 36px clamp(24px, 4vw, 56px) 72px; }
|
|
168
|
+
.loading-state, .fatal-state { min-height: 50vh; display: grid; place-items: center; align-content: center; gap: 16px; color: var(--ink-muted); text-align: center; }
|
|
169
|
+
.loading-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--signal); animation: breathe 1.2s ease-in-out infinite alternate; }
|
|
170
|
+
@keyframes breathe { to { opacity: 0.35; transform: scale(0.75); } }
|
|
171
|
+
|
|
172
|
+
.page-stack { display: grid; gap: 28px; }
|
|
173
|
+
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
|
|
174
|
+
.section-heading h2 { margin: 4px 0 0; font-size: 18px; font-weight: 620; letter-spacing: -0.02em; }
|
|
175
|
+
.section-heading p { margin: 0; max-width: 540px; color: var(--ink-muted); font-size: 13px; line-height: 1.5; text-wrap: pretty; }
|
|
176
|
+
|
|
177
|
+
.signal-hero {
|
|
178
|
+
position: relative;
|
|
179
|
+
overflow: hidden;
|
|
180
|
+
display: grid;
|
|
181
|
+
grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
|
|
182
|
+
gap: 36px;
|
|
183
|
+
padding: clamp(24px, 4vw, 42px);
|
|
184
|
+
border: 1px solid rgba(129, 120, 255, 0.25);
|
|
185
|
+
border-radius: 14px;
|
|
186
|
+
background: var(--memory-1);
|
|
187
|
+
}
|
|
188
|
+
.signal-hero::before {
|
|
189
|
+
content: "";
|
|
190
|
+
position: absolute;
|
|
191
|
+
inset-block: 0;
|
|
192
|
+
inset-inline-start: 0;
|
|
193
|
+
width: 3px;
|
|
194
|
+
background: var(--signal);
|
|
195
|
+
}
|
|
196
|
+
.hero-copy h2 { max-width: 620px; margin: 10px 0 12px; font-size: clamp(28px, 4vw, 44px); line-height: 1.04; font-weight: 650; letter-spacing: -0.045em; text-wrap: balance; }
|
|
197
|
+
.hero-copy p { max-width: 560px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
|
|
198
|
+
.status-pill, .mini-pill {
|
|
199
|
+
display: inline-flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
gap: 7px;
|
|
202
|
+
width: fit-content;
|
|
203
|
+
border-radius: 999px;
|
|
204
|
+
font: 600 10px/1 var(--font-code);
|
|
205
|
+
letter-spacing: 0.04em;
|
|
206
|
+
text-transform: uppercase;
|
|
207
|
+
}
|
|
208
|
+
.status-pill { padding: 7px 10px; border: 1px solid var(--trace-strong); }
|
|
209
|
+
.status-pill.healthy, .mini-pill.healthy { color: var(--healthy); }
|
|
210
|
+
.status-pill.attention, .mini-pill.attention { color: var(--attention); }
|
|
211
|
+
.status-pill.offline, .mini-pill.offline { color: var(--ink-muted); }
|
|
212
|
+
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
|
|
213
|
+
|
|
214
|
+
.signal-rail { align-self: center; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; min-height: 160px; }
|
|
215
|
+
.signal-node { position: relative; display: grid; justify-items: center; gap: 9px; min-width: 0; color: var(--ink-muted); font: 600 9px/1.2 var(--font-code); letter-spacing: 0.06em; text-transform: uppercase; }
|
|
216
|
+
.signal-node:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: calc(50% + 18px); inset-block-start: 17px; width: calc(100% - 36px); height: 1px; background: var(--trace-strong); }
|
|
217
|
+
.signal-node.is-live:not(:last-child)::after { background: var(--signal); }
|
|
218
|
+
.node-core { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--trace-strong); border-radius: 50%; background: var(--memory-1); color: var(--ink-muted); font-size: 10px; }
|
|
219
|
+
.signal-node.is-live .node-core { border-color: rgba(129, 120, 255, 0.55); background: var(--signal-soft); color: #b9b4ff; }
|
|
220
|
+
|
|
221
|
+
.metric-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--trace); border-radius: var(--radius-card); background: var(--trace); }
|
|
222
|
+
.metric { min-height: 126px; padding: 22px; background: var(--void); }
|
|
223
|
+
.metric:first-child { background: var(--memory-1); }
|
|
224
|
+
.metric-value { margin-block-start: 14px; color: var(--ink); font: 620 clamp(24px, 3vw, 34px)/1 var(--font-code); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
|
|
225
|
+
.metric-note { margin-block-start: 9px; color: var(--ink-muted); font-size: 12px; line-height: 1.45; }
|
|
226
|
+
|
|
227
|
+
.attention-panel { display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(240, 183, 94, 0.2); border-radius: var(--radius-card); background: rgba(240, 183, 94, 0.15); }
|
|
228
|
+
.attention-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--void); color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
|
|
229
|
+
.attention-row::before { content: "!"; flex: 0 0 auto; color: var(--attention); font: 700 12px/1.5 var(--font-code); }
|
|
230
|
+
|
|
231
|
+
.settings-list, .agent-grid, .knowledge-list, .guidance-groups { display: grid; gap: 12px; }
|
|
232
|
+
.setting-row, .agent-card, .knowledge-row, .empty-card, .privacy-card {
|
|
233
|
+
border: 1px solid var(--trace);
|
|
234
|
+
border-radius: var(--radius-card);
|
|
235
|
+
background: var(--memory-1);
|
|
236
|
+
}
|
|
237
|
+
.setting-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-height: 84px; padding: 16px 18px; }
|
|
238
|
+
.setting-copy { min-width: 0; }
|
|
239
|
+
.setting-title { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 14px; font-weight: 590; }
|
|
240
|
+
.setting-copy p { max-width: 680px; margin: 5px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; text-wrap: pretty; }
|
|
241
|
+
.setting-scope { margin-inline-start: 6px; color: #5f5d70; }
|
|
242
|
+
|
|
243
|
+
.toggle { position: relative; width: 44px; height: 26px; padding: 0; border: 1px solid var(--trace-strong); border-radius: 999px; background: var(--memory-3); cursor: pointer; transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 100ms ease-out; }
|
|
244
|
+
.toggle::after { content: ""; position: absolute; inset-block-start: 4px; inset-inline-start: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-muted); transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1), background-color 150ms ease-out; }
|
|
245
|
+
.toggle[aria-checked="true"] { border-color: rgba(129, 120, 255, 0.55); background: var(--signal-soft); }
|
|
246
|
+
.toggle[aria-checked="true"]::after { transform: translateX(18px); background: var(--signal); }
|
|
247
|
+
.toggle:active { transform: scale(0.96); }
|
|
248
|
+
.toggle:disabled { opacity: 0.45; cursor: wait; }
|
|
249
|
+
|
|
250
|
+
.inline-select {
|
|
251
|
+
min-height: 38px;
|
|
252
|
+
max-width: 220px;
|
|
253
|
+
padding: 0 32px 0 10px;
|
|
254
|
+
border: 1px solid var(--trace-strong);
|
|
255
|
+
border-radius: var(--radius-control);
|
|
256
|
+
background: var(--memory-3);
|
|
257
|
+
color: var(--ink-soft);
|
|
258
|
+
font-size: 12px;
|
|
259
|
+
}
|
|
260
|
+
.inline-select:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
|
|
261
|
+
|
|
262
|
+
.agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
263
|
+
.agent-card { min-width: 0; padding: 20px; }
|
|
264
|
+
.agent-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
|
265
|
+
.agent-name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 620; }
|
|
266
|
+
.agent-glyph { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--trace-strong); border-radius: 8px; color: var(--signal); font: 600 10px/1 var(--font-code); }
|
|
267
|
+
.agent-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 22px; padding-block-start: 16px; border-block-start: 1px solid var(--trace); color: var(--ink-muted); font-size: 11px; }
|
|
268
|
+
.agent-note { margin: 13px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.5; }
|
|
269
|
+
.agent-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 16px; }
|
|
270
|
+
|
|
271
|
+
.knowledge-list { gap: 1px; overflow: hidden; border: 1px solid var(--trace); border-radius: var(--radius-card); background: var(--trace); }
|
|
272
|
+
.knowledge-row { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(90px, 0.5fr)); align-items: center; gap: 16px; min-height: 72px; padding: 13px 16px; border: 0; border-radius: 0; }
|
|
273
|
+
.knowledge-name { min-width: 0; }
|
|
274
|
+
.knowledge-name strong { display: block; overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 580; text-overflow: ellipsis; white-space: nowrap; }
|
|
275
|
+
.knowledge-name span, .table-meta { display: block; margin-block-start: 5px; color: var(--ink-muted); font: 10px/1.3 var(--font-code); }
|
|
276
|
+
.table-value { color: var(--ink-soft); font: 12px/1.4 var(--font-code); font-variant-numeric: tabular-nums; }
|
|
277
|
+
|
|
278
|
+
.guidance-group { overflow: hidden; border: 1px solid var(--trace); border-radius: var(--radius-card); }
|
|
279
|
+
.guidance-group h3 { margin: 0; padding: 11px 16px; border-block-end: 1px solid var(--trace); background: var(--memory-1); color: var(--ink-muted); font: 600 10px/1.2 var(--font-code); letter-spacing: 0.07em; text-transform: uppercase; }
|
|
280
|
+
.guidance-group .setting-row { border: 0; border-radius: 0; background: var(--void); }
|
|
281
|
+
.guidance-group .setting-row + .setting-row { border-block-start: 1px solid var(--trace); }
|
|
282
|
+
|
|
283
|
+
.privacy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
|
|
284
|
+
.privacy-card { padding: 20px; }
|
|
285
|
+
.privacy-card h3 { margin: 0; font-size: 14px; font-weight: 610; }
|
|
286
|
+
.privacy-card p { margin: 10px 0 0; color: var(--ink-muted); font-size: 12px; line-height: 1.55; text-wrap: pretty; }
|
|
287
|
+
.privacy-card code, .path-value { overflow-wrap: anywhere; color: var(--ink-soft); font: 11px/1.5 var(--font-code); }
|
|
288
|
+
.path-grid { display: grid; gap: 10px; }
|
|
289
|
+
.path-row { padding: 14px 16px; border: 1px solid var(--trace); border-radius: var(--radius-control); background: var(--memory-1); }
|
|
290
|
+
.path-row span { display: block; margin-block-end: 7px; color: var(--ink-muted); font: 600 9px/1.2 var(--font-code); letter-spacing: 0.07em; text-transform: uppercase; }
|
|
291
|
+
|
|
292
|
+
.empty-card { padding: 32px; color: var(--ink-muted); text-align: center; }
|
|
293
|
+
.empty-card strong { display: block; color: var(--ink-soft); font-size: 14px; }
|
|
294
|
+
.empty-card p { max-width: 520px; margin: 8px auto 0; font-size: 12px; line-height: 1.55; }
|
|
295
|
+
|
|
296
|
+
.toast { position: fixed; inset-inline-end: 20px; inset-block-end: 20px; z-index: 30; max-width: min(360px, calc(100vw - 40px)); padding: 12px 15px; border: 1px solid var(--trace-strong); border-radius: var(--radius-control); background: var(--memory-3); color: var(--ink); font-size: 12px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 160ms ease-out, transform 160ms ease-out; }
|
|
297
|
+
.toast.show { opacity: 1; transform: translateY(0); }
|
|
298
|
+
.toast.error { border-color: rgba(240, 120, 120, 0.35); color: #ffb2b2; }
|
|
299
|
+
|
|
300
|
+
@media (max-width: 960px) {
|
|
301
|
+
.app-shell { grid-template-columns: 210px minmax(0, 1fr); }
|
|
302
|
+
.sidebar { padding-inline: 12px; }
|
|
303
|
+
.signal-hero { grid-template-columns: 1fr; }
|
|
304
|
+
.signal-rail { min-height: 100px; }
|
|
305
|
+
.metric-grid { grid-template-columns: repeat(2, 1fr); }
|
|
306
|
+
.privacy-grid { grid-template-columns: 1fr; }
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
@media (max-width: 720px) {
|
|
310
|
+
.app-shell { display: block; }
|
|
311
|
+
.sidebar { position: static; width: 100%; height: auto; padding: 12px 16px 0; border-inline-end: 0; border-block-end: 1px solid var(--trace); }
|
|
312
|
+
.brand-row { margin-block-end: 12px; }
|
|
313
|
+
.project-picker-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
|
|
314
|
+
.project-picker { margin-block-end: 10px; }
|
|
315
|
+
.nav-list { display: flex; gap: 4px; overflow-x: auto; padding-block-end: 10px; scrollbar-width: none; }
|
|
316
|
+
.nav-list::-webkit-scrollbar { display: none; }
|
|
317
|
+
.nav-list button { flex: 0 0 auto; display: block; min-height: 38px; padding-inline: 12px; white-space: nowrap; }
|
|
318
|
+
.nav-list button span { display: none; }
|
|
319
|
+
.sidebar-status { display: none; }
|
|
320
|
+
.topbar { min-height: 82px; padding: 16px 20px; }
|
|
321
|
+
.content { padding: 24px 20px 56px; }
|
|
322
|
+
.agent-grid, .metric-grid { grid-template-columns: 1fr; }
|
|
323
|
+
.section-heading { display: block; }
|
|
324
|
+
.section-heading p { margin-block-start: 8px; }
|
|
325
|
+
.knowledge-row { grid-template-columns: minmax(0, 1fr) auto; }
|
|
326
|
+
.knowledge-row > :nth-child(3), .knowledge-row > :nth-child(4) { display: none; }
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
@media (max-width: 480px) {
|
|
330
|
+
.topbar h1 { font-size: 19px; }
|
|
331
|
+
.refresh-button { padding-inline: 10px; }
|
|
332
|
+
.signal-hero { padding: 24px 20px; }
|
|
333
|
+
.signal-rail { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
|
|
334
|
+
.signal-node:nth-child(2)::after { display: none; }
|
|
335
|
+
.setting-row { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding-inline: 14px; }
|
|
336
|
+
.setting-scope { display: none; }
|
|
337
|
+
.inline-select { max-width: 150px; }
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
@media (prefers-reduced-motion: reduce) {
|
|
341
|
+
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
|
|
342
|
+
}
|