@@ -7,34 +7,70 @@ export default createStyles((theme: MantineTheme): Record<string, any> => {
77 borderSpacing : 0 ,
88 borderCollapse : 'separate' ,
99 borderRadius : 'var(--border-radius)' ,
10+
11+ '& thead th' : {
12+ backgroundColor : 'var(--stepper-background) !important' ,
13+ color : 'var(--text-color) !important' ,
14+ fontWeight : '600 !important' ,
15+ borderBottom : '1px solid var(--border-color) !important' ,
16+ padding : '12px !important' ,
17+ textAlign : 'left' ,
18+ } ,
19+
20+ '& tbody td' : {
21+ color : 'var(--text-color) !important' ,
22+ backgroundColor : 'var(--background-color) !important' ,
23+ } ,
1024 } ,
1125 row : {
1226 cursor : 'pointer' ,
27+ position : 'relative' ,
1328 '&:hover' : {
14- backgroundColor : '#DFE2FF ' ,
29+ backgroundColor : 'var(--table-hover-background) !important ' ,
1530 } ,
1631 } ,
1732 selectedRow : {
18- backgroundColor : '#DFE2FF' ,
19- fontWeight : 700 , // Bold font weight for selected row
33+ backgroundColor : `${ theme . fn . rgba ( theme . colors . primary [ 5 ] , 0.1 ) } !important` ,
34+ fontWeight : 700 ,
35+
2036 '&:hover' : {
21- backgroundColor : '#DFE2FF' ,
37+ backgroundColor : `${ theme . fn . rgba ( theme . colors . primary [ 5 ] , 0.15 ) } !important` ,
38+ } ,
39+
40+ '& td' : {
41+ backgroundColor : 'transparent !important' ,
2242 } ,
2343 } ,
2444 aboveSelectedRow : {
25- backgroundColor : '#F3F4F6 ' ,
26- color : 'var(--label-color)' ,
27- fontWeight : 300 , // Lighter font weight for rows above selected
45+ backgroundColor : 'var(--stepper-background) !important ' ,
46+ color : 'var(--label-color) !important ' ,
47+ fontWeight : 300 ,
2848 } ,
2949 cell : {
3050 textWrap : 'nowrap' ,
31- border : ` 1px solid ${ theme . colors . gray [ 3 ] } ` ,
51+ border : ' 1px solid var(--border-color) !important' ,
3252 padding : theme . spacing . xs ,
3353 backgroundColor : 'transparent' ,
54+ color : 'var(--text-color) !important' ,
55+ position : 'relative' ,
3456 } ,
3557 radioCell : {
3658 width : '40px' ,
3759 textAlign : 'center' ,
3860 } ,
61+
62+ tableContainer : {
63+ position : 'relative' ,
64+ '&::after' : {
65+ content : '""' ,
66+ position : 'absolute' ,
67+ bottom : 0 ,
68+ left : 0 ,
69+ right : 0 ,
70+ height : '3px' ,
71+ backgroundColor : 'var(--button-primary-background)' ,
72+ borderRadius : '0 0 var(--border-radius) var(--border-radius)' ,
73+ } ,
74+ } ,
3975 } ;
4076} ) ;
0 commit comments