@@ -22,7 +22,6 @@ const styles = {
22
22
th : {
23
23
backgroundColor : ThemingParameters . sapList_HeaderBackground ,
24
24
height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
25
- fontWeight : 'normal' ,
26
25
color : ThemingParameters . sapList_HeaderTextColor ,
27
26
borderTop : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
28
27
borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
@@ -41,52 +40,39 @@ const styles = {
41
40
} ,
42
41
tbody : {
43
42
position : 'relative' ,
44
- zIndex : 0 ,
45
43
backgroundColor : ThemingParameters . sapList_Background ,
46
44
overflowX : 'hidden' ,
47
45
overflowY : 'auto'
48
46
} ,
49
47
alternateRowColor : {
50
- backgroundColor : ThemingParameters . sapList_HeaderBackground
48
+ backgroundColor : ThemingParameters . sapList_AlternatingBackground
51
49
} ,
52
- emptyRow : { } ,
53
50
tr : {
54
51
position : 'absolute' ,
55
52
top : 0 ,
56
53
left : 0 ,
57
54
width : '100%' ,
58
- zIndex : 0 ,
59
55
color : ThemingParameters . sapList_TextColor ,
60
56
borderBottom : `1px solid ${ ThemingParameters . sapList_BorderColor } ` ,
61
57
boxSizing : 'border-box' ,
62
58
display : 'flex' ,
63
59
height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
60
+ '&:hover' : {
61
+ backgroundColor : ThemingParameters . sapList_Hover_Background
62
+ } ,
64
63
'&[data-is-selected]' : {
65
64
borderBottom : `1px solid ${ ThemingParameters . sapList_SelectionBorderColor } ` ,
66
- backgroundColor : ` ${ ThemingParameters . sapList_SelectionBackgroundColor } !important`
65
+ backgroundColor : ThemingParameters . sapList_SelectionBackgroundColor
67
66
} ,
68
67
'&[data-is-selected]:hover' : {
69
- backgroundColor : `${ ThemingParameters . sapList_Hover_SelectionBackground } !important`
70
- }
71
- } ,
72
- tableGroupHeader : {
73
- '&$tr' : {
74
- backgroundColor : `${ ThemingParameters . sapList_TableGroupHeaderBackground } !important` ,
75
- border : `1px solid ${ ThemingParameters . sapList_TableGroupHeaderBorderColor } ` ,
76
- color : ThemingParameters . sapList_TextColor ,
77
- '& $tableCell' : {
78
- borderRight : 'none'
79
- }
68
+ backgroundColor : ThemingParameters . sapList_Hover_SelectionBackground
80
69
}
81
70
} ,
82
- selectable : {
83
- '& $tr:hover:not($emptyRow)' : {
84
- backgroundColor : ThemingParameters . sapList_Hover_Background ,
85
- '&:not($selectionModeRowSelector)' : {
86
- cursor : 'pointer'
87
- }
71
+ trActive : {
72
+ '&:hover' : {
73
+ cursor : 'pointer'
88
74
} ,
89
- '& $tr :active:not([data-is-selected]):not($tableGroupHeader):not($emptyRow):not($selectionModeRowSelector) ' : {
75
+ '&:active' : {
90
76
backgroundColor : ThemingParameters . sapList_Active_Background ,
91
77
'& $tableCell' : {
92
78
borderRight : `1px solid ${ ThemingParameters . sapList_Active_Background } ` ,
@@ -95,7 +81,16 @@ const styles = {
95
81
}
96
82
}
97
83
} ,
98
- selectionModeRowSelector : { } ,
84
+ tableGroupHeader : {
85
+ '&$tr' : {
86
+ backgroundColor : `${ ThemingParameters . sapList_TableGroupHeaderBackground } ` ,
87
+ border : `1px solid ${ ThemingParameters . sapList_TableGroupHeaderBorderColor } ` ,
88
+ color : ThemingParameters . sapList_TextColor ,
89
+ '& $tableCell' : {
90
+ borderRight : 'none'
91
+ }
92
+ }
93
+ } ,
99
94
tableCell : {
100
95
height : CssSizeVariables . sapWcrAnalyticalTableRowHeight ,
101
96
boxSizing : 'border-box' ,
0 commit comments