@@ -10,3 +10,44 @@ table {
1010 display : none !important ;
1111 }
1212}
13+
14+ /* Bootstrap 5 table variants do not have color mode adaptive styling (will be added in v6) */
15+ .table-striped > tbody > tr .table-success > th ,
16+ .table-striped > tbody > tr .table-success > td {
17+ --bs-table-color-type : var (--bs-body-color );
18+ --bs-table-bg-type : var (--bs-success-bg-subtle );
19+ }
20+
21+ .table-striped > tbody > tr .table-success :nth-of-type (2 n +1 ) > th ,
22+ .table-striped > tbody > tr .table-success :nth-of-type (2 n +1 ) > td {
23+ --bs-table-color-type : var (--bs-body-color );
24+ --bs-table-bg-type : var (--bs-success-bg-subtle );
25+ }
26+
27+ /* Fix borders for bordered tables within cards */
28+ .aplus-table-bordered > thead > tr > th :not (:first-child ),
29+ .aplus-table-bordered > thead > tr > td :not (:first-child ),
30+ .aplus-table-bordered > tbody > tr > td :not (:first-child ) {
31+ border-left : 1px solid var (--bs-border-color );
32+ }
33+
34+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > th ,
35+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > td {
36+ border-bottom : none ;
37+ }
38+
39+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > th ,
40+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > td :first-child {
41+ border-bottom-left-radius : var (--bs-border-radius );
42+ }
43+
44+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > th ,
45+ .aplus-table-bordered > tbody > tr :not (.hidden-group ):not (:has (~ tr :not (.hidden-group ))) > td :last-child {
46+ border-bottom-right-radius : var (--bs-border-radius );
47+ }
48+
49+ .aplus-table-bordered > tbody > tr .table-success ,
50+ .aplus-table-bordered > tbody > tr .table-success > td {
51+ border-left : none ;
52+ border-bottom : 1px solid var (--bs-border-color );
53+ }
0 commit comments