@ash-qw/dsh-theme-prts 0.1.93 → 0.1.95

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.
@@ -408,7 +408,7 @@ html[data-dsh-prts] [data-prts-settings-advanced] summary::after {
408
408
  html[data-dsh-prts] [data-prts-settings-advanced][open] summary::after { content: "−"; }
409
409
  html[data-dsh-prts] [data-prts-settings-advanced-content] {
410
410
  display: grid;
411
- grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
411
+ grid-template-columns: minmax(0, 1fr);
412
412
  border-top: 1px solid var(--prts-line-strong);
413
413
  }
414
414
 
@@ -458,151 +458,6 @@ html[data-dsh-prts] [data-prts-particle-traversal-output] {
458
458
  }
459
459
  html[data-dsh-prts] [data-prts-particle-error] { margin: 8px 0 0; color: var(--prts-yellow); font: 700 8px/1.4 var(--prts-mono); }
460
460
 
461
- html[data-dsh-prts] [data-prts-scale-calibration] {
462
- --prts-calibration-distance: 96px;
463
- margin: 8px 0 0;
464
- padding: 8px;
465
- overflow: hidden;
466
- border: 1px solid var(--prts-line);
467
- background: color-mix(in srgb, var(--prts-panel-raised) 84%, transparent);
468
- }
469
-
470
- html[data-dsh-prts] [data-prts-scale-calibration-viewport] {
471
- position: relative;
472
- width: 100%;
473
- height: 94px;
474
- overflow: hidden;
475
- }
476
-
477
- html[data-dsh-prts] [data-prts-scale-calibration-canvas] {
478
- position: absolute;
479
- top: 0;
480
- left: 0;
481
- width: 360px;
482
- height: 94px;
483
- transform-origin: top left;
484
- }
485
-
486
- html[data-dsh-prts] [data-prts-scale-calibration-sidebar] {
487
- position: absolute;
488
- inset: 8px auto 8px 0;
489
- width: 4px;
490
- background: var(--prts-line-strong);
491
- box-shadow: 8px 0 0 color-mix(in srgb, var(--prts-line) 45%, transparent);
492
- }
493
-
494
- html[data-dsh-prts] [data-prts-scale-calibration-measure] {
495
- position: absolute;
496
- top: 6px;
497
- left: 0;
498
- width: var(--prts-calibration-distance);
499
- height: 18px;
500
- border-top: 1px solid var(--prts-cyan);
501
- color: var(--prts-cyan);
502
- }
503
-
504
- html[data-dsh-prts] [data-prts-scale-calibration-measure]::before,
505
- html[data-dsh-prts] [data-prts-scale-calibration-measure]::after {
506
- content: "";
507
- position: absolute;
508
- top: -4px;
509
- width: 1px;
510
- height: 7px;
511
- background: currentColor;
512
- }
513
-
514
- html[data-dsh-prts] [data-prts-scale-calibration-measure]::before { left: 0; }
515
- html[data-dsh-prts] [data-prts-scale-calibration-measure]::after { right: 0; }
516
-
517
- html[data-dsh-prts] [data-prts-scale-calibration-value] {
518
- position: absolute;
519
- top: 4px;
520
- right: 3px;
521
- padding-left: 4px;
522
- background: var(--prts-panel-raised);
523
- color: currentColor;
524
- font: 800 8px/1 var(--prts-mono);
525
- }
526
-
527
- html[data-dsh-prts] [data-prts-scale-calibration-rail] {
528
- position: absolute;
529
- top: 29px;
530
- left: var(--prts-calibration-distance);
531
- width: 32px;
532
- height: 58px;
533
- border: 1px solid var(--prts-line-strong);
534
- background: color-mix(in srgb, var(--prts-canvas) 62%, transparent);
535
- }
536
-
537
- html[data-dsh-prts] [data-prts-scale-calibration-rail] i {
538
- position: absolute;
539
- top: calc(5px + var(--prts-calibration-tick) * 6px);
540
- left: 2px;
541
- width: 9px;
542
- height: 1px;
543
- background: var(--prts-muted);
544
- }
545
-
546
- html[data-dsh-prts] [data-prts-scale-calibration-rail] i:nth-child(4n + 1) { width: 24px; }
547
- html[data-dsh-prts] [data-prts-scale-calibration-rail] i:nth-child(4n + 2) { width: 18px; }
548
- html[data-dsh-prts] [data-prts-scale-calibration-rail] i:last-child { width: 24px; background: var(--prts-yellow); }
549
-
550
- html[data-dsh-prts] [data-prts-scale-calibration-gap] {
551
- position: absolute;
552
- top: 29px;
553
- left: calc(var(--prts-calibration-distance) + 32px);
554
- width: 12px;
555
- height: 58px;
556
- background: repeating-linear-gradient(135deg, transparent 0 3px, color-mix(in srgb, var(--prts-line) 42%, transparent) 3px 4px);
557
- }
558
-
559
- html[data-dsh-prts] [data-prts-scale-calibration-content] {
560
- position: absolute;
561
- inset: 29px 0 7px calc(var(--prts-calibration-distance) + 44px);
562
- min-width: 16px;
563
- overflow: hidden;
564
- border-left: 1px solid var(--prts-cyan);
565
- background: color-mix(in srgb, var(--prts-panel) 84%, transparent);
566
- }
567
-
568
- html[data-dsh-prts] [data-prts-scale-calibration-content] i {
569
- display: block;
570
- width: min(78%, 138px);
571
- height: 1px;
572
- margin: 18px 10px 9px;
573
- background: var(--prts-line-strong);
574
- box-shadow: 0 8px 0 var(--prts-line);
575
- }
576
-
577
- html[data-dsh-prts] [data-prts-scale-calibration-content] small {
578
- margin-left: 10px;
579
- color: var(--prts-dim);
580
- font: 700 7px/1 var(--prts-mono);
581
- white-space: nowrap;
582
- }
583
-
584
- html[data-dsh-prts] [data-prts-scale-calibration-meta] {
585
- min-height: 20px;
586
- display: flex;
587
- align-items: center;
588
- justify-content: space-between;
589
- gap: 8px;
590
- margin-top: 4px;
591
- padding-top: 7px;
592
- border-top: 1px solid var(--prts-line);
593
- font: 700 8px/1.3 var(--prts-mono);
594
- }
595
-
596
- html[data-dsh-prts] [data-prts-scale-calibration-status] {
597
- margin-left: auto;
598
- color: var(--prts-muted);
599
- text-align: right;
600
- }
601
-
602
- html[data-dsh-prts] [data-prts-scale-calibration][data-prts-calibration-mode="configured"] [data-prts-scale-calibration-status],
603
- html[data-dsh-prts] [data-prts-scale-calibration][data-prts-calibration-mode="simulated"] [data-prts-scale-calibration-status] { color: var(--prts-cyan); }
604
- html[data-dsh-prts] [data-prts-scale-calibration][data-prts-calibration-mode="centered"] [data-prts-scale-calibration-status],
605
- html[data-dsh-prts] [data-prts-scale-calibration-scale] { color: var(--prts-yellow); }
606
461
  html[data-dsh-prts] [data-prts-setting-range-row] {
607
462
  display: grid;
608
463
  gap: 7px;
@@ -619,30 +474,6 @@ html[data-dsh-prts] [data-prts-setting-range-row] input[type="range"] {
619
474
  flex: 1;
620
475
  }
621
476
  html[data-dsh-prts] [data-prts-setting-range] { accent-color: var(--prts-cyan); }
622
- html[data-dsh-prts] :is([data-prts-scale-distance-output], [data-prts-scale-focus-output]) {
623
- min-width: 42px;
624
- color: var(--prts-cyan);
625
- font: 800 8px/1 var(--prts-mono);
626
- text-align: right;
627
- }
628
-
629
- html[data-dsh-prts] [data-prts-scale-focus-preview] {
630
- width: 34px;
631
- min-width: 34px;
632
- height: 30px;
633
- display: grid;
634
- align-content: center;
635
- gap: 4px;
636
- }
637
-
638
- html[data-dsh-prts] [data-prts-scale-focus-preview] i {
639
- display: block;
640
- height: 1px;
641
- max-width: 30px;
642
- background: var(--prts-yellow);
643
- transition: width 100ms ease;
644
- }
645
-
646
477
  html[data-dsh-prts] [data-prts-settings-actions] {
647
478
  min-height: 58px;
648
479
  display: block;
@@ -690,10 +521,6 @@ html[data-dsh-prts] :is(
690
521
  [data-prts-setting-note],
691
522
  [data-prts-settings-advanced-content] section > header span,
692
523
  [data-prts-particle-error],
693
- [data-prts-scale-calibration-value],
694
- [data-prts-scale-calibration-content] small,
695
- [data-prts-scale-calibration-meta],
696
- [data-prts-scale-distance-output],
697
524
  [data-prts-reset-confirm]
698
525
  ) {
699
526
  font-size: var(--prts-settings-small);