@cherry-markdown/cherry-markdown-dev 0.9.4-dev.202507290929.f928c5e → 0.9.4-dev.202507301106.2016926

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.
@@ -4063,7 +4063,8 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
4063
4063
  border-radius: 5px;
4064
4064
  z-index: 11;
4065
4065
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
4066
- background: var(--oc-white);
4066
+ background: var(--base-editor-bg);
4067
+ border: 1px solid var(--base-border-color);
4067
4068
  }
4068
4069
  .cherry .footnote.hidden {
4069
4070
  display: none;
@@ -4267,7 +4268,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
4267
4268
  }
4268
4269
  }
4269
4270
  .cherry .cherry-highlight-line {
4270
- animation: changeBgColor 3s;
4271
+ animation: changeBgColor 1s;
4271
4272
  }
4272
4273
 
4273
4274
  @media print {
@@ -4520,8 +4521,8 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
4520
4521
  .cherry .cherry-shortcut-key-config-panel-wrapper {
4521
4522
  background-color: var(--shortcut-key-config-panel-bg);
4522
4523
  color: var(--shortcut-key-config-panel-text-color);
4523
- width: 280px !important;
4524
- height: 420px !important;
4524
+ width: 300px !important;
4525
+ height: 518px !important;
4525
4526
  }
4526
4527
  .cherry .cherry-shortcut-key-config-panel-wrapper .cherry-shortcut-key-config-panel-inner {
4527
4528
  width: 100%;
@@ -4545,6 +4546,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
4545
4546
  font-size: 12px;
4546
4547
  transition: var(--shortcut-panel-transition);
4547
4548
  user-select: none;
4549
+ background-color: var(--dropdown-item-hover-bg);
4548
4550
  }
4549
4551
  .cherry .cherry-shortcut-key-config-panel-wrapper .cherry-shortcut-key-config-panel-inner .shortcut-tabs .shortcut-tab:hover {
4550
4552
  background-color: var(--dropdown-item-hover-bg);
@@ -4734,6 +4736,8 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
4734
4736
  display: flex;
4735
4737
  flex-wrap: wrap;
4736
4738
  gap: 4px;
4739
+ box-shadow: var(--accordion-shadow);
4740
+ margin-bottom: 5px;
4737
4741
  }
4738
4742
  .cherry .cherry-shortcut-key-config-panel-wrapper .shortcut-panel-settings .shortcut-settings-btn {
4739
4743
  height: auto;
@@ -5588,8 +5592,8 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
5588
5592
  .cherry-mask-code-block {
5589
5593
  width: 100%;
5590
5594
  padding-top: 50px;
5591
- background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#fff));
5592
- background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
5595
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(var(--toolbar-bg)));
5596
+ background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, var(--toolbar-bg) 100%);
5593
5597
  text-align: center;
5594
5598
  position: absolute;
5595
5599
  left: 0;
@@ -5631,6 +5635,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
5631
5635
  .cherry-previewer-codeBlock-hover-handler {
5632
5636
  z-index: 0;
5633
5637
  position: absolute;
5638
+ margin-top: -20px;
5634
5639
  pointer-events: none;
5635
5640
  }
5636
5641
  .cherry-previewer-codeBlock-hover-handler * {
@@ -5646,7 +5651,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
5646
5651
  height: 25px;
5647
5652
  cursor: pointer;
5648
5653
  float: right;
5649
- top: 15px;
5654
+ top: 35px;
5650
5655
  border-radius: 5px;
5651
5656
  box-shadow: 5px 0 5px rgba(0, 0, 0, 0.05);
5652
5657
  transition: all 0.3s;
@@ -5731,7 +5736,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
5731
5736
  background-color: var(--toolbar-bg);
5732
5737
  border: 1px solid var(--base-border-color);
5733
5738
  border-radius: 6px;
5734
- padding: 6px 36px 6px 12px;
5739
+ padding: 5px 36px 5px 12px;
5735
5740
  cursor: pointer;
5736
5741
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
5737
5742
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23495057' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
@@ -6123,7 +6128,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
6123
6128
  white-space: nowrap;
6124
6129
  overflow: hidden;
6125
6130
  text-overflow: ellipsis;
6126
- background: rgba(255, 255, 255, 0.2);
6131
+ background: rgba(255, 255, 255, 0.8666666667);
6127
6132
  margin-right: 8px;
6128
6133
  box-sizing: border-box;
6129
6134
  user-select: none;
@@ -6505,7 +6510,7 @@ div[data-code-wrap=wrap] div[data-type=codeBlock] code[class*=language-] {
6505
6510
  }
6506
6511
  }
6507
6512
  .cherry-markdown.theme__dark .cherry-highlight-line {
6508
- animation: changeBgColorDark 3s;
6513
+ animation: changeBgColorDark 1s;
6509
6514
  }
6510
6515
 
6511
6516
  /*