@openui5/sap.ui.table 1.125.0 → 1.126.1

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.
Files changed (61) hide show
  1. package/.reuse/dep5 +4 -4
  2. package/THIRDPARTY.txt +6 -6
  3. package/package.json +3 -3
  4. package/src/sap/ui/table/.library +1 -1
  5. package/src/sap/ui/table/AnalyticalColumn.js +1 -1
  6. package/src/sap/ui/table/AnalyticalColumnMenu.js +1 -1
  7. package/src/sap/ui/table/AnalyticalTable.js +1 -8
  8. package/src/sap/ui/table/Column.js +1 -1
  9. package/src/sap/ui/table/ColumnMenu.js +1 -1
  10. package/src/sap/ui/table/CreationRow.js +1 -1
  11. package/src/sap/ui/table/Row.js +1 -1
  12. package/src/sap/ui/table/RowAction.js +1 -1
  13. package/src/sap/ui/table/RowActionItem.js +1 -1
  14. package/src/sap/ui/table/RowSettings.js +1 -1
  15. package/src/sap/ui/table/Table.js +3 -3
  16. package/src/sap/ui/table/TablePersoController.js +1 -1
  17. package/src/sap/ui/table/TreeTable.js +1 -1
  18. package/src/sap/ui/table/extensions/Accessibility.js +2 -2
  19. package/src/sap/ui/table/extensions/AccessibilityRender.js +1 -1
  20. package/src/sap/ui/table/extensions/DragAndDrop.js +1 -1
  21. package/src/sap/ui/table/extensions/ExtensionBase.js +1 -1
  22. package/src/sap/ui/table/extensions/Keyboard.js +2 -1
  23. package/src/sap/ui/table/extensions/KeyboardDelegate.js +3 -3
  24. package/src/sap/ui/table/extensions/Pointer.js +1 -1
  25. package/src/sap/ui/table/extensions/Scrolling.js +30 -3
  26. package/src/sap/ui/table/extensions/ScrollingIOS.js +1 -1
  27. package/src/sap/ui/table/extensions/Synchronization.js +1 -1
  28. package/src/sap/ui/table/library.js +11 -11
  29. package/src/sap/ui/table/menus/ColumnHeaderMenuAdapter.js +1 -1
  30. package/src/sap/ui/table/menus/MobileColumnHeaderMenuAdapter.js +1 -1
  31. package/src/sap/ui/table/plugins/BindingSelection.js +1 -1
  32. package/src/sap/ui/table/plugins/MultiSelectionPlugin.js +30 -2
  33. package/src/sap/ui/table/plugins/ODataV4Selection.js +24 -0
  34. package/src/sap/ui/table/plugins/PluginBase.js +1 -1
  35. package/src/sap/ui/table/plugins/SelectionModelSelection.js +1 -1
  36. package/src/sap/ui/table/plugins/SelectionPlugin.js +1 -1
  37. package/src/sap/ui/table/plugins/V4Aggregation.js +1 -1
  38. package/src/sap/ui/table/rowmodes/Auto.js +2 -2
  39. package/src/sap/ui/table/rowmodes/Fixed.js +2 -2
  40. package/src/sap/ui/table/rowmodes/Interactive.js +1 -1
  41. package/src/sap/ui/table/rowmodes/RowMode.js +1 -1
  42. package/src/sap/ui/table/rowmodes/Variable.js +1 -1
  43. package/src/sap/ui/table/themes/sap_hcb/base_AnalyticalTable.less +38 -0
  44. package/src/sap/ui/table/themes/sap_hcb/base_Cell.less +441 -0
  45. package/src/sap/ui/table/themes/sap_hcb/base_CreationRow.less +83 -0
  46. package/src/sap/ui/table/themes/sap_hcb/base_DragDrop.less +245 -0
  47. package/src/sap/ui/table/themes/sap_hcb/base_Grouping.less +223 -0
  48. package/src/sap/ui/table/themes/sap_hcb/base_Row.less +95 -0
  49. package/src/sap/ui/table/themes/sap_hcb/base_RowAction.less +52 -0
  50. package/src/sap/ui/table/themes/sap_hcb/base_RowHighlight.less +80 -0
  51. package/src/sap/ui/table/themes/sap_hcb/base_RowSelection.less +146 -0
  52. package/src/sap/ui/table/themes/sap_hcb/base_Scrolling.less +343 -0
  53. package/src/sap/ui/table/themes/sap_hcb/base_ScrollingIOS.less +18 -0
  54. package/src/sap/ui/table/themes/sap_hcb/base_Table.less +524 -0
  55. package/src/sap/ui/table/themes/sap_hcb/library.source.less +65 -1
  56. package/src/sap/ui/table/utils/TableUtils.js +1 -1
  57. package/src/sap/ui/table/utils/_BindingUtils.js +1 -1
  58. package/src/sap/ui/table/utils/_ColumnUtils.js +1 -1
  59. package/src/sap/ui/table/utils/_GroupingUtils.js +1 -1
  60. package/src/sap/ui/table/utils/_HookUtils.js +1 -1
  61. package/src/sap/ui/table/utils/_MenuUtils.js +1 -1
