cladogram 0.5.5-beta.6 → 0.5.5-beta.8

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.
@@ -84,7 +84,24 @@
84
84
  .clado-plugin-slot[data-slot="top-left"] { top: max(14px, env(safe-area-inset-top)); left: max(16px, env(safe-area-inset-left)); max-width: calc(100vw - 250px); flex-direction: column; align-items: start; }
85
85
  .clado-plugin-slot[data-slot="top-right"] { top: max(14px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); flex-direction: column; align-items: end; }
86
86
  .clado-plugin-slot[data-slot="bottom-left"] { bottom: max(16px, env(safe-area-inset-bottom)); left: max(16px, env(safe-area-inset-left)); align-items: end; }
87
- .clado-plugin-slot[data-slot="bottom-right"] { bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); flex-direction: column-reverse; align-items: end; }
87
+ .clado-plugin-slot[data-slot="bottom-right"] { bottom: max(14px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); flex-direction: column-reverse; align-items: end; z-index: 26; max-width: calc(100vw - 20px); }
88
+ .clado-plugin-slot[data-slot="bottom-center"] { left: 10px; right: 10px; bottom: max(12px, env(safe-area-inset-bottom)); justify-content: center; align-items: end; z-index: 26; }
89
+ @media (max-width: 760px) {
90
+ .clado-plugin-slot[data-slot="bottom-right"] {
91
+ left: 10px;
92
+ right: 10px;
93
+ bottom: max(12px, env(safe-area-inset-bottom));
94
+ max-width: calc(100vw - 20px);
95
+ }
96
+ body[data-agent-dock="open"] .clado-plugin-slot[data-slot="bottom-left"] {
97
+ opacity: 0;
98
+ transform: translateY(8px) scale(.96);
99
+ pointer-events: none;
100
+ }
101
+ body[data-agent-dock="open"] .clado-plugin-slot[data-slot="bottom-left"] > * {
102
+ pointer-events: none;
103
+ }
104
+ }
88
105
  :where(.clado-ui-glass) {
89
106
  position: relative;
90
107
  z-index: 0;
@@ -205,3 +222,363 @@
205
222
  .clado-plugin-slot[data-slot="bottom-left"] { bottom: max(12px, env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); }
206
223
  .clado-plugin-slot[data-slot="bottom-right"] { bottom: max(12px, env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); }
207
224
  }
