ct-rich-text-editor 1.3.10 → 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.
@@ -6936,6 +6936,37 @@ body .ai-chat-popup .ai-chat-input {
6936
6936
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
6937
6937
  }
6938
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
+
6939
6970
  @keyframes dropdownFadeIn {
6940
6971
  from {
6941
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-d5866754.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-7796d91e.js.map
46128
+ //# sourceMappingURL=html2pdf.bundle-f2c10c61.js.map