@petercoxhatesbridges/extension-ui 0.0.0-stage → 0.1.1

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.
Files changed (54) hide show
  1. package/README.md +82 -2
  2. package/dist/Button.d.ts +10 -0
  3. package/dist/Button.d.ts.map +1 -0
  4. package/dist/Button.js +15 -0
  5. package/dist/Button.js.map +1 -0
  6. package/dist/ExtensionShell.d.ts +40 -0
  7. package/dist/ExtensionShell.d.ts.map +1 -0
  8. package/dist/ExtensionShell.js +17 -0
  9. package/dist/ExtensionShell.js.map +1 -0
  10. package/dist/FilterListEditor.d.ts +13 -0
  11. package/dist/FilterListEditor.d.ts.map +1 -0
  12. package/dist/FilterListEditor.js +22 -0
  13. package/dist/FilterListEditor.js.map +1 -0
  14. package/dist/InfoBanner.d.ts +6 -0
  15. package/dist/InfoBanner.d.ts.map +1 -0
  16. package/dist/InfoBanner.js +5 -0
  17. package/dist/InfoBanner.js.map +1 -0
  18. package/dist/Input.d.ts +3 -0
  19. package/dist/Input.d.ts.map +1 -0
  20. package/dist/Input.js +5 -0
  21. package/dist/Input.js.map +1 -0
  22. package/dist/Preferences.d.ts +9 -0
  23. package/dist/Preferences.d.ts.map +1 -0
  24. package/dist/Preferences.js +21 -0
  25. package/dist/Preferences.js.map +1 -0
  26. package/dist/SettingsSection.d.ts +8 -0
  27. package/dist/SettingsSection.d.ts.map +1 -0
  28. package/dist/SettingsSection.js +8 -0
  29. package/dist/SettingsSection.js.map +1 -0
  30. package/dist/ShowHide.d.ts +6 -0
  31. package/dist/ShowHide.d.ts.map +1 -0
  32. package/dist/ShowHide.js +11 -0
  33. package/dist/ShowHide.js.map +1 -0
  34. package/dist/Switch.d.ts +10 -0
  35. package/dist/Switch.d.ts.map +1 -0
  36. package/dist/Switch.js +13 -0
  37. package/dist/Switch.js.map +1 -0
  38. package/dist/Tabs.d.ts +7 -0
  39. package/dist/Tabs.d.ts.map +1 -0
  40. package/dist/Tabs.js +15 -0
  41. package/dist/Tabs.js.map +1 -0
  42. package/dist/index.d.ts +11 -0
  43. package/dist/index.d.ts.map +1 -0
  44. package/dist/index.js +11 -0
  45. package/dist/index.js.map +1 -0
  46. package/dist/styles.css +746 -0
  47. package/package.json +51 -4
  48. package/stories/Controls.stories.tsx +70 -0
  49. package/stories/ExtensionShell.stories.tsx +120 -0
  50. package/stories/FilterListEditor.stories.tsx +64 -0
  51. package/stories/Preferences.stories.tsx +84 -0
  52. package/stories/input.stories.tsx +18 -0
  53. package/stories/switch.stories.tsx +32 -0
  54. package/stories/tabs.stories.tsx +30 -0
