@logimaxx/kgrid 0.5.2 → 0.5.4

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.
package/styles/table.css CHANGED
@@ -1,12 +1,34 @@
1
- .custom-table-shell{
1
+ /* KGrid table shell — Linear/Notion-style defaults via CSS variables.
2
+ Hosts (e.g. MaxxOps) override --kgrid-* on :root / .custom-table-shell. */
3
+
4
+ .custom-table-shell {
5
+ --kgrid-header-bg: var(--bs-secondary-bg, #f8f9fa);
6
+ --kgrid-header-fg: var(--bs-body-color, #212529);
7
+ --kgrid-header-link: var(--kgrid-header-fg);
8
+ --kgrid-header-link-hover: var(--bs-primary, #0d6efd);
9
+ --kgrid-filter-bg: transparent;
10
+ --kgrid-row-border: var(--bs-border-color, #e9ecef);
11
+ --kgrid-row-hover: rgba(13, 110, 253, 0.06);
12
+ --kgrid-row-alt: transparent;
13
+ --kgrid-surface: var(--bs-body-bg, #fff);
14
+ --kgrid-muted: var(--bs-secondary-color, #6c757d);
15
+ --kgrid-cell-pad-y: 0.65rem;
16
+ --kgrid-cell-pad-x: 0.85rem;
17
+ --kgrid-font-size: 0.875rem;
18
+ --kgrid-edit-bg: rgba(13, 110, 253, 0.08);
19
+ --kgrid-edit-accent: var(--bs-primary, #0d6efd);
20
+ --kgrid-new-bg: rgba(25, 135, 84, 0.1);
21
+ --kgrid-delete-bg: rgba(220, 53, 69, 0.1);
22
+ --kgrid-radius: var(--bs-border-radius, 0.375rem);
23
+
2
24
  border-bottom-left-radius: var(--bs-border-radius-lg, 0.5rem);
3
25
  border-bottom-right-radius: var(--bs-border-radius-lg, 0.5rem);
4
-
5
26
  }
27
+
6
28
  @media (max-width: 768px) {
7
- .card-body{
8
- padding: 10px;
9
- }
29
+ .card-body {
30
+ padding: 10px;
31
+ }
10
32
  .custom-table-shell table,
11
33
  .custom-table-shell thead,
12
34
  .custom-table-shell tbody,
@@ -21,14 +43,14 @@
21
43
  }
22
44
 
23
45
  .custom-table-shell tr {
24
- margin-top: 5px;
25
- border: 1px solid #ddd;
26
- border-radius: 5px;
27
- background: #fff;
46
+ margin-top: 0.5rem;
47
+ border: 1px solid var(--kgrid-row-border);
48
+ border-radius: var(--kgrid-radius);
49
+ background: var(--kgrid-surface);
28
50
  }
29
51
 
30
52
  .custom-table-shell td {
31
- padding: 5px 0;
53
+ padding: 0.5rem 0;
32
54
  border: 0 !important;
33
55
  }
34
56
 
@@ -36,11 +58,11 @@
36
58
  content: attr(data-label);
37
59
  display: block;
38
60
  font-weight: 600;
39
- font-size: 13px;
40
- color: #6b7280; /* gri calm */
61
+ font-size: 0.78rem;
62
+ color: var(--kgrid-muted);
41
63
  margin-bottom: 6px;
42
64
  padding-bottom: 4px;
43
- border-bottom: 1px solid #e5e7eb; /* separator subtil */
65
+ border-bottom: 1px solid var(--kgrid-row-border);
44
66
  }
45
67
 
46
68
  .custom-table-shell td input,
@@ -54,6 +76,21 @@
54
76
  max-width: 100%;
55
77
  box-sizing: border-box;
56
78
  }
79
+ /* Row actions stay horizontal; do not stretch each button to full card width */
80
+ .custom-table-shell td.kgrid-row-actions {
81
+ display: flex;
82
+ flex-wrap: wrap;
83
+ align-items: center;
84
+ gap: 0.35rem;
85
+ }
86
+ .custom-table-shell td.kgrid-row-actions > * {
87
+ margin-inline-start: 0;
88
+ }
89
+ .custom-table-shell td.kgrid-row-actions button,
90
+ .custom-table-shell td.kgrid-row-actions .btn {
91
+ width: auto;
92
+ max-width: none;
93
+ }
57
94
  .custom-table-shell td .kgrid-flag-switch .form-check-input {
58
95
  width: 2em;
59
96
  max-width: 2em;
@@ -64,303 +101,350 @@
64
101
  }
65
102
  }
66
103
 
67
- tr.new-record-row{
68
- background-color: rgb(112, 165, 218,0.5) !important;
104
+ tr.new-record-row {
105
+ background-color: var(--kgrid-new-bg) !important;
69
106
  }
70
- tr.new-record-row td{
71
- background-color: rgb(112, 165, 218,0.5) !important;
107
+ tr.new-record-row td {
108
+ background-color: transparent !important;
72
109
  }
73
- tr.confirm-delete{
74
- background-color: rgba(255, 0, 0, 0.5) !important;
110
+ tr.new-record-row td:first-child {
111
+ box-shadow: inset 3px 0 0 var(--bs-success, #198754);
75
112
  }
76
- tr.confirm-delete td{
77
- background-color: rgba(255, 0, 0, 0.5) !important;
113
+ tr.confirm-delete {
114
+ background-color: var(--kgrid-delete-bg) !important;
78
115
  }
79
- tr.editing{
80
- border: 3px dashed #007bff;
81
- border-radius: 5px;
82
- padding: 5px;
83
- margin: 5px;
84
- font-weight: bold;
85
- color: #007bff;
86
- font-size: 14px;
116
+ tr.confirm-delete td {
117
+ background-color: transparent !important;
87
118
  }
88
- tr.editing td{
89
- background-color: rgb(255, 153, 28) !important;
119
+ tr.confirm-delete td:first-child {
120
+ box-shadow: inset 3px 0 0 var(--bs-danger, #dc3545);
90
121
  }
91
- div.save-item{
92
- display: none;
122
+ tr.editing {
123
+ background-color: var(--kgrid-edit-bg) !important;
124
+ font-weight: inherit;
125
+ color: inherit;
126
+ font-size: inherit;
127
+ border: none;
128
+ border-radius: 0;
129
+ padding: 0;
130
+ margin: 0;
131
+ }
132
+ tr.editing td {
133
+ background-color: transparent !important;
134
+ }
135
+ tr.editing td:first-child {
136
+ box-shadow: inset 3px 0 0 var(--kgrid-edit-accent);
93
137
  }
94
- .editing div.save-item{
95
- display: inline-flex;
138
+ div.save-item {
139
+ display: none;
140
+ }
141
+ .editing div.save-item {
142
+ display: inline-flex;
96
143
  }
97
144
 
98
- .editing .default-action-buttons{
99
- display: none;
145
+ .editing .default-action-buttons {
146
+ display: none;
100
147
  }
101
- .cell-input{
102
- display: none;
148
+ .cell-input {
149
+ display: none;
103
150
  }
104
151
  .kgrid-flag-switch {
105
- display: flex;
106
- align-items: center;
107
- min-height: 1.5rem;
152
+ display: flex;
153
+ align-items: center;
154
+ min-height: 1.5rem;
108
155
  }
109
156
  .custom-table-shell td .kgrid-flag-switch .form-check-input {
110
- width: 2em;
111
- max-width: 2em;
112
- float: none;
157
+ width: 2em;
158
+ max-width: 2em;
159
+ float: none;
113
160
  }
114
161
  .custom-table-shell[data-interaction="view"] .cell-input,
115
162
  .custom-table-shell[data-interaction="view"] .delete-item,
116
- .custom-table-shell[data-interaction="view"] .clone-item{
117
- display: none;
163
+ .custom-table-shell[data-interaction="view"] .clone-item {
164
+ display: none;
118
165
  }
119
166
  .custom-table-shell[data-interaction="edit"] .cell-input,
120
167
  .custom-table-shell[data-interaction="edit"] .delete-item,
121
- .custom-table-shell[data-interaction="edit"] .clone-item{
122
- display: block;
168
+ .custom-table-shell[data-interaction="edit"] .clone-item {
169
+ display: block;
123
170
  }
124
- .new-record-row{
125
- display: none;
171
+ .new-record-row {
172
+ display: none;
126
173
  }
127
- .custom-table-shell[data-interaction="edit"] .new-record-row{
128
- display: table-row;
174
+ .custom-table-shell[data-interaction="edit"] .new-record-row {
175
+ display: table-row;
129
176
  }
130
177
 
131
178
  .custom-table-shell[data-allow-insert="false"] .new-record-row {
132
- display: none !important;
179
+ display: none !important;
133
180
  }
134
181
  .custom-table-shell[data-allow-delete="false"] button.delete-item {
135
- display: none !important;
182
+ display: none !important;
136
183
  }
137
184
  .custom-table-shell[data-allow-clone="false"] button.clone-item {
138
- display: none !important;
185
+ display: none !important;
139
186
  }
140
- .custom-table-shell[data-allow-update="false"][data-interaction="edit"] .cell-input{
141
- display: none;
187
+ .custom-table-shell[data-allow-update="false"][data-interaction="edit"] .cell-input {
188
+ display: none;
142
189
  }
143
- .custom-table-shell[data-allow-update="false"][data-interaction="edit"] .cell-content{
144
- display: block;
190
+ .custom-table-shell[data-allow-update="false"][data-interaction="edit"] .cell-content {
191
+ display: block;
145
192
  }
146
- .custom-table-shell[data-interaction="view"] .cell-content{
147
- display: block;
193
+ .custom-table-shell[data-interaction="view"] .cell-content {
194
+ display: block;
148
195
  }
149
- .custom-table-shell[data-interaction="edit"] .cell-content{
150
- display: none;
196
+ .custom-table-shell[data-interaction="edit"] .cell-content {
197
+ display: none;
151
198
  }
152
199
  .edit-item-grp {
153
- display: none;
200
+ display: none;
154
201
  }
155
- .editing .edit-item-grp{
156
- display: inline-flex;
202
+ .editing .edit-item-grp {
203
+ display: inline-flex;
157
204
  }
158
205
 
159
206
  /* Row-actions: collapse in view only when there is no idle menu (delete/clone/custom).
160
207
  Menu-only tables stay usable in view; save/cancel remain hidden until .editing. */
161
208
  .custom-table-shell[data-interaction="view"]:not([data-has-row-menu="true"]) col.kgrid-row-actions-col {
162
- visibility: collapse;
163
- width: 0 !important;
209
+ visibility: collapse;
210
+ width: 0 !important;
164
211
  }
165
212
  .custom-table-shell[data-interaction="view"]:not([data-has-row-menu="true"]) th.kgrid-row-actions,
166
213
  .custom-table-shell[data-interaction="view"]:not([data-has-row-menu="true"]) td.kgrid-row-actions {
167
- visibility: collapse;
168
- width: 0 !important;
169
- max-width: 0;
170
- padding: 0;
171
- border-width: 0 !important;
172
- overflow: hidden;
214
+ visibility: collapse;
215
+ width: 0 !important;
216
+ max-width: 0;
217
+ padding: 0;
218
+ border-width: 0 !important;
219
+ overflow: hidden;
173
220
  }
174
221
  /* Width set inline via actionColumnWidth(); fallback if colgroup sync skipped */
175
222
  .custom-table-shell[data-interaction="edit"] col.kgrid-row-actions-col {
176
- width: 5.75rem;
223
+ width: 5.75rem;
177
224
  }
178
225
  .custom-table-shell[data-interaction="edit"] th.kgrid-row-actions,
179
226
  .custom-table-shell[data-interaction="edit"] td.kgrid-row-actions,
180
227
  .custom-table-shell[data-has-row-menu="true"] th.kgrid-row-actions,
181
228
  .custom-table-shell[data-has-row-menu="true"] td.kgrid-row-actions {
182
- white-space: nowrap;
183
- overflow: visible;
184
- }
185
- /* Dropdown menus must escape table stacking (rows paint over absolute menus). */
229
+ white-space: nowrap;
230
+ overflow: visible;
231
+ }
232
+ /* Button-mode: each action is its own wrapper — keep them on one line with a small gap */
233
+ .custom-table-shell td.kgrid-row-actions > .delete-item-grp,
234
+ .custom-table-shell td.kgrid-row-actions > .clone-item-grp,
235
+ .custom-table-shell td.kgrid-row-actions > .kgrid-custom-action-grp,
236
+ .custom-table-shell td.kgrid-row-actions > .edit-item-grp,
237
+ .custom-table-shell td.kgrid-row-actions > .btn-group {
238
+ display: inline-flex;
239
+ vertical-align: middle;
240
+ align-items: center;
241
+ }
242
+ .custom-table-shell td.kgrid-row-actions > .delete-item-grp + *,
243
+ .custom-table-shell td.kgrid-row-actions > .clone-item-grp + *,
244
+ .custom-table-shell td.kgrid-row-actions > .kgrid-custom-action-grp + *,
245
+ .custom-table-shell td.kgrid-row-actions > .edit-item-grp + *,
246
+ .custom-table-shell td.kgrid-row-actions > .btn-group + * {
247
+ margin-inline-start: 0.25rem;
248
+ }
249
+ /* Kebab row-actions menu: fixed while open (set inline); escape table stacking. */
186
250
  .kgrid-row-actions-menu .dropdown-menu {
187
- z-index: 1055;
251
+ z-index: 1055;
252
+ }
253
+ .kgrid-row-actions-menu .dropdown-menu.show {
254
+ display: block;
188
255
  }
189
- .custom-table-shell tr:has(.kgrid-row-actions-menu .dropdown-toggle.show) {
190
- position: relative;
191
- z-index: 6;
256
+ .custom-table-shell tr:has(.kgrid-row-actions-menu .kgrid-actions-dropdown-toggle.show) {
257
+ position: relative;
258
+ z-index: 6;
192
259
  }
193
260
  .editing .delete-item-grp,
194
261
  .editing .clone-item-grp,
195
262
  .editing .kgrid-row-actions-menu,
196
263
  .editing .kgrid-custom-action-grp:not(.kgrid-action-always) {
197
- display: none;
264
+ display: none !important;
198
265
  }
199
266
 
200
- /* User-hidden columns (chooser): collapse like row-actions; cells stay in DOM for filters/forms.
201
- Do not use display:none — under table-layout:fixed it leaves width gaps.
202
- Chrome + border-collapse:separate treats collapse as hidden; clip text so 0-width
203
- headers do not wrap glyph-by-glyph and stretch thead. */
204
- col.kgrid-user-hidden,
267
+ /* User-hidden columns (chooser): keep cells in the DOM for filters/forms, but
268
+ they must not occupy a table-layout slot. `display:none` removes the cell from
269
+ the column mapping, so colgroup must omit that column too (see layoutVisibleColumns).
270
+ Do not leave a width:0 <col> — remaining cells then map onto the wrong widths
271
+ (letter-stacked headers, blank gaps after paging). Chrome also treats
272
+ visibility:collapse as hidden, so that is not a substitute. */
205
273
  th.kgrid-user-hidden,
206
274
  td.kgrid-user-hidden {
207
- visibility: collapse;
208
- width: 0 !important;
209
- max-width: 0;
210
- padding: 0 !important;
211
- border-width: 0 !important;
212
- overflow: hidden;
213
- white-space: nowrap;
214
- line-height: 0;
215
- font-size: 0;
275
+ display: none !important;
216
276
  }
217
277
 
218
278
  .kgrid-column-chooser {
219
- position: relative;
220
- display: flex;
221
- justify-content: flex-end;
222
- padding: 0.25rem 0.5rem;
279
+ position: relative;
280
+ display: flex;
281
+ justify-content: flex-end;
282
+ padding: 0.25rem 0.5rem;
223
283
  }
224
284
  .kgrid-column-chooser-panel {
225
- position: absolute;
226
- right: 0.5rem;
227
- top: 100%;
228
- z-index: 20;
229
- min-width: 16rem;
230
- max-height: 20rem;
231
- overflow: auto;
232
- background: var(--bs-body-bg, #fff);
233
- color: var(--bs-body-color, #212529);
234
- border: 1px solid var(--bs-border-color, #dee2e6);
235
- border-radius: 0.375rem;
236
- box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
237
- padding: 0.5rem;
285
+ position: absolute;
286
+ right: 0.5rem;
287
+ top: 100%;
288
+ z-index: 20;
289
+ min-width: 16rem;
290
+ max-height: 20rem;
291
+ overflow: auto;
292
+ background: var(--bs-body-bg, #fff);
293
+ color: var(--bs-body-color, #212529);
294
+ border: 1px solid var(--bs-border-color, #dee2e6);
295
+ border-radius: 0.375rem;
296
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
297
+ padding: 0.5rem;
238
298
  }
239
299
  .kgrid-column-chooser-list {
240
- list-style: none;
241
- margin: 0 0 0.5rem;
242
- padding: 0;
300
+ list-style: none;
301
+ margin: 0 0 0.5rem;
302
+ padding: 0;
243
303
  }
244
304
  .kgrid-column-chooser-list li {
245
- display: flex;
246
- align-items: center;
247
- gap: 0.35rem;
248
- padding: 0.2rem 0.25rem;
249
- cursor: grab;
305
+ display: flex;
306
+ align-items: center;
307
+ gap: 0.35rem;
308
+ padding: 0.2rem 0.25rem;
309
+ cursor: grab;
250
310
  }
251
311
  .kgrid-column-chooser-list li.kgrid-column-chooser-dragging {
252
- opacity: 0.5;
312
+ opacity: 0.5;
253
313
  }
254
314
  .kgrid-column-chooser-handle {
255
- color: #6c757d;
256
- user-select: none;
257
- letter-spacing: -0.15em;
315
+ color: #6c757d;
316
+ user-select: none;
317
+ letter-spacing: -0.15em;
258
318
  }
259
319
  .kgrid-column-chooser-list label {
260
- margin: 0;
261
- cursor: pointer;
262
- flex: 1;
320
+ margin: 0;
321
+ cursor: pointer;
322
+ flex: 1;
263
323
  }
264
324
  .kgrid-column-chooser-reset {
265
- width: 100%;
325
+ width: 100%;
266
326
  }
267
327
 
268
328
  /* multi_select: checkbox list (dropdown in filter row) */
269
329
  .kgrid-multi-select {
270
- position: relative;
271
- min-width: 0;
330
+ position: relative;
331
+ min-width: 0;
272
332
  }
273
333
  .kgrid-multi-select-toggle {
274
- width: 100%;
275
- text-align: left;
276
- overflow: hidden;
277
- text-overflow: ellipsis;
278
- white-space: nowrap;
279
- cursor: pointer;
334
+ width: 100%;
335
+ text-align: left;
336
+ overflow: hidden;
337
+ text-overflow: ellipsis;
338
+ white-space: nowrap;
339
+ cursor: pointer;
280
340
  }
281
341
  .kgrid-multi-select-panel {
282
- max-height: 14rem;
283
- overflow-x: hidden;
284
- overflow-y: auto;
285
- padding: 0.4rem 0.55rem;
286
- background: var(--bs-body-bg, #fff);
287
- color: var(--bs-body-color, #212529);
288
- border: 1px solid var(--bs-border-color, #dee2e6);
289
- border-radius: 0.375rem;
290
- box-sizing: border-box;
342
+ max-height: 14rem;
343
+ overflow-x: hidden;
344
+ overflow-y: auto;
345
+ padding: 0.4rem 0.55rem;
346
+ background: var(--bs-body-bg, #fff);
347
+ color: var(--bs-body-color, #212529);
348
+ border: 1px solid var(--bs-border-color, #dee2e6);
349
+ border-radius: 0.375rem;
350
+ box-sizing: border-box;
291
351
  }
292
352
  .kgrid-multi-select-panel.kgrid-multi-select-panel-floating {
293
- box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
353
+ box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
294
354
  }
295
355
  .kgrid-multi-select[data-mode="insert"] .kgrid-multi-select-panel,
296
356
  .kgrid-multi-select[data-mode="update"] .kgrid-multi-select-panel {
297
- max-height: 10rem;
357
+ max-height: 10rem;
298
358
  }
299
359
  .kgrid-multi-select-option {
300
- display: flex;
301
- align-items: flex-start;
302
- gap: 0.5rem;
303
- margin: 0;
304
- padding: 0.3rem 0.15rem;
305
- cursor: pointer;
306
- min-height: 1.5rem;
360
+ display: flex;
361
+ align-items: flex-start;
362
+ gap: 0.5rem;
363
+ margin: 0;
364
+ padding: 0.3rem 0.15rem;
365
+ cursor: pointer;
366
+ min-height: 1.5rem;
307
367
  }
308
368
  .kgrid-multi-select-check {
309
- flex: 0 0 auto;
310
- width: 1.05em;
311
- height: 1.05em;
312
- margin: 0.15rem 0 0;
313
- accent-color: var(--bs-primary, #0d6efd);
314
- cursor: pointer;
369
+ flex: 0 0 auto;
370
+ width: 1.05em;
371
+ height: 1.05em;
372
+ margin: 0.15rem 0 0;
373
+ accent-color: var(--bs-primary, #0d6efd);
374
+ cursor: pointer;
315
375
  }
316
376
  .kgrid-multi-select-label {
317
- flex: 1 1 auto;
318
- min-width: 0;
319
- font-weight: 400;
320
- line-height: 1.35;
321
- user-select: none;
377
+ flex: 1 1 auto;
378
+ min-width: 0;
379
+ font-weight: 400;
380
+ line-height: 1.35;
381
+ user-select: none;
322
382
  }
323
383
 
384
+ /* —— Visual chrome (Linear / Notion) —— */
385
+ .custom-table {
386
+ font-size: var(--kgrid-font-size);
387
+ box-sizing: content-box;
388
+ margin-bottom: 0;
389
+ width: 100%;
390
+ table-layout: fixed;
391
+ color: var(--kgrid-header-fg);
392
+ }
393
+ .custom-table .thead-labels th {
394
+ background-color: var(--kgrid-header-bg);
395
+ color: var(--kgrid-header-fg);
396
+ font-weight: 600;
397
+ white-space: nowrap;
398
+ overflow: hidden;
399
+ text-overflow: ellipsis;
400
+ }
401
+ .custom-table .thead-labels th a {
402
+ color: var(--kgrid-header-link);
403
+ text-decoration: none;
404
+ }
405
+ .custom-table .thead-labels th a:hover {
406
+ color: var(--kgrid-header-link-hover);
407
+ }
408
+ .custom-table .thead-filters th {
409
+ background-color: var(--kgrid-filter-bg);
410
+ overflow: visible;
411
+ }
412
+ .custom-table .main-tbody td {
413
+ overflow: hidden;
414
+ vertical-align: middle;
415
+ }
416
+ .custom-table th,
417
+ .custom-table td {
418
+ padding: var(--kgrid-cell-pad-y) var(--kgrid-cell-pad-x);
419
+ }
324
420
 
325
- .custom-table .thead-labels th{
326
- background-color: #2c3e50;
327
- color: #fff;
421
+ @media (min-width: 769px) {
422
+ table.custom-table {
423
+ border-collapse: separate !important;
424
+ border-spacing: 0 !important;
425
+ border: none !important;
328
426
  }
329
- .custom-table th,.custom-table td{
330
- padding: 5px;
427
+ /* Row separators only — no vertical cell grid */
428
+ table.custom-table > * > tr > th,
429
+ table.custom-table > * > tr > td {
430
+ border-style: solid !important;
431
+ border-width: 0 0 1px 0 !important;
432
+ border-color: var(--kgrid-row-border) !important;
433
+ box-shadow: none !important;
434
+ background-clip: padding-box;
331
435
  }
332
- .custom-table .thead-filters th{
333
- background-color: #f1f3f5;
334
- overflow: visible;
436
+ table.custom-table .thead-labels th {
437
+ border-bottom-color: var(--kgrid-row-border) !important;
335
438
  }
336
-
337
- .custom-table .thead-labels th a{
338
- color: #fff;
439
+ table.custom-table .main-tbody > tr:nth-child(even) > td {
440
+ background-color: var(--kgrid-row-alt);
339
441
  }
340
- .custom-table{
341
- font-size: 14px;
342
- box-sizing: content-box;
343
- margin-bottom: 0;
344
- width: 100%;
345
- table-layout: fixed;
442
+ table.custom-table .main-tbody > tr:hover > td {
443
+ background-color: var(--kgrid-row-hover);
346
444
  }
347
- @media (min-width: 769px) {
348
- table.custom-table {
349
- border-collapse: separate !important;
350
- border-spacing: 0 !important;
351
- border-top: 1px solid var(--bs-border-color, #dee2e6) !important;
352
- border-left: 1px solid var(--bs-border-color, #dee2e6) !important;
353
- }
354
- table.custom-table > * > tr > th,
355
- table.custom-table > * > tr > td {
356
- border-style: solid !important;
357
- border-width: 0 1px 1px 0 !important;
358
- border-color: var(--bs-border-color, #dee2e6) !important;
359
- box-shadow: none !important;
360
- background-clip: padding-box;
361
- }
362
- table.custom-table .thead-labels th {
363
- border-right-color: rgba(255, 255, 255, 0.28) !important;
364
- border-bottom-color: rgba(255, 255, 255, 0.28) !important;
365
- }
445
+ table.custom-table .main-tbody > tr.editing:hover > td,
446
+ table.custom-table .main-tbody > tr.new-record-row:hover > td,
447
+ table.custom-table .main-tbody > tr.confirm-delete:hover > td {
448
+ background-color: transparent;
366
449
  }
450
+ }