@@ -0,0 +1,83 @@
1
+ /* ========================================= */
2
+ /* CSS for control sap.ui.table/CreationRow */
3
+ /* Base theme */
4
+ /* ========================================= */
5
+
6
+ .sapUiTableCreationRow {
7
+ display: flex;
8
+ background-color: @sapUiListHeaderBackground;
9
+ border-bottom: @_sap_ui_table_BaseBorderWidth solid @sapUiListHeaderBorderColor;
10
+
11
+ > .sapUiTableCreationRowBeginSection {
12
+ flex: none;
13
+ position: relative;
14
+ border-right: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor;
15
+ }
16
+
17
+ > .sapUiTableCreationRowMiddleSection {
18
+ overflow: hidden;
19
+ }
20
+
21
+ > .sapUiTableCreationRowEndSection {
22
+ flex: none;
23
+ position: relative;
24
+ height: auto;
25
+ border-bottom: none;
26
+
27
+ .sapUiTableRActFlexible & {
28
+ width: 0 !important;
29
+ }
30
+
31
+ &.sapUiTableVSbBg {
32
+ border-left: @_sap_ui_table_BaseBorderWidth solid @sapUiListVerticalBorderColor !important;
33
+ box-sizing: content-box !important;
34
+ }
35
+ }
36
+
37
+ .sapUiTableCreationRowForm {
38
+ display: flex;
39
+
40
+ > .sapUiTableCtrlScr {
41
+ margin: 0 !important;
42
+ border-right: none !important;
43
+ }
44
+
45
+ table {
46
+ height: 100%;
47
+ }
48
+
49
+ .sapUiTableCell {
50
+ &:extend(.sapUiTableDataCell all); // We want the styles, but not the class. It is a "type class" that influences the tables behavior.
51
+
52
+ // The cells in the creation row should not have any borders except the ones that indicate fixed areas (e.g. fixed columns).
53
+ border-color: transparent;
54
+
55
+ // Fixed data column border
56
+ &.sapUiTableCellLastFixed {
57
+ border-right-color: @sapUiListTableFixedBorder;
58
+ }
59
+
60
+ // Row action column border
61
+ .sapUiTableHScr &.sapUiTableRowActionHeaderCell {
62
+ border-left-color: @sapUiListTableFixedBorder;
63
+ }
64
+
65
+ // The height is fixed to the default row height (or the application defined height, see TableRenderer) until variable row heights are
66
+ // generally supported.
67
+ > .sapUiTableCellInner {
68
+ max-height: @_sap_ui_table_BaseSize;
69
+
70
+ .sapUiSizeCozy & {
71
+ max-height: @_sap_ui_table_BaseSizeCozy;
72
+ }
73
+ .sapUiSizeCondensed & {
74
+ max-height: @_sap_ui_table_BaseSizeCondensed;
75
+ }
76
+ }
77
+ }
78
+
79
+ .sapUiTableCellDummy {
80
+ border-color: transparent;
81
+ }
82
+ }
83
+ }
@@ -0,0 +1,245 @@
1
+ /* ============================== */
2
+ /* CSS for sap.ui.table/DragDrop */
3
+ /* Base theme */
4
+ /* ============================== */
5
+
6
+ @_sap_ui_table_DragDrop_ColumnDnDHighlightColor: @sapUiListHighlightColor;
7
+ @_sap_ui_table_DragDrop_ReorderIndicatorWidth: 2px;
8
+
9
+ .sapUiTableDragDrop {
10
+ cursor: move;
11
+
12
+ .sapUiTableCCnt, .sapUiTableColRsz {
13
+ pointer-events: none;
14
+ }
15
+
16
+ .sapUiTableHeaderCell {
17
+ cursor: move;
18
+
19
+ * {
20
+ cursor: move;
21
+ }
22
+ }
23
+ }
24
+
25
+ /* Column Reordering */
26
+
27
+ .sapUiTableHeaderCell.sapUiTableColReorderGhost {
28
+ position: absolute;
29
+ width: auto;
30
+ max-width: 200px;
31
+ cursor: pointer;
32
+ border: @_sap_ui_table_BaseBorderWidth solid @sapUiListBorderColor;
33
+ background-color: @sapUiListHeaderBackground;
34
+ box-shadow: @sapUiShadowLevel2;
35
+ }
36
+
37
+ .sapUiSizeCozy.sapUiTableHeaderCell.sapUiTableColReorderGhost .sapUiTableCellInner > * {
38
+ height: 100%;
39
+ line-height: @_sap_ui_table_BaseSizeCozy;
40
+ }
41
+
42
+ .sapUiSizeCozy.sapUiTableHeaderCell.sapUiTableColReorderGhost {
43
+ padding-top: 0;
44
+ padding-bottom: 0;
45
+ }
46
+
47
+ .sapUiTableColReorderIndicator {
48
+ position: absolute;
49
+ top: 0;
50
+ bottom: 0;
51
+ left: auto; /*set dynamically*/
52
+ width: 4 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
53
+ margin-left: (-4) * @_sap_ui_table_DragDrop_ReorderIndicatorWidth + @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
54
+ z-index: 3;
55
+ display: none;
56
+ }
57
+
58
+ html[dir=rtl] .sapUiTableColReorderIndicator {
59
+ margin-right: (-4) * @_sap_ui_table_DragDrop_ReorderIndicatorWidth + 2 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
60
+ }
61
+
62
+ .sapUiTableColReorderIndicatorActive {
63
+ display: block;
64
+ }
65
+
66
+ html[data-sap-ui-animation^="on"] .sapUiTableColReorderIndicator {
67
+ transition-property: left;
68
+ transition-duration: 100ms;
69
+ }
70
+
71
+ .sapUiTableColReorderIndicatorInner {
72
+ position: absolute;
73
+ top: 4 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
74
+ left: 2 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
75
+ bottom: 0;
76
+ width: @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
77
+ background-color: @_sap_ui_table_DragDrop_ColumnDnDHighlightColor;
78
+ }
79
+
80
+ .sapUiTableColReorderIndicatorArrow {
81
+ position: absolute;
82
+ top: 0;
83
+ left: 1px;
84
+ width: 0;
85
+ }
86
+
87
+ .sapUiTableColReorderIndicatorArrow::after,
88
+ .sapUiTableColReorderIndicatorArrow::before {
89
+ position: absolute;
90
+ top: 0;
91
+ content: " ";
92
+ }
93
+
94
+ .sapUiTableColReorderIndicatorArrow::after {
95
+ height: 2 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
96
+ width: 2 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
97
+ border-radius: @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
98
+ top: @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
99
+ left: @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
100
+ background-color: @sapUiListHeaderBackground;
101
+ }
102
+
103
+ .sapUiTableColReorderIndicatorArrow::before {
104
+ height: 4 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
105
+ width: 4 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
106
+ border-radius: 2 * @_sap_ui_table_DragDrop_ReorderIndicatorWidth;
107
+ background-color: @_sap_ui_table_DragDrop_ColumnDnDHighlightColor;
108
+ }
109
+
110
+ .sapUiTableColReorderFade {
111
+ position: relative;
112
+ }
113
+
114
+ .sapUiTableColReorderFade::after {
115
+ content: " ";
116
+ position: absolute;
117
+ top: 0;
118
+ left: 0;
119
+ right: 0;
120
+ bottom: -1px;
121
+ z-index: 3;
122
+ background-color: @sapUiListHoverBackground;
123
+ opacity: 0.5;
124
+ box-sizing: border-box;
125
+ }
126
+
127
+ /* Column Resizing */
128
+
129
+ .sapUiTableColRsz {
130
+ position: absolute;
131
+ top: 0px;
132
+ width: 5px;
133
+ margin-left: -4px;
134
+ bottom: 0px;
135
+ cursor: col-resize;
136
+ z-index: 3;
137
+ box-sizing: border-box;
138
+ left: -5px;
139
+ }
140
+
141
+ .sapUiTableColRsz.sapUiTableColRszActive {
142
+ z-index: 5; /* Ensure be above Row Action Area */
143
+ }
144
+
145
+ html[dir=rtl] .sapUiTableColRsz {
146
+ margin-right: -3px;
147
+ right: -5px; /* it becomes "left" in RTL mode */
148
+ left: auto;
149
+ }
150
+
151
+ html.sap-desktop .sapUiTableColRsz:hover {
152
+ background-color: @_sap_ui_table_DragDrop_ColumnDnDHighlightColor;
153
+ opacity: 0.5;
154
+ }
155
+
156
+ .sapUiTableColRszActive,
157
+ html.sap-desktop .sapUiTableColRsz.sapUiTableColRszActive:hover {
158
+ background-color: @_sap_ui_table_DragDrop_ColumnDnDHighlightColor;
159
+ opacity: 1;
160
+ }
161
+
162
+ /* Table Height Resizing */
163
+
164
+ .sapUiTableHeightResizer {
165
+ box-sizing: border-box;
166
+ height: 5px;
167
+ width: 100%;
168
+ position: relative;
169
+ text-align: center;
170
+ }
171
+
172
+ .sapUiTableHeightResizer::before {
173
+ font-family: SAP-icons;
174
+ content: "\e1fb";
175
+ position: absolute;
176
+ top: 0px;
177
+ line-height: 5px;
178
+ }
179
+
180
+ .sapUiTableHeightResizer:focus {
181
+ outline: 0;
182
+ }
183
+
184
+ .sapUiTableHeightResizer:hover {
185
+ cursor: n-resize;
186
+ background-color: darken(@sapUiContentForegroundBorderColor, 28.2);
187
+ color: @sapUiContentContrastTextColor;
188
+ }
189
+
190
+ .sapUiTableInteractiveResizerGhost {
191
+ position: absolute;
192
+ background-color: @_sap_ui_table_DragDrop_ColumnDnDHighlightColor;
193
+ color: @sapUiContentContrastTextColor;
194
+ z-index: 10000;
195
+ }
196
+
197
+ .sapUiTableRowGhost {
198
+ z-index: auto;
199
+
200
+ > * {
201
+ z-index: auto;
202
+ }
203
+
204
+ > .sapUiTableRowGhostCount {
205
+ position: absolute;
206
+ top: -0.625rem;
207
+ right: 0;
208
+ height: @_sap_ui_table_RowHeight;
209
+ width: @_sap_ui_table_RowHeight;
210
+
211
+ .sapUiSizeCozy &,
212
+ .sapUiSizeCozy& {
213
+ height: @_sap_ui_table_RowHeightCozy;
214
+ width: @_sap_ui_table_RowHeightCozy;
215
+ }
216
+
217
+ .sapUiSizeCondensed &,
218
+ .sapUiSizeCondensed& {
219
+ height: @_sap_ui_table_RowHeightCondensed;
220
+ width: @_sap_ui_table_RowHeightCondensed;
221
+ }
222
+
223
+ display: flex;
224
+ align-items: center;
225
+ justify-content: center;
226
+
227
+ background-color: @sapUiDragAndDropActiveBorderColor;
228
+ border-radius: 0.125rem;
229
+
230
+ > div {
231
+ font-size: @sapMFontMediumSize;
232
+ color: @sapUiListActiveTextColor;
233
+
234
+ .sapUiSizeCozy &,
235
+ .sapUiSizeCozy& {
236
+ font-size: @sapMFontLargeSize;
237
+ }
238
+
239
+ .sapUiSizeCondensed &,
240
+ .sapUiSizeCondensed& {
241
+ font-size: @sapMFontSmallSize;
242
+ }
243
+ }
244
+ }
245
+ }
@@ -0,0 +1,223 @@
1
+ /* ============================== */
2
+ /* CSS for sap.ui.table/Grouping */
3
+ /* Base theme */
4
+ /* ============================== */
5
+
6
+ @_sap_ui_table_Grouping_GroupIconHeight: @_sap_ui_table_RowHeight;
7
+ @_sap_ui_table_Grouping_GroupIconHeightCozy: @_sap_ui_table_RowHeightCozy;
8
+ @_sap_ui_table_Grouping_GroupIconHeightCondensed: @_sap_ui_table_RowHeightCondensed;
9
+ @_sap_ui_table_Grouping_GroupHeaderBackground: @sapUiListTableGroupHeaderBackground;
10
+ @_sap_ui_table_Grouping_GroupHeaderFadingWidth: 40px;
11
+ @_sap_ui_table_Grouping_GroupOutlineWidth: @sapUiContentFocusWidth;
12
+ @_sap_ui_table_Grouping_GroupIconBorderWidth: @_sap_ui_table_BaseBorderWidth;
13
+ @_sap_ui_table_Grouping_GroupIconFontSize: @sapMFontMediumSize;
14
+
15
+ @_sap_ui_table_Grouping_TreeIconFontSize: 0.75rem;
16
+ @_sap_ui_table_Grouping_TreeIconFontSizeCozy: 1rem;
17
+
18
+ .sapUiTableTreeIcon {
19
+ display: flex;
20
+ flex: none;
21
+ justify-content: center;
22
+ align-items: center;
23
+ width: @_sap_ui_table_BaseSize;
24
+ height: @_sap_ui_table_BaseSize;
25
+ cursor: default;
26
+
27
+ .sapUiSizeCondensed & {
28
+ height: @_sap_ui_table_BaseSizeCondensed;
29
+ }
30
+
31
+ &:focus {
32
+ outline: @_sap_ui_table_Grouping_GroupOutlineWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
33
+ outline-offset: -2px;
34
+ }
35
+ }
36
+
37
+ .sapUiTableGroupIcon {
38
+ display: none;
39
+ font-size: @_sap_ui_table_Grouping_GroupIconFontSize;
40
+ cursor: pointer;
41
+ line-height: calc(@_sap_ui_table_Grouping_GroupIconHeight ~"- 2 *" @_sap_ui_table_Grouping_GroupIconBorderWidth ~"-" @_sap_ui_table_Grouping_GroupOutlineWidth);
42
+ position: absolute;
43
+ left: 2px;
44
+ top: @_sap_ui_table_Grouping_GroupOutlineWidth;
45
+ bottom: @_sap_ui_table_Grouping_GroupOutlineWidth;
46
+ white-space: nowrap;
47
+ font-weight: normal;
48
+ color: @sapUiListTextColor;
49
+ overflow: hidden;
50
+ text-overflow: ellipsis;
51
+ padding-right: @_sap_ui_table_Grouping_GroupHeaderFadingWidth;
52
+ background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
53
+ z-index: 1;
54
+ box-sizing: border-box;
55
+ border: @_sap_ui_table_Grouping_GroupIconBorderWidth solid transparent;
56
+ background-clip: content-box;
57
+ }
58
+
59
+ .sapUiSizeCondensed .sapUiTableGroupIcon {
60
+ line-height: calc(@_sap_ui_table_Grouping_GroupIconHeightCondensed ~"- 2 *" @_sap_ui_table_Grouping_GroupIconBorderWidth ~"-" @_sap_ui_table_Grouping_GroupOutlineWidth);
61
+ }
62
+
63
+ .sapUiSizeCozy .sapUiTableGroupIcon {
64
+ line-height: calc(@_sap_ui_table_Grouping_GroupIconHeightCozy ~"- 2 *" @_sap_ui_table_Grouping_GroupIconBorderWidth ~"-" @_sap_ui_table_Grouping_GroupOutlineWidth);
65
+ }
66
+
67
+ .sapUiTableGroupIcon::before,
68
+ .sapUiTableTreeIcon::before {
69
+ font-family: "SAP-icons";
70
+ font-size: @_sap_ui_table_Grouping_TreeIconFontSize;
71
+ color: @sapUiContentIconColor;
72
+
73
+ .sapUiSizeCozy & {
74
+ font-size: @_sap_ui_table_Grouping_TreeIconFontSizeCozy;
75
+ }
76
+ }
77
+
78
+ .sapUiTableGroupIcon::before {
79
+ width: @_sap_ui_table_RowSelectorWidth;
80
+ text-align: center;
81
+ vertical-align: middle;
82
+ margin-left: -2px;
83
+ margin-right: 2px;
84
+ }
85
+
86
+ .sapUiSizeCozy .sapUiTableGroupIcon::before {
87
+ width: @_sap_ui_table_RowSelectorWidthCozy;
88
+ }
89
+
90
+ .sapUiTableGroupIcon.sapUiTableGroupIconOpen::before,
91
+ .sapUiTableTreeIcon.sapUiTableTreeIconNodeOpen::before {
92
+ content: '\e1e2';
93
+ }
94
+
95
+ .sapUiTableGroupIcon.sapUiTableGroupIconClosed::before,
96
+ .sapUiTableTreeIcon.sapUiTableTreeIconNodeClosed::before {
97
+ content: '\e066';
98
+ }
99
+
100
+ html[dir=rtl] {
101
+ .sapUiTableGroupIcon.sapUiTableGroupIconClosed::before,
102
+ .sapUiTableTreeIcon.sapUiTableTreeIconNodeClosed::before {
103
+ content: '\e067';
104
+ }
105
+ }
106
+
107
+ .sapUiTableTreeIcon.sapUiTableTreeIconLeaf {
108
+ visibility: hidden;
109
+ }
110
+
111
+ .sapUiTableGroupHeaderFading(@color) {
112
+ box-shadow: inset @_sap_ui_table_Grouping_GroupHeaderFadingWidth 0 @_sap_ui_table_Grouping_GroupHeaderFadingWidth / 2 -@_sap_ui_table_Grouping_GroupHeaderFadingWidth / 2 @color;
113
+ }
114
+
115
+ // Fading effect for overlapping
116
+ .sapUiTableGroupIcon::after {
117
+ display: none;
118
+ position: absolute;
119
+ content: "";
120
+ width: @_sap_ui_table_Grouping_GroupHeaderFadingWidth;
121
+ top: 1px;
122
+ bottom: 1px;
123
+ right: 0;
124
+ .sapUiTableGroupHeaderFading(@_sap_ui_table_Grouping_GroupHeaderBackground);
125
+ }
126
+
127
+ .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus .sapUiTableGroupIcon {
128
+ outline-width: @_sap_ui_table_Grouping_GroupOutlineWidth;
129
+ outline-style: @sapUiContentFocusStyle;
130
+ outline-offset: 0;
131
+ outline-color: @sapUiContentFocusColor;
132
+ }
133
+
134
+ .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus::before {
135
+ outline: none;
136
+ }
137
+
138
+ .sapUiTableGroupHeaderRow > .sapUiTableCell.sapUiTableCellFirst:focus::before,
139
+ .sapUiTableGroupMode .sapUiTableRowIndented > .sapUiTableCell.sapUiTableCellFirst:focus::before {
140
+ z-index: 2;
141
+ left: var(--CalculatedGroupIndent, 0);
142
+ }
143
+
144
+ // Override row background and cell borders in group header rows.
145
+ .sapUiTableGroupHeaderRow {
146
+ &.sapUiTableRow {
147
+ background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
148
+ }
149
+
150
+ > .sapUiTableCell {
151
+ &.sapUiTableRowSelectionCell,
152
+ &.sapUiTableDataCell {
153
+ border-right-color: transparent;
154
+ }
155
+
156
+ &.sapUiTableRowActionCell {
157
+ border-left-color: transparent;
158
+ }
159
+ }
160
+ }
161
+
162
+ .sapUiTableGroupMode .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell {
163
+ > .sapUiTableGroupIcon {
164
+ display: flex;
165
+ align-items: center;
166
+
167
+ &::before,
168
+ &::after {
169
+ display: block;
170
+ }
171
+ }
172
+ }
173
+
174
+ .sapUiTableGroupMode .sapUiTableGroupHeaderRow.sapUiTableRowHvr,
175
+ .sapUiTableGroupMode .sapUiTableRowHvr .sapUiTableGroupIcon {
176
+ background-color: @sapUiListHoverBackground;
177
+ }
178
+
179
+ .sapUiTableGroupMode .sapUiTableRowHvr .sapUiTableGroupIcon::after {
180
+ .sapUiTableGroupHeaderFading(@sapUiListHoverBackground);
181
+ }
182
+
183
+ .sapUiTableGroupMode .sapUiTableRowFirstFixedBottom > .sapUiTableRowSelectionCell::before {
184
+ border-top-color: @sapUiListTableFixedBorder;
185
+ }
186
+
187
+ .sapUiTableGroupShield {
188
+ position: absolute;
189
+ top: 0;
190
+ left: -1px;
191
+ bottom: -1px;
192
+ box-sizing: border-box;
193
+ width: 0;
194
+ margin-left: -0px;
195
+ background-color: @sapUiListBackground;
196
+ pointer-events: none;
197
+ }
198
+
199
+ .sapUiTableRowHidden > .sapUiTableCell > .sapUiTableGroupShield {
200
+ display: block;
201
+ }
202
+
203
+ .sapUiTableGroupHeaderRow > .sapUiTableRowSelectionCell:focus {
204
+ outline: 0;
205
+ }
206
+
207
+ .sapUiTableGroupHeaderRow > .sapUiTableContentCell {
208
+ box-sizing: border-box;
209
+ border-bottom: 1px solid @sapList_TableGroupHeaderBorderColor;
210
+ }
211
+
212
+ .sapUiTableGroupHeaderRow:first-child > .sapUiTableContentCell {
213
+ border-top: 0;
214
+ }
215
+
216
+ .sapUiTableGroupMode .sapUiTableTr.sapUiTableGroupHeaderRow > .sapUiTableCellDummy {
217
+ background-color: @_sap_ui_table_Grouping_GroupHeaderBackground;
218
+ }
219
+
220
+ .sapUiTableGroupHeaderRow.sapUiTableRowLastScrollable > .sapUiTableRowSelectionCell,
221
+ .sapUiTableGroupMode .sapUiTableTr.sapUiTableGroupHeaderRow.sapUiTableRowLastScrollable > .sapUiTableCellDummy {
222
+ border-bottom-color: @sapUiListTableFixedBorder;
223
+ }
@@ -0,0 +1,95 @@
1
+ /* ================================= */
2
+ /* CSS for control sap.ui.table/Row */
3
+ /* Base theme */
4
+ /* ================================= */
5
+
6
+ @_sap_ui_table_Row_Color: @sapUiListTextColor;
7
+ @_sap_ui_table_Row_ColorHovered: @_sap_ui_table_Row_Color;
8
+ @_sap_ui_table_Row_AlternateBackground: darken(@sapUiListBackground, 2);
9
+ @_sap_ui_table_Row_AlternateBackgroundHovered: darken(@sapUiListHoverBackground, 3);
10
+ @_sap_ui_table_Row_AlternateBackgroundSelected: darken(@sapUiListSelectionBackgroundColor, 2);
11
+ @_sap_ui_table_Row_AlternateBackgroundSelectedHovered: darken(@sapUiListSelectionHoverBackground, 2);
12
+ @_sap_ui_table_Row_NavigationIndicatorColor: @sapUiListSelectionBorderColor;
13
+
14
+ .sapUiTableHeaderRow {
15
+ background-color: @sapUiListHeaderBackground;
16
+ }
17
+
18
+ .sapUiTableContentRow {
19
+ position: relative;
20
+ background-color: @sapUiListBackground;
21
+
22
+ &.sapUiTableRowAlternate {
23
+ background-color: @_sap_ui_table_Row_AlternateBackground;
24
+
25
+ &.sapUiTableRowHvr {
26
+ background-color: @_sap_ui_table_Row_AlternateBackgroundHovered;
27
+ }
28
+
29
+ &.sapUiTableRowSel {
30
+ background-color: @_sap_ui_table_Row_AlternateBackgroundSelected;
31
+
32
+ &.sapUiTableRowHvr {
33
+ background-color: @_sap_ui_table_Row_AlternateBackgroundSelectedHovered;
34
+ }
35
+ }
36
+ }
37
+
38
+ &.sapUiTableRowSel {
39
+ background-color: @sapUiListSelectionBackgroundColor;
40
+ }
41
+
42
+ &.sapUiTableRowHvr {
43
+ background-color: @sapUiListHoverBackground;
44
+ color: @_sap_ui_table_Row_ColorHovered;
45
+ cursor: pointer;
46
+
47
+ [data-sap-ui] {
48
+ cursor: pointer;
49
+ }
50
+ }
51
+
52
+ &.sapUiTableRowSel.sapUiTableRowHvr {
53
+ background-color: @sapUiListSelectionHoverBackground;
54
+ }
55
+
56
+ .sapUiTableRowActionScr & {
57
+ background-color: transparent !important;
58
+ }
59
+ }
60
+
61
+ .sapUiTableColHdrTr,
62
+ .sapUiTableTr {
63
+ color: @_sap_ui_table_Row_Color;
64
+ height: @_sap_ui_table_RowHeight;
65
+
66
+ .sapUiSizeCozy & {
67
+ height: @_sap_ui_table_RowHeightCozy;
68
+ }
69
+ }
70
+
71
+ .sapUiTableTr {
72
+ font-weight: normal;
73
+ box-sizing: border-box;
74
+
75
+ .sapUiSizeCondensed & {
76
+ height: @_sap_ui_table_RowHeightCondensed;
77
+ }
78
+
79
+ .sapUiTableResizing .sapUiTableCtrlCnt & {
80
+ pointer-events: none;
81
+ }
82
+
83
+ &.sapUiTableSummaryRow * {
84
+ font-weight: bold !important;
85
+ }
86
+ }
87
+
88
+ .sapUiTableRowNavigated {
89
+ height: 100%;
90
+ width: 0.1875rem;
91
+ position: absolute;
92
+ top: 0;
93
+ right: 0;
94
+ background-color: @_sap_ui_table_Row_NavigationIndicatorColor;
95
+ }
@@ -0,0 +1,52 @@
1
+ /* ======================================= */
2
+ /* CSS for control sap.ui.table/RowAction */
3
+ /* Base theme */
4
+ /* ======================================= */
5
+
6
+ .sapUiTableAction {
7
+ padding: 0 @_sap_ui_table_RowActionPadding;
8
+
9
+ &.sapUiTableActionHidden,
10
+ .sapUiTableGroupHeaderRow &,
11
+ .sapUiTableSummaryRow & {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .sapUiTableActionIcon {
17
+ height: @_sap_ui_table_RowActionItemSize;
18
+ width: @_sap_ui_table_RowActionItemSize;
19
+ line-height: @_sap_ui_table_RowActionItemSize;
20
+ color: @sapUiContentIconColor;
21
+ font-size: 1rem;
22
+
23
+ // If the first action item is hidden, move the second item to the position where it would be if the first item wasn't hidden.
24
+ .sapUiTableAction > .sapUiTableActionHidden + & {
25
+ margin-left: @_sap_ui_table_RowActionItemSize;
26
+
27
+ .sapUiSizeCozy & {
28
+ margin-left: @_sap_ui_table_RowActionItemSizeCozy;
29
+ }
30
+
31
+ .sapUiSizeCondensed & {
32
+ margin-left: @_sap_ui_table_RowActionItemSizeCondensed;
33
+ }
34
+ }
35
+
36
+ &.sapUiTableActionHidden {
37
+ display: none;
38
+ }
39
+
40
+ .sapUiSizeCozy & {
41
+ height: @_sap_ui_table_RowActionItemSizeCozy;
42
+ width: @_sap_ui_table_RowActionItemSizeCozy;
43
+ line-height: @_sap_ui_table_RowActionItemSizeCozy;
44
+ }
45
+
46
+ .sapUiSizeCondensed & {
47
+ height: @_sap_ui_table_RowActionItemSizeCondensed;
48
+ width: @_sap_ui_table_RowActionItemSizeCondensed;
49
+ line-height: @_sap_ui_table_RowActionItemSizeCondensed;
50
+ font-size: 0.75rem;
51
+ }
52
+ }