@openui5/sap.ui.layout 1.134.0 → 1.136.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.
Files changed (119) hide show
  1. package/REUSE.toml +649 -0
  2. package/THIRDPARTY.txt +23 -23
  3. package/package.json +2 -2
  4. package/src/sap/ui/layout/.library +2 -2
  5. package/src/sap/ui/layout/AlignedFlowLayout.js +2 -2
  6. package/src/sap/ui/layout/AlignedFlowLayoutRenderer.js +1 -1
  7. package/src/sap/ui/layout/AssociativeSplitter.js +2 -2
  8. package/src/sap/ui/layout/BlockLayout.js +2 -2
  9. package/src/sap/ui/layout/BlockLayoutCell.js +2 -2
  10. package/src/sap/ui/layout/BlockLayoutCellData.js +2 -2
  11. package/src/sap/ui/layout/BlockLayoutCellRenderer.js +1 -1
  12. package/src/sap/ui/layout/BlockLayoutRenderer.js +1 -1
  13. package/src/sap/ui/layout/BlockLayoutRow.js +2 -2
  14. package/src/sap/ui/layout/BlockLayoutRowRenderer.js +1 -1
  15. package/src/sap/ui/layout/DynamicSideContent.js +2 -2
  16. package/src/sap/ui/layout/DynamicSideContentRenderer.js +1 -1
  17. package/src/sap/ui/layout/FixFlex.js +2 -2
  18. package/src/sap/ui/layout/FixFlexRenderer.js +1 -1
  19. package/src/sap/ui/layout/Grid.js +2 -2
  20. package/src/sap/ui/layout/GridData.js +2 -2
  21. package/src/sap/ui/layout/GridRenderer.js +2 -2
  22. package/src/sap/ui/layout/HorizontalLayout.js +2 -2
  23. package/src/sap/ui/layout/HorizontalLayoutRenderer.js +1 -1
  24. package/src/sap/ui/layout/PaneContainer.js +2 -2
  25. package/src/sap/ui/layout/ResponsiveFlowLayout.js +2 -2
  26. package/src/sap/ui/layout/ResponsiveFlowLayoutData.js +2 -2
  27. package/src/sap/ui/layout/ResponsiveFlowLayoutRenderer.js +1 -1
  28. package/src/sap/ui/layout/ResponsiveSplitter.js +2 -2
  29. package/src/sap/ui/layout/ResponsiveSplitterPage.js +2 -2
  30. package/src/sap/ui/layout/ResponsiveSplitterRenderer.js +1 -1
  31. package/src/sap/ui/layout/ResponsiveSplitterUtilities.js +1 -1
  32. package/src/sap/ui/layout/SplitPane.js +2 -2
  33. package/src/sap/ui/layout/Splitter.js +2 -2
  34. package/src/sap/ui/layout/SplitterLayoutData.js +2 -2
  35. package/src/sap/ui/layout/SplitterRenderer.js +1 -1
  36. package/src/sap/ui/layout/VerticalLayout.js +2 -2
  37. package/src/sap/ui/layout/VerticalLayoutRenderer.js +1 -1
  38. package/src/sap/ui/layout/_SplitterRegistry.js +1 -1
  39. package/src/sap/ui/layout/changeHandler/AddFormContainer.js +2 -2
  40. package/src/sap/ui/layout/changeHandler/AddFormField.js +2 -2
  41. package/src/sap/ui/layout/changeHandler/AddSimpleFormField.js +2 -2
  42. package/src/sap/ui/layout/changeHandler/AddSimpleFormGroup.js +2 -2
  43. package/src/sap/ui/layout/changeHandler/HideSimpleForm.js +2 -2
  44. package/src/sap/ui/layout/changeHandler/MoveSimpleForm.js +2 -2
  45. package/src/sap/ui/layout/changeHandler/RenameFormContainer.js +2 -2
  46. package/src/sap/ui/layout/changeHandler/RenameFormElement.js +1 -1
  47. package/src/sap/ui/layout/changeHandler/RenameSimpleForm.js +2 -2
  48. package/src/sap/ui/layout/changeHandler/UnhideSimpleForm.js +2 -2
  49. package/src/sap/ui/layout/cssgrid/CSSGrid.js +3 -3
  50. package/src/sap/ui/layout/cssgrid/CSSGridRenderer.js +1 -1
  51. package/src/sap/ui/layout/cssgrid/GridBasicLayout.js +3 -3
  52. package/src/sap/ui/layout/cssgrid/GridBoxLayout.js +2 -2
  53. package/src/sap/ui/layout/cssgrid/GridItemLayoutData.js +2 -2
  54. package/src/sap/ui/layout/cssgrid/GridLayoutBase.js +2 -2
  55. package/src/sap/ui/layout/cssgrid/GridLayoutDelegate.js +2 -2
  56. package/src/sap/ui/layout/cssgrid/GridResponsiveLayout.js +2 -2
  57. package/src/sap/ui/layout/cssgrid/GridSettings.js +3 -3
  58. package/src/sap/ui/layout/cssgrid/ResponsiveColumnItemLayoutData.js +2 -2
  59. package/src/sap/ui/layout/cssgrid/ResponsiveColumnLayout.js +2 -2
  60. package/src/sap/ui/layout/designtime/BlockLayout.designtime.js +1 -1
  61. package/src/sap/ui/layout/designtime/BlockLayoutCell.designtime.js +1 -1
  62. package/src/sap/ui/layout/designtime/BlockLayoutRow.designtime.js +1 -1
  63. package/src/sap/ui/layout/designtime/DynamicSideContent.designtime.js +1 -1
  64. package/src/sap/ui/layout/designtime/FixFlex.designtime.js +1 -1
  65. package/src/sap/ui/layout/designtime/Grid.designtime.js +1 -1
  66. package/src/sap/ui/layout/designtime/HorizontalLayout.designtime.js +1 -1
  67. package/src/sap/ui/layout/designtime/Splitter.designtime.js +1 -1
  68. package/src/sap/ui/layout/designtime/VerticalLayout.designtime.js +1 -1
  69. package/src/sap/ui/layout/designtime/form/Form.designtime.js +1 -1
  70. package/src/sap/ui/layout/designtime/form/FormContainer.designtime.js +1 -1
  71. package/src/sap/ui/layout/designtime/form/FormElement.designtime.js +1 -1
  72. package/src/sap/ui/layout/designtime/form/SimpleForm.designtime.js +1 -1
  73. package/src/sap/ui/layout/designtime/library.designtime.js +1 -1
  74. package/src/sap/ui/layout/designtime/messagebundle_fr_CA.properties +1 -1
  75. package/src/sap/ui/layout/flexibility/BlockLayoutCell.flexibility.js +1 -1
  76. package/src/sap/ui/layout/flexibility/Form.flexibility.js +1 -1
  77. package/src/sap/ui/layout/flexibility/FormContainer.flexibility.js +1 -1
  78. package/src/sap/ui/layout/flexibility/FormElement.flexibility.js +1 -1
  79. package/src/sap/ui/layout/flexibility/SimpleForm.flexibility.js +1 -1
  80. package/src/sap/ui/layout/form/ColumnContainerData.js +2 -2
  81. package/src/sap/ui/layout/form/ColumnElementData.js +2 -2
  82. package/src/sap/ui/layout/form/ColumnLayout.js +8 -2
  83. package/src/sap/ui/layout/form/ColumnLayoutRenderer.js +41 -18
  84. package/src/sap/ui/layout/form/Form.js +5 -3
  85. package/src/sap/ui/layout/form/FormContainer.js +2 -2
  86. package/src/sap/ui/layout/form/FormElement.js +2 -2
  87. package/src/sap/ui/layout/form/FormHelper.js +1 -1
  88. package/src/sap/ui/layout/form/FormLayout.js +16 -3
  89. package/src/sap/ui/layout/form/FormLayoutRenderer.js +36 -23
  90. package/src/sap/ui/layout/form/FormRenderer.js +4 -19
  91. package/src/sap/ui/layout/form/GridContainerData.js +2 -2
  92. package/src/sap/ui/layout/form/GridElementData.js +2 -2
  93. package/src/sap/ui/layout/form/GridLayout.js +2 -2
  94. package/src/sap/ui/layout/form/GridLayoutRenderer.js +1 -1
  95. package/src/sap/ui/layout/form/ResponsiveGridLayout.js +3 -3
  96. package/src/sap/ui/layout/form/ResponsiveGridLayoutRenderer.js +1 -1
  97. package/src/sap/ui/layout/form/ResponsiveLayout.js +3 -3
  98. package/src/sap/ui/layout/form/ResponsiveLayoutRenderer.js +1 -1
  99. package/src/sap/ui/layout/form/SemanticFormElement.js +2 -2
  100. package/src/sap/ui/layout/form/SimpleForm.js +6 -2
  101. package/src/sap/ui/layout/form/SimpleFormRenderer.js +4 -2
  102. package/src/sap/ui/layout/library.js +4 -3
  103. package/src/sap/ui/layout/library.support.js +1 -1
  104. package/src/sap/ui/layout/rules/Form.support.js +1 -1
  105. package/src/sap/ui/layout/themes/base/BlockLayout.less +41 -26
  106. package/src/sap/ui/layout/themes/base/BlockLayoutCell.less +1 -1
  107. package/src/sap/ui/layout/themes/base/BlockLayoutRow.less +4 -0
  108. package/src/sap/ui/layout/themes/base/ColumnLayout.less +29 -28
  109. package/src/sap/ui/layout/themes/base/FormLayout.less +17 -17
  110. package/src/sap/ui/layout/themes/base/GridLayout.less +7 -6
  111. package/src/sap/ui/layout/themes/base/HorizontalLayout.less +5 -0
  112. package/src/sap/ui/layout/themes/base/ResponsiveGridLayout.less +31 -31
  113. package/src/sap/ui/layout/themes/base/ResponsiveLayout.less +44 -38
  114. package/src/sap/ui/layout/themes/base/ResponsiveSplitter.less +18 -16
  115. package/src/sap/ui/layout/themes/base/Splitter.less +20 -16
  116. package/src/sap/ui/layout/themes/base/library.source.less +1 -1
  117. package/src/sap/ui/layout/themes/sap_hcb/library.source.less +1 -1
  118. package/ui5.yaml +1 -1
  119. package/.reuse/dep5 +0 -471
