ct-rich-text-editor 1.3.9 → 1.3.11

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.
@@ -3510,6 +3510,11 @@ body .ai-chat-popup .ai-chat-input {
3510
3510
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
3511
3511
  }
3512
3512
 
3513
+ .hover\:cteditor-text-gray-700:hover{
3514
+ --tw-text-opacity: 1;
3515
+ color: rgb(55 65 81 / var(--tw-text-opacity, 1));
3516
+ }
3517
+
3513
3518
  .hover\:cteditor-text-green-700:hover{
3514
3519
  --tw-text-opacity: 1;
3515
3520
  color: rgb(21 128 61 / var(--tw-text-opacity, 1));
@@ -6931,6 +6936,37 @@ body .ai-chat-popup .ai-chat-input {
6931
6936
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
6932
6937
  }
6933
6938
 
6939
+ /* ========================================================================
6940
+ Table Row Striping Styles
6941
+ Logic:
6942
+ - If Header exists: Data Row 1 is the 2nd TR (even). Data Row 2 is 3rd TR (odd).
6943
+ - If No Header: Data Row 1 is the 1st TR (odd). Data Row 2 is 2nd TR (even).
6944
+ ======================================================================== */
6945
+
6946
+ /* --- CASE 1: NO Header Row --- */
6947
+
6948
+ /* Odd Data Rows (1, 3, 5...) -> Match DOM (1, 3, 5...) */
6949
+ .table-custom-odd-striping:not(.has-header-row) tr:nth-child(odd) td {
6950
+ background-color: var(--table-odd-striping-color) !important;
6951
+ }
6952
+
6953
+ /* Even Data Rows (2, 4, 6...) -> Match DOM (2, 4, 6...) */
6954
+ .table-custom-even-striping:not(.has-header-row) tr:nth-child(even) td {
6955
+ background-color: var(--table-even-striping-color) !important;
6956
+ }
6957
+
6958
+ /* --- CASE 2: WITH Header Row --- */
6959
+
6960
+ /* Odd Data Rows (1, 3, 5...) -> Match DOM (2, 4, 6...) -> nth-child(even) */
6961
+ .table-custom-odd-striping.has-header-row tr:nth-child(even) td {
6962
+ background-color: var(--table-odd-striping-color) !important;
6963
+ }
6964
+
6965
+ /* Even Data Rows (2, 4, 6...) -> Match DOM (3, 5, 7...) -> nth-child(odd) but NOT the 1st one */
6966
+ .table-custom-even-striping.has-header-row tr:nth-child(odd):not(:first-child) td {
6967
+ background-color: var(--table-even-striping-color) !important;
6968
+ }
6969
+
6934
6970
  @keyframes dropdownFadeIn {
6935
6971
  from {
6936
6972
  opacity: 0;
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-4061f3ce.js";
7
+ import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./index-ca05509b.js";
8
8
  function _mergeNamespaces(n, m) {
9
9
  for (var i = 0; i < m.length; i++) {
10
10
  const e = m[i];
@@ -46125,4 +46125,4 @@ const html2pdf_bundle$1 = /* @__PURE__ */ _mergeNamespaces({
46125
46125
  export {
46126
46126
  html2pdf_bundle$1 as h
46127
46127
  };
46128
- //# sourceMappingURL=html2pdf.bundle-edf70ece.js.map
46128
+ //# sourceMappingURL=html2pdf.bundle-f2c10c61.js.map