christy-richtext 1.1.0 → 1.1.2

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.
@@ -689,6 +689,7 @@
689
689
  border: 1px solid #d1d5db;
690
690
  padding: 8px 12px;
691
691
  min-width: 60px;
692
+ position: relative;
692
693
  }
693
694
  .crt-editor-content .tiptap table th {
694
695
  background: #f3f4f6;
@@ -905,6 +906,43 @@
905
906
  background: #ccfbf1;
906
907
  color: #0f766e;
907
908
  }
909
+
910
+ /* 儲存格背景色預覽 */
911
+ .crt-cell-bg-preview {
912
+ display: inline-block;
913
+ width: 14px;
914
+ height: 14px;
915
+ border-radius: 2px;
916
+ border: 1px solid rgba(0,0,0,.2);
917
+ vertical-align: middle;
918
+ margin-right: 2px;
919
+ }
920
+
921
+ /* 表格樣式快速套用 */
922
+ .crt-tbl-preset {
923
+ font-size: 11px;
924
+ font-weight: 700;
925
+ min-width: 24px;
926
+ height: 24px;
927
+ border-radius: 4px;
928
+ color: #fff;
929
+ border: none;
930
+ }
931
+ .crt-tbl-preset--gold { background: #f5c51e; color: #1a1a1a;
932
+ }
933
+ .crt-tbl-preset--blue { background: #3b82f6;
934
+ }
935
+ .crt-tbl-preset--green { background: #22c55e;
936
+ }
937
+ .crt-tbl-preset--gray { background: #6b7280;
938
+ }
939
+ .crt-btn--sm {
940
+ font-size: 11px;
941
+ min-width: 22px;
942
+ height: 22px;
943
+ padding: 0 4px;
944
+ color: #9ca3af;
945
+ }
908
946
  .crt-btn--img {
909
947
  background: #ede9fe;
910
948
  color: #7c3aed;