@@ -3,39 +3,41 @@
3
3
  /* Base theme */
4
4
  /* ========================================== */
5
5
 
6
- @_sap_ui_layout_BlockLayout_FontSizeLandXL: @sapMFontHeader1Size;
6
+ @_sap_ui_layout_BlockLayout_FontSizeLandXL: var(--sapFontHeader1Size);
7
7
 
8
8
  @_sap_ui_layout_BlockLayout_BackgroundDashboardMargin: 0.25rem;
9
9
  @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin: 0.5rem;
10
10
  @_sap_ui_layout_BlockLayout_BackgroundDashboardAfterScrollbarMargin: 0.375rem;
11
- @_sap_ui_layout_BlockLayout_BackgroundDashboardColor: @sapUiContentForegroundTextColor;
11
+ @_sap_ui_layout_BlockLayout_BackgroundDashboardColor: var(--sapContent_ForegroundTextColor);
12
12
  @_sap_ui_layout_BlockLayout_BackgroundDashboardBorderRadius: 0;
13
13
  @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadow: @sapUiShadowLevel0;
14
14
  @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset: 0;
15
15
 
16
16
  @_sap_ui_layout_BlockLayout_LinkTextShadow: @sapUiShadowText;
17
- @_sap_ui_layout_BlockLayout_CellTextColor: @sapUiContentForegroundTextColor;
17
+ @_sap_ui_layout_BlockLayout_CellTextColor: var(--sapContent_ForegroundTextColor);
18
18
 
