@zhangt58/svelte-vtable 0.1.1 → 0.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.
@@ -12,7 +12,8 @@
12
12
  border-collapse: collapse;
13
13
  box-sizing: border-box;
14
14
  font-size: 0.875rem; /* 14px - smaller, more compact */
15
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
15
+ font-family:
16
+ -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
16
17
  line-height: 1.4;
17
18
  border: none;
18
19
  }
@@ -71,9 +72,11 @@
71
72
 
72
73
  :global(.dark) :global(.datatable-table tbody tr.selected-row) {
73
74
  /* brighter, higher-contrast selection in dark mode */
74
- background-color: rgba(14,165,233,0.22) !important; /* stronger visible blue */
75
- box-shadow: inset 6px 0 0 0 rgba(56,189,248,0.85); /* stronger left accent */
76
- transition: background-color 0.12s ease-in-out, box-shadow 0.12s ease-in-out;
75
+ background-color: rgba(14, 165, 233, 0.22) !important; /* stronger visible blue */
76
+ box-shadow: inset 6px 0 0 0 rgba(56, 189, 248, 0.85); /* stronger left accent */
77
+ transition:
78
+ background-color 0.12s ease-in-out,
79
+ box-shadow 0.12s ease-in-out;
77
80
  }
78
81
 
79
82
  /* Also apply to cells to defeat any cell-level background from striping and ensure readable text */
@@ -82,9 +85,9 @@
82
85
  }
83
86
 
84
87
  :global(.dark) :global(.datatable-table tbody tr.selected-row) td {
85
- background-color: rgba(14,165,233,0.22) !important;
88
+ background-color: rgba(14, 165, 233, 0.22) !important;
86
89
  color: #f0fbff !important; /* ensure high-contrast, very light text */
87
- border-bottom-color: rgba(255,255,255,0.06);
90
+ border-bottom-color: rgba(255, 255, 255, 0.06);
88
91
  }
89
92
 
90
93
  /* Body cell defaults - only bottom border */
@@ -219,9 +222,9 @@
219
222
 
220
223
  /* Force the active/current page to use the green tokens (override flowbite's primary/orange).
221
224
  Intentionally specific to reliably win over third-party rules. */
222
- :global([data-pagination-id] ul li [aria-current="page"]) {
225
+ :global([data-pagination-id] ul li [aria-current='page']) {
223
226
  background-color: #dcfce7 !important; /* bg-green-100 */
224
- color: #16a34a !important; /* text-green-600 */
227
+ color: #16a34a !important; /* text-green-600 */
225
228
  border-color: transparent !important;
226
229
  }
227
230
 
@@ -252,7 +255,7 @@
252
255
  }
253
256
 
254
257
  /* Ellipsis styling: make clickable and visually lighter (JS sets data-ellipsis/data-jump) */
255
- :global([data-pagination-id] ul li [data-ellipsis="true"]) {
258
+ :global([data-pagination-id] ul li [data-ellipsis='true']) {
256
259
  cursor: pointer;
257
260
  background: transparent !important;
258
261
  color: inherit;
@@ -267,4 +270,4 @@
267
270
  height: 1.25rem;
268
271
  width: 1.25rem;
269
272
  display: block;
270
- }
273
+ }