@@ -0,0 +1,746 @@
1
+ /* Scoped reset: the package does not require Tailwind or a host-page reset. */
2
+ .ext-button,
3
+ .ext-input,
4
+ .ext-tabs,
5
+ .ext-tabs-list,
6
+ .ext-tabs-trigger,
7
+ .ext-tabs-content,
8
+ .ext-switch,
9
+ .ext-switch-thumb,
10
+ .ext-show-hide,
11
+ .ext-show-hide button,
12
+ .ext-preferences-shell,
13
+ .ext-preferences-shell *,
14
+ .ext-filter-editor,
15
+ .ext-filter-editor * {
16
+ box-sizing: border-box;
17
+ }
18
+ .ext-filter-editor p {
19
+ margin: 0;
20
+ }
21
+ .ext-button {
22
+ display: inline-flex;
23
+ min-height: 36px;
24
+ flex-shrink: 0;
25
+ align-items: center;
26
+ justify-content: center;
27
+ gap: 8px;
28
+ padding: 8px 16px;
29
+ border: 1px solid transparent;
30
+ border-radius: 6px;
31
+ font-family: var(
32
+ --extension-ui-font-sans,
33
+ var(--font-sans, system-ui, sans-serif)
34
+ );
35
+ font-size: 14px;
36
+ font-weight: 500;
37
+ line-height: 1.25;
38
+ white-space: nowrap;
39
+ cursor: pointer;
40
+ transition:
41
+ background-color 150ms ease,
42
+ border-color 150ms ease,
43
+ color 150ms ease;
44
+ }
45
+ .ext-button:focus-visible {
46
+ outline: 3px solid
47
+ color-mix(
48
+ in srgb,
49
+ var(--extension-ui-ring, var(--ring, #20a957)) 30%,
50
+ transparent
51
+ );
52
+ outline-offset: 2px;
53
+ }
54
+ .ext-button:disabled {
55
+ pointer-events: none;
56
+ opacity: 0.5;
57
+ }
58
+ .ext-button--primary {
59
+ color: var(
60
+ --extension-ui-primary-foreground,
61
+ var(--primary-foreground, #fff)
62
+ );
63
+ background: var(--extension-ui-primary, var(--primary, #169a4a));
64
+ }
65
+ .ext-button--primary:hover {
66
+ background: var(
67
+ --extension-ui-accent-foreground,
68
+ var(--accent-foreground, #11833d)
69
+ );
70
+ }
71
+ .ext-button--outline {
72
+ border-color: var(--extension-ui-border, var(--border, #e4e7ec));
73
+ color: var(--extension-ui-foreground, var(--foreground, #101828));
74
+ background: var(--extension-ui-background, var(--background, #fff));
75
+ }
76
+ .ext-button--outline:hover,
77
+ .ext-button--ghost:hover {
78
+ color: var(
79
+ --extension-ui-accent-foreground,
80
+ var(--accent-foreground, #11833d)
81
+ );
82
+ background: var(--extension-ui-accent, var(--accent, #e7f6ec));
83
+ }
84
+ .ext-button--ghost {
85
+ color: var(--extension-ui-foreground, var(--foreground, #101828));
86
+ background: transparent;
87
+ }
88
+ .ext-button--small {
89
+ min-height: 32px;
90
+ padding: 6px 12px;
91
+ }
92
+ .ext-button--icon {
93
+ width: 36px;
94
+ min-height: 36px;
95
+ padding: 0;
96
+ }
97
+
98
+ .ext-input {
99
+ height: 36px;
100
+ width: 100%;
101
+ min-width: 0;
102
+ box-sizing: border-box;
103
+ border-radius: 6px;
104
+ border: 1px solid var(--extension-ui-input, var(--input, #d0d5dd));
105
+ background: transparent;
106
+ padding: 4px 12px;
107
+ font: inherit;
108
+ font-size: 14px;
109
+ color: inherit;
110
+ box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
111
+ outline: none;
112
+ }
113
+ .ext-input:focus-visible {
114
+ outline: 3px solid var(--extension-ui-ring, var(--ring, #20a957));
115
+ outline-offset: 2px;
116
+ }
117
+ .ext-input:disabled {
118
+ opacity: 0.5;
119
+ cursor: not-allowed;
120
+ }
121
+ .ext-tabs {
122
+ display: flex;
123
+ flex-direction: column;
124
+ gap: 8px;
125
+ }
126
+ .ext-tabs-list {
127
+ display: inline-flex;
128
+ width: fit-content;
129
+ align-items: center;
130
+ justify-content: center;
131
+ border-radius: 8px;
132
+ background: var(--extension-ui-muted, var(--muted, #f2f4f7));
133
+ padding: 4px;
134
+ color: var(--extension-ui-muted-foreground, var(--muted-foreground, #667085));
135
+ }
136
+ .ext-tabs-trigger {
137
+ display: inline-flex;
138
+ align-items: center;
139
+ justify-content: center;
140
+ gap: 8px;
141
+ border-radius: 6px;
142
+ border: 1px solid transparent;
143
+ padding: 6px 12px;
144
+ font: 500 14px/20px var(--extension-ui-font, var(--font-sans, system-ui));
145
+ white-space: nowrap;
146
+ background: transparent;
147
+ color: inherit;
148
+ cursor: pointer;
149
+ }
150
+ .ext-tabs-trigger[data-state="active"] {
151
+ background: var(--extension-ui-background, var(--background, #fff));
152
+ color: var(--extension-ui-foreground, var(--foreground, #101828));
153
+ box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
154
+ }
155
+ .ext-tabs-trigger:focus-visible,
156
+ .ext-tabs-content:focus-visible {
157
+ outline: 3px solid var(--extension-ui-ring, var(--ring, #20a957));
158
+ outline-offset: 2px;
159
+ }
160
+ .ext-tabs-trigger:disabled {
161
+ pointer-events: none;
162
+ opacity: 0.5;
163
+ }
164
+ .ext-tabs-content {
165
+ flex: 1;
166
+ outline: none;
167
+ }
168
+ .ext-switch {
169
+ display: inline-flex;
170
+ flex-shrink: 0;
171
+ align-items: center;
172
+ box-sizing: border-box;
173
+ width: 40px;
174
+ height: 22px;
175
+ padding: 0;
176
+ border: 1px solid transparent;
177
+ border-radius: 999px;
178
+ background: var(--extension-ui-input, var(--input, #d0d5dd));
179
+ cursor: pointer;
180
+ transition: all 150ms;
181
+ box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
182
+ }
183
+ .ext-switch[data-state="checked"] {
184
+ background: var(--extension-ui-primary, #169a4a);
185
+ }
186
+ .ext-switch:focus-visible {
187
+ outline: 3px solid var(--extension-ui-ring, var(--ring, #20a957));
188
+ outline-offset: 2px;
189
+ }
190
+ .ext-switch:disabled {
191
+ opacity: 0.5;
192
+ cursor: not-allowed;
193
+ }
194
+ .ext-switch-thumb {
195
+ display: block;
196
+ pointer-events: none;
197
+ width: 18px;
198
+ height: 18px;
199
+ border-radius: 50%;
200
+ background: var(--extension-ui-background, var(--background, #fff));
201
+ transform: translateX(0);
202
+ transition: transform 150ms;
203
+ }
204
+ .ext-switch-thumb[data-state="checked"] {
205
+ transform: translateX(18px);
206
+ }
207
+ .ext-switch--lg {
208
+ width: 48px;
209
+ height: 28px;
210
+ padding: 2px;
211
+ }
212
+ .ext-switch--lg .ext-switch-thumb {
213
+ width: 22px;
214
+ height: 22px;
215
+ }
216
+ .ext-switch--lg .ext-switch-thumb[data-state="checked"] {
217
+ transform: translateX(20px);
218
+ }
219
+ .ext-switch-label {
220
+ display: inline-flex;
221
+ align-items: center;
222
+ gap: 8px;
223
+ }
224
+ .ext-filter-editor {
225
+ font: 13px/1.5
226
+ var(--extension-ui-font, "Inter Variable", system-ui, sans-serif);
227
+ color: var(--extension-ui-foreground, #171717);
228
+ }
229
+ .ext-filter-editor .preferences-empty {
230
+ color: #626262;
231
+ font-size: 12px;
232
+ line-height: 19px;
233
+ }
234
+ .ext-preferences-shell {
235
+ height: 100vh;
236
+ height: 100dvh;
237
+ display: flex;
238
+ flex-direction: column;
239
+ gap: 0;
240
+ overflow: hidden;
241
+ color: #171717;
242
+ font: 13px/1.5
243
+ var(--extension-ui-font, "Inter Variable", system-ui, sans-serif);
244
+ }
245
+
246
+ :where(.ext-preferences-shell) .preferences-header {
247
+ display: flex;
248
+ align-items: center;
249
+ flex: 0 0 66px;
250
+ box-sizing: border-box;
251
+ gap: 10px;
252
+ padding: 12px 20px;
253
+ border-bottom: 1px solid #eee;
254
+ }
255
+
256
+ :where(.ext-preferences-shell) .brand-asset {
257
+ width: 40px;
258
+ height: 40px;
259
+ object-fit: contain;
260
+ }
261
+
262
+ :where(.ext-preferences-shell) .brand-wordmark {
263
+ display: flex;
264
+ flex-direction: column;
265
+ flex: 1;
266
+ gap: 2px;
267
+ }
268
+
269
+ :where(.ext-preferences-shell) .brand-wordmark strong {
270
+ font-family: var(
271
+ --extension-ui-heading-font,
272
+ "Space Grotesk Variable",
273
+ system-ui,
274
+ sans-serif
275
+ );
276
+ color: var(--extension-ui-brand, #287b64);
277
+ font-size: 22px;
278
+ line-height: 26px;
279
+ letter-spacing: -0.04em;
280
+ }
281
+
282
+ :where(.ext-preferences-shell) .brand-wordmark span {
283
+ color: #626262;
284
+ font-size: 12px;
285
+ }
286
+
287
+ :where(.ext-preferences-shell) .extension-version {
288
+ color: #737373;
289
+ font-size: 10px;
290
+ }
291
+
292
+ :where(.ext-preferences-shell) .extension-build-badge {
293
+ color: #875900;
294
+ background: #fff8d6;
295
+ border-radius: 5px;
296
+ padding: 2px 5px;
297
+ font-size: 10px;
298
+ }
299
+
300
+ :where(.ext-preferences-shell) .preferences-layout {
301
+ display: grid;
302
+ grid-template-columns: 68px minmax(0, 1fr);
303
+ grid-template-rows: minmax(0, 1fr) auto;
304
+ flex: 1;
305
+ min-height: 0;
306
+ }
307
+
308
+ :where(.ext-preferences-shell) .preferences-navigation {
309
+ grid-row: 1 / -1;
310
+ width: 68px;
311
+ flex: 0 0 68px;
312
+ box-sizing: border-box;
313
+ border-right: 1px solid #eee;
314
+ padding: 14px 6px;
315
+ overflow-y: auto;
316
+ }
317
+
318
+ :where(.ext-preferences-shell) .preferences-tabs-list {
319
+ display: flex;
320
+ width: 100%;
321
+ height: 100%;
322
+ min-height: 300px;
323
+ flex-direction: column;
324
+ justify-content: flex-start;
325
+ gap: 8px;
326
+ padding: 0;
327
+ background: transparent;
328
+ }
329
+
330
+ :where(.ext-preferences-shell) .preferences-tab {
331
+ display: flex;
332
+ width: 100%;
333
+ min-height: 58px;
334
+ flex: 0 0 58px;
335
+ flex-direction: column;
336
+ align-items: center;
337
+ justify-content: center;
338
+ gap: 5px;
339
+ padding: 5px 0;
340
+ border: 0;
341
+ border-radius: 0;
342
+ background: transparent;
343
+ color: #626262;
344
+ font:
345
+ 500 10px/12px Inter,
346
+ system-ui,
347
+ sans-serif;
348
+ cursor: pointer;
349
+ box-shadow: none;
350
+ }
351
+
352
+ :where(.ext-preferences-shell) .preferences-tab svg {
353
+ width: 22px;
354
+ height: 22px;
355
+ stroke-width: 1.6;
356
+ box-sizing: content-box;
357
+ padding: 5px;
358
+ margin-bottom: -5px;
359
+ border-radius: 50%;
360
+ }
361
+
362
+ :where(.ext-preferences-shell) .preferences-tab[data-state="active"] {
363
+ color: #171717;
364
+ background: transparent;
365
+ font-weight: 700;
366
+ box-shadow: none;
367
+ }
368
+
369
+ :where(.ext-preferences-shell) .preferences-tab[data-state="active"] svg {
370
+ background: var(--extension-ui-nav-surface, #e8f0ed);
371
+ }
372
+
373
+ :where(.ext-preferences-shell) .preferences-tab:hover svg {
374
+ background: #f0f3f1;
375
+ }
376
+
377
+ :where(.ext-preferences-shell) .preferences-tab:focus-visible,
378
+ .ext-show-hide button:focus-visible,
379
+ :where(.ext-preferences-shell) .preferences-action:focus-within,
380
+ :where(.ext-preferences-shell) .preferences-footer a:focus-visible {
381
+ outline: 2px solid var(--extension-ui-action, #0a66c2);
382
+ outline-offset: 2px;
383
+ }
384
+
385
+ :where(.ext-preferences-shell) .preferences-tabs-spacer {
386
+ flex: 1;
387
+ min-height: 14px;
388
+ }
389
+
390
+ :where(.ext-preferences-shell) .preferences-content {
391
+ grid-column: 2;
392
+ min-height: 0;
393
+ flex: 1;
394
+ min-width: 0;
395
+ overflow-y: auto;
396
+ padding: 16px 16px 20px;
397
+ }
398
+
399
+ :where(.ext-preferences-shell) .preferences-content-heading h1 {
400
+ font-family: var(
401
+ --extension-ui-heading-font,
402
+ "Space Grotesk Variable",
403
+ system-ui,
404
+ sans-serif
405
+ );
406
+ margin: 0;
407
+ font-size: 24px;
408
+ font-weight: 700;
409
+ line-height: 30px;
410
+ letter-spacing: -0.03em;
411
+ }
412
+
413
+ .ext-info-banner {
414
+ display: flex;
415
+ align-items: flex-start;
416
+ gap: 8px;
417
+ margin: 12px 0;
418
+ padding: 10px 12px;
419
+ border: 0;
420
+ border-radius: 4px;
421
+ color: #262626;
422
+ background: #f5f5f5;
423
+ font-size: 13px;
424
+ line-height: 20px;
425
+ }
426
+
427
+ :where(.ext-preferences-shell) .empty-list,
428
+ :where(.ext-preferences-shell) .preferences-empty,
429
+ :where(.ext-preferences-shell) .preferences-help {
430
+ color: #626262;
431
+ font-size: 12px;
432
+ line-height: 19px;
433
+ }
434
+
435
+ :where(.ext-preferences-shell) .preferences-help {
436
+ margin: 20px 0 0;
437
+ }
438
+
439
+ :where(.ext-preferences-shell, .ext-filter-editor) .keyword-entry {
440
+ display: flex;
441
+ align-items: center;
442
+ gap: 8px;
443
+ margin-bottom: 12px;
444
+ border: 1px solid #e5e5e5;
445
+ border-radius: 6px;
446
+ padding: 4px;
447
+ }
448
+
449
+ :where(.ext-preferences-shell, .ext-filter-editor) .keyword-entry > svg {
450
+ width: 16px;
451
+ height: 16px;
452
+ margin-left: 7px;
453
+ color: #737373;
454
+ flex-shrink: 0;
455
+ }
456
+
457
+ :where(.ext-preferences-shell, .ext-filter-editor) .keyword-entry input {
458
+ min-width: 0;
459
+ height: 30px;
460
+ flex: 1;
461
+ padding: 0;
462
+ border: 0;
463
+ box-shadow: none;
464
+ background: transparent;
465
+ font-size: 12px;
466
+ }
467
+
468
+ :where(.ext-preferences-shell, .ext-filter-editor) .keyword-entry button {
469
+ height: 30px;
470
+ padding: 0 13px;
471
+ background: var(--extension-ui-action, #0a66c2);
472
+ border-radius: 5px;
473
+ color: #fff;
474
+ font-size: 12px;
475
+ }
476
+
477
+ :where(.ext-preferences-shell, .ext-filter-editor) .blocked-companies-list {
478
+ display: flex;
479
+ flex-direction: column;
480
+ gap: 0;
481
+ }
482
+
483
+ :where(.ext-preferences-shell, .ext-filter-editor) .blocked-company-chip {
484
+ display: flex;
485
+ align-items: center;
486
+ gap: 12px;
487
+ min-height: 38px;
488
+ padding: 3px 0;
489
+ box-sizing: border-box;
490
+ border-bottom: 1px solid #e5e5e5;
491
+ }
492
+
493
+ :where(.ext-preferences-shell, .ext-filter-editor) .blocked-keyword-icon {
494
+ width: 26px;
495
+ height: 26px;
496
+ padding: 3px;
497
+ box-sizing: border-box;
498
+ color: #737373;
499
+ flex: 0 0 26px;
500
+ }
501
+
502
+ :where(.ext-preferences-shell, .ext-filter-editor) .blocked-keyword-label {
503
+ flex: 1;
504
+ min-width: 0;
505
+ overflow-wrap: anywhere;
506
+ font-weight: 600;
507
+ }
508
+
509
+ :where(.ext-preferences-shell, .ext-filter-editor) .blocked-company-remove {
510
+ display: flex;
511
+ align-items: center;
512
+ justify-content: center;
513
+ width: 32px;
514
+ height: 32px;
515
+ flex-shrink: 0;
516
+ border: 0;
517
+ border-radius: 5px;
518
+ color: #737373;
519
+ background: transparent;
520
+ cursor: pointer;
521
+ font: 20px system-ui;
522
+ }
523
+
524
+ :where(.ext-preferences-shell, .ext-filter-editor)
525
+ .blocked-company-remove:hover {
526
+ color: #b23b32;
527
+ background: #fff2f1;
528
+ }
529
+
530
+ .ext-show-hide {
531
+ display: inline-flex;
532
+ width: 130px;
533
+ height: 32px;
534
+ box-sizing: border-box;
535
+ flex-shrink: 0;
536
+ gap: 2px;
537
+ padding: 3px;
538
+ border: 1px solid #e5e5e5;
539
+ border-radius: 6px;
540
+ background: #f5f5f5;
541
+ }
542
+
543
+ .ext-show-hide button {
544
+ display: flex;
545
+ align-items: center;
546
+ justify-content: center;
547
+ gap: 4px;
548
+ min-width: 0;
549
+ flex: 1;
550
+ height: 24px;
551
+ padding: 0 7px;
552
+ border: 1px solid transparent;
553
+ border-radius: 4px;
554
+ background: transparent;
555
+ color: #737373;
556
+ font: 12px system-ui;
557
+ cursor: pointer;
558
+ }
559
+
560
+ .ext-show-hide button[aria-pressed="true"] {
561
+ color: #172b44;
562
+ background: var(--extension-ui-action-surface, #eaf3fc);
563
+ border-color: var(--extension-ui-action, #0a66c2);
564
+ box-shadow: 0 0 0 2px white;
565
+ font-weight: 600;
566
+ }
567
+
568
+ :where(.ext-preferences-shell) .preferences-action {
569
+ display: flex;
570
+ align-items: center;
571
+ justify-content: center;
572
+ gap: 8px;
573
+ flex: 1;
574
+ min-height: 38px;
575
+ border: 1px solid #e5e5e5;
576
+ border-radius: 6px;
577
+ background: #fff;
578
+ color: #262626;
579
+ font: 600 12px system-ui;
580
+ cursor: pointer;
581
+ }
582
+
583
+ :where(.ext-preferences-shell) .preferences-action svg {
584
+ width: 18px;
585
+ height: 18px;
586
+ color: #737373;
587
+ }
588
+
589
+ :where(.ext-preferences-shell) .preferences-action input {
590
+ position: absolute;
591
+ width: 1px;
592
+ height: 1px;
593
+ opacity: 0;
594
+ }
595
+
596
+ .ext-save-status {
597
+ color: #626262;
598
+ font-size: 12px;
599
+ margin: 16px 0 0;
600
+ }
601
+
602
+ .ext-save-status:empty {
603
+ display: none;
604
+ }
605
+
606
+ :where(.ext-preferences-shell) .preferences-footer {
607
+ grid-column: 2;
608
+ display: flex;
609
+ flex-wrap: wrap;
610
+ min-height: 60px;
611
+ justify-content: space-between;
612
+ align-items: center;
613
+ flex: 0 0 60px;
614
+ gap: 12px;
615
+ padding: 10px 16px;
616
+ border-top: 1px solid #eee;
617
+ box-sizing: border-box;
618
+ }
619
+
620
+ :where(.ext-preferences-shell) .preferences-footer a {
621
+ display: flex;
622
+ align-items: center;
623
+ gap: 7px;
624
+ min-height: 36px;
625
+ color: #17629b;
626
+ font-size: 12px;
627
+ font-weight: 700;
628
+ text-decoration: none;
629
+ }
630
+
631
+ :where(.ext-preferences-shell) .preferences-footer a:first-child {
632
+ color: #171717;
633
+ }
634
+
635
+ :where(.ext-preferences-shell) .preferences-footer svg {
636
+ width: 17px;
637
+ height: 17px;
638
+ flex-shrink: 0;
639
+ }
640
+
641
+ :where(.ext-preferences-shell) .preferences-footer a:first-child svg {
642
+ color: #b4891e;
643
+ fill: #d5a62c;
644
+ }
645
+
646
+ @media (max-width: 400px) {
647
+ :where(.ext-preferences-shell) .preferences-content {
648
+ padding: 14px 12px 18px;
649
+ }
650
+ }
651
+
652
+ @media (max-width: 400px) {
653
+ :where(.ext-preferences-shell) .preferences-content-heading h1 {
654
+ font-family: var(
655
+ --extension-ui-heading-font,
656
+ "Space Grotesk Variable",
657
+ system-ui,
658
+ sans-serif
659
+ );
660
+ font-size: 24px;
661
+ }
662
+ }
663
+
664
+ @media (max-width: 400px) {
665
+ .ext-info-banner {
666
+ padding: 12px;
667
+ margin: 12px 0;
668
+ }
669
+ }
670
+
671
+ @media (max-width: 400px) {
672
+ .ext-show-hide {
673
+ width: 114px;
674
+ }
675
+ }
676
+
677
+ @media (max-width: 400px) {
678
+ .ext-show-hide button {
679
+ padding-inline: 5px;
680
+ }
681
+ }
682
+
683
+ @media (max-width: 400px) {
684
+ :where(.ext-preferences-shell) .preferences-footer {
685
+ padding-inline: 12px;
686
+ gap: 8px;
687
+ }
688
+ }
689
+
690
+ @media (max-width: 400px) {
691
+ :where(.ext-preferences-shell) .preferences-footer a {
692
+ font-size: 11px;
693
+ gap: 5px;
694
+ }
695
+ }
696
+
697
+ @media (max-height: 560px) {
698
+ :where(.ext-preferences-shell) .preferences-navigation {
699
+ padding-block: 6px;
700
+ }
701
+ }
702
+
703
+ @media (max-height: 560px) {
704
+ :where(.ext-preferences-shell) .preferences-tabs-list {
705
+ gap: 2px;
706
+ min-height: 0;
707
+ }
708
+ }
709
+
710
+ @media (max-height: 560px) {
711
+ :where(.ext-preferences-shell) .preferences-tab {
712
+ min-height: 48px;
713
+ flex-basis: 48px;
714
+ }
715
+ }
716
+
717
+ @media (max-height: 560px) {
718
+ :where(.ext-preferences-shell) .preferences-footer {
719
+ min-height: 48px;
720
+ flex-basis: 48px;
721
+ }
722
+ }
723
+
724
+ .ext-info-banner > svg {
725
+ flex: 0 0 16px;
726
+ margin-top: 2px;
727
+ }
728
+
729
+ .ext-settings-section + .ext-settings-section {
730
+ margin-top: 16px;
731
+ padding-top: 16px;
732
+ border-top: 1px solid #e5e5e5;
733
+ }
734
+
735
+ .ext-settings-section h2 {
736
+ margin: 0 0 6px;
737
+ font-size: 13px;
738
+ font-weight: 700;
739
+ }
740
+
741
+ .ext-settings-section p {
742
+ margin: 0;
743
+ color: #737373;
744
+ font-size: 12px;
745
+ line-height: 18px;
746
+ }