225
+
226
+ /* ============ 顶部悬浮多选汇总条(移动端严格视口居中收缩,零换行越界) ============ */
227
+ .clado-selection-bar {
228
+ position: fixed;
229
+ top: calc(max(12px, env(safe-area-inset-top)) + 52px);
230
+ left: 10px;
231
+ right: 10px;
232
+ width: fit-content;
233
+ max-width: min(480px, calc(100vw - 20px));
234
+ margin: 0 auto;
235
+ z-index: 32;
236
+ min-height: 36px;
237
+ border-radius: 999px;
238
+ padding: 4px 6px 4px 12px;
239
+ display: flex;
240
+ align-items: center;
241
+ gap: 8px;
242
+ font: 12px/1.3 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
243
+ color: var(--clado-ui-text);
244
+ background: rgba(255, 255, 255, 0.36);
245
+ backdrop-filter: blur(20px) saturate(185%) brightness(1.06);
246
+ -webkit-backdrop-filter: blur(20px) saturate(185%) brightness(1.06);
247
+ border: 1px solid rgba(255, 255, 255, 0.84);
248
+ box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05), 0 0 0 0.5px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.96);
249
+ opacity: 0;
250
+ pointer-events: none;
251
+ transform: translateY(-8px) scale(0.96);
252
+ transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
253
+ box-sizing: border-box;
254
+ }
255
+ :root[data-theme="dark"] .clado-selection-bar {
256
+ background: rgba(20, 25, 36, 0.38);
257
+ backdrop-filter: blur(20px) saturate(195%);
258
+ -webkit-backdrop-filter: blur(20px) saturate(195%);
259
+ border-color: rgba(255, 255, 255, 0.18);
260
+ box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 0 0.5px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
261
+ }
262
+ .clado-selection-bar.show {
263
+ opacity: 1;
264
+ pointer-events: auto;
265
+ transform: translateY(0) scale(1);
266
+ }
267
+ .clado-selection-dot {
268
+ flex: 0 0 auto;
269
+ width: 7px;
270
+ height: 7px;
271
+ border-radius: 999px;
272
+ background: var(--clado-ui-brand);
273
+ }
274
+ .clado-selection-text {
275
+ flex: 1 1 auto;
276
+ min-width: 0;
277
+ font-weight: 600;
278
+ white-space: nowrap;
279
+ overflow: hidden;
280
+ text-overflow: ellipsis;
281
+ }
282
+ .clado-selection-send {
283
+ appearance: none;
284
+ flex: 0 0 auto;
285
+ height: 26px;
286
+ border: 0;
287
+ background: var(--clado-ui-brand);
288
+ color: #fff;
289
+ font: inherit;
290
+ font-size: 11.5px;
291
+ font-weight: 600;
292
+ padding: 0 10px;
293
+ border-radius: 999px;
294
+ white-space: nowrap;
295
+ cursor: pointer;
296
+ }
297
+ .clado-selection-clear {
298
+ appearance: none;
299
+ flex: 0 0 auto;
300
+ height: 26px;
301
+ border: 0;
302
+ background: transparent;
303
+ color: var(--clado-ui-muted);
304
+ font: inherit;
305
+ font-size: 12px;
306
+ font-weight: 550;
307
+ padding: 0 8px;
308
+ border-radius: 999px;
309
+ white-space: nowrap;
310
+ cursor: pointer;
311
+ }
312
+
313
+ /* ============ 双级长按画布上下文浮层 ============ */
314
+ .clado-canvas-ctx-menu {
315
+ position: fixed;
316
+ z-index: 94;
317
+ display: flex;
318
+ flex-direction: column;
319
+ gap: 3px;
320
+ padding: 6px;
321
+ border-radius: 16px;
322
+ min-width: 184px;
323
+ max-width: calc(100vw - 20px);
324
+ background: var(--clado-ui-popover);
325
+ backdrop-filter: blur(24px) saturate(190%);
326
+ -webkit-backdrop-filter: blur(24px) saturate(190%);
327
+ border: 1px solid var(--clado-ui-glass-outline);
328
+ box-shadow: var(--clado-ui-glass-shadow);
329
+ font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
330
+ color: var(--clado-ui-text);
331
+ opacity: 0;
332
+ pointer-events: none;
333
+ transform: scale(0.93) translateY(6px);
334
+ transform-origin: bottom center;
335
+ transition: opacity 180ms cubic-bezier(0.22, 1, 0.36, 1), transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
336
+ box-sizing: border-box;
337
+ }
338
+ .clado-canvas-ctx-menu.open,
339
+ .clado-canvas-ctx-menu.show {
340
+ opacity: 1;
341
+ pointer-events: auto;
342
+ transform: scale(1) translateY(0);
343
+ }
344
+ .clado-canvas-ctx-head {
345
+ padding: 3px 9px 5px;
346
+ font-size: 10.5px;
347
+ font-weight: 600;
348
+ color: var(--clado-ui-subtle);
349
+ display: flex;
350
+ align-items: center;
351
+ justify-content: space-between;
352
+ gap: 8px;
353
+ border-bottom: 1px solid var(--clado-ui-edge);
354
+ margin-bottom: 2px;
355
+ }
356
+ .clado-canvas-ctx-sep {
357
+ height: 1px;
358
+ background: var(--clado-ui-edge);
359
+ margin: 2px 6px;
360
+ }
361
+ .clado-canvas-ctx-item {
362
+ appearance: none;
363
+ border: 1px solid transparent;
364
+ background: transparent;
365
+ color: var(--clado-ui-text);
366
+ font: inherit;
367
+ font-size: 12.5px;
368
+ font-weight: 520;
369
+ padding: 7.5px 10px;
370
+ border-radius: 10px;
371
+ text-align: left;
372
+ cursor: pointer;
373
+ display: flex;
374
+ align-items: center;
375
+ justify-content: space-between;
376
+ gap: 10px;
377
+ }
378
+ .clado-canvas-ctx-item:hover,
379
+ .clado-canvas-ctx-item:active {
380
+ background: var(--clado-ui-active);
381
+ border-color: var(--clado-ui-glass-outline);
382
+ }
383
+ .clado-canvas-ctx-item.danger { color: #e11d48; }
384
+ :root[data-theme="dark"] .clado-canvas-ctx-item.danger { color: #fb7185; }
385
+
386
+ /* ============ 36% 冰晶毛玻璃插件市场浮层 ============ */
387
+ .clado-market-overlay {
388
+ position: fixed;
389
+ inset: 0;
390
+ z-index: 86;
391
+ padding: calc(max(12px, env(safe-area-inset-top)) + 48px) 10px max(16px, env(safe-area-inset-bottom));
392
+ overflow: visible;
393
+ pointer-events: none;
394
+ visibility: hidden;
395
+ font: 13px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
396
+ color: var(--clado-ui-text);
397
+ transition: visibility 0s linear 280ms;
398
+ }
399
+ .clado-market-overlay * { box-sizing: border-box; }
400
+ .clado-market-overlay.show {
401
+ pointer-events: auto;
402
+ visibility: visible;
403
+ transition-delay: 0s;
404
+ }
405
+ .clado-market-sheet {
406
+ max-width: 480px;
407
+ max-height: calc(100dvh - 76px);
408
+ overflow-y: auto;
409
+ -webkit-overflow-scrolling: touch;
410
+ touch-action: pan-y;
411
+ margin: 0 auto;
412
+ padding: 14px;
413
+ border-radius: 22px;
414
+ display: flex;
415
+ flex-direction: column;
416
+ gap: 10px;
417
+ background: rgba(255, 255, 255, 0.36);
418
+ backdrop-filter: blur(20px) saturate(185%) brightness(1.06);
419
+ -webkit-backdrop-filter: blur(20px) saturate(185%) brightness(1.06);
420
+ border: 1px solid rgba(255, 255, 255, 0.84);
421
+ box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045), 0 0 0 0.5px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.96), inset 0 0 22px rgba(255, 255, 255, 0.28);
422
+ opacity: 0;
423
+ transform: translateY(10px) scale(0.985);
424
+ transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1), transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
425
+ }
426
+ :root[data-theme="dark"] .clado-market-sheet {
427
+ background: rgba(20, 25, 36, 0.38);
428
+ backdrop-filter: blur(20px) saturate(195%);
429
+ -webkit-backdrop-filter: blur(20px) saturate(195%);
430
+ border-color: rgba(255, 255, 255, 0.18);
431
+ box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 0 0.5px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
432
+ }
433
+ .clado-market-overlay.show .clado-market-sheet {
434
+ opacity: 1;
435
+ transform: translateY(0) scale(1);
436
+ }
437
+ .clado-market-well {
438
+ background: rgba(255, 255, 255, 0.34);
439
+ border: 1px solid rgba(255, 255, 255, 0.72);
440
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
441
+ border-radius: 15px;
442
+ }
443
+ :root[data-theme="dark"] .clado-market-well {
444
+ background: rgba(255, 255, 255, 0.065);
445
+ border-color: rgba(255, 255, 255, 0.14);
446
+ box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
447
+ }
448
+ .clado-market-tabs {
449
+ display: inline-flex;
450
+ gap: 2px;
451
+ padding: 2.5px;
452
+ border-radius: 10px;
453
+ background: var(--clado-ui-track);
454
+ border: 0.5px solid var(--clado-ui-well-border);
455
+ }
456
+ .clado-market-tab {
457
+ appearance: none;
458
+ border: 1px solid transparent;
459
+ background: transparent;
460
+ color: var(--clado-ui-muted);
461
+ font: inherit;
462
+ font-size: 11.5px;
463
+ font-weight: 520;
464
+ padding: 4.5px 9px;
465
+ border-radius: 8px;
466
+ cursor: pointer;
467
+ white-space: nowrap;
468
+ }
469
+ .clado-market-tab.active {
470
+ color: var(--clado-ui-text);
471
+ font-weight: 620;
472
+ background: var(--clado-ui-active);
473
+ border-color: var(--clado-ui-glass-outline);
474
+ box-shadow: var(--clado-ui-active-shadow);
475
+ }
476
+ .clado-market-card {
477
+ padding: 12px;
478
+ cursor: pointer;
479
+ transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), background-color 150ms ease;
480
+ }
481
+ .clado-market-card:hover { background: var(--clado-ui-hover); }
482
+ .clado-market-card:active { transform: scale(0.985); }
483
+ .clado-risk-pill {
484
+ display: inline-flex;
485
+ align-items: center;
486
+ padding: 1px 6.5px;
487
+ border-radius: 6px;
488
+ font-size: 10px;
489
+ font-weight: 600;
490
+ }
491
+ .clado-risk-low { background: rgba(16, 185, 129, 0.13); color: #059669; }
492
+ .clado-risk-medium { background: rgba(245, 158, 11, 0.15); color: #d97706; }
493
+ .clado-risk-high { background: rgba(244, 63, 94, 0.13); color: #e11d48; }
494
+ :root[data-theme="dark"] .clado-risk-low { color: #34d399; }
495
+ :root[data-theme="dark"] .clado-risk-medium { color: #fbbf24; }
496
+ :root[data-theme="dark"] .clado-risk-high { color: #fda4af; }
497
+
498
+ /* ============ 36% 冰晶毛玻璃本机工作区选择器与新项目启动台 ============ */
499
+ .clado-launchpad-wrap {
500
+ min-height: 100%;
501
+ display: flex;
502
+ align-items: center;
503
+ justify-content: center;
504
+ padding: 64px 16px 110px;
505
+ background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
506
+ background-size: 22px 22px;
507
+ }
508
+ :root[data-theme="dark"] .clado-launchpad-wrap {
509
+ background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
510
+ }
511
+ .clado-launchpad-card {
512
+ width: 100%;
513
+ max-width: 460px;
514
+ padding: 22px 20px;
515
+ border-radius: 24px;
516
+ text-align: left;
517
+ display: flex;
518
+ flex-direction: column;
519
+ gap: 14px;
520
+ background: rgba(255, 255, 255, 0.42);
521
+ backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
522
+ -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(1.06);
523
+ border: 1px solid rgba(255, 255, 255, 0.86);
524
+ box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06), 0 0 0 0.5px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.96);
525
+ }
526
+ :root[data-theme="dark"] .clado-launchpad-card {
527
+ background: rgba(20, 25, 36, 0.44);
528
+ border-color: rgba(255, 255, 255, 0.18);
529
+ box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
530
+ }
531
+ .clado-launchpad-actions {
532
+ display: grid;
533
+ grid-template-columns: 1fr;
534
+ gap: 8px;
535
+ }
536
+ .clado-launchpad-btn {
537
+ appearance: none;
538
+ width: 100%;
539
+ padding: 11px 13px;
540
+ border-radius: 14px;
541
+ border: 1px solid var(--clado-ui-well-border);
542
+ background: var(--clado-ui-well);
543
+ color: var(--clado-ui-text);
544
+ font: inherit;
545
+ text-align: left;
546
+ cursor: pointer;
547
+ display: flex;
548
+ align-items: center;
549
+ justify-content: space-between;
550
+ gap: 10px;
551
+ transition: background-color 150ms ease, transform 140ms ease, border-color 150ms ease;
552
+ }
553
+ .clado-launchpad-btn:hover {
554
+ background: var(--clado-ui-hover);
555
+ border-color: var(--clado-ui-glass-outline);
556
+ }
557
+ .clado-launchpad-btn:active { transform: scale(0.99); }
558
+ .clado-launchpad-btn.primary {
559
+ background: rgba(37, 99, 235, 0.11);
560
+ border-color: rgba(37, 99, 235, 0.28);
561
+ }
562
+ .clado-folder-row {
563
+ appearance: none;
564
+ width: 100%;
565
+ padding: 8px 10px;
566
+ border-radius: 10px;
567
+ border: 1px solid transparent;
568
+ background: transparent;
569
+ color: var(--clado-ui-text);
570
+ font: inherit;
571
+ font-size: 12.5px;
572
+ text-align: left;
573
+ cursor: pointer;
574
+ display: flex;
575
+ align-items: center;
576
+ justify-content: space-between;
577
+ gap: 8px;
578
+ }
579
+ .clado-folder-row:hover {
580
+ background: var(--clado-ui-hover);
581
+ border-color: var(--clado-ui-well-border);
582
+ }
583
+
584
+