@@ -178,20 +178,6 @@ $table-cell-padding-sm: 5px;
178178
179179 // Bootstrap theming classes
180180
181- & .thead-dark {
182- .tabulator-header {
183- border-color : $borderColor ;
184- background-color : $backgroundColor ;
185- color : $table-color ;
186-
187- .tabulator-col {
188- border-color : $borderColor ;
189- background-color : $backgroundColor ;
190- color : $table-color ;
191- }
192- }
193- }
194-
195181 & .table {
196182 background-color : $backgroundColor ;
197183
@@ -347,6 +333,129 @@ $table-cell-padding-sm: 5px;
347333 }
348334
349335
336+
337+ & .thead-dark {
338+ .tabulator-header {
339+ border-color : $table-dark-border-color ;
340+ background-color : $table-dark-bg ;
341+ color : $table-dark-color ;
342+
343+ .tabulator-col {
344+ border-color : $table-dark-border-color ;
345+ background-color : $table-dark-bg ;
346+ color : $table-dark-color ;
347+ }
348+ }
349+ }
350+
351+ & .table-striped {
352+ & :not (.table-dark ),
353+ html :not ([data-bs-theme = " dark" ]) & {
354+ .tabulator-row {
355+ & .tabulator-row-even {
356+ background-color : $rowAltBackgroundColor ;
357+
358+ & .tabulator-selected {
359+ background-color :$rowSelectedBackground ;
360+ }
361+
362+ @media (hover :hover) and (pointer :fine){
363+ & .tabulator-selectable :hover {
364+ background-color :$rowHoverBackground ;
365+ cursor : pointer ;
366+ }
367+
368+ & .tabulator-selected :hover {
369+ background-color :$rowSelectedBackgroundHover ;
370+ cursor : pointer ;
371+ }
372+ }
373+ }
374+ }
375+ }
376+
377+ & .table-dark ,
378+ html [data-bs-theme = " dark" ] & {
379+ .tabulator-row {
380+ & :nth-child (even ){
381+ background-color : $table-dark-striped-bg !important ;
382+ .tabulator-cell {
383+ background-color : inherit ;
384+ }
385+ }
386+ }
387+ }
388+ }
389+
390+ & .table-dark ,
391+ html [data-bs-theme = " dark" ] & {
392+ background-color : $table-dark-bg ;
393+
394+ & :not (.thead-light ) .tabulator-header {
395+ border-color : $table-dark-border-color ;
396+ background-color : $table-dark-bg ;
397+ color : $table-dark-color ;
398+
399+ .tabulator-col {
400+ border-color : $table-dark-border-color ;
401+ background-color : $table-dark-bg ;
402+ color : $table-dark-color ;
403+ }
404+ }
405+
406+ .tabulator-tableholder {
407+ color : $table-dark-color ;
408+ }
409+
410+ .tabulator-cell {
411+ color : $table-dark-color ;
412+ background-color : $table-dark-bg ;
413+ border-color : $table-dark-border-color ;
414+ }
415+
416+ .tabulator-row {
417+ border-color : $table-dark-border-color ;
418+ background-color : $table-dark-bg ;
419+ color : $table-dark-color ;
420+
421+ @media (hover :hover) and (pointer :fine){
422+ & :hover {
423+ background-color : $table-dark-border-color ;
424+
425+ .tabulator-cell {
426+ background-color : $table-dark-hover-bg ;
427+ }
428+ }
429+ }
430+
431+ & .tabulator-selected {
432+ background-color :$table-dark-active-bg ;
433+ }
434+ }
435+
436+ .tabulator-footer {
437+ border-color : $table-dark-border-color !important ;
438+ color : $table-dark-bg !important ;
439+
440+ .tabulator-calcs-holder {
441+ border-color : $table-dark-border-color !important ;
442+ background :$table-dark-bg !important ;
443+
444+ .tabulator-row {
445+ border-color : $table-dark-border-color !important ;
446+ background-color : $table-dark-bg !important ;
447+ color : $table-dark-color !important ;
448+ }
449+ }
450+ }
451+
452+ input {
453+ color : $table-dark-color !important ;
454+ background-color : $table-active-bg !important ;
455+ }
456+
457+ }
458+
350459 // row colors
351460 .tabulator-tableholder {
352461 .tabulator-table {
0 commit comments