@hanzo/browser-extension 1.9.72 → 1.9.74
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/chrome/background.js +47 -41
- package/chrome/content-script.js +52 -38
- package/chrome/manifest.json +1 -1
- package/chrome/newtab.css +1 -1
- package/chrome/newtab.js +50 -50
- package/chrome/popup.css +603 -311
- package/chrome/popup.html +403 -470
- package/chrome/popup.js +19 -17
- package/chrome/sidebar.css +236 -134
- package/chrome/sidebar.html +39 -1
- package/chrome/sidebar.js +75 -74
- package/firefox/background.js +20 -14
- package/firefox/content-script.js +52 -38
- package/firefox/manifest.json +1 -1
- package/firefox/newtab.css +1 -1
- package/firefox/newtab.js +50 -50
- package/firefox/popup.css +603 -311
- package/firefox/popup.html +403 -470
- package/firefox/popup.js +19 -17
- package/firefox/sidebar.css +236 -134
- package/firefox/sidebar.html +39 -1
- package/firefox/sidebar.js +75 -74
- package/package.json +1 -1
package/firefox/sidebar.css
CHANGED
|
@@ -1,38 +1,66 @@
|
|
|
1
|
-
/* Hanzo AI Browser Extension Sidebar —
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/* Hanzo AI Browser Extension Sidebar — hanzo.dev pitch-black monochrome minimalism.
|
|
2
|
+
Pure pitch-black #000000 / #050505 ground, #09090b top/side strip,
|
|
3
|
+
#0d0d10 / #0f0f12 rounded floating composer & cards, 1px rgba(255,255,255,0.08) hairlines. */
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--bg-
|
|
9
|
-
--bg-
|
|
6
|
+
color-scheme: dark;
|
|
7
|
+
|
|
8
|
+
--bg-primary: #000000;
|
|
9
|
+
--bg-ground: #050505;
|
|
10
|
+
--bg-strip: #09090b;
|
|
11
|
+
--bg-secondary: #050505;
|
|
12
|
+
--bg-composer: #0d0d10;
|
|
13
|
+
--bg-tertiary: #0f0f12;
|
|
14
|
+
--bg-hover: #16161a;
|
|
10
15
|
|
|
11
16
|
--text-primary: #fafafa;
|
|
12
|
-
--text-secondary: #
|
|
13
|
-
--text-tertiary: #
|
|
17
|
+
--text-secondary: #a1a1aa;
|
|
18
|
+
--text-tertiary: #71717a;
|
|
14
19
|
|
|
15
20
|
--accent: #fafafa;
|
|
16
|
-
--accent-hover: #
|
|
21
|
+
--accent-hover: #e4e4e7;
|
|
17
22
|
--accent-dim: rgba(255,255,255,0.06);
|
|
18
23
|
--accent-glow: rgba(255,255,255,0.03);
|
|
19
24
|
|
|
20
|
-
/* Status: monochrome
|
|
21
|
-
Brand is strict monochrome, so success/warn/error use luminance. */
|
|
25
|
+
/* Status: calm monochrome, subtle dot for live connection */
|
|
22
26
|
--success: #fafafa;
|
|
23
|
-
--warning: #
|
|
24
|
-
--error: rgba(255,255,255,0.
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
--border
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--glass
|
|
31
|
-
--
|
|
32
|
-
--shadow
|
|
33
|
-
--
|
|
27
|
+
--warning: #a1a1aa;
|
|
28
|
+
--error: rgba(255,255,255,0.45);
|
|
29
|
+
--dot-live: #4ade80;
|
|
30
|
+
|
|
31
|
+
--border: rgba(255,255,255,0.08);
|
|
32
|
+
--border-strong: rgba(255,255,255,0.14);
|
|
33
|
+
--input-border: rgba(255,255,255,0.12);
|
|
34
|
+
--glass: rgba(255,255,255,0.03);
|
|
35
|
+
--glass-strong: rgba(255,255,255,0.06);
|
|
36
|
+
--shadow: 0 8px 24px rgba(0,0,0,0.65);
|
|
37
|
+
--shadow-lg: 0 16px 40px rgba(0,0,0,0.75);
|
|
38
|
+
--radius: 12px;
|
|
34
39
|
--radius-md: 8px;
|
|
35
40
|
--radius-sm: 6px;
|
|
41
|
+
|
|
42
|
+
/* @hanzo/ui/chat design tokens — aligned to pitch-black hanzo.dev standard */
|
|
43
|
+
--background: #000000;
|
|
44
|
+
--surface-page: #000000;
|
|
45
|
+
--foreground: #fafafa;
|
|
46
|
+
--card: #0f0f12;
|
|
47
|
+
--card-foreground: #fafafa;
|
|
48
|
+
--popover: #0d0d10;
|
|
49
|
+
--popover-foreground: #fafafa;
|
|
50
|
+
--primary: #fafafa;
|
|
51
|
+
--primary-hover: #e4e4e7;
|
|
52
|
+
--primary-foreground: #000000;
|
|
53
|
+
--secondary: #16161a;
|
|
54
|
+
--secondary-hover: #1f1f24;
|
|
55
|
+
--secondary-foreground: #fafafa;
|
|
56
|
+
--muted: #0f0f12;
|
|
57
|
+
--muted-foreground: #a1a1aa;
|
|
58
|
+
--composer-ground: #0d0d10;
|
|
59
|
+
--composer-edge: rgba(255,255,255,0.08);
|
|
60
|
+
--composer-drop: 0 12px 32px rgba(0,0,0,0.65);
|
|
61
|
+
--border-control: rgba(255,255,255,0.12);
|
|
62
|
+
--border-focus: rgba(255,255,255,0.24);
|
|
63
|
+
--ring: rgba(255,255,255,0.35);
|
|
36
64
|
}
|
|
37
65
|
|
|
38
66
|
* {
|
|
@@ -106,98 +134,160 @@ html {
|
|
|
106
134
|
height: 100vh;
|
|
107
135
|
display: flex;
|
|
108
136
|
flex-direction: column;
|
|
109
|
-
background: var(--bg-
|
|
137
|
+
background: var(--bg-primary);
|
|
110
138
|
border-left: 1px solid var(--border);
|
|
111
139
|
position: relative;
|
|
112
140
|
overflow: hidden;
|
|
113
141
|
}
|
|
114
142
|
|
|
115
|
-
/* Ambient glow behind sidebar */
|
|
116
|
-
.sidebar-container::before {
|
|
117
|
-
content: '';
|
|
118
|
-
position: absolute;
|
|
119
|
-
top: 0;
|
|
120
|
-
left: 0;
|
|
121
|
-
right: 0;
|
|
122
|
-
height: 200px;
|
|
123
|
-
background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
|
|
124
|
-
pointer-events: none;
|
|
125
|
-
z-index: 0;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
143
|
/* ==================== Header ==================== */
|
|
129
144
|
|
|
130
145
|
.sidebar-header {
|
|
131
146
|
display: flex;
|
|
132
147
|
align-items: center;
|
|
133
148
|
justify-content: space-between;
|
|
134
|
-
|
|
149
|
+
gap: 8px;
|
|
150
|
+
height: 44px;
|
|
151
|
+
padding: 0 12px;
|
|
135
152
|
border-bottom: 1px solid var(--border);
|
|
136
|
-
background:
|
|
137
|
-
backdrop-filter: blur(20px) saturate(180%);
|
|
138
|
-
-webkit-backdrop-filter: blur(20px) saturate(180%);
|
|
153
|
+
background: var(--bg-strip);
|
|
139
154
|
flex-shrink: 0;
|
|
140
155
|
position: relative;
|
|
141
|
-
z-index:
|
|
156
|
+
z-index: 20;
|
|
142
157
|
}
|
|
143
158
|
|
|
144
|
-
.
|
|
159
|
+
.header-left {
|
|
145
160
|
display: flex;
|
|
146
161
|
align-items: center;
|
|
147
|
-
gap:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
162
|
+
gap: 8px;
|
|
163
|
+
min-width: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.brand {
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
color: var(--text-primary);
|
|
171
|
+
text-decoration: none;
|
|
172
|
+
flex-shrink: 0;
|
|
151
173
|
}
|
|
152
174
|
|
|
153
175
|
.logo {
|
|
154
|
-
width:
|
|
155
|
-
height:
|
|
156
|
-
color: var(--
|
|
157
|
-
filter: drop-shadow(0 0 6px rgba(255,255,255,0.15));
|
|
158
|
-
transition: filter 0.3s ease;
|
|
176
|
+
width: 16px;
|
|
177
|
+
height: 16px;
|
|
178
|
+
color: var(--text-primary);
|
|
159
179
|
}
|
|
160
180
|
|
|
161
|
-
.
|
|
162
|
-
|
|
181
|
+
.header-zap-dot {
|
|
182
|
+
width: 6px;
|
|
183
|
+
height: 6px;
|
|
184
|
+
border-radius: 50%;
|
|
185
|
+
background: rgba(255,255,255,0.22);
|
|
186
|
+
flex-shrink: 0;
|
|
187
|
+
transition: background 0.2s ease;
|
|
163
188
|
}
|
|
164
189
|
|
|
165
|
-
.header-
|
|
166
|
-
|
|
190
|
+
.header-zap-dot.connected {
|
|
191
|
+
background: var(--dot-live);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.org-pill-wrap {
|
|
195
|
+
position: relative;
|
|
196
|
+
min-width: 0;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.org-pill-btn {
|
|
200
|
+
display: inline-flex;
|
|
167
201
|
align-items: center;
|
|
168
|
-
gap:
|
|
202
|
+
gap: 5px;
|
|
203
|
+
max-width: 180px;
|
|
204
|
+
height: 26px;
|
|
205
|
+
padding: 0 8px;
|
|
206
|
+
border-radius: 9999px;
|
|
207
|
+
background: transparent;
|
|
208
|
+
border: 1px solid var(--border);
|
|
209
|
+
color: var(--text-secondary);
|
|
210
|
+
font-family: 'Zen Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
211
|
+
font-size: 11px;
|
|
212
|
+
cursor: pointer;
|
|
213
|
+
transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
|
|
169
214
|
}
|
|
170
215
|
|
|
171
|
-
.
|
|
172
|
-
width: 28px;
|
|
173
|
-
height: 28px;
|
|
174
|
-
border-radius: 50%;
|
|
216
|
+
.org-pill-btn span {
|
|
175
217
|
overflow: hidden;
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
transition: border-color 0.2s, box-shadow 0.2s;
|
|
218
|
+
text-overflow: ellipsis;
|
|
219
|
+
white-space: nowrap;
|
|
179
220
|
}
|
|
180
221
|
|
|
181
|
-
.
|
|
222
|
+
.org-pill-btn:hover {
|
|
223
|
+
color: var(--text-primary);
|
|
182
224
|
border-color: var(--border-strong);
|
|
183
|
-
|
|
225
|
+
background: var(--glass);
|
|
184
226
|
}
|
|
185
227
|
|
|
186
|
-
.
|
|
228
|
+
.org-menu {
|
|
229
|
+
position: absolute;
|
|
230
|
+
top: calc(100% + 6px);
|
|
231
|
+
left: 0;
|
|
232
|
+
min-width: 196px;
|
|
233
|
+
max-width: 260px;
|
|
234
|
+
padding: 4px;
|
|
235
|
+
background: var(--bg-composer);
|
|
236
|
+
border: 1px solid var(--border-strong);
|
|
237
|
+
border-radius: 10px;
|
|
238
|
+
box-shadow: var(--shadow-lg);
|
|
239
|
+
z-index: 60;
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
gap: 2px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.org-menu-label {
|
|
246
|
+
padding: 4px 8px;
|
|
247
|
+
font-size: 10px;
|
|
248
|
+
font-weight: 500;
|
|
249
|
+
color: var(--text-tertiary);
|
|
250
|
+
text-transform: uppercase;
|
|
251
|
+
letter-spacing: 0.05em;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.org-menu-item {
|
|
255
|
+
display: flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: space-between;
|
|
258
|
+
gap: 8px;
|
|
187
259
|
width: 100%;
|
|
188
|
-
|
|
189
|
-
|
|
260
|
+
padding: 6px 8px;
|
|
261
|
+
background: transparent;
|
|
262
|
+
border: none;
|
|
263
|
+
border-radius: 6px;
|
|
264
|
+
color: var(--text-secondary);
|
|
265
|
+
font-family: inherit;
|
|
266
|
+
font-size: 12px;
|
|
267
|
+
text-align: left;
|
|
268
|
+
cursor: pointer;
|
|
269
|
+
transition: background 0.12s ease, color 0.12s ease;
|
|
190
270
|
}
|
|
191
271
|
|
|
272
|
+
.org-menu-item:hover,
|
|
273
|
+
.org-menu-item.active {
|
|
274
|
+
background: var(--glass-strong);
|
|
275
|
+
color: var(--text-primary);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.header-right {
|
|
279
|
+
display: flex;
|
|
280
|
+
align-items: center;
|
|
281
|
+
gap: 4px;
|
|
282
|
+
flex-shrink: 0;
|
|
283
|
+
}
|
|
192
284
|
|
|
193
285
|
/* ==================== Tab Bar ==================== */
|
|
194
286
|
|
|
195
287
|
.tab-bar {
|
|
196
288
|
display: flex;
|
|
197
289
|
border-bottom: 1px solid var(--border);
|
|
198
|
-
background:
|
|
199
|
-
backdrop-filter: blur(16px) saturate(180%);
|
|
200
|
-
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
|
290
|
+
background: var(--bg-strip);
|
|
201
291
|
flex-shrink: 0;
|
|
202
292
|
position: relative;
|
|
203
293
|
z-index: 10;
|
|
@@ -205,43 +295,29 @@ html {
|
|
|
205
295
|
|
|
206
296
|
.tab {
|
|
207
297
|
flex: 1;
|
|
208
|
-
padding:
|
|
298
|
+
padding: 9px 8px;
|
|
209
299
|
background: none;
|
|
210
300
|
border: none;
|
|
211
|
-
border-bottom:
|
|
212
|
-
color: var(--text-
|
|
213
|
-
font-size:
|
|
301
|
+
border-bottom: 1.5px solid transparent;
|
|
302
|
+
color: var(--text-tertiary);
|
|
303
|
+
font-size: 12px;
|
|
214
304
|
font-weight: 500;
|
|
215
305
|
cursor: pointer;
|
|
216
306
|
display: flex;
|
|
217
307
|
align-items: center;
|
|
218
308
|
justify-content: center;
|
|
219
309
|
gap: 4px;
|
|
220
|
-
transition:
|
|
310
|
+
transition: color 0.15s ease, border-color 0.15s ease;
|
|
221
311
|
position: relative;
|
|
222
312
|
}
|
|
223
313
|
|
|
224
314
|
.tab:hover {
|
|
225
315
|
color: var(--text-primary);
|
|
226
|
-
background: var(--glass);
|
|
227
316
|
}
|
|
228
317
|
|
|
229
318
|
.tab.active {
|
|
230
|
-
color: var(--
|
|
231
|
-
border-bottom-color: var(--
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
/* Shimmer on active tab */
|
|
235
|
-
.tab.active::after {
|
|
236
|
-
content: '';
|
|
237
|
-
position: absolute;
|
|
238
|
-
bottom: -1px;
|
|
239
|
-
left: 20%;
|
|
240
|
-
right: 20%;
|
|
241
|
-
height: 1px;
|
|
242
|
-
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
|
|
243
|
-
animation: shimmer 3s infinite linear;
|
|
244
|
-
background-size: 200% 100%;
|
|
319
|
+
color: var(--text-primary);
|
|
320
|
+
border-bottom-color: var(--text-primary);
|
|
245
321
|
}
|
|
246
322
|
|
|
247
323
|
/* ==================== Tab Content ==================== */
|
|
@@ -279,6 +355,56 @@ html {
|
|
|
279
355
|
min-height: 0;
|
|
280
356
|
display: flex;
|
|
281
357
|
flex-direction: column;
|
|
358
|
+
background: var(--bg-primary);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
/* hanzo.dev floating composer frame inside @hanzo/ui/chat */
|
|
362
|
+
#chat [data-slot="composer"] {
|
|
363
|
+
background: var(--bg-composer) !important;
|
|
364
|
+
border: 1px solid var(--border) !important;
|
|
365
|
+
border-radius: 16px !important;
|
|
366
|
+
box-shadow: var(--composer-drop) !important;
|
|
367
|
+
transition: border-color 0.15s ease;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
#chat [data-slot="composer"]:focus-within {
|
|
371
|
+
border-color: var(--border-focus) !important;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
#chat [data-slot="composer-field"] {
|
|
375
|
+
background: transparent !important;
|
|
376
|
+
color: var(--text-primary) !important;
|
|
377
|
+
font-size: 13.5px !important;
|
|
378
|
+
line-height: 1.5 !important;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
#chat [data-slot="composer-field"]::placeholder {
|
|
382
|
+
color: var(--text-tertiary) !important;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.composer-mic-btn {
|
|
386
|
+
display: inline-flex;
|
|
387
|
+
align-items: center;
|
|
388
|
+
justify-content: center;
|
|
389
|
+
width: 30px;
|
|
390
|
+
height: 30px;
|
|
391
|
+
border-radius: 9999px;
|
|
392
|
+
border: 1px solid transparent;
|
|
393
|
+
background: transparent;
|
|
394
|
+
color: var(--text-secondary);
|
|
395
|
+
cursor: pointer;
|
|
396
|
+
transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.composer-mic-btn:hover {
|
|
400
|
+
color: var(--text-primary);
|
|
401
|
+
background: var(--glass-strong);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.composer-mic-btn[data-listening="true"] {
|
|
405
|
+
color: #000000;
|
|
406
|
+
background: #fafafa;
|
|
407
|
+
border-color: #fafafa;
|
|
282
408
|
}
|
|
283
409
|
|
|
284
410
|
/* Prose inside an assistant turn. The shell renders the turn; markdown is the
|
|
@@ -348,30 +474,11 @@ html {
|
|
|
348
474
|
font-weight: 600;
|
|
349
475
|
font-size: 13px;
|
|
350
476
|
cursor: pointer;
|
|
351
|
-
transition:
|
|
352
|
-
position: relative;
|
|
353
|
-
overflow: hidden;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/* Shimmer sweep on primary buttons */
|
|
357
|
-
.primary-btn::after {
|
|
358
|
-
content: '';
|
|
359
|
-
position: absolute;
|
|
360
|
-
top: 0;
|
|
361
|
-
left: -100%;
|
|
362
|
-
width: 100%;
|
|
363
|
-
height: 100%;
|
|
364
|
-
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
|
|
365
|
-
transition: left 0.5s ease;
|
|
477
|
+
transition: background 0.15s ease;
|
|
366
478
|
}
|
|
367
479
|
|
|
368
480
|
.primary-btn:hover {
|
|
369
481
|
background: var(--accent-hover);
|
|
370
|
-
box-shadow: 0 0 16px rgba(255,255,255,0.12);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.primary-btn:hover::after {
|
|
374
|
-
left: 100%;
|
|
375
482
|
}
|
|
376
483
|
|
|
377
484
|
.primary-btn:disabled {
|
|
@@ -425,29 +532,18 @@ html {
|
|
|
425
532
|
height: 16px;
|
|
426
533
|
}
|
|
427
534
|
|
|
428
|
-
/* ====================
|
|
535
|
+
/* ==================== Panels ==================== */
|
|
429
536
|
|
|
430
537
|
.panel {
|
|
431
538
|
background: var(--bg-tertiary);
|
|
432
539
|
border: 1px solid var(--border);
|
|
433
540
|
border-radius: var(--radius);
|
|
434
|
-
padding:
|
|
435
|
-
transition: border-color 0.
|
|
541
|
+
padding: 14px;
|
|
542
|
+
transition: border-color 0.15s ease;
|
|
436
543
|
position: relative;
|
|
437
544
|
overflow: visible;
|
|
438
545
|
}
|
|
439
546
|
|
|
440
|
-
/* Subtle top highlight on glass panels */
|
|
441
|
-
.panel::before {
|
|
442
|
-
content: '';
|
|
443
|
-
position: absolute;
|
|
444
|
-
top: 0;
|
|
445
|
-
left: 0;
|
|
446
|
-
right: 0;
|
|
447
|
-
height: 1px;
|
|
448
|
-
background: linear-gradient(90deg, transparent 10%, rgba(255,255,255,0.08) 50%, transparent 90%);
|
|
449
|
-
}
|
|
450
|
-
|
|
451
547
|
.panel:hover {
|
|
452
548
|
border-color: var(--border-strong);
|
|
453
549
|
}
|
|
@@ -510,19 +606,15 @@ html {
|
|
|
510
606
|
}
|
|
511
607
|
|
|
512
608
|
.status-indicator.connected {
|
|
513
|
-
background: var(--
|
|
514
|
-
box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
|
|
515
|
-
animation: glowPulse 3s infinite;
|
|
609
|
+
background: var(--dot-live);
|
|
516
610
|
}
|
|
517
611
|
|
|
518
612
|
.status-indicator.warning {
|
|
519
613
|
background: var(--warning);
|
|
520
|
-
box-shadow: 0 0 8px rgba(255, 193, 7, 0.2);
|
|
521
614
|
}
|
|
522
615
|
|
|
523
616
|
.status-indicator.disconnected {
|
|
524
617
|
background: var(--error);
|
|
525
|
-
box-shadow: 0 0 8px rgba(244, 67, 54, 0.2);
|
|
526
618
|
}
|
|
527
619
|
|
|
528
620
|
.mono {
|
|
@@ -1019,14 +1111,24 @@ select option {
|
|
|
1019
1111
|
display: flex;
|
|
1020
1112
|
align-items: center;
|
|
1021
1113
|
justify-content: center;
|
|
1022
|
-
padding: 8px
|
|
1114
|
+
padding: 8px 14px;
|
|
1023
1115
|
border-top: 1px solid var(--border);
|
|
1024
|
-
background:
|
|
1116
|
+
background: var(--bg-strip);
|
|
1025
1117
|
flex-shrink: 0;
|
|
1026
1118
|
position: relative;
|
|
1027
1119
|
z-index: 10;
|
|
1028
1120
|
}
|
|
1029
1121
|
|
|
1122
|
+
@media (max-width: 640px), (pointer: coarse) {
|
|
1123
|
+
.sidebar-header .icon-btn {
|
|
1124
|
+
width: 36px;
|
|
1125
|
+
height: 36px;
|
|
1126
|
+
}
|
|
1127
|
+
.tab {
|
|
1128
|
+
min-height: 40px;
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1030
1132
|
.footer-brand {
|
|
1031
1133
|
display: flex;
|
|
1032
1134
|
align-items: center;
|
package/firefox/sidebar.html
CHANGED
|
@@ -8,6 +8,44 @@
|
|
|
8
8
|
</head>
|
|
9
9
|
<body>
|
|
10
10
|
<div class="sidebar-container">
|
|
11
|
+
<!-- Quiet Top Header -->
|
|
12
|
+
<header class="sidebar-header">
|
|
13
|
+
<div class="header-left">
|
|
14
|
+
<a href="https://hanzo.ai" target="_blank" rel="noreferrer" class="brand" title="Hanzo">
|
|
15
|
+
<svg class="logo" viewBox="0 0 67 67" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
16
|
+
<path d="M22.21 67V44.6369H0V67H22.21Z" fill="currentColor"/>
|
|
17
|
+
<path d="M66.7038 22.3184H22.2534L0.0878906 44.6367H44.4634L66.7038 22.3184Z" fill="currentColor"/>
|
|
18
|
+
<path d="M22.21 0H0V22.3184H22.21V0Z" fill="currentColor"/>
|
|
19
|
+
<path d="M66.7198 0H44.5098V22.3184H66.7198V0Z" fill="currentColor"/>
|
|
20
|
+
<path d="M66.7198 67V44.6369H44.5098V67H66.7198Z" fill="currentColor"/>
|
|
21
|
+
</svg>
|
|
22
|
+
</a>
|
|
23
|
+
<span id="header-zap-dot" class="header-zap-dot" title="ZAP: Connecting…"></span>
|
|
24
|
+
<div class="org-pill-wrap">
|
|
25
|
+
<button type="button" id="header-org-pill" class="org-pill-btn" title="hanzo.id · Active organization (X-Org-Id)">
|
|
26
|
+
<span id="header-org-label">hanzo.id</span>
|
|
27
|
+
<svg viewBox="0 0 16 16" width="10" height="10" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true">
|
|
28
|
+
<path d="M4 6l4 4 4-4" stroke-linecap="round" stroke-linejoin="round"/>
|
|
29
|
+
</svg>
|
|
30
|
+
</button>
|
|
31
|
+
<div id="header-org-menu" class="org-menu hidden" role="menu"></div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="header-right">
|
|
35
|
+
<button type="button" id="header-new-thread" class="icon-btn" title="New thread" aria-label="New thread">
|
|
36
|
+
<svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true">
|
|
37
|
+
<path d="M8 3v10M3 8h10" stroke-linecap="round"/>
|
|
38
|
+
</svg>
|
|
39
|
+
</button>
|
|
40
|
+
<button type="button" id="header-settings" class="icon-btn" title="Settings" aria-label="Settings">
|
|
41
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true">
|
|
42
|
+
<circle cx="12" cy="12" r="3"/>
|
|
43
|
+
<path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/>
|
|
44
|
+
</svg>
|
|
45
|
+
</button>
|
|
46
|
+
</div>
|
|
47
|
+
</header>
|
|
48
|
+
|
|
11
49
|
<!-- Tab Bar (always visible) -->
|
|
12
50
|
<nav id="tab-bar" class="tab-bar hidden">
|
|
13
51
|
<button class="tab active" data-tab="chat">Chat</button>
|
|
@@ -310,7 +348,7 @@
|
|
|
310
348
|
<h3>Hanzo Cloud Search & Retrieval</h3>
|
|
311
349
|
<div class="status-row" style="margin-bottom: 8px;">
|
|
312
350
|
<span style="font-size: 12px; color: var(--text-muted, #888);">Backend</span>
|
|
313
|
-
<span class="status-value mono" style="color: var(--primary
|
|
351
|
+
<span class="status-value mono" style="color: var(--text-primary); font-weight: 500;">api.hanzo.ai</span>
|
|
314
352
|
</div>
|
|
315
353
|
<label class="setting-item">
|
|
316
354
|
<span>Include Tab & Page Context</span>
|