19
19
  .setCellsColorDoubles (@evenCell, @oddCell) {
20
- // Match every even cell
20
+
21
+ /* Match every even cell */
21
22
  .sapUiBlockLayoutEvenCell {
22
23
  background-color: @evenCell;
23
24
  }
24
25
 
25
- // Match every odd cell
26
+ /* Match every odd cell */
26
27
  .sapUiBlockLayoutOddCell {
27
28
  background-color: @oddCell;
28
29
  }
29
30
  }
30
31
 
31
32
  .sapUiBlockLayout {
33
+
32
34
  .sapUiFormResLayout > div {
33
35
  background-color: inherit;
34
36
  }
35
37
  }
36
38
 
37
39
  .sapUiBlockCellContent {
38
- font-family: @sapUiFontFamily;
40
+ font-family: var(--sapFontFamily);
39
41
  font-weight: normal;
40
42
  font-size: 0.875rem;
41
43
  color: @_sap_ui_layout_BlockLayout_CellTextColor;
@@ -46,7 +48,7 @@
46
48
  }
47
49
 
48
50
  .sapUiBlockCellTitle {
49
- font-size: @sapMFontHeader3Size;
51
+ font-size: var(--sapFontHeader3Size);
50
52
 
51
53
  .sapMLnk {
52
54
  text-shadow: @_sap_ui_layout_BlockLayout_LinkTextShadow;
@@ -59,11 +61,13 @@
59
61
  font-size: 1.25rem;
60
62
  }
61
63
 
62
- // Styles & Sizes for Tablet
64
+ /* Styles & Sizes for Tablet */
63
65
  .sapUiBlockLayoutSizeM:not(.sapUiBlockLayoutKeepFontSize) {
66
+
64
67
  .sapUiNoContentPadding .sapUiBlockCellContent {
65
68
  padding: 0;
66
69
  }
70
+
67
71
  .sapUiBlockCellContent {
68
72
  padding: 1rem 2rem;
69
73
  font-size: @sapMFontMediumSize;
@@ -78,17 +82,19 @@
78
82
  }
79
83
  }
80
84
 
81
- // Styles & Sizes for Desktop
85
+ /* Styles & Sizes for Desktop */
82
86
  .sapUiBlockLayoutSizeL:not(.sapUiBlockLayoutKeepFontSize) {
87
+
83
88
  .sapUiNoContentPadding .sapUiBlockCellContent {
84
89
  padding: 0;
85
90
  }
91
+
86
92
  .sapUiBlockCellContent {
87
93
  padding: 2rem 3rem;
88
- font-size: @sapMFontLargeSize;
94
+ font-size: var(--sapFontLargeSize);
89
95
 
90
96
  > .sapMText {
91
- font-size: @sapMFontLargeSize;
97
+ font-size: var(--sapFontLargeSize);
92
98
  }
93
99
 
94
100
  > .sapUiIcon {
@@ -102,17 +108,19 @@
102
108
  }
103
109
  }
104
110
 
105
- // Styles & Sizes for LargeDesktop
111
+ /* Styles & Sizes for LargeDesktop */
106
112
  .sapUiBlockLayoutSizeXL:not(.sapUiBlockLayoutKeepFontSize) {
113
+
107
114
  .sapUiNoContentPadding .sapUiBlockCellContent {
108
115
  padding: 0;
109
116
  }
117
+
110
118
  .sapUiBlockCellContent {
111
119
  padding: 2rem 3rem;
112
- font-size: @sapMFontLargeSize;
120
+ font-size: var(--sapFontLargeSize);
113
121
 
114
122
  > .sapMText {
115
- font-size: @sapMFontLargeSize;
123
+ font-size: var(--sapFontLargeSize);
116
124
  }
117
125
 
118
126
  > .sapUiIcon {
@@ -128,17 +136,18 @@
128
136
 
129
137
  /* ============ Background type: Dashboard ============== */
130
138
  .sapUiBlockLayoutBackgroundDashboard {
139
+
131
140
  .sapUiBlockLayoutCell {
132
141
  font-weight: normal;
133
142
  color: @_sap_ui_layout_BlockLayout_BackgroundDashboardColor;
134
143
 
135
- // use padding and negative margin to display box-shadow outside of the cell, because it has overflow: hidden
144
+ /* use padding and negative margin to display box-shadow outside of the cell, because it has overflow: hidden */
136
145
  padding: @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset;
137
146
  margin: -@_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadowOffset;
138
147
  }
139
148
 
140
149
  .sapUiBlockCellContent {
141
- background-color: @sapUiGroupContentBackground;
150
+ background-color: var(--sapGroup_ContentBackground);
142
151
  box-shadow: @_sap_ui_layout_BlockLayout_BackgroundDashboardCellShadow;
143
152
  margin: @_sap_ui_layout_BlockLayout_BackgroundDashboardMargin;
144
153
  border-radius: @_sap_ui_layout_BlockLayout_BackgroundDashboardBorderRadius;
@@ -152,12 +161,13 @@
152
161
  }
153
162
 
154
163
  &:not(.sapUiBlockLayoutSizeS) {
164
+
155
165
  .sapUiBlockLayoutCell:first-of-type {
156
166
  margin-left: 0;
157
167
  padding-left: 0;
158
168
 
159
169
  .sapUiBlockCellContent {
160
- margin-left: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust first cell in a row with 0.5rem on the left
170
+ margin-left: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; /* Adjust first cell in a row with 0.5rem on the left */
161
171
  }
162
172
  }
163
173
 
@@ -166,59 +176,64 @@
166
176
  padding-right: 0;
167
177
 
168
178
  .sapUiBlockCellContent {
169
- margin-right: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust last cell in a row with 0.5rem on the right
179
+ margin-right: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; /* Adjust last cell in a row with 0.5rem on the right */
170
180
  }
171
181
  }
172
182
 
173
183
  .sapUiBlockLayoutRow:first-of-type {
184
+
174
185
  .sapUiBlockLayoutCell {
175
186
  margin-top: 0;
176
187
  padding-top: 0;
177
188
  }
178
189
 
179
190
  .sapUiBlockCellContent {
180
- margin-top: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust spacing at the top for all cells in the first row
181
- }
191
+ margin-top: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; /* Adjust spacing at the top for all cells in the first row */
192
+ }
182
193
  }
183
194
 
184
195
  .sapUiBlockLayoutRow:last-of-type {
196
+
185
197
  .sapUiBlockLayoutCell {
186
198
  margin-bottom: 0;
187
199
  padding-bottom: 0;
188
200
  }
189
201
 
190
202
  .sapUiBlockCellContent {
191
- margin-bottom: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; // Adjust spacing at the bottom for all cells in the last row
203
+ margin-bottom: @_sap_ui_layout_BlockLayout_BackgroundDashboardEdgeChildMargin; /* Adjust spacing at the bottom for all cells in the last row */
192
204
  }
193
205
  }
194
206
  }
195
207
 
196
- // Block Layout with size S (Phone) puts every cell into a single row
197
- // Therefore spacing should be altered in this case
208
+ /* Block Layout with size S (Phone) puts every cell into a single row
209
+ Therefore spacing should be altered in this case */
198
210
  &.sapUiBlockLayoutSizeS {
211
+
199
212
  .sapUiBlockCellContent {
200
213
  margin-left: 0.5rem;
201
214
  margin-right: 0.5rem;
202
215
  }
203
216
 
204
217
  .sapUiBlockLayoutRow:first-of-type {
218
+
205
219
  .sapUiBlockLayoutCell {
206
220
  margin-top: 0;
207
221
  padding-top: 0;
208
222
 
209
223
  &:first-of-type .sapUiBlockCellContent {
210
- margin-top: 0.5rem; // Add 0.5rem spacing for the first cell in the first row
224
+ margin-top: 0.5rem; /* Add 0.5rem spacing for the first cell in the first row */
211
225
  }
212
226
  }
213
227
  }
214
228
 
215
229
  .sapUiBlockLayoutRow:last-of-type {
230
+
216
231
  .sapUiBlockLayoutCell {
217
232
  margin-bottom: 0;
218
233
  padding-bottom: 0;
219
-
234
+
220
235
  &:last-of-type .sapUiBlockCellContent {
221
- margin-bottom: 0.5rem; // Add 0.5rem spacing for the last cell in the last row
236
+ margin-bottom: 0.5rem; /* Add 0.5rem spacing for the last cell in the last row */
222
237
  }
223
238
  }
224
239
  }
@@ -59,4 +59,4 @@
59
59
  /* override for standard padding: 2rem for BlockLayoutCell */
60
60
  .sapUiBlockLayoutCell.sapUiContentPadding > .sapUiBlockCellContent {
61
61
  padding: 2rem;
62
- }
62
+ }
@@ -17,7 +17,9 @@
17
17
 
18
18
  .sapUiBlockLayoutSizeL,
19
19
  .sapUiBlockLayoutSizeXL {
20
+
20
21
  .sapUiBlockScrollingNarrowCells {
22
+
21
23
  .sapUiBlockScrollableCell {
22
24
  width: 25%;
23
25
  }
@@ -25,6 +27,7 @@
25
27
  }
26
28
 
27
29
  .sapUiBlockLayoutSizeS {
30
+
28
31
  .sapUiBlockSmallCell {
29
32
  width: 100%;
30
33
  }
@@ -34,6 +37,7 @@
34
37
  }
35
38
 
36
39
  .sapUiBlockScrollingRow {
40
+
37
41
  .sapUiBlockScrollableCell:first-child .sapUiBlockCellContent {
38
42
  padding-left: 2rem;
39
43
  }
@@ -10,24 +10,24 @@
10
10
  @_sap_ui_layout_ColumnLayout_formColumnElementCols: 12;
11
11
  @_sap_ui_layout_ColumnLayout_formColumnElementOneCol: 100% / @_sap_ui_layout_ColumnLayout_formColumnElementCols;
12
12
 
13
- .sapUiFormCL{
13
+ .sapUiFormCL {
14
14
  white-space: initial; /* eg, if in Splitter where whit-space is set to nowrap */
15
15
  }
16
16
 
17
17
  /* Title */
18
- .sapUiFormCL > .sapUiFormTitle{
18
+ .sapUiFormCL > .sapUiFormTitle {
19
19
  box-sizing: border-box;
20
20
  padding: 0 1rem;
21
21
  }
22
22
 
23
- .sapUiFormCLContainer > .sapUiFormTitle{
23
+ .sapUiFormCLContainer > .sapUiFormTitle {
24
24
  padding: 0 0.25rem;
25
25
  }
26
26
 
27
27
  .sapUiFormCL > .sapUiFormTitle > img,
28
28
  .sapUiFormCLContainer > .sapUiFormTitle > img,
29
29
  .sapUiFormCL > .sapUiFormTitle > span,
30
- .sapUiFormCLContainer > .sapUiFormTitle > span{
30
+ .sapUiFormCLContainer > .sapUiFormTitle > span {
31
31
  margin-right: 0.5rem;
32
32
  }
33
33
 
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  /* Containers */
42
- .sapUiFormCLContainer{
42
+ .sapUiFormCLContainer {
43
43
  min-height: 1px;
44
44
  overflow: hidden;
45
45
  padding: 1rem 0.75rem;
@@ -47,11 +47,11 @@
47
47
  }
48
48
 
49
49
  /* on real phones use smaller space between containers */
50
- html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:first-child){
50
+ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:first-child) {
51
51
  padding-top: 0.5rem;
52
52
  }
53
53
 
54
- html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:last-child){
54
+ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:last-child) {
55
55
  padding-bottom: 0.5rem;
56
56
  }
57
57
 
@@ -65,7 +65,7 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
65
65
  .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLFirstRow.sapUiFormContainerTitle,
66
66
  .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLFirstRow.sapUiFormContainerToolbar,
67
67
  .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerTitle,
68
- .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerToolbar{
68
+ .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerToolbar {
69
69
  padding-top: 0.5rem;
70
70
  }
71
71
 
@@ -78,27 +78,27 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
78
78
  .sapUiSizeCompact .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLFirstRow.sapUiFormContainerTitle,
79
79
  .sapUiSizeCompact .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLFirstRow.sapUiFormContainerToolbar,
80
80
  .sapUiSizeCompact .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerTitle,
81
- .sapUiSizeCompact .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerToolbar{
81
+ .sapUiSizeCompact .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLFirstRow.sapUiFormContainerToolbar {
82
82
  padding-top: 1rem;
83
83
  }
84
84
 
85
85
  /* Container content */
86
- .sapUiFormCLContainer > .sapUiFormCLContainerCont{
86
+ .sapUiFormCLContainer > .sapUiFormCLContainerCont {
87
87
  column-gap: 1.5rem;
88
88
  font-size: 0; /* otherwise there will be a spacing between elements */
89
89
  }
90
90
 
91
- .sapUiFormCLContainerColl > .sapUiFormCLContainerCont{
91
+ .sapUiFormCLContainerColl > .sapUiFormCLContainerCont {
92
92
  display: none;
93
93
  }
94
94
 
95
95
  /* Stand Alone Container */
96
- .sapUiFormCL > .sapUiFormCLContainer{
96
+ .sapUiFormCL > .sapUiFormCLContainer {
97
97
  width: 100%;
98
98
  }
99
99
 
100
100
  /* More containers */
101
- .sapUiFormCLContent > .sapUiFormCLContainer{
101
+ .sapUiFormCLContent > .sapUiFormCLContainer {
102
102
  width: 100%; /* default, overwritten by precise width*/
103
103
  float: left;
104
104
  }
@@ -122,21 +122,21 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
122
122
  }
123
123
 
124
124
  /* XL */
125
- .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLBreak{
125
+ .sapUiFormCLMedia-Std-LargeDesktop > .sapUiFormCLContent > .sapUiFormCLContainerXLBreak {
126
126
  clear: both;
127
127
  }
128
128
 
129
129
  .createContainerRules(@_sap_ui_layout_ColumnLayout_formColumnMaxXL, LargeDesktop, XL);
130
130
 
131
131
  /* L */
132
- .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLBreak{
132
+ .sapUiFormCLMedia-Std-Desktop > .sapUiFormCLContent > .sapUiFormCLContainerLBreak {
133
133
  clear: both;
134
134
  }
135
135
 
136
136
  .createContainerRules(@_sap_ui_layout_ColumnLayout_formColumnMaxL, Desktop, L);
137
137
 
138
138
  /* M */
139
- .sapUiFormCLMedia-Std-Tablet > .sapUiFormCLContent > .sapUiFormCLContainerMBreak{
139
+ .sapUiFormCLMedia-Std-Tablet > .sapUiFormCLContent > .sapUiFormCLContainerMBreak {
140
140
  clear: both;
141
141
  }
142
142
  .createContainerRules(@_sap_ui_layout_ColumnLayout_formColumnMaxM, Tablet, M);
@@ -144,14 +144,14 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
144
144
  /* S */
145
145
 
146
146
  /* Elements */
147
- .sapUiFormCLElement{
147
+ .sapUiFormCLElement {
148
148
  width: 100%; /* to use the whole column */
149
149
  display: inline-block; /* otherwise it wraps inside element -> label in one column, field in another */
150
150
  font-size: @sapUiFontSize; /* restore default font size */
151
151
  }
152
152
 
153
- .sapUiFormCLContent:after,
154
- .sapUiFormCLElement:after {
153
+ .sapUiFormCLContent::after,
154
+ .sapUiFormCLElement::after {
155
155
  /* CLEAR FIX */
156
156
  clear: both;
157
157
  content: " ";
@@ -161,7 +161,7 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
161
161
  visibility: hidden;
162
162
  }
163
163
 
164
- .sapUiFormCLElement > div {
164
+ .sapUiFormCLElement > * {
165
165
  float: left;
166
166
  padding: 0 0.25rem;
167
167
  box-sizing: border-box;
@@ -181,26 +181,26 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
181
181
  /* small columns */
182
182
  .createColumnRules(@_sap_ui_layout_ColumnLayout_formColumnElementCols, Small, S);
183
183
 
184
- .sapUiFormCLSmallColumns .sapUiFormCLElement > .sapUiFormCLCellSBreak{
184
+ .sapUiFormCLSmallColumns .sapUiFormCLElement > .sapUiFormCLCellSBreak {
185
185
  clear: both;
186
186
  }
187
187
 
188
188
  /* wide columns - Labels next to field */
189
189
  .createColumnRules(@_sap_ui_layout_ColumnLayout_formColumnElementCols, Wide, L);
190
190
 
191
- .sapUiFormCLWideColumns .sapUiFormCLElement > .sapUiFormCLCellLBreak{
191
+ .sapUiFormCLWideColumns .sapUiFormCLElement > .sapUiFormCLCellLBreak {
192
192
  clear: both;
193
193
  }
194
194
 
195
195
  /* edit mode */
196
196
  /* labels next to field */
197
197
  .sapUiFormEdit > .sapUiFormCLSmallColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsS12),
198
- .sapUiFormEdit > .sapUiFormCLWideColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsL12){
198
+ .sapUiFormEdit > .sapUiFormCLWideColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsL12) {
199
199
  padding-top: 1rem;
200
200
  }
201
201
 
202
202
  .sapUiSizeCompact .sapUiFormEdit > .sapUiFormCLSmallColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsS12),
203
- .sapUiSizeCompact .sapUiFormEdit > .sapUiFormCLWideColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsL12){
203
+ .sapUiSizeCompact .sapUiFormEdit > .sapUiFormCLWideColumns .sapUiFormElementLbl:not(.sapUiFormCLCellsL12) {
204
204
  padding-top: 0.5rem;
205
205
  }
206
206
 
@@ -229,7 +229,7 @@ html.sap-phone .sapUiFormCL > .sapUiFormCLContent > .sapUiFormCLContainer:not(:l
229
229
  padding-top: 0.375rem;
230
230
  }
231
231
 
232
- html.sap-phone .sapUiFormEdit .sapUiFormCLSmallColumns .sapUiFormCLContainer:not(.sapUiFormContainerTitle):not(.sapUiFormContainerToolbar){
232
+ html.sap-phone .sapUiFormEdit .sapUiFormCLSmallColumns .sapUiFormCLContainer:not(.sapUiFormContainerTitle):not(.sapUiFormContainerToolbar) {
233
233
  padding-top: 0;
234
234
  margin-top: -0.125rem;
235
235
  }
@@ -241,14 +241,15 @@ html[data-sap-ui-browser^="sf"] .sapUiFormEdit .sapUiFormCLElement {
241
241
 
242
242
  /* display mode */
243
243
  /* in display only mode add padding to controls as they don't have one */
244
- .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > div{
244
+ .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > *{
245
245
  padding-top: 0.25rem;
246
246
  padding-bottom: 0.25rem;
247
247
  font-size: 1px; /* as browser adds some px to text to meet font-size */
248
+ margin: 0; /* As <dd> would add a margin */
248
249
  }
249
250
 
250
- .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > div .sapUiIcon:not(.sapMBtnIcon),
251
- .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > div .sapMCbBg{
251
+ .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > * .sapUiIcon:not(.sapMBtnIcon),
252
+ .sapUiForm:not(.sapUiFormEdit) .sapUiFormCLElement > * .sapMCbBg{
252
253
  font-size: @sapUiFontSize; /* to set default font size on icons */
253
254
  }
254
255
 
@@ -7,7 +7,7 @@
7
7
  @_sap_ui_layout_FormLayout_FormSubTitleSize: ~"H5";
8
8
 
9
9
  .sapUiFormLayout {
10
- border: 1px solid @sapUiGroupTitleBorderColor;
10
+ border: 1px solid var(--sapGroup_TitleBorderColor);
11
11
  font-size: @sapUiDesktopFontSize;
12
12
  }
13
13
 
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  .sapUiFormTitle {
19
- border-bottom: 1px solid @sapUiGroupTitleBorderColor;
19
+ border-bottom: 1px solid var(--sapGroup_TitleBorderColor);
20
20
  overflow: hidden;
21
21
  width: 100%;
22
22
  font-synthesis: none;
@@ -35,7 +35,7 @@
35
35
  display: block;
36
36
  width: 100%;
37
37
  font-weight: @sapUiFontHeaderWeight;
38
- color: @sapUiGroupTitleTextColor;
38
+ color: var(--sapGroup_TitleTextColor);
39
39
  margin: 0;
40
40
  }
41
41
 
@@ -53,48 +53,48 @@
53
53
  line-height: 2rem;
54
54
  }
55
55
 
56
- .sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable{
56
+ .sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable {
57
57
  overflow: visible; /* to allow to put expander outside */
58
58
  padding-left: 2.5rem;
59
59
  }
60
60
 
61
- .sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable > button{
61
+ .sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable > button {
62
62
  position: absolute;
63
63
  left: -0.25rem;
64
64
  padding-right: 0.5rem;
65
65
  }
66
66
 
67
67
  .sapUiFormTitle.sapUiFormTitleEmph {
68
- border-color: @sapUiGroupTitleBorderColor;
68
+ border-color: var(--sapGroup_TitleBorderColor);
69
69
  }
70
70
 
71
71
  /* Title levels - can not use TextView CSS from commons, because also used in mobile */
72
72
  .sapUiFormTitleH1 {
73
- font-size: @sapMFontHeader1Size;
73
+ font-size: var(--sapFontHeader1Size);
74
74
  line-height: 122%;
75
75
  }
76
76
 
77
77
  .sapUiFormTitleH2 {
78
- font-size: @sapMFontHeader2Size;
78
+ font-size: var(--sapFontHeader2Size);
79
79
  line-height: 122%;
80
80
  }
81
81
 
82
82
  .sapUiFormTitleH3 {
83
- font-size: @sapMFontHeader3Size;
83
+ font-size: var(--sapFontHeader3Size);
84
84
  line-height: 122%;
85
85
  }
86
86
 
87
87
  .sapUiFormTitleH4 {
88
- font-size: @sapMFontHeader4Size;
88
+ font-size: var(--sapFontHeader4Size);
89
89
  }
90
90
 
91
91
  .sapUiFormTitleH5 {
92
- font-size: @sapMFontHeader5Size;
92
+ font-size: var(--sapFontHeader5Size);
93
93
  }
94
94
 
95
95
  .sapUiFormTitleH6 {
96
- font-size: @sapMFontHeader6Size;
97
- color: @sapUiGroupTitleTextColor;
96
+ font-size: var(--sapFontHeader6Size);
97
+ color: var(--sapGroup_TitleTextColor);
98
98
  }
99
99
 
100
100
  .sapUiFormTitle> img {
@@ -106,12 +106,12 @@
106
106
  margin-bottom: 0.5rem;
107
107
  }
108
108
 
109
- .sapUiFormToolbar > div:first-child >.sapMTitle.sapMTitleStyleAuto{
110
- font-size: @sapMFontHeader4Size;
109
+ .sapUiFormToolbar > div:first-child >.sapMTitle.sapMTitleStyleAuto {
110
+ font-size: var(--sapFontHeader4Size);
111
111
  }
112
112
 
113
- .sapUiFormContainerToolbar > div:first-child >.sapMTitle.sapMTitleStyleAuto{
114
- font-size: @sapMFontHeader5Size;
113
+ .sapUiFormContainerToolbar > div:first-child >.sapMTitle.sapMTitleStyleAuto {
114
+ font-size: var(--sapFontHeader5Size);
115
115
  }
116
116
 
117
117
  .sapUiFormM .sapUiFormContainerTitle > .sapUiFormTitle {
@@ -22,11 +22,11 @@
22
22
  position: relative;
23
23
  }
24
24
 
25
- .sapUiGridHeader.sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable{
25
+ .sapUiGridHeader.sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable {
26
26
  padding-left: 2.25rem;
27
27
  }
28
28
 
29
- .sapUiGridHeader.sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable > button{
29
+ .sapUiGridHeader.sapUiFormContainerTitle > .sapUiFormTitle.sapUiFormTitleExpandable > button {
30
30
  left: -0.5rem;
31
31
  }
32
32
 
@@ -115,6 +115,7 @@
115
115
 
116
116
  html[data-sap-ui-browser^="ff"].sapUiSizeCompact,
117
117
  html[data-sap-ui-browser^="ff"] .sapUiSizeCompact {
118
+
118
119
  .sapUiFormEdit.sapUiFormM > .sapUiGrid > tbody > tr > td.sapUiFormElementLbl {
119
120
  padding-top: 0.4375rem;
120
121
  }
@@ -165,22 +166,22 @@ html[data-sap-ui-browser^="ff"] .sapUiSizeCompact {
165
166
  }
166
167
 
167
168
  /* for display mode add padding to elements to have spacing between */
168
- .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid tr:not(.sapUiGridConteinerHeaderRow) > td{
169
+ .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid tr:not(.sapUiGridConteinerHeaderRow) > td {
169
170
  padding-top: 0.25rem;
170
171
  padding-bottom: 0.25rem;
171
172
  }
172
173
 
173
174
  .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid {
174
- font-size: 1px; /* as browser adds some px to text to meet font-size*/
175
+ font-size: 1px; /* as browser adds some px to text to meet font-size */
175
176
  }
176
177
 
177
178
  .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid tr:not(.sapUiGridConteinerHeaderRow) > td .sapUiIcon:not(.sapMBtnIcon),
178
- .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid tr:not(.sapUiGridConteinerHeaderRow) > td .sapMCbBg{
179
+ .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid tr:not(.sapUiGridConteinerHeaderRow) > td .sapMCbBg {
179
180
  font-size: @sapUiFontSize; /* to set default font size on icons */
180
181
  }
181
182
 
182
183
  .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid .sapUiGridConteinerFirstRow:not(.sapUiGridConteinerHeaderRow) > td,
183
- .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid .sapUiGridConteinerHeaderRow + tr:not(.sapUiGridConteinerHeaderRow) > td{
184
+ .sapUiFormM:not(.sapUiFormEdit) > .sapUiGrid .sapUiGridConteinerHeaderRow + tr:not(.sapUiGridConteinerHeaderRow) > td {
184
185
  padding-top: 0;
185
186
  }
186
187
 
@@ -28,20 +28,25 @@
28
28
  }
29
29
 
30
30
  @media (max-width: 599px) {
31
+
31
32
  .sapMSplitContainerHideMode > .sapMSplitContainerDetail .sapUiHLayout.sapUiResponsiveContentPadding ,
32
33
  .sapMSplitContainerPortrait > .sapMSplitContainerDetail .sapUiHLayout.sapUiResponsiveContentPadding ,
33
34
  .sapUiHLayout.sapUiResponsiveContentPadding > .sapUiHLayoutChildWrapper:not(:last-child) {
34
35
  padding: 0;
35
36
  }
36
37
  }
38
+
37
39
  @media (min-width: 600px) and (max-width: 1023px) {
40
+
38
41
  .sapMSplitContainerHideMode > .sapMSplitContainerDetail .sapUiHLayout.sapUiResponsiveContentPadding ,
39
42
  .sapUiHLayout.sapUiResponsiveContentPadding > .sapUiHLayoutChildWrapper:not(:last-child) {
40
43
  padding-right: 1rem;
41
44
  box-sizing: border-box;
42
45
  }
43
46
  }
47
+
44
48
  @media (min-width: 1024px) {
49
+
45
50
  .sapMSplitContainerHideMode > .sapMSplitContainerDetail .sapUiHLayout.sapUiResponsiveContentPadding ,
46
51
  .sapUiHLayout.sapUiResponsiveContentPadding > .sapUiHLayoutChildWrapper:not(:last-child) {
47
52
  padding-right: 1rem;