@openui5/sap.ui.table 1.133.1 → 1.135.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.reuse/dep5 +0 -7
- package/THIRDPARTY.txt +2 -23
- package/package.json +3 -3
- package/src/sap/ui/table/.library +1 -1
- package/src/sap/ui/table/AnalyticalColumn.js +18 -13
- package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
- package/src/sap/ui/table/AnalyticalTable.js +5 -5
- package/src/sap/ui/table/Column.js +1 -1
- package/src/sap/ui/table/ColumnMenu.js +1 -1
- package/src/sap/ui/table/CreationRow.js +1 -1
- package/src/sap/ui/table/CreationRowRenderer.js +2 -2
- package/src/sap/ui/table/Row.js +21 -21
- package/src/sap/ui/table/RowAction.js +1 -1
- package/src/sap/ui/table/RowActionItem.js +1 -1
- package/src/sap/ui/table/RowSettings.js +1 -1
- package/src/sap/ui/table/Table.js +87 -119
- package/src/sap/ui/table/TablePersoController.js +1 -1
- package/src/sap/ui/table/TableRenderer.js +51 -54
- package/src/sap/ui/table/TreeTable.js +3 -3
- package/src/sap/ui/table/extensions/Accessibility.js +536 -377
- package/src/sap/ui/table/extensions/AccessibilityRender.js +2 -11
- package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
- package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
- package/src/sap/ui/table/extensions/Keyboard.js +2 -4
- package/src/sap/ui/table/extensions/KeyboardDelegate.js +10 -48
- package/src/sap/ui/table/extensions/Pointer.js +3 -5
- package/src/sap/ui/table/extensions/Scrolling.js +1 -1
- package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
- package/src/sap/ui/table/extensions/Synchronization.js +1 -1
- package/src/sap/ui/table/library.js +11 -35
- package/src/sap/ui/table/menus/AnalyticalTableContextMenu.js +1 -1
- package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/menus/ContextMenu.js +1 -1
- package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
- package/src/sap/ui/table/messagebundle.properties +10 -14
- package/src/sap/ui/table/messagebundle_ar.properties +6 -9
- package/src/sap/ui/table/messagebundle_bg.properties +7 -10
- package/src/sap/ui/table/messagebundle_ca.properties +6 -9
- package/src/sap/ui/table/messagebundle_cnr.properties +6 -9
- package/src/sap/ui/table/messagebundle_cs.properties +6 -9
- package/src/sap/ui/table/messagebundle_cy.properties +6 -9
- package/src/sap/ui/table/messagebundle_da.properties +6 -9
- package/src/sap/ui/table/messagebundle_de.properties +4 -7
- package/src/sap/ui/table/messagebundle_el.properties +5 -8
- package/src/sap/ui/table/messagebundle_en.properties +6 -9
- package/src/sap/ui/table/messagebundle_en_GB.properties +4 -7
- package/src/sap/ui/table/messagebundle_es.properties +6 -9
- package/src/sap/ui/table/messagebundle_es_MX.properties +5 -8
- package/src/sap/ui/table/messagebundle_et.properties +6 -9
- package/src/sap/ui/table/messagebundle_fi.properties +6 -9
- package/src/sap/ui/table/messagebundle_fr.properties +6 -9
- package/src/sap/ui/table/messagebundle_fr_CA.properties +6 -9
- package/src/sap/ui/table/messagebundle_hi.properties +6 -9
- package/src/sap/ui/table/messagebundle_hr.properties +6 -9
- package/src/sap/ui/table/messagebundle_hu.properties +6 -9
- package/src/sap/ui/table/messagebundle_id.properties +6 -9
- package/src/sap/ui/table/messagebundle_it.properties +6 -9
- package/src/sap/ui/table/messagebundle_iw.properties +6 -9
- package/src/sap/ui/table/messagebundle_ja.properties +5 -8
- package/src/sap/ui/table/messagebundle_kk.properties +10 -13
- package/src/sap/ui/table/messagebundle_ko.properties +5 -8
- package/src/sap/ui/table/messagebundle_lt.properties +4 -7
- package/src/sap/ui/table/messagebundle_lv.properties +5 -8
- package/src/sap/ui/table/messagebundle_mk.properties +6 -9
- package/src/sap/ui/table/messagebundle_ms.properties +5 -8
- package/src/sap/ui/table/messagebundle_nl.properties +6 -9
- package/src/sap/ui/table/messagebundle_no.properties +6 -9
- package/src/sap/ui/table/messagebundle_pl.properties +6 -9
- package/src/sap/ui/table/messagebundle_pt.properties +6 -9
- package/src/sap/ui/table/messagebundle_pt_PT.properties +4 -7
- package/src/sap/ui/table/messagebundle_ro.properties +6 -9
- package/src/sap/ui/table/messagebundle_ru.properties +6 -9
- package/src/sap/ui/table/messagebundle_sh.properties +6 -9
- package/src/sap/ui/table/messagebundle_sk.properties +6 -9
- package/src/sap/ui/table/messagebundle_sl.properties +6 -9
- package/src/sap/ui/table/messagebundle_sr.properties +6 -9
- package/src/sap/ui/table/messagebundle_sv.properties +6 -9
- package/src/sap/ui/table/messagebundle_th.properties +6 -9
- package/src/sap/ui/table/messagebundle_tr.properties +6 -9
- package/src/sap/ui/table/messagebundle_uk.properties +4 -7
- package/src/sap/ui/table/messagebundle_vi.properties +6 -9
- package/src/sap/ui/table/messagebundle_zh_CN.properties +4 -7
- package/src/sap/ui/table/messagebundle_zh_TW.properties +6 -9
- package/src/sap/ui/table/plugins/BindingSelection.js +33 -33
- package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +38 -32
- package/src/sap/ui/table/plugins/ODataV4Selection.js +132 -69
- package/src/sap/ui/table/plugins/PluginBase.js +52 -139
- package/src/sap/ui/table/plugins/SelectionMode.js +35 -0
- package/src/sap/ui/table/plugins/SelectionModelSelection.js +30 -35
- package/src/sap/ui/table/plugins/SelectionPlugin.js +34 -35
- package/src/sap/ui/table/plugins/V4Aggregation.js +30 -37
- package/src/sap/ui/table/rowmodes/Auto.js +1 -1
- package/src/sap/ui/table/rowmodes/Fixed.js +1 -1
- package/src/sap/ui/table/rowmodes/Interactive.js +19 -12
- package/src/sap/ui/table/rowmodes/RowMode.js +1 -3
- package/src/sap/ui/table/rowmodes/Variable.js +1 -1
- package/src/sap/ui/table/themes/base/Cell.less +54 -42
- package/src/sap/ui/table/themes/base/CreationRow.less +10 -8
- package/src/sap/ui/table/themes/base/DragDrop.less +34 -31
- package/src/sap/ui/table/themes/base/Grouping.less +23 -14
- package/src/sap/ui/table/themes/base/Row.less +6 -6
- package/src/sap/ui/table/themes/base/RowAction.less +2 -2
- package/src/sap/ui/table/themes/base/RowHighlight.less +15 -15
- package/src/sap/ui/table/themes/base/RowSelection.less +13 -8
- package/src/sap/ui/table/themes/base/Scrolling.less +73 -25
- package/src/sap/ui/table/themes/base/Table.less +63 -46
- package/src/sap/ui/table/themes/base/library.source.less +3 -3
- package/src/sap/ui/table/utils/TableUtils.js +16 -6
- package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
- package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
- package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
- package/src/sap/ui/table/utils/_HookUtils.js +1 -1
- package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
- package/LICENSES/LicenseRef-tzdata-PublicDomain.txt +0 -5
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
@_sap_ui_table_Scrolling_VScrollbarWidth: calc(@_sap_ui_table_Scrolling_ScrollbarSize ~"+" @_sap_ui_table_BaseBorderWidth);
|
|
19
19
|
@_sap_ui_table_Scrolling_VScrollbarWidthMobile: calc(@_sap_ui_table_Scrolling_ScrollbarSizeMobile ~"+" @_sap_ui_table_BaseBorderWidth);
|
|
20
20
|
|
|
21
|
-
@_sap_ui_table_Scrolling_ScrollbarBackground:
|
|
21
|
+
@_sap_ui_table_Scrolling_ScrollbarBackground: var(--sapList_HeaderBackground);
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
/* Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters. */
|
|
24
24
|
._sap_ui_table_Scrolling_NativeScrollbarCommon() {}
|
|
25
25
|
._sap_ui_table_Scrolling_NativeScrollbarDesktop() {}
|
|
26
26
|
._sap_ui_table_Scrolling_NativeScrollbarMobile() {}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
overflow-x: hidden;
|
|
48
48
|
overflow-y: scroll;
|
|
49
49
|
-webkit-overflow-scrolling: auto;
|
|
50
|
-
background-color:
|
|
50
|
+
background-color: var(--sapList_Background);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.sapUiTableVSbHeader {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
position: absolute;
|
|
58
58
|
right: 0;
|
|
59
59
|
top: 0;
|
|
60
|
-
background-color:
|
|
60
|
+
background-color: var(--sapList_HeaderBackground);
|
|
61
61
|
border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
|
|
62
62
|
display: none;
|
|
63
63
|
|
|
@@ -71,7 +71,12 @@
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.sapUiTableVScr {
|
|
74
|
-
|
|
74
|
+
|
|
75
|
+
.sapUiTableHSb,
|
|
76
|
+
.sapUiTableCtrlScr,
|
|
77
|
+
.sapUiTableColHdrScr,
|
|
78
|
+
.sapUiTableRowActionScr,
|
|
79
|
+
.sapUiTableRowWithAction {
|
|
75
80
|
margin-right: @_sap_ui_table_Scrolling_VScrollbarWidth;
|
|
76
81
|
}
|
|
77
82
|
}
|
|
@@ -88,7 +93,10 @@
|
|
|
88
93
|
|
|
89
94
|
html.sap-tablet:not(.sap-desktop) &,
|
|
90
95
|
html.sap-phone & {
|
|
91
|
-
|
|
96
|
+
|
|
97
|
+
.sapUiTableHSb,
|
|
98
|
+
.sapUiTableCtrlScr,
|
|
99
|
+
.sapUiTableColHdrScr {
|
|
92
100
|
margin-right: calc(@_sap_ui_table_Scrolling_VScrollbarWidthMobile ~"+" @@RowActionWidth);
|
|
93
101
|
}
|
|
94
102
|
|
|
@@ -100,7 +108,10 @@
|
|
|
100
108
|
|
|
101
109
|
._sapUiTableNoVScrWithActionsInnerMixin(@variant:"Width") {
|
|
102
110
|
@RowActionWidth: "_sap_ui_table_RowActionColumn@{variant}";
|
|
103
|
-
|
|
111
|
+
|
|
112
|
+
.sapUiTableHSb,
|
|
113
|
+
.sapUiTableCtrlScr,
|
|
114
|
+
.sapUiTableColHdrScr {
|
|
104
115
|
margin-right: calc(@@RowActionWidth);
|
|
105
116
|
}
|
|
106
117
|
|
|
@@ -110,7 +121,12 @@
|
|
|
110
121
|
}
|
|
111
122
|
|
|
112
123
|
.sapUiTableVScr {
|
|
113
|
-
|
|
124
|
+
|
|
125
|
+
.sapUiTableHSb,
|
|
126
|
+
.sapUiTableCtrlScr,
|
|
127
|
+
.sapUiTableColHdrScr,
|
|
128
|
+
.sapUiTableRowActionScr,
|
|
129
|
+
.sapUiTableRowWithAction {
|
|
114
130
|
margin-right: @_sap_ui_table_Scrolling_VScrollbarWidth;
|
|
115
131
|
|
|
116
132
|
html.sap-tablet:not(.sap-desktop) &,
|
|
@@ -121,63 +137,76 @@
|
|
|
121
137
|
}
|
|
122
138
|
|
|
123
139
|
.sapUiTableVScr.sapUiTableRAct {
|
|
140
|
+
|
|
124
141
|
._sapUiTableVScrWithActionsInnerMixin();
|
|
125
142
|
}
|
|
126
143
|
|
|
127
144
|
.sapUiSizeCozy.sapUiTableVScr.sapUiTableRAct,
|
|
128
145
|
.sapUiSizeCozy .sapUiTableVScr.sapUiTableRAct {
|
|
146
|
+
|
|
129
147
|
._sapUiTableVScrWithActionsInnerMixin("WidthCozy");
|
|
130
148
|
}
|
|
131
149
|
|
|
132
150
|
.sapUiSizeCondensed.sapUiTableVScr.sapUiTableRAct,
|
|
133
151
|
.sapUiSizeCondensed .sapUiTableVScr.sapUiTableRAct {
|
|
152
|
+
|
|
134
153
|
._sapUiTableVScrWithActionsInnerMixin("WidthCondensed");
|
|
135
154
|
}
|
|
136
155
|
|
|
137
156
|
.sapUiTableVScr.sapUiTableRActS {
|
|
157
|
+
|
|
138
158
|
._sapUiTableVScrWithActionsInnerMixin("SmallWidth");
|
|
139
159
|
}
|
|
140
160
|
|
|
141
161
|
.sapUiSizeCozy.sapUiTableVScr.sapUiTableRActS,
|
|
142
162
|
.sapUiSizeCozy .sapUiTableVScr.sapUiTableRActS {
|
|
163
|
+
|
|
143
164
|
._sapUiTableVScrWithActionsInnerMixin("SmallWidthCozy");
|
|
144
165
|
}
|
|
145
166
|
|
|
146
167
|
.sapUiSizeCondensed.sapUiTableVScr.sapUiTableRActS,
|
|
147
168
|
.sapUiSizeCondensed .sapUiTableVScr.sapUiTableRActS {
|
|
169
|
+
|
|
148
170
|
._sapUiTableVScrWithActionsInnerMixin("SmallWidthCondensed");
|
|
149
171
|
}
|
|
150
172
|
|
|
151
173
|
.sapUiTableRAct:not(.sapUiTableVScr) {
|
|
174
|
+
|
|
152
175
|
._sapUiTableNoVScrWithActionsInnerMixin();
|
|
153
176
|
}
|
|
154
177
|
|
|
155
178
|
.sapUiSizeCozy.sapUiTableRAct:not(.sapUiTableVScr),
|
|
156
179
|
.sapUiSizeCozy .sapUiTableRAct:not(.sapUiTableVScr) {
|
|
180
|
+
|
|
157
181
|
._sapUiTableNoVScrWithActionsInnerMixin("WidthCozy");
|
|
158
182
|
}
|
|
159
183
|
|
|
160
184
|
.sapUiSizeCondensed.sapUiTableRAct:not(.sapUiTableVScr),
|
|
161
185
|
.sapUiSizeCondensed .sapUiTableRAct:not(.sapUiTableVScr) {
|
|
186
|
+
|
|
162
187
|
._sapUiTableNoVScrWithActionsInnerMixin("WidthCondensed");
|
|
163
188
|
}
|
|
164
189
|
|
|
165
190
|
.sapUiTableRActS:not(.sapUiTableVScr) {
|
|
191
|
+
|
|
166
192
|
._sapUiTableNoVScrWithActionsInnerMixin("SmallWidth");
|
|
167
193
|
}
|
|
168
194
|
|
|
169
195
|
.sapUiSizeCozy.sapUiTableRActS:not(.sapUiTableVScr),
|
|
170
196
|
.sapUiSizeCozy .sapUiTableRActS:not(.sapUiTableVScr) {
|
|
197
|
+
|
|
171
198
|
._sapUiTableNoVScrWithActionsInnerMixin("SmallWidthCozy");
|
|
172
199
|
}
|
|
173
200
|
|
|
174
201
|
.sapUiSizeCondensed.sapUiTableRActS:not(.sapUiTableVScr),
|
|
175
202
|
.sapUiSizeCondensed .sapUiTableRActS:not(.sapUiTableVScr) {
|
|
203
|
+
|
|
176
204
|
._sapUiTableNoVScrWithActionsInnerMixin("SmallWidthCondensed");
|
|
177
205
|
}
|
|
178
206
|
|
|
179
207
|
/* Hide last border right of column header and cell when no vertical scroll is available */
|
|
180
208
|
.sapUiTable:not(.sapUiTableVScr) {
|
|
209
|
+
|
|
181
210
|
.sapUiTableColHdrScr .sapUiTableHeaderCell:last-child,
|
|
182
211
|
.sapUiTableCtrlScroll .sapUiTableTr > td:last-child {
|
|
183
212
|
border-right: none;
|
|
@@ -198,7 +227,7 @@
|
|
|
198
227
|
overflow-y: hidden;
|
|
199
228
|
-webkit-overflow-scrolling: auto;
|
|
200
229
|
border-right: @_sap_ui_table_BaseBorderWidth solid transparent; /* Simulates the right border of the table cells in the content area */
|
|
201
|
-
background-color:
|
|
230
|
+
background-color: var(--sapList_Background);
|
|
202
231
|
}
|
|
203
232
|
|
|
204
233
|
.sapUiTableHSbBg {
|
|
@@ -214,7 +243,7 @@
|
|
|
214
243
|
overflow-x: scroll;
|
|
215
244
|
overflow-y: hidden;
|
|
216
245
|
-webkit-overflow-scrolling: auto;
|
|
217
|
-
background-color:
|
|
246
|
+
background-color: var(--sapList_Background);
|
|
218
247
|
}
|
|
219
248
|
|
|
220
249
|
.sapUiTableHSbContent {
|
|
@@ -223,15 +252,17 @@
|
|
|
223
252
|
|
|
224
253
|
.sapUiTableHScr {
|
|
225
254
|
|
|
226
|
-
.sapUiTableHSb,
|
|
255
|
+
.sapUiTableHSb,
|
|
256
|
+
.sapUiTableHSbBg {
|
|
227
257
|
display: block;
|
|
228
258
|
}
|
|
229
259
|
|
|
230
260
|
.sapUiTableFtr {
|
|
231
|
-
border-top: @_sap_ui_table_BaseBorderWidth solid
|
|
261
|
+
border-top: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
232
262
|
}
|
|
233
263
|
|
|
234
|
-
.sapUiTableColReorderIndicator,
|
|
264
|
+
.sapUiTableColReorderIndicator,
|
|
265
|
+
.sapUiTableColRsz {
|
|
235
266
|
bottom: @_sap_ui_table_Scrolling_HScrollbarHeight;
|
|
236
267
|
}
|
|
237
268
|
|
|
@@ -240,50 +271,56 @@
|
|
|
240
271
|
.sapUiTableVSb,
|
|
241
272
|
.sapUiTableHSb,
|
|
242
273
|
.sapUiTableHSbExternal {
|
|
274
|
+
|
|
243
275
|
&::-webkit-scrollbar-thumb {
|
|
244
|
-
background-color:
|
|
276
|
+
background-color: var(--sapScrollBar_FaceColor);
|
|
245
277
|
}
|
|
246
278
|
|
|
247
279
|
&::-webkit-scrollbar {
|
|
248
|
-
background-color:
|
|
280
|
+
background-color: var(--sapScrollBar_TrackColor);
|
|
249
281
|
}
|
|
250
282
|
|
|
251
283
|
._sap_ui_table_Scrolling_NativeScrollbarCommon();
|
|
252
284
|
}
|
|
253
285
|
|
|
254
286
|
html.sap-desktop {
|
|
287
|
+
|
|
255
288
|
.sapUiTableVSb,
|
|
256
289
|
.sapUiTableHSb,
|
|
257
290
|
.sapUiTableHSbExternal {
|
|
291
|
+
|
|
258
292
|
._sap_ui_table_Scrolling_NativeScrollbarDesktop();
|
|
259
293
|
}
|
|
260
294
|
|
|
261
295
|
.sapUiTableVSb {
|
|
296
|
+
|
|
262
297
|
&::-webkit-scrollbar:vertical {
|
|
263
298
|
width: @_sap_ui_table_Scrolling_ScrollbarSize;
|
|
264
299
|
}
|
|
265
300
|
|
|
266
301
|
&::-webkit-scrollbar-thumb:vertical {
|
|
267
|
-
border-left: 0.125rem solid
|
|
268
|
-
border-right: 0.125rem solid
|
|
302
|
+
border-left: 0.125rem solid var(--sapScrollBar_TrackColor);
|
|
303
|
+
border-right: 0.125rem solid var(--sapScrollBar_TrackColor);
|
|
269
304
|
}
|
|
270
305
|
}
|
|
271
306
|
|
|
272
307
|
.sapUiTableHSb,
|
|
273
308
|
.sapUiTableHSbExternal {
|
|
309
|
+
|
|
274
310
|
&::-webkit-scrollbar:horizontal {
|
|
275
311
|
height: @_sap_ui_table_Scrolling_ScrollbarSize;
|
|
276
312
|
}
|
|
277
313
|
|
|
278
314
|
&::-webkit-scrollbar-thumb:horizontal {
|
|
279
|
-
border-top: 0.125rem solid
|
|
280
|
-
border-bottom: 0.125rem solid
|
|
315
|
+
border-top: 0.125rem solid var(--sapScrollBar_TrackColor);
|
|
316
|
+
border-bottom: 0.125rem solid var(--sapScrollBar_TrackColor);
|
|
281
317
|
}
|
|
282
318
|
}
|
|
283
319
|
}
|
|
284
320
|
|
|
285
321
|
html.sap-tablet:not(.sap-desktop),
|
|
286
322
|
html.sap-phone {
|
|
323
|
+
|
|
287
324
|
.sapUiTableVSb,
|
|
288
325
|
.sapUiTableHSb,
|
|
289
326
|
.sapUiTableHSbExternal {
|
|
@@ -292,6 +329,7 @@ html.sap-phone {
|
|
|
292
329
|
}
|
|
293
330
|
|
|
294
331
|
.sapUiTableVSb {
|
|
332
|
+
|
|
295
333
|
&::-webkit-scrollbar:vertical {
|
|
296
334
|
width: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
|
|
297
335
|
}
|
|
@@ -299,13 +337,14 @@ html.sap-phone {
|
|
|
299
337
|
&::-webkit-scrollbar-thumb:vertical {
|
|
300
338
|
width: 0.25rem;
|
|
301
339
|
min-height: 0.25rem;
|
|
302
|
-
border-left: 0.125rem solid
|
|
303
|
-
border-right: 0.125rem solid
|
|
340
|
+
border-left: 0.125rem solid var(--sapScrollBar_BorderColor);
|
|
341
|
+
border-right: 0.125rem solid var(--sapScrollBar_BorderColor);
|
|
304
342
|
}
|
|
305
343
|
}
|
|
306
344
|
|
|
307
345
|
.sapUiTableHSb,
|
|
308
346
|
.sapUiTableHSbExternal {
|
|
347
|
+
|
|
309
348
|
&::-webkit-scrollbar:horizontal {
|
|
310
349
|
height: @_sap_ui_table_Scrolling_ScrollbarSizeMobile;
|
|
311
350
|
}
|
|
@@ -313,8 +352,8 @@ html.sap-phone {
|
|
|
313
352
|
&::-webkit-scrollbar-thumb:horizontal {
|
|
314
353
|
height: 0.25rem;
|
|
315
354
|
min-width: 0.25rem;
|
|
316
|
-
border-top: 0.125rem solid
|
|
317
|
-
border-bottom: 0.125rem solid
|
|
355
|
+
border-top: 0.125rem solid var(--sapScrollBar_BorderColor);
|
|
356
|
+
border-bottom: 0.125rem solid var(--sapScrollBar_BorderColor);
|
|
318
357
|
}
|
|
319
358
|
}
|
|
320
359
|
|
|
@@ -330,13 +369,22 @@ html.sap-phone {
|
|
|
330
369
|
}
|
|
331
370
|
|
|
332
371
|
.sapUiTableVScr {
|
|
333
|
-
|
|
372
|
+
|
|
373
|
+
.sapUiTableCtrlScr,
|
|
374
|
+
.sapUiTableColHdrScr,
|
|
375
|
+
.sapUiTableHSb,
|
|
376
|
+
.sapUiTableRowActionScr,
|
|
377
|
+
.sapUiTableRowWithAction {
|
|
334
378
|
margin-right: @_sap_ui_table_Scrolling_VScrollbarWidthMobile;
|
|
335
379
|
}
|
|
336
380
|
}
|
|
337
381
|
|
|
338
382
|
.sapUiTableHScr {
|
|
339
|
-
|
|
383
|
+
|
|
384
|
+
.sapUiTableColReorderIndicator,
|
|
385
|
+
.sapUiTableColRsz,
|
|
386
|
+
.sapUiTableRowActionScr,
|
|
387
|
+
.sapUiTableRowWithAction {
|
|
340
388
|
bottom: @_sap_ui_table_Scrolling_HScrollbarHeightMobile;
|
|
341
389
|
}
|
|
342
390
|
}
|
|
@@ -11,21 +11,21 @@
|
|
|
11
11
|
@_sap_ui_table_Table_FooterPaddingRight: 1rem;
|
|
12
12
|
@_sap_ui_table_Table_TableHeaderBorderWidth: @_sap_ui_table_BaseBorderWidth;
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
/* Can be used in other themes to add styles for which there are no style definitions in the base theme and therefore no theme parameters. */
|
|
15
15
|
._sap_ui_table_Table_TitleContainer() {}
|
|
16
16
|
._sap_ui_table_Table_ExtensionContainer() {}
|
|
17
17
|
._sap_ui_table_Table_GridContainer() {}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
/**********************************************
|
|
20
20
|
* MAIN TABLE SECTIONS (First Level Elements)
|
|
21
|
-
|
|
21
|
+
**********************************************/
|
|
22
22
|
|
|
23
23
|
.sapUiTable {
|
|
24
|
-
font-family:
|
|
25
|
-
color:
|
|
24
|
+
font-family: var(--sapFontFamily);
|
|
25
|
+
color: var(--sapList_TextColor);
|
|
26
26
|
position: relative;
|
|
27
27
|
box-sizing: border-box;
|
|
28
|
-
z-index: 0;
|
|
28
|
+
z-index: 0; /* Define stacking context to avoid conflicts with other controls */
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.sapUiTableBefore {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
align-items: center;
|
|
38
38
|
padding-left: @_sap_ui_table_Table_HeaderPaddingLeft;
|
|
39
39
|
padding-right: @_sap_ui_table_Table_HeaderPaddingRight;
|
|
40
|
-
background-color:
|
|
40
|
+
background-color: var(--sapGroup_TitleBackground);
|
|
41
41
|
min-height: @_sap_ui_table_Table_HeaderHeight;
|
|
42
42
|
|
|
43
43
|
> * {
|
|
@@ -48,14 +48,15 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.sapUiTableHdrTitle {
|
|
51
|
-
font-family:
|
|
52
|
-
font-size:
|
|
51
|
+
font-family: var(--sapFontHeaderFamily);
|
|
52
|
+
font-size: var(--sapFontHeader4Size);
|
|
53
53
|
font-weight: @sapUiFontHeaderWeight;
|
|
54
|
-
color:
|
|
54
|
+
color: var(--sapGroup_TitleTextColor);
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
.sapUiTableTbr,
|
|
58
58
|
.sapUiTableExt {
|
|
59
|
+
|
|
59
60
|
._sap_ui_table_Table_ExtensionContainer();
|
|
60
61
|
}
|
|
61
62
|
|
|
@@ -65,20 +66,21 @@
|
|
|
65
66
|
overflow: hidden; /* avoid scrollbar for column resize handlers */
|
|
66
67
|
border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
|
|
67
68
|
border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
|
|
68
|
-
border-top: @_sap_ui_table_BaseBorderWidth solid
|
|
69
|
-
background-color:
|
|
69
|
+
border-top: @_sap_ui_table_BaseBorderWidth solid var(--sapList_BorderColor);
|
|
70
|
+
background-color: var(--sapBackgroundColor);
|
|
71
|
+
|
|
70
72
|
._sap_ui_table_Table_GridContainer();
|
|
71
73
|
}
|
|
72
74
|
|
|
73
75
|
.sapUiTableFtr {
|
|
74
76
|
display: flex;
|
|
75
77
|
align-items: center;
|
|
76
|
-
border-bottom: @_sap_ui_table_BaseBorderWidth solid
|
|
77
|
-
border-left: @_sap_ui_table_BaseBorderWidth solid
|
|
78
|
-
border-right: @_sap_ui_table_BaseBorderWidth solid
|
|
78
|
+
border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
79
|
+
border-left: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
80
|
+
border-right: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
79
81
|
box-sizing: border-box;
|
|
80
82
|
min-height: @_sap_ui_table_Table_FooterHeight;
|
|
81
|
-
background-color:
|
|
83
|
+
background-color: var(--sapList_Background);
|
|
82
84
|
padding-left: @_sap_ui_table_Table_FooterPaddingLeft;
|
|
83
85
|
padding-right: @_sap_ui_table_Table_FooterPaddingLeft;
|
|
84
86
|
font-weight: bold;
|
|
@@ -89,9 +91,9 @@
|
|
|
89
91
|
}
|
|
90
92
|
|
|
91
93
|
.sapUiTablePlaceholder {
|
|
92
|
-
background-color:
|
|
94
|
+
background-color: var(--sapList_Background);
|
|
93
95
|
box-sizing: border-box;
|
|
94
|
-
border-bottom: @_sap_ui_table_BaseBorderWidth solid
|
|
96
|
+
border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
.sapUiTableOuterAfter,
|
|
@@ -99,9 +101,9 @@
|
|
|
99
101
|
display: none;
|
|
100
102
|
}
|
|
101
103
|
|
|
102
|
-
|
|
104
|
+
/**********************************************
|
|
103
105
|
* OTHERS
|
|
104
|
-
|
|
106
|
+
**********************************************/
|
|
105
107
|
|
|
106
108
|
.sapUiTableNoOpacity {
|
|
107
109
|
opacity: 0;
|
|
@@ -115,22 +117,22 @@
|
|
|
115
117
|
display: inline-block;
|
|
116
118
|
}
|
|
117
119
|
|
|
118
|
-
|
|
120
|
+
/* Hide table during transition, because shrinked width causes growing rows */
|
|
119
121
|
.sapMNavItemFlipping .sapUiTable {
|
|
120
122
|
opacity: 0;
|
|
121
123
|
}
|
|
122
124
|
|
|
123
125
|
.sapUiTable .sapUiLocalBusyIndicator {
|
|
124
|
-
z-index: 11;
|
|
126
|
+
z-index: 11; /* The BusyIndicator deserves to be on top! */
|
|
125
127
|
}
|
|
126
128
|
|
|
127
129
|
.sapUiTableHidden {
|
|
128
130
|
display: none;
|
|
129
131
|
}
|
|
130
132
|
|
|
131
|
-
|
|
133
|
+
/**********************************************
|
|
132
134
|
* OVERLAY / NODATA AREA
|
|
133
|
-
|
|
135
|
+
**********************************************/
|
|
134
136
|
|
|
135
137
|
.sapUiTableCtrlEmptyMsg {
|
|
136
138
|
position: absolute;
|
|
@@ -158,12 +160,12 @@
|
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
.sapUiTableCtrlEmpty {
|
|
161
|
-
background-color:
|
|
163
|
+
background-color: var(--sapList_Background);
|
|
162
164
|
font-size: @sapMFontMediumSize;
|
|
163
|
-
z-index: 10;
|
|
165
|
+
z-index: 10; /* Makes sure that the NoData overlays the rows. For example, sapUiTableRowActionScr also has a z-index. */
|
|
164
166
|
|
|
165
167
|
.sapUiSizeCozy & {
|
|
166
|
-
font-size:
|
|
168
|
+
font-size: var(--sapFontLargeSize);
|
|
167
169
|
}
|
|
168
170
|
}
|
|
169
171
|
|
|
@@ -179,6 +181,7 @@
|
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
.sapUiTableEmpty {
|
|
184
|
+
|
|
182
185
|
.sapUiTableCtrlEmpty {
|
|
183
186
|
display: block;
|
|
184
187
|
}
|
|
@@ -191,10 +194,10 @@
|
|
|
191
194
|
.sapUiTableOverlayArea:focus,
|
|
192
195
|
.sapUiTableCtrlEmpty:focus,
|
|
193
196
|
.sapUiTableCnt > .sapUiLocalBusyIndicator:focus {
|
|
194
|
-
outline-width:
|
|
195
|
-
outline-style:
|
|
197
|
+
outline-width: var(--sapContent_FocusWidth);
|
|
198
|
+
outline-style: var(--sapContent_FocusStyle);
|
|
196
199
|
outline-offset: -3px;
|
|
197
|
-
outline-color:
|
|
200
|
+
outline-color: var(--sapContent_FocusColor);
|
|
198
201
|
}
|
|
199
202
|
|
|
200
203
|
.sapUiTable.sapUiTableOverlay {
|
|
@@ -242,20 +245,20 @@
|
|
|
242
245
|
|
|
243
246
|
}
|
|
244
247
|
|
|
245
|
-
|
|
248
|
+
/**********************************************
|
|
246
249
|
* COLUMN HEADERS
|
|
247
|
-
|
|
250
|
+
**********************************************/
|
|
248
251
|
|
|
249
252
|
.sapUiTableColHdrCnt {
|
|
250
253
|
display: none;
|
|
251
254
|
position: relative;
|
|
252
|
-
background-color:
|
|
255
|
+
background-color: var(--sapList_HeaderBackground);
|
|
253
256
|
max-width: 100%;
|
|
254
257
|
overflow: hidden;
|
|
255
258
|
white-space: nowrap;
|
|
256
259
|
min-height: @_sap_ui_table_ColumnHeaderHeight;
|
|
257
|
-
border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid
|
|
258
|
-
color:
|
|
260
|
+
border-bottom: @_sap_ui_table_Table_TableHeaderBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
261
|
+
color: var(--sapList_TextColor);
|
|
259
262
|
}
|
|
260
263
|
|
|
261
264
|
.sapUiTableCHdr .sapUiTableColHdrCnt {
|
|
@@ -264,7 +267,7 @@
|
|
|
264
267
|
|
|
265
268
|
.sapUiSizeCozy .sapUiTableColHdrCnt {
|
|
266
269
|
min-height: @_sap_ui_table_ColumnHeaderHeightCozy;
|
|
267
|
-
border-bottom-color:
|
|
270
|
+
border-bottom-color: var(--sapList_HeaderBorderColor);
|
|
268
271
|
}
|
|
269
272
|
|
|
270
273
|
.sapUiTableColHdrScr {
|
|
@@ -288,9 +291,9 @@
|
|
|
288
291
|
min-height: @_sap_ui_table_ColumnHeaderHeightCozy;
|
|
289
292
|
}
|
|
290
293
|
|
|
291
|
-
|
|
294
|
+
/**********************************************
|
|
292
295
|
* ROW HEADERS
|
|
293
|
-
|
|
296
|
+
**********************************************/
|
|
294
297
|
|
|
295
298
|
.sapUiTableRowHdrScr {
|
|
296
299
|
display: none;
|
|
@@ -320,6 +323,7 @@
|
|
|
320
323
|
}
|
|
321
324
|
|
|
322
325
|
.sapUiSizeCondensed {
|
|
326
|
+
|
|
323
327
|
.sapUiTableRowHdrScr {
|
|
324
328
|
min-height: @_sap_ui_table_RowHeightCondensed;
|
|
325
329
|
}
|
|
@@ -334,6 +338,7 @@
|
|
|
334
338
|
}
|
|
335
339
|
|
|
336
340
|
.sapUiSizeCozy {
|
|
341
|
+
|
|
337
342
|
.sapUiTableRowHdrScr {
|
|
338
343
|
min-height: @_sap_ui_table_RowHeightCozy;
|
|
339
344
|
}
|
|
@@ -351,11 +356,12 @@
|
|
|
351
356
|
font-size: 0;
|
|
352
357
|
}
|
|
353
358
|
|
|
354
|
-
|
|
359
|
+
/**********************************************
|
|
355
360
|
* Row Actions
|
|
356
|
-
|
|
361
|
+
**********************************************/
|
|
357
362
|
|
|
358
|
-
.sapUiTableRowActionScr,
|
|
363
|
+
.sapUiTableRowActionScr,
|
|
364
|
+
.sapUiTableRowWithAction {
|
|
359
365
|
display: none;
|
|
360
366
|
position: absolute;
|
|
361
367
|
top: 0;
|
|
@@ -363,6 +369,7 @@
|
|
|
363
369
|
box-sizing: border-box;
|
|
364
370
|
z-index: 4; /* Ensure Action Area before Resize/Reorder bars*/
|
|
365
371
|
touch-action: pan-x; /* for touch scrolling, vertical only */
|
|
372
|
+
|
|
366
373
|
.sapUiTableRActFlexible & {
|
|
367
374
|
right: auto;
|
|
368
375
|
}
|
|
@@ -371,19 +378,21 @@
|
|
|
371
378
|
.sapUiTableRAct,
|
|
372
379
|
.sapUiTableRActS,
|
|
373
380
|
.sapUiTableRowNavIndicator {
|
|
374
|
-
|
|
381
|
+
|
|
382
|
+
& .sapUiTableRowActionScr,
|
|
383
|
+
& .sapUiTableRowWithAction {
|
|
375
384
|
display: block;
|
|
376
385
|
}
|
|
377
386
|
}
|
|
378
387
|
|
|
379
|
-
|
|
388
|
+
/**********************************************
|
|
380
389
|
* INNER TABLE
|
|
381
|
-
|
|
390
|
+
**********************************************/
|
|
382
391
|
|
|
383
392
|
.sapUiTableCCnt {
|
|
384
393
|
position: relative;
|
|
385
394
|
overflow: hidden;
|
|
386
|
-
border-bottom: @_sap_ui_table_BaseBorderWidth solid
|
|
395
|
+
border-bottom: @_sap_ui_table_BaseBorderWidth solid var(--sapList_HeaderBorderColor);
|
|
387
396
|
}
|
|
388
397
|
|
|
389
398
|
.sapUiTableCtrlCnt {
|
|
@@ -425,7 +434,8 @@
|
|
|
425
434
|
|
|
426
435
|
/* disable horizontal touch move behavior on fixed table rows
|
|
427
436
|
horizontal scrolling is done by the scroll extension */
|
|
428
|
-
.sapUiTableCtrlRowFixed,
|
|
437
|
+
.sapUiTableCtrlRowFixed,
|
|
438
|
+
.sapUiTableCtrlRowFixedBottom {
|
|
429
439
|
touch-action: pan-y;
|
|
430
440
|
}
|
|
431
441
|
|
|
@@ -439,6 +449,7 @@
|
|
|
439
449
|
}
|
|
440
450
|
|
|
441
451
|
.sapUiTableRowSelectors:not(.sapUiTableRowHighlights) {
|
|
452
|
+
|
|
442
453
|
.sapUiTableCtrlScr,
|
|
443
454
|
.sapUiTableCtrlScrFixed {
|
|
444
455
|
margin-left: @_sap_ui_table_RowSelectorWidth;
|
|
@@ -446,6 +457,7 @@
|
|
|
446
457
|
}
|
|
447
458
|
|
|
448
459
|
.sapUiTableRowHighlights:not(.sapUiTableRowSelectors) {
|
|
460
|
+
|
|
449
461
|
.sapUiTableCtrlScr,
|
|
450
462
|
.sapUiTableCtrlScrFixed {
|
|
451
463
|
margin-left: @_sap_ui_table_RowHighlightWidth;
|
|
@@ -453,6 +465,7 @@
|
|
|
453
465
|
}
|
|
454
466
|
|
|
455
467
|
.sapUiTableRowSelectors.sapUiTableRowHighlights {
|
|
468
|
+
|
|
456
469
|
.sapUiTableCtrlScr,
|
|
457
470
|
.sapUiTableCtrlScrFixed {
|
|
458
471
|
margin-left: calc(@_sap_ui_table_RowSelectorWidth ~"+" @_sap_ui_table_RowHighlightWidth);
|
|
@@ -465,6 +478,7 @@
|
|
|
465
478
|
.sapUiTableRowSelectors {
|
|
466
479
|
|
|
467
480
|
&:not(.sapUiTableRowHighlights) {
|
|
481
|
+
|
|
468
482
|
.sapUiTableCtrlScr,
|
|
469
483
|
.sapUiTableCtrlScrFixed {
|
|
470
484
|
margin-left: @_sap_ui_table_RowSelectorWidthCozy;
|
|
@@ -476,6 +490,7 @@
|
|
|
476
490
|
.sapUiTableRowSelectors {
|
|
477
491
|
|
|
478
492
|
&.sapUiTableRowHighlights {
|
|
493
|
+
|
|
479
494
|
.sapUiTableCtrlScr,
|
|
480
495
|
.sapUiTableCtrlScrFixed {
|
|
481
496
|
margin-left: calc(@_sap_ui_table_RowSelectorWidthCozy ~"+" @_sap_ui_table_RowHighlightWidth);
|
|
@@ -490,6 +505,7 @@
|
|
|
490
505
|
.sapUiTableRowSelectors {
|
|
491
506
|
|
|
492
507
|
&:not(.sapUiTableRowHighlights) {
|
|
508
|
+
|
|
493
509
|
.sapUiTableCtrlScr,
|
|
494
510
|
.sapUiTableCtrlScrFixed {
|
|
495
511
|
margin-left: @_sap_ui_table_RowSelectorWidthCondensed;
|
|
@@ -501,6 +517,7 @@
|
|
|
501
517
|
.sapUiTableRowSelectors {
|
|
502
518
|
|
|
503
519
|
&.sapUiTableRowHighlights {
|
|
520
|
+
|
|
504
521
|
.sapUiTableCtrlScr,
|
|
505
522
|
.sapUiTableCtrlScrFixed {
|
|
506
523
|
margin-left: calc(@_sap_ui_table_RowSelectorWidthCondensed ~"+" @_sap_ui_table_RowHighlightWidth);
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
@import "../../../../../sap/ui/core/themes/base/base.less";
|
|
7
7
|
@import "../../../../../sap/ui/core/themes/base/global.less";
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
/* Note: The units might not be stable. Therefore, do not rely on Less internal math, but use CSS calc() to make calculations. */
|
|
10
10
|
|
|
11
|
-
@_sap_ui_table_BaseSize: @_sap_ui_table_BaseSizeCompact;
|
|
12
|
-
@_sap_ui_table_BaseSizeCozy: 3rem;
|
|
11
|
+
@_sap_ui_table_BaseSize: @_sap_ui_table_BaseSizeCompact; /* Default, if no density is defined. */
|
|
12
|
+
@_sap_ui_table_BaseSizeCozy: 3rem; /* @sapUiElementLineHeight; */
|
|
13
13
|
@_sap_ui_table_BaseSizeCompact: 2rem;
|
|
14
14
|
@_sap_ui_table_BaseSizeCondensed: 1.5rem;
|
|
15
15
|
@_sap_ui_table_BaseBorderWidth: @sapUiElementBorderWidth;
|