cherry-markdown 0.11.7 → 0.11.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.
@@ -122695,7 +122695,7 @@
122695
122695
  delete plugins[key];
122696
122696
  });
122697
122697
  }
122698
- var VERSION$2 = "0.11.7";
122698
+ var VERSION$2 = "0.11.8";
122699
122699
 
122700
122700
  /**
122701
122701
  * @typedef {object} CherryPluginClass
@@ -3442,7 +3442,6 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3442
3442
 
3443
3443
  .cherry-markdown .cherry-timeline--item:hover .cherry-timeline--node {
3444
3444
  transform: scale(1.15);
3445
- animation: cherry-timeline-glow 1.8s ease-in-out infinite;
3446
3445
  }
3447
3446
 
3448
3447
  .cherry-markdown .cherry-timeline--content {
@@ -3493,8 +3492,6 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3493
3492
 
3494
3493
  /* ---------- 状态:已完成 ---------- */
3495
3494
  .cherry-markdown .cherry-timeline--item__done .cherry-timeline--node {
3496
- --timeline-glow-color: rgba(64, 192, 87, 0.35);
3497
- --timeline-glow-color-fade: rgba(64, 192, 87, 0);
3498
3495
  background: var(--timeline-done-color, var(--color-success));
3499
3496
  border-color: var(--timeline-done-color, var(--color-success));
3500
3497
  }
@@ -3504,12 +3501,12 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3504
3501
  background: rgba(64, 192, 87, 0.1);
3505
3502
  }
3506
3503
 
3507
- /* ---------- 状态:进行中(hover 脉冲光晕) ---------- */
3504
+ /* ---------- 状态:进行中(脉冲 + 主色时间戳) ---------- */
3508
3505
  .cherry-markdown .cherry-timeline--item__doing .cherry-timeline--node {
3509
- --timeline-glow-color: rgba(53, 130, 251, 0.35);
3510
- --timeline-glow-color-fade: rgba(53, 130, 251, 0);
3511
3506
  background: var(--timeline-doing-color, var(--primary-color));
3512
3507
  border-color: var(--timeline-doing-color, var(--primary-color));
3508
+ box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 6px var(--timeline-doing-shadow-color, rgba(53, 130, 251, 0.18));
3509
+ animation: cherry-timeline-pulse 1.8s ease-in-out infinite;
3513
3510
  }
3514
3511
 
3515
3512
  .cherry-markdown .cherry-timeline--item__doing .cherry-timeline--time {
@@ -3521,29 +3518,25 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3521
3518
  color: var(--timeline-doing-color, var(--primary-color));
3522
3519
  }
3523
3520
 
3524
- @keyframes cherry-timeline-glow {
3521
+ @keyframes cherry-timeline-pulse {
3525
3522
  0% {
3526
- box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 3px var(--timeline-glow-color, rgba(53, 130, 251, 0.35));
3523
+ box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 3px var(--timeline-doing-pulse-from, rgba(53, 130, 251, 0.35));
3527
3524
  }
3528
3525
  70% {
3529
- box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 10px var(--timeline-glow-color-fade, rgba(53, 130, 251, 0));
3526
+ box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 10px var(--timeline-doing-pulse-to, rgba(53, 130, 251, 0));
3530
3527
  }
3531
3528
  100% {
3532
- box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 10px var(--timeline-glow-color-fade, rgba(53, 130, 251, 0));
3529
+ box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 0 10px var(--timeline-doing-pulse-to, rgba(53, 130, 251, 0));
3533
3530
  }
3534
3531
  }
3535
3532
  /* ---------- 状态:待办 ---------- */
3536
3533
  .cherry-markdown .cherry-timeline--item__todo .cherry-timeline--node {
3537
- --timeline-glow-color: rgba(134, 142, 150, 0.25);
3538
- --timeline-glow-color-fade: rgba(134, 142, 150, 0);
3539
3534
  background: var(--timeline-todo-bg, var(--base-previewer-bg));
3540
3535
  border-color: var(--timeline-todo-color, var(--oc-gray-5));
3541
3536
  }
3542
3537
 
3543
3538
  /* ---------- 状态:里程碑(菱形) ---------- */
3544
3539
  .cherry-markdown .cherry-timeline--item__milestone .cherry-timeline--node {
3545
- --timeline-glow-color: rgba(250, 173, 20, 0.4);
3546
- --timeline-glow-color-fade: rgba(250, 173, 20, 0);
3547
3540
  /* 与普通节点保持相同的 left 值,确保菱形中心与时间轴主干对齐 */
3548
3541
  width: 14px;
3549
3542
  height: 14px;
@@ -3553,6 +3546,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3553
3546
  border-color: var(--timeline-milestone-color, var(--oc-yellow-6));
3554
3547
  border-radius: 2px;
3555
3548
  transform: rotate(45deg);
3549
+ box-shadow: 0 0 0 3px var(--base-previewer-bg, #fff), 0 0 8px var(--timeline-milestone-color, rgba(250, 173, 20, 0.5));
3556
3550
  }
3557
3551
 
3558
3552
  .cherry-markdown .cherry-timeline--item__milestone:hover .cherry-timeline--node {
@@ -3571,8 +3565,6 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3571
3565
 
3572
3566
  /* ---------- 状态:异常 ---------- */
3573
3567
  .cherry-markdown .cherry-timeline--item__error .cherry-timeline--node {
3574
- --timeline-glow-color: rgba(255, 77, 79, 0.35);
3575
- --timeline-glow-color-fade: rgba(255, 77, 79, 0);
3576
3568
  background: var(--timeline-error-color, var(--color-error));
3577
3569
  border-color: var(--timeline-error-color, var(--color-error));
3578
3570
  }
@@ -3603,7 +3595,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3603
3595
  .cherry-markdown .cherry-timeline--item__milestone .cherry-timeline--node {
3604
3596
  transform: rotate(45deg);
3605
3597
  }
3606
- .cherry-markdown .cherry-timeline--item:hover .cherry-timeline--node {
3598
+ .cherry-markdown .cherry-timeline--item__doing .cherry-timeline--node {
3607
3599
  animation: none;
3608
3600
  }
3609
3601
  }
@@ -3620,7 +3612,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
3620
3612
  .cherry-markdown .cherry-timeline--item:hover .cherry-timeline--content {
3621
3613
  transform: none;
3622
3614
  }
3623
- .cherry-markdown .cherry-timeline--item:hover .cherry-timeline--node {
3615
+ .cherry-markdown .cherry-timeline--item__doing .cherry-timeline--node {
3624
3616
  animation: none;
3625
3617
  }
3626
3618
  /* 打印时确保时间线段(每个 item 的 ::before)可见 */