File tree Expand file tree Collapse file tree 1 file changed +18
-13
lines changed
packages/main/src/components/AnalyticalTable Expand file tree Collapse file tree 1 file changed +18
-13
lines changed Original file line number Diff line number Diff line change
1
+ .baseCellFocus {
2
+ & : focus {
3
+ outline : none;
4
+ }
5
+ & : not ([data-empty-row-cell ]): focus ::after {
6
+ content : '' ;
7
+ pointer-events : none;
8
+ inset-inline : 1px ;
9
+ inset-block : 1px ;
10
+ border : var (--sapContent_FocusWidth ) var (--sapContent_FocusStyle ) var (--sapContent_FocusColor );
11
+ position : absolute;
12
+ }
13
+ }
14
+
1
15
.table {
2
16
position : relative;
3
17
width : 100% ;
80
94
}
81
95
82
96
.th {
97
+ composes : baseCellFocus;
98
+
83
99
height : var (--_ui5wcr-AnalyticalTableHeaderRowHeight );
84
100
color : var (--sapList_HeaderTextColor );
85
101
background-color : var (--sapList_HeaderBackground );
112
128
& [data-column-id = '__ui5wcr__internal_selection_column' ] {
113
129
border-inline-start : 1px solid transparent;
114
130
}
115
- outline-offset : calc (-1 * var (--sapContent_FocusWidth ));
116
- outline : var (--sapContent_FocusWidth ) var (--sapContent_FocusStyle ) var (--sapContent_FocusColor );
117
131
}
118
132
}
119
133
190
204
}
191
205
192
206
.tableCell {
207
+ composes : baseCellFocus;
208
+
193
209
position : relative;
194
210
height : 100% ;
195
211
box-sizing : border-box;
209
225
border-inline-end : var (--_ui5wcr-AnalyticalTable-OuterCellBorder );
210
226
}
211
227
212
- & : focus {
213
- outline : none;
214
- }
215
- & : not ([data-empty-row-cell ]): focus ::after {
216
- content : '' ;
217
- pointer-events : none;
218
- inset-inline : 1px ;
219
- inset-block : 1px ;
220
- border : var (--sapContent_FocusWidth ) var (--sapContent_FocusStyle ) var (--sapContent_FocusColor );
221
- position : absolute;
222
- }
223
228
& [aria-selected = 'true' ]: not ([data-empty-row-cell ]): focus ::after {
224
229
inset-block-end : 2px ;
225
230
}
You can’t perform that action at this time.
0 commit comments