phirepass-widgets 0.0.117 → 0.0.118

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 (88) hide show
  1. package/README.md +1 -12
  2. package/dist/cjs/{index-DehquNXP.js → index-C3v5xmUo.js} +2 -74
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/phirepass-rdp.cjs.entry.js +5 -16
  5. package/dist/cjs/phirepass-sftp-client.cjs.entry.js +1470 -0
  6. package/dist/cjs/phirepass-terminal.cjs.entry.js +4 -4
  7. package/dist/cjs/phirepass-widgets.cjs.js +2 -2
  8. package/dist/cjs/{protocol-BjOgJZ9-.js → protocol-DCBMfc2u.js} +21 -277
  9. package/dist/collection/collection-manifest.json +0 -2
  10. package/dist/collection/common/channel.js +1 -21
  11. package/dist/collection/components/phirepass-rdp/phirepass-rdp.js +13 -36
  12. package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.css +0 -122
  13. package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.js +31 -181
  14. package/dist/collection/components/phirepass-terminal/phirepass-terminal.js +2 -2
  15. package/dist/collection/phirepass-channel_bg.wasm +0 -0
  16. package/dist/components/index.js +1 -1
  17. package/dist/components/p-CsYQJXY2.js +1 -0
  18. package/dist/components/phirepass-rdp.js +1 -1
  19. package/dist/components/phirepass-sftp-client.js +1 -1
  20. package/dist/components/phirepass-terminal.js +5 -5
  21. package/dist/esm/{index-BinptKL7.js → index-BVOulYtW.js} +2 -74
  22. package/dist/esm/loader.js +3 -3
  23. package/dist/esm/phirepass-rdp.entry.js +5 -16
  24. package/dist/esm/phirepass-sftp-client.entry.js +1468 -0
  25. package/dist/esm/phirepass-terminal.entry.js +4 -4
  26. package/dist/esm/phirepass-widgets.js +3 -3
  27. package/dist/esm/{protocol-BekUePpu.js → protocol-CsYQJXY2.js} +20 -276
  28. package/dist/phirepass-widgets/{p-9e6f9220.entry.js → p-7ea2fdbc.entry.js} +5 -5
  29. package/dist/phirepass-widgets/p-BVOulYtW.js +3 -0
  30. package/dist/phirepass-widgets/p-CsYQJXY2.js +1 -0
  31. package/dist/phirepass-widgets/p-c1c616ca.entry.js +1 -0
  32. package/dist/phirepass-widgets/p-f1bc04a8.entry.js +1 -0
  33. package/dist/phirepass-widgets/phirepass-channel_bg.wasm +0 -0
  34. package/dist/phirepass-widgets/phirepass-widgets.esm.js +1 -1
  35. package/dist/types/common/channel.d.ts +0 -30
  36. package/dist/types/components/phirepass-rdp/phirepass-rdp.d.ts +0 -10
  37. package/dist/types/components/phirepass-sftp-client/phirepass-sftp-client.d.ts +0 -30
  38. package/dist/types/components.d.ts +34 -434
  39. package/package.json +4 -18
  40. package/dist/cjs/phirepass-downloader_3.cjs.entry.js +0 -3823
  41. package/dist/collection/common/fetch.js +0 -44
  42. package/dist/collection/components/phirepass-downloader/form.js +0 -69
  43. package/dist/collection/components/phirepass-downloader/format.js +0 -105
  44. package/dist/collection/components/phirepass-downloader/jobs.js +0 -393
  45. package/dist/collection/components/phirepass-downloader/phirepass-downloader.css +0 -1109
  46. package/dist/collection/components/phirepass-downloader/phirepass-downloader.js +0 -1466
  47. package/dist/collection/components/phirepass-downloader/source.js +0 -120
  48. package/dist/collection/components/phirepass-downloader/views/dialogs.js +0 -34
  49. package/dist/collection/components/phirepass-downloader/views/fetch-form.js +0 -65
  50. package/dist/collection/components/phirepass-downloader/views/icons.js +0 -34
  51. package/dist/collection/components/phirepass-downloader/views/job-row.js +0 -91
  52. package/dist/collection/components/phirepass-downloader/views/notices.js +0 -15
  53. package/dist/collection/components/phirepass-downloader/views/states.js +0 -19
  54. package/dist/collection/components/phirepass-media-player/phirepass-media-player.css +0 -225
  55. package/dist/collection/components/phirepass-media-player/phirepass-media-player.js +0 -549
  56. package/dist/collection/components/phirepass-media-player/player.js +0 -118
  57. package/dist/collection/components/phirepass-sftp-client/phirepass-sftp-client.fetch.js +0 -35
  58. package/dist/collection/testing/fixtures.js +0 -219
  59. package/dist/collection/testing/mock-channel.js +0 -410
  60. package/dist/components/p-B4kFfbHE.js +0 -1
  61. package/dist/components/p-BekUePpu.js +0 -1
  62. package/dist/components/p-DIf-Ru26.js +0 -1
  63. package/dist/components/phirepass-downloader.d.ts +0 -11
  64. package/dist/components/phirepass-downloader.js +0 -1
  65. package/dist/components/phirepass-media-player.d.ts +0 -11
  66. package/dist/components/phirepass-media-player.js +0 -1
  67. package/dist/esm/phirepass-downloader_3.entry.js +0 -3819
  68. package/dist/phirepass-widgets/p-6a192c8d.entry.js +0 -1
  69. package/dist/phirepass-widgets/p-BekUePpu.js +0 -1
  70. package/dist/phirepass-widgets/p-BinptKL7.js +0 -3
  71. package/dist/phirepass-widgets/p-fe1ce8da.entry.js +0 -1
  72. package/dist/types/common/fetch.d.ts +0 -167
  73. package/dist/types/components/phirepass-downloader/form.d.ts +0 -54
  74. package/dist/types/components/phirepass-downloader/format.d.ts +0 -17
  75. package/dist/types/components/phirepass-downloader/jobs.d.ts +0 -123
  76. package/dist/types/components/phirepass-downloader/phirepass-downloader.d.ts +0 -238
  77. package/dist/types/components/phirepass-downloader/source.d.ts +0 -61
  78. package/dist/types/components/phirepass-downloader/views/dialogs.d.ts +0 -52
  79. package/dist/types/components/phirepass-downloader/views/fetch-form.d.ts +0 -31
  80. package/dist/types/components/phirepass-downloader/views/icons.d.ts +0 -5
  81. package/dist/types/components/phirepass-downloader/views/job-row.d.ts +0 -21
  82. package/dist/types/components/phirepass-downloader/views/notices.d.ts +0 -18
  83. package/dist/types/components/phirepass-downloader/views/states.d.ts +0 -38
  84. package/dist/types/components/phirepass-media-player/phirepass-media-player.d.ts +0 -82
  85. package/dist/types/components/phirepass-media-player/player.d.ts +0 -53
  86. package/dist/types/components/phirepass-sftp-client/phirepass-sftp-client.fetch.d.ts +0 -40
  87. package/dist/types/testing/fixtures.d.ts +0 -25
  88. package/dist/types/testing/mock-channel.d.ts +0 -132
@@ -1,1109 +0,0 @@
1
- /*
2
- * Same palette as phirepass-sftp-client.css, so the drawer reads as part of it.
3
- * Override any of these on the host element to re-theme.
4
- */
5
- :host {
6
- --card: 220 18% 10%;
7
- --bg: 216 18% 7%;
8
- --border: 220 15% 18%;
9
- --primary: 160 60% 45%;
10
- --primary-foreground: 220 20% 7%;
11
- --destructive: 0 70% 50%;
12
- --muted: 220 15% 13%;
13
- --muted-foreground: 215 10% 52%;
14
- --foreground: 210 20% 90%;
15
- --amber: 38 75% 55%;
16
- --blue: 206 72% 63%;
17
- --radius: 0.375rem;
18
-
19
- display: block;
20
- color: hsl(var(--foreground));
21
- font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
22
- font-size: 13px;
23
- line-height: 1.45;
24
- container-type: inline-size;
25
- }
26
-
27
- :host(.standalone) {
28
- position: relative;
29
- height: 100%;
30
- background: hsl(var(--card));
31
- border: 1px solid hsl(var(--border));
32
- border-radius: var(--radius);
33
- overflow: auto;
34
- }
35
-
36
- /* Embedded: no position of its own, so dialogs cover the whole SFTP client. */
37
- :host(.compact) {
38
- flex: none;
39
- }
40
-
41
- * {
42
- box-sizing: border-box;
43
- }
44
-
45
- button {
46
- font: inherit;
47
- color: inherit;
48
- cursor: pointer;
49
- }
50
-
51
- button:disabled {
52
- cursor: not-allowed;
53
- }
54
-
55
- :focus-visible {
56
- outline: 2px solid hsl(var(--primary));
57
- outline-offset: 2px;
58
- }
59
-
60
- .hidden-input {
61
- display: none;
62
- }
63
-
64
- .mono,
65
- code,
66
- .stats,
67
- .sum,
68
- .inp,
69
- .dest,
70
- .detect .host {
71
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
72
- }
73
-
74
- code {
75
- font-size: 12px;
76
- }
77
-
78
- .muted {
79
- color: hsl(var(--muted-foreground));
80
- }
81
-
82
- .pad {
83
- padding: 18px 14px;
84
- }
85
-
86
- /* ---------- buttons ---------- */
87
-
88
- .ib {
89
- width: 28px;
90
- height: 28px;
91
- display: inline-grid;
92
- place-items: center;
93
- border-radius: 4px;
94
- border: 1px solid transparent;
95
- background: transparent;
96
- color: hsl(var(--muted-foreground));
97
- flex: none;
98
- padding: 0;
99
- }
100
-
101
- .ib:hover:not(:disabled) {
102
- background: hsl(var(--muted));
103
- color: hsl(var(--foreground));
104
- }
105
-
106
- .ib:disabled {
107
- opacity: 0.4;
108
- }
109
-
110
- .ib.new {
111
- color: hsl(var(--primary));
112
- border-color: hsl(var(--primary) / 0.55);
113
- background: hsl(var(--primary) / 0.12);
114
- }
115
-
116
- .btn {
117
- border-radius: 4px;
118
- padding: 7px 14px;
119
- font-size: 12px;
120
- font-weight: 600;
121
- border: 1px solid hsl(var(--border));
122
- background: hsl(var(--muted));
123
- white-space: nowrap;
124
- display: inline-flex;
125
- align-items: center;
126
- gap: 6px;
127
- text-decoration: none;
128
- color: hsl(var(--foreground));
129
- }
130
-
131
- .btn:hover:not(:disabled) {
132
- border-color: hsl(var(--muted-foreground));
133
- }
134
-
135
- .btn.pri {
136
- background: hsl(var(--primary));
137
- border-color: hsl(var(--primary));
138
- color: hsl(var(--primary-foreground));
139
- }
140
-
141
- .btn.dng {
142
- background: hsl(var(--destructive));
143
- border-color: hsl(var(--destructive));
144
- color: #fff;
145
- }
146
-
147
- .btn:disabled {
148
- opacity: 0.45;
149
- }
150
-
151
- .lnk {
152
- background: none;
153
- border: 0;
154
- color: hsl(var(--muted-foreground));
155
- font-size: 11px;
156
- padding: 2px 4px;
157
- display: inline-flex;
158
- align-items: center;
159
- gap: 4px;
160
- }
161
-
162
- .lnk:hover {
163
- color: hsl(var(--foreground));
164
- }
165
-
166
- .lnk.inline {
167
- color: hsl(var(--primary));
168
- padding: 0;
169
- }
170
-
171
- /* ---------- pills, bars ---------- */
172
-
173
- .pill {
174
- font-size: 10px;
175
- font-weight: 600;
176
- text-transform: uppercase;
177
- letter-spacing: 0.05em;
178
- padding: 2px 7px;
179
- border-radius: 3px;
180
- white-space: nowrap;
181
- flex: none;
182
- }
183
-
184
- .pill.dl {
185
- background: hsl(var(--primary) / 0.18);
186
- color: hsl(var(--primary));
187
- }
188
-
189
- .pill.meta,
190
- .pill.sd {
191
- background: hsl(var(--blue) / 0.18);
192
- color: hsl(var(--blue));
193
- }
194
-
195
- .pill.mv {
196
- background: hsl(var(--amber) / 0.18);
197
- color: hsl(var(--amber));
198
- }
199
-
200
- .pill.ok {
201
- background: hsl(var(--primary));
202
- color: hsl(var(--primary-foreground));
203
- }
204
-
205
- .pill.err {
206
- background: hsl(var(--destructive) / 0.2);
207
- color: hsl(var(--destructive));
208
- }
209
-
210
- .pill.ps,
211
- .pill.q {
212
- background: hsl(var(--muted));
213
- color: hsl(var(--muted-foreground));
214
- }
215
-
216
- .bar {
217
- display: block;
218
- height: 5px;
219
- border-radius: 3px;
220
- background: hsl(var(--muted));
221
- overflow: hidden;
222
- position: relative;
223
- }
224
-
225
- .bar i {
226
- display: block;
227
- height: 100%;
228
- background: hsl(var(--primary));
229
- border-radius: 3px;
230
- transition: width 0.6s linear;
231
- }
232
-
233
- .bar.indet i {
234
- width: 30% !important;
235
- animation: slide 1.3s ease-in-out infinite;
236
- background: hsl(var(--blue));
237
- }
238
-
239
- .bar.paused i {
240
- background: hsl(var(--muted-foreground));
241
- }
242
-
243
- .bar.fail i {
244
- background: hsl(var(--destructive));
245
- }
246
-
247
- .bar.moving i {
248
- background: hsl(var(--amber));
249
- }
250
-
251
- .bar.seed i {
252
- background: hsl(var(--blue));
253
- }
254
-
255
- @keyframes slide {
256
- 0% {
257
- transform: translateX(-100%);
258
- }
259
- 100% {
260
- transform: translateX(340%);
261
- }
262
- }
263
-
264
- /* ---------- a download row ---------- */
265
-
266
- .jobs {
267
- display: flex;
268
- flex-direction: column;
269
- }
270
-
271
- .job {
272
- display: grid;
273
- grid-template-columns: 28px minmax(0, 1fr) auto;
274
- gap: 4px 10px;
275
- padding: 10px 12px;
276
- border-bottom: 1px solid hsl(var(--border) / 0.6);
277
- align-items: center;
278
- }
279
-
280
- .job:last-child {
281
- border-bottom: 0;
282
- }
283
-
284
- .job .kind {
285
- grid-row: span 3;
286
- align-self: start;
287
- width: 28px;
288
- height: 28px;
289
- border-radius: 6px;
290
- display: grid;
291
- place-items: center;
292
- background: hsl(var(--muted));
293
- color: hsl(var(--muted-foreground));
294
- }
295
-
296
- .job .kind.t {
297
- color: hsl(var(--blue));
298
- }
299
-
300
- .job .kind.h {
301
- color: hsl(var(--primary));
302
- }
303
-
304
- .job .kind.n {
305
- color: hsl(var(--amber));
306
- }
307
-
308
- .job .title {
309
- display: flex;
310
- gap: 8px;
311
- align-items: center;
312
- min-width: 0;
313
- }
314
-
315
- .job .title .nm {
316
- font-weight: 500;
317
- overflow: hidden;
318
- text-overflow: ellipsis;
319
- white-space: nowrap;
320
- min-width: 0;
321
- }
322
-
323
- .job .acts {
324
- display: flex;
325
- gap: 2px;
326
- grid-row: 1;
327
- grid-column: 3;
328
- }
329
-
330
- .job .bar,
331
- .job .stats {
332
- grid-column: 2 / 4;
333
- }
334
-
335
- .stats {
336
- display: flex;
337
- flex-wrap: wrap;
338
- gap: 4px 14px;
339
- font-size: 11px;
340
- color: hsl(var(--muted-foreground));
341
- font-variant-numeric: tabular-nums;
342
- }
343
-
344
- .stats b {
345
- color: hsl(var(--foreground));
346
- font-weight: 500;
347
- }
348
-
349
- .stats .err {
350
- color: hsl(var(--destructive));
351
- }
352
-
353
- .job[data-state='Deleting'] {
354
- opacity: 0.6;
355
- }
356
-
357
- /* ---------- embedded drawer and strip ---------- */
358
-
359
- .drawer {
360
- border-top: 1px solid hsl(var(--border));
361
- background: hsl(var(--bg));
362
- display: flex;
363
- flex-direction: column;
364
- max-height: min(46vh, 380px);
365
- }
366
-
367
- .drawer-h {
368
- display: flex;
369
- align-items: center;
370
- gap: 10px;
371
- padding: 6px 12px;
372
- border-bottom: 1px solid hsl(var(--border));
373
- flex: none;
374
- }
375
-
376
- .drawer-h h4,
377
- .strip h4 {
378
- margin: 0;
379
- font-size: 12px;
380
- font-weight: 600;
381
- letter-spacing: 0.04em;
382
- text-transform: uppercase;
383
- }
384
-
385
- .sum {
386
- color: hsl(var(--muted-foreground));
387
- font-size: 11px;
388
- font-variant-numeric: tabular-nums;
389
- }
390
-
391
- .sp {
392
- flex: 1;
393
- }
394
-
395
- .drawer-b {
396
- overflow: auto;
397
- min-height: 0;
398
- }
399
-
400
- .strip {
401
- display: flex;
402
- align-items: center;
403
- gap: 10px;
404
- padding: 7px 12px;
405
- border: 0;
406
- border-top: 1px solid hsl(var(--border));
407
- background: hsl(var(--bg));
408
- width: 100%;
409
- text-align: left;
410
- }
411
-
412
- .strip .bar {
413
- flex: 1 1 120px;
414
- }
415
-
416
- /* ---------- dialogs ---------- */
417
-
418
- .overlay {
419
- position: absolute;
420
- inset: 0;
421
- background: rgba(5, 7, 9, 0.6);
422
- display: grid;
423
- place-items: center;
424
- padding: 14px;
425
- z-index: 20;
426
- }
427
-
428
- :host(.standalone) .overlay {
429
- position: fixed;
430
- }
431
-
432
- .modal {
433
- width: min(100%, 420px);
434
- max-height: 100%;
435
- overflow: auto;
436
- background: hsl(var(--card));
437
- border: 1px solid hsl(var(--border));
438
- border-radius: 8px;
439
- box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
440
- }
441
-
442
- .modal.wide {
443
- width: min(100%, 480px);
444
- }
445
-
446
- .dlg,
447
- .fetch-form.dialog {
448
- padding: 16px;
449
- display: flex;
450
- flex-direction: column;
451
- gap: 14px;
452
- }
453
-
454
- .dlg h4,
455
- .dlg-h h4 {
456
- margin: 0;
457
- font-size: 14px;
458
- font-weight: 600;
459
- }
460
-
461
- .dlg-h {
462
- display: flex;
463
- align-items: center;
464
- gap: 10px;
465
- color: hsl(var(--primary));
466
- }
467
-
468
- .dlg-h h4 {
469
- color: hsl(var(--foreground));
470
- }
471
-
472
- .dlg-f {
473
- display: flex;
474
- justify-content: flex-end;
475
- gap: 8px;
476
- flex-wrap: wrap;
477
- }
478
-
479
- .dlg-f .left {
480
- margin-right: auto;
481
- }
482
-
483
- .dtx {
484
- margin: 0;
485
- font-size: 13px;
486
- }
487
-
488
- .hint {
489
- font-size: 11px;
490
- color: hsl(var(--muted-foreground));
491
- margin: 0;
492
- }
493
-
494
- .hint.block {
495
- display: block;
496
- margin-top: 2px;
497
- }
498
-
499
- .hint.err {
500
- color: hsl(var(--destructive));
501
- }
502
-
503
- .hint.where {
504
- color: hsl(var(--amber));
505
- }
506
-
507
- .fld {
508
- display: flex;
509
- flex-direction: column;
510
- gap: 6px;
511
- min-width: 0;
512
- }
513
-
514
- .fld > label,
515
- .fld > span:first-child,
516
- legend {
517
- font-size: 11px;
518
- text-transform: uppercase;
519
- letter-spacing: 0.05em;
520
- color: hsl(var(--muted-foreground));
521
- }
522
-
523
- .inp {
524
- width: 100%;
525
- min-width: 0;
526
- background: hsl(var(--muted));
527
- border: 1px solid hsl(var(--border));
528
- border-radius: 4px;
529
- color: hsl(var(--foreground));
530
- padding: 8px 10px;
531
- font-size: 12px;
532
- }
533
-
534
- .inp:focus {
535
- outline: none;
536
- border-color: hsl(var(--primary));
537
- }
538
-
539
- .inline-row {
540
- display: flex;
541
- gap: 8px;
542
- align-items: stretch;
543
- }
544
-
545
- .detect {
546
- display: flex;
547
- align-items: center;
548
- gap: 8px;
549
- font-size: 12px;
550
- color: hsl(var(--muted-foreground));
551
- min-height: 20px;
552
- min-width: 0;
553
- }
554
-
555
- .detect .host {
556
- overflow: hidden;
557
- text-overflow: ellipsis;
558
- white-space: nowrap;
559
- }
560
-
561
- .note {
562
- display: flex;
563
- gap: 8px;
564
- align-items: flex-start;
565
- font-size: 12px;
566
- line-height: 1.45;
567
- padding: 8px 10px;
568
- border-radius: 4px;
569
- border: 1px solid hsl(var(--border));
570
- background: hsl(var(--muted));
571
- }
572
-
573
- .note svg {
574
- flex: none;
575
- margin-top: 2px;
576
- }
577
-
578
- .note.err {
579
- border-color: hsl(var(--destructive) / 0.5);
580
- }
581
-
582
- .note.err svg {
583
- color: hsl(var(--destructive));
584
- }
585
-
586
- .note.warn {
587
- border-color: hsl(var(--amber) / 0.5);
588
- }
589
-
590
- .note.warn svg {
591
- color: hsl(var(--amber));
592
- }
593
-
594
- .note.info svg {
595
- color: hsl(var(--primary));
596
- }
597
-
598
- .or {
599
- display: flex;
600
- align-items: center;
601
- gap: 10px;
602
- color: hsl(var(--muted-foreground));
603
- font-size: 11px;
604
- text-transform: uppercase;
605
- letter-spacing: 0.06em;
606
- }
607
-
608
- .or::before,
609
- .or::after {
610
- content: '';
611
- flex: 1;
612
- height: 1px;
613
- background: hsl(var(--border));
614
- }
615
-
616
- .drop {
617
- border: 1px dashed hsl(var(--border));
618
- border-radius: 6px;
619
- padding: 14px;
620
- display: flex;
621
- align-items: center;
622
- gap: 12px;
623
- color: hsl(var(--muted-foreground));
624
- font-size: 12px;
625
- background: transparent;
626
- text-align: left;
627
- }
628
-
629
- .drop svg {
630
- color: hsl(var(--blue));
631
- flex: none;
632
- }
633
-
634
- .drop b {
635
- color: hsl(var(--foreground));
636
- font-weight: 500;
637
- }
638
-
639
- .filechip {
640
- display: flex;
641
- gap: 10px;
642
- align-items: center;
643
- padding: 10px;
644
- border: 1px solid hsl(var(--border));
645
- border-radius: 4px;
646
- background: hsl(var(--muted));
647
- }
648
-
649
- .filechip > svg {
650
- color: hsl(var(--blue));
651
- flex: none;
652
- }
653
-
654
- .filechip > div {
655
- flex: 1;
656
- min-width: 0;
657
- }
658
-
659
- .filechip b {
660
- display: block;
661
- font-weight: 600;
662
- overflow: hidden;
663
- text-overflow: ellipsis;
664
- white-space: nowrap;
665
- }
666
-
667
- .filechip span {
668
- color: hsl(var(--muted-foreground));
669
- font-size: 11px;
670
- }
671
-
672
- .filechip.bad {
673
- border-color: hsl(var(--destructive) / 0.55);
674
- }
675
-
676
- .filechip.bad > svg {
677
- color: hsl(var(--destructive));
678
- }
679
-
680
- .dest-row,
681
- .sa-dest {
682
- display: flex;
683
- gap: 8px;
684
- align-items: center;
685
- flex-wrap: wrap;
686
- }
687
-
688
- .dest {
689
- display: flex;
690
- align-items: center;
691
- gap: 8px;
692
- background: hsl(var(--bg));
693
- border: 1px solid hsl(var(--border));
694
- border-radius: 4px;
695
- padding: 7px 10px;
696
- font-size: 12px;
697
- min-width: 0;
698
- flex: 1 1 200px;
699
- }
700
-
701
- .dest span {
702
- overflow: hidden;
703
- text-overflow: ellipsis;
704
- white-space: nowrap;
705
- }
706
-
707
- .dest svg {
708
- color: hsl(var(--primary));
709
- flex: none;
710
- }
711
-
712
- fieldset.order {
713
- border: 0;
714
- margin: 0;
715
- padding: 0;
716
- display: flex;
717
- flex-direction: column;
718
- gap: 6px;
719
- }
720
-
721
- fieldset.order legend {
722
- margin-bottom: 6px;
723
- }
724
-
725
- .opt {
726
- display: flex;
727
- gap: 8px;
728
- align-items: flex-start;
729
- padding: 8px 10px;
730
- border: 1px solid hsl(var(--border));
731
- border-radius: 4px;
732
- font-size: 12px;
733
- cursor: pointer;
734
- }
735
-
736
- .opt.on {
737
- border-color: hsl(var(--primary));
738
- background: hsl(var(--primary) / 0.08);
739
- }
740
-
741
- .opt input,
742
- .checkline input,
743
- .seg input {
744
- accent-color: hsl(var(--primary));
745
- margin: 2px 0 0;
746
- }
747
-
748
- .checkline {
749
- display: flex;
750
- gap: 8px;
751
- align-items: flex-start;
752
- font-size: 12px;
753
- cursor: pointer;
754
- }
755
-
756
- .login {
757
- display: flex;
758
- flex-direction: column;
759
- gap: 8px;
760
- }
761
-
762
- .login > .lnk {
763
- align-self: flex-start;
764
- padding-left: 0;
765
- }
766
-
767
- .auth {
768
- display: flex;
769
- flex-direction: column;
770
- gap: 10px;
771
- padding: 10px;
772
- border: 1px solid hsl(var(--border));
773
- border-radius: 4px;
774
- }
775
-
776
- .seg {
777
- display: flex;
778
- flex-wrap: wrap;
779
- gap: 6px;
780
- }
781
-
782
- .seg label {
783
- display: flex;
784
- gap: 6px;
785
- align-items: center;
786
- font-size: 11px;
787
- padding: 4px 8px;
788
- border: 1px solid hsl(var(--border));
789
- border-radius: 999px;
790
- cursor: pointer;
791
- }
792
-
793
- .seg label.on {
794
- border-color: hsl(var(--primary));
795
- color: hsl(var(--primary));
796
- }
797
-
798
- .seg input {
799
- margin: 0;
800
- }
801
-
802
- .crumbs {
803
- display: flex;
804
- flex-wrap: wrap;
805
- align-items: center;
806
- gap: 2px;
807
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
808
- }
809
-
810
- .crumbs .lnk {
811
- font-size: 12px;
812
- }
813
-
814
- .crumbs .sep {
815
- color: hsl(var(--muted-foreground));
816
- }
817
-
818
- .folders {
819
- display: flex;
820
- flex-direction: column;
821
- border: 1px solid hsl(var(--border));
822
- border-radius: 4px;
823
- max-height: 220px;
824
- overflow: auto;
825
- }
826
-
827
- .folders .muted {
828
- padding: 10px;
829
- }
830
-
831
- .folder-row {
832
- display: flex;
833
- align-items: center;
834
- gap: 8px;
835
- padding: 7px 10px;
836
- border: 0;
837
- border-bottom: 1px solid hsl(var(--border) / 0.6);
838
- background: transparent;
839
- text-align: left;
840
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
841
- font-size: 12px;
842
- }
843
-
844
- .folder-row:hover {
845
- background: hsl(var(--muted));
846
- }
847
-
848
- .folder-row svg {
849
- color: hsl(var(--primary));
850
- }
851
-
852
- .blocker {
853
- display: flex;
854
- flex-direction: column;
855
- gap: 10px;
856
- }
857
-
858
- /* ---------- empty, loading ---------- */
859
-
860
- .empty {
861
- display: flex;
862
- flex-direction: column;
863
- align-items: center;
864
- text-align: center;
865
- gap: 8px;
866
- padding: 30px 20px;
867
- }
868
-
869
- .empty > svg {
870
- color: hsl(var(--muted-foreground));
871
- }
872
-
873
- .empty b {
874
- font-size: 14px;
875
- font-weight: 600;
876
- }
877
-
878
- .empty span {
879
- color: hsl(var(--muted-foreground));
880
- font-size: 12px;
881
- max-width: 44ch;
882
- }
883
-
884
- .spin {
885
- width: 22px;
886
- height: 22px;
887
- border-radius: 50%;
888
- border: 3px solid hsl(var(--border));
889
- border-top-color: hsl(var(--primary));
890
- animation: spin 1s linear infinite;
891
- }
892
-
893
- @keyframes spin {
894
- to {
895
- transform: rotate(360deg);
896
- }
897
- }
898
-
899
- /* ---------- standalone ---------- */
900
-
901
- .standalone {
902
- display: flex;
903
- flex-direction: column;
904
- min-height: 100%;
905
- }
906
-
907
- .sa-head {
908
- padding: 14px 16px 10px;
909
- display: flex;
910
- flex-direction: column;
911
- gap: 4px;
912
- }
913
-
914
- .sa-title {
915
- display: flex;
916
- align-items: baseline;
917
- gap: 10px;
918
- flex-wrap: wrap;
919
- }
920
-
921
- .sa-title h3 {
922
- margin: 0;
923
- font-size: 16px;
924
- font-weight: 600;
925
- }
926
-
927
- .sa-title .node {
928
- color: hsl(var(--muted-foreground));
929
- }
930
-
931
- .saving {
932
- font-size: 12px;
933
- color: hsl(var(--muted-foreground));
934
- }
935
-
936
- .sa-add {
937
- padding: 0 16px 14px;
938
- display: flex;
939
- flex-direction: column;
940
- gap: 10px;
941
- border-bottom: 1px solid hsl(var(--border));
942
- }
943
-
944
- .fetch-form.inline {
945
- display: flex;
946
- flex-direction: column;
947
- gap: 10px;
948
- }
949
-
950
- .tabs {
951
- display: flex;
952
- gap: 4px;
953
- padding: 0 10px;
954
- border-bottom: 1px solid hsl(var(--border));
955
- overflow-x: auto;
956
- }
957
-
958
- .tabs button {
959
- padding: 9px 10px;
960
- font-size: 12px;
961
- color: hsl(var(--muted-foreground));
962
- border: 0;
963
- border-bottom: 2px solid transparent;
964
- background: none;
965
- white-space: nowrap;
966
- }
967
-
968
- .tabs button.on {
969
- color: hsl(var(--foreground));
970
- border-bottom-color: hsl(var(--primary));
971
- }
972
-
973
- .tabs b {
974
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
975
- font-weight: 500;
976
- color: hsl(var(--muted-foreground));
977
- margin-left: 6px;
978
- }
979
-
980
- .tab-h {
981
- display: flex;
982
- justify-content: space-between;
983
- align-items: center;
984
- padding: 8px 12px;
985
- font-size: 12px;
986
- color: hsl(var(--muted-foreground));
987
- border-bottom: 1px solid hsl(var(--border) / 0.6);
988
- }
989
-
990
- /* ---------- notices ---------- */
991
-
992
- .toasts {
993
- position: absolute;
994
- left: 12px;
995
- right: 12px;
996
- bottom: 12px;
997
- display: flex;
998
- flex-direction: column;
999
- gap: 8px;
1000
- z-index: 30;
1001
- pointer-events: none;
1002
- align-items: flex-end;
1003
- }
1004
-
1005
- :host(.standalone) .toasts {
1006
- position: sticky;
1007
- margin: 12px;
1008
- }
1009
-
1010
- .toast {
1011
- pointer-events: auto;
1012
- display: flex;
1013
- gap: 10px;
1014
- align-items: center;
1015
- padding: 10px 12px;
1016
- background: hsl(var(--bg));
1017
- border: 1px solid hsl(var(--primary) / 0.5);
1018
- border-radius: 6px;
1019
- width: min(100%, 420px);
1020
- box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7);
1021
- }
1022
-
1023
- .toast > svg {
1024
- color: hsl(var(--primary));
1025
- flex: none;
1026
- }
1027
-
1028
- .toast.bad {
1029
- border-color: hsl(var(--destructive) / 0.55);
1030
- }
1031
-
1032
- .toast.bad > svg {
1033
- color: hsl(var(--destructive));
1034
- }
1035
-
1036
- .toast .t {
1037
- flex: 1;
1038
- min-width: 0;
1039
- }
1040
-
1041
- .toast .t b {
1042
- display: block;
1043
- font-weight: 600;
1044
- }
1045
-
1046
- .toast .t span {
1047
- color: hsl(var(--muted-foreground));
1048
- font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
1049
- font-size: 11px;
1050
- overflow: hidden;
1051
- text-overflow: ellipsis;
1052
- white-space: nowrap;
1053
- display: block;
1054
- }
1055
-
1056
- /* ---------- player overlay ---------- */
1057
-
1058
- .overlay.player {
1059
- padding: 10px;
1060
- }
1061
-
1062
- .overlay.player phirepass-media-player {
1063
- width: min(100%, 880px);
1064
- }
1065
-
1066
- /* ---------- narrow (phone, H3) ---------- */
1067
-
1068
- @container (max-width: 480px) {
1069
- .job {
1070
- padding: 9px 10px;
1071
- }
1072
-
1073
- .job .title .pill.meta {
1074
- display: none;
1075
- }
1076
-
1077
- .inline-row {
1078
- flex-wrap: wrap;
1079
- }
1080
-
1081
- .inline-row .inp {
1082
- flex-basis: 100%;
1083
- }
1084
-
1085
- .inline-row .btn.pri {
1086
- flex: 1;
1087
- justify-content: center;
1088
- }
1089
-
1090
- .stats {
1091
- gap: 2px 10px;
1092
- }
1093
- }
1094
-
1095
- @media (prefers-reduced-motion: reduce) {
1096
- .bar i {
1097
- transition: none;
1098
- }
1099
-
1100
- .bar.indet i {
1101
- animation: none;
1102
- width: 100% !important;
1103
- opacity: 0.5;
1104
- }
1105
-
1106
- .spin {
1107
- animation: none;
1108
- }
1109
- }