11
11
background-color : var (--sapList_Background );
12
12
color : var (--sapList_TextColor );
13
13
border-top : 1px solid var (--sapList_BorderColor );
14
+ height : var (--ui5_table_row_height );
14
15
}
15
16
16
17
.ui5-table-row-root : focus {
17
18
outline : var (--ui5_table_row_outline_width ) var (--sapContent_FocusStyle ) var (--sapContent_FocusColor );
18
- outline-offset : -0.0625 rem ;
19
+ outline-offset : var ( --ui5_table_focus_outline_offset ) ;
19
20
}
20
21
21
22
.ui5-table-popin-row {
27
28
}
28
29
29
30
.ui5-table-popin-row td {
30
- padding : .25 rem ;
31
+ padding-top : .5 rem ;
31
32
padding-left : 1rem ;
32
33
}
33
34
35
+ .ui5-table-popin-row : last-child td {
36
+ padding-bottom : .5rem ;
37
+ }
38
+
34
39
.ui5-table-row-popin-title {
35
40
color : var (--sapContent_LabelColor );
36
41
font-family : "72override" , var (--sapFontFamily );
51
56
cursor : pointer;
52
57
}
53
58
54
- : host ([type = "Active" ]) .ui5-table-row-root : hover ,
55
- : host ([mode = "SingleSelect" ]) .ui5-table-row-root : hover ,
56
- : host ([mode = "SingleSelect" ]) .ui5-table-row-root : active {
57
- background-color : var (--sapList_Hover_Background );
59
+ : host ::slotted ([ui5-table-cell ]: not ([popined ])) {
60
+ padding : .25rem .5rem ;
58
61
}
59
62
60
- : host ([type = "Active" ][active ]) .ui5-table-row-root ,
61
- : host ([selected ][type = "Active" ][active ]) .ui5-table-row-root : hover {
62
- background-color : var (--sapList_Active_Background );
63
+ : host (: not ([mode = "MultiSelect" ])) ::slotted ([ui5-table-cell ]: not ([popined ]): first-child ) {
64
+ padding-left : 1rem ;
63
65
}
64
66
65
- : host ([selected ]) .ui5-table-row-root {
66
- background : var (--sapList_SelectionBackgroundColor );
67
- border-bottom : 1px solid var (--sapList_SelectionBorderColor );
67
+ /** Hover **/
68
+ : host ([type = "Active" ]) .ui5-table-row-root : hover ,
69
+ : host ([mode = "SingleSelect" ]) .ui5-table-row-root : hover : not (: active ) {
70
+ background-color : var (--sapList_Hover_Background );
68
71
}
69
72
70
- : host ([selected ][type = "Active" ]) .ui5-table-row-root : hover ,
71
- : host ([selected ][mode = "SingleSelect" ]) .ui5-table-row-root : hover {
72
- background : var (--sapList_Hover_SelectionBackground );
73
+ /** Down/Active **/
74
+ : host ([type = "Active" ]) .ui5-table-row-root : active ,
75
+ : host ([selected ][type = "Active" ]) .ui5-table-row-root : active {
76
+ background-color : var (--sapList_Active_Background );
73
77
}
74
78
75
- : host ([type = "Active" ][ active ] ) .ui5-table-row-root ::slotted ([ui5-table-cell ]) {
79
+ : host ([type = "Active" ]) .ui5-table-row-root : active ::slotted ([ui5-table-cell ]) {
76
80
color : var (--sapList_Active_TextColor );
77
81
}
78
82
79
- : host ::slotted ([ui5-table-cell ]) {
80
- padding : .5rem .25rem ;
83
+ /** Selected **/
84
+ : host ([selected ]) .ui5-table-row-root : not (: active ) {
85
+ background-color : var (--sapList_SelectionBackgroundColor );
86
+ border-bottom : 1px solid var (--sapList_SelectionBorderColor );
81
87
}
82
88
83
- : host ::slotted ([ui5-table-cell ]: first-child ) {
84
- padding-left : 1rem ;
89
+ /** Hover on Selected **/
90
+ : host ([selected ][type = "Active" ]) .ui5-table-row-root : hover : not (: active ),
91
+ : host ([selected ][mode = "SingleSelect" ]) .ui5-table-row-root : hover : not (: active ) {
92
+ background-color : var (--sapList_Hover_SelectionBackground );
85
93
}
0 commit comments