@openui5/themelib_sap_horizon 1.136.2 → 1.138.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 (80) hide show
  1. package/REUSE.toml +0 -28
  2. package/THIRDPARTY.txt +0 -24
  3. package/package.json +18 -18
  4. package/src/sap/f/themes/sap_horizon/Card.less +0 -6
  5. package/src/sap/f/themes/sap_horizon/DynamicPage.less +52 -43
  6. package/src/sap/f/themes/sap_horizon/DynamicPageHeader.less +4 -4
  7. package/src/sap/f/themes/sap_horizon/ShellBar.less +174 -118
  8. package/src/sap/f/themes/sap_horizon_dark/Card.less +0 -6
  9. package/src/sap/f/themes/sap_horizon_dark/DynamicPage.less +48 -40
  10. package/src/sap/f/themes/sap_horizon_dark/DynamicPageHeader.less +3 -3
  11. package/src/sap/f/themes/sap_horizon_dark/ShellBar.less +192 -130
  12. package/src/sap/f/themes/sap_horizon_hcb/DynamicPage.less +48 -39
  13. package/src/sap/f/themes/sap_horizon_hcb/DynamicPageHeader.less +9 -8
  14. package/src/sap/f/themes/sap_horizon_hcb/ShellBar.less +111 -81
  15. package/src/sap/f/themes/sap_horizon_hcw/DynamicPage.less +47 -40
  16. package/src/sap/f/themes/sap_horizon_hcw/DynamicPageHeader.less +8 -7
  17. package/src/sap/f/themes/sap_horizon_hcw/ShellBar.less +115 -84
  18. package/src/sap/m/themes/sap_horizon/Button.less +5 -11
  19. package/src/sap/m/themes/sap_horizon/IconTabBar.less +0 -2
  20. package/src/sap/m/themes/sap_horizon/Page.less +10 -7
  21. package/src/sap/m/themes/sap_horizon_dark/Button.less +4 -4
  22. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +0 -2
  23. package/src/sap/m/themes/sap_horizon_dark/Page.less +9 -5
  24. package/src/sap/m/themes/sap_horizon_hcb/Button.less +1 -1
  25. package/src/sap/m/themes/sap_horizon_hcb/Menu.less +19 -10
  26. package/src/sap/m/themes/sap_horizon_hcb/Page.less +9 -7
  27. package/src/sap/m/themes/sap_horizon_hcw/Button.less +1 -1
  28. package/src/sap/m/themes/sap_horizon_hcw/Menu.less +14 -5
  29. package/src/sap/m/themes/sap_horizon_hcw/Page.less +9 -7
  30. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +0 -1
  31. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +3 -3
  32. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +0 -1
  33. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +3 -3
  34. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +0 -1
  35. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +3 -3
  36. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +0 -1
  37. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +3 -3
  38. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  39. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.ttf +0 -0
  40. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.woff2 +0 -0
  41. package/src/sap/ui/core/themes/sap_horizon/global.less +4 -0
  42. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  43. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.ttf +0 -0
  44. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.woff2 +0 -0
  45. package/src/sap/ui/core/themes/sap_horizon_dark/global.less +4 -0
  46. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  47. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.ttf +0 -0
  48. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.woff2 +0 -0
  49. package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +4 -0
  50. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  51. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.ttf +0 -0
  52. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.woff2 +0 -0
  53. package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +4 -0
  54. package/src/sap/ui/dt/themes/sap_horizon/ContextMenu.less +5 -5
  55. package/src/sap/ui/dt/themes/sap_horizon_dark/ContextMenu.less +5 -5
  56. package/src/sap/ui/dt/themes/sap_horizon_hcb/ContextMenu.less +15 -6
  57. package/src/sap/ui/dt/themes/sap_horizon_hcw/ContextMenu.less +14 -5
  58. package/src/sap/ui/mdc/themes/sap_horizon/Chart.less +5 -5
  59. package/src/sap/ui/mdc/themes/sap_horizon_dark/Chart.less +5 -5
  60. package/src/sap/ui/mdc/themes/sap_horizon_hcb/Chart.less +5 -5
  61. package/src/sap/ui/mdc/themes/sap_horizon_hcw/Chart.less +5 -5
  62. package/src/sap/ui/rta/themes/sap_horizon_hcb/ContextMenu.less +4 -4
  63. package/src/sap/ui/rta/themes/sap_horizon_hcw/ContextMenu.less +4 -4
  64. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +1 -1
  65. package/src/sap/ui/unified/themes/sap_horizon/CalendarRow.less +0 -25
  66. package/src/sap/ui/unified/themes/sap_horizon_dark/CalendarRow.less +0 -25
  67. package/src/sap/ui/unified/themes/sap_horizon_hcb/CalendarRow.less +0 -24
  68. package/src/sap/ui/unified/themes/sap_horizon_hcw/CalendarRow.less +0 -24
  69. package/src/sap/uxap/themes/sap_horizon/ObjectPageSection.less +14 -6
  70. package/src/sap/uxap/themes/sap_horizon/ObjectPageSubSection.less +10 -5
  71. package/src/sap/uxap/themes/sap_horizon_dark/ObjectPageSection.less +14 -6
  72. package/src/sap/uxap/themes/sap_horizon_dark/ObjectPageSubSection.less +10 -5
  73. package/src/sap/uxap/themes/sap_horizon_hcb/ObjectPageSection.less +14 -5
  74. package/src/sap/uxap/themes/sap_horizon_hcb/ObjectPageSubSection.less +9 -3
  75. package/src/sap/uxap/themes/sap_horizon_hcw/ObjectPageSection.less +14 -5
  76. package/src/sap/uxap/themes/sap_horizon_hcw/ObjectPageSubSection.less +9 -3
  77. package/src/sap/f/themes/sap_horizon/ProductSwitchItem.less +0 -4
  78. package/src/sap/f/themes/sap_horizon_dark/ProductSwitchItem.less +0 -4
  79. package/src/sap/f/themes/sap_horizon_hcb/ProductSwitchItem.less +0 -8
  80. package/src/sap/f/themes/sap_horizon_hcw/ProductSwitchItem.less +0 -8
@@ -22,24 +22,25 @@
22
22
 
23
23
  .sapFShellBar.sapFShellBarFCLFPHeader,
24
24
  .sapMPageHeader .sapFShellBar {
25
- box-shadow: @sapUiShellShadow;
25
+ box-shadow: var(--sapShell_Shadow);
26
26
  }
27
27
 
28
28
  .sapFShellBar {
29
- background: @sapUiShellColor;
29
+ background: var(--sapShellColor);
30
30
  height: 3.25rem;
31
- box-shadow: inset 0 -0.0625rem 0 0 @sapUiShellBorderColor;
31
+ box-shadow: inset 0 -0.0625rem 0 0 var(--sapShell_BorderColor);
32
32
 
33
33
  .sapFShellBarOTB.sapMIBar.sapMTB {
34
34
  height: 3.25rem;
35
35
  }
36
36
 
37
- // Copilot
37
+ /* Copilot */
38
38
  .CPImage,
39
39
  & .sapMIBar.sapMTB .CPImage {
40
- &:after {
40
+
41
+ &::after {
41
42
  position: absolute;
42
- content: "";
43
+ content: '';
43
44
  left: 3px;
44
45
  right: 3px;
45
46
  top: 3px;
@@ -48,87 +49,94 @@
48
49
  pointer-events: none;
49
50
  border-radius: 0.5rem;
50
51
  }
52
+
51
53
  .color1 {
52
54
  stop-color: #0070F2;
53
55
  }
56
+
54
57
  .color2 {
55
58
  stop-color: #EBF8FF;
56
59
  }
60
+
57
61
  .opacity7 {
58
62
  stop-opacity:0.7;
59
63
  }
64
+
60
65
  .opacity36 {
61
66
  stop-opacity: 0.36;
62
67
  }
68
+
63
69
  .opacity2 {
64
70
  stop-opacity: 0.2;
65
71
  }
72
+
66
73
  &:focus {
67
- outline: @sapUiContentFocusWidth solid @sapUiContentFocusColor;
74
+ outline: var(--sapContent_FocusWidth) solid var(--sapContent_FocusColor);
68
75
  border-radius: 0.375rem;
69
- background-color: @sapUiShellActiveBackground;
70
- color: @sapUiShellActiveTextColor;
71
- &:after {
72
- box-shadow: @sapUiContentSelectedShadow;
76
+ background-color: var(--sapShell_Active_Background);
77
+ color: var(--sapShell_Active_TextColor);
78
+
79
+ &::after {
80
+ box-shadow: var(--sapContent_Selected_Shadow);
73
81
  }
74
82
  }
83
+
75
84
  &:hover:not(:focus) {
76
- background: @sapUiShellHoverBackground;
85
+ background: var(--sapShell_Hover_Background);
77
86
 
78
- &:after {
79
- box-shadow: @sapUiContentInteractionShadow;
87
+ &::after {
88
+ box-shadow: var(--sapContent_Interaction_Shadow);
80
89
  }
81
90
  }
82
- html[data-sap-ui-browser^="ie"] &:focus:before {
83
- border-color: @sapUiContentContrastFocusColor;
84
- }
85
91
  }
86
92
 
87
93
  &.sapMPageHeader .sapMIBar,
88
94
  .sapMIBar {
89
95
  height: 3.25rem;
90
96
  }
97
+
91
98
  .sapMBtn:hover > .sapMBtnHoverable.sapMToggleBtnPressed:not(.sapMBtnActive) {
92
- border-color: @sapUiShellHoverBackground;
99
+ border-color: var(--sapShell_Hover_Background);
93
100
  }
101
+
94
102
  .sapMToggleBtnPressed:not(.sapMBtnDisabled),
95
103
  .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed:not(.sapMBtnDisabled) {
96
- background-color: @sapUiShellActiveBackground;
97
- border-color: @sapUiShellActiveBackground;
104
+ background-color: var(--sapShell_Active_Background);
105
+ border-color: var(--sapShell_Active_Background);
98
106
  }
99
107
 
100
108
  .sapFShellBarProfile:not(:focus):hover {
101
109
  box-shadow: 0 0 0.125rem 0 fade(@sapContent_ShadowColor, 72);
102
110
  }
103
111
 
104
- // Mega Menu
112
+ /* Mega Menu */
105
113
  .sapFSHMegaMenu {
106
- color: @sapUiShellTextColor;
114
+ color: var(--sapShell_TextColor);
107
115
  overflow: visible;
108
- font-size: @sapMFontHeader5Size;
116
+ font-size: var(--sapFontHeader5Size);
109
117
  font-weight: bold;
110
118
 
111
119
  .sapMBtn:not(:hover) .sapMBtnInner.sapMBtnTransparent::after,
112
120
  .sapMBtnTransparent {
113
- color: @sapUiShellTextColor;
114
- background: @sapUiButtonLiteBackground;
121
+ color: var(--sapShell_TextColor);
122
+ background: var(--sapButton_Lite_Background);
115
123
  }
116
124
 
117
125
  .sapMBtn:hover > .sapMBtnTransparent.sapMBtnHoverable:not(.sapMBtnActive):not(.sapMToggleBtnPressed) bdi,
118
126
  &.sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner.sapMBtnTransparent:not(.sapMBtnActive)::after {
119
- color: @sapUiShellTextColor;
127
+ color: var(--sapShell_TextColor);
120
128
  }
121
129
 
122
130
  .sapMBtn:hover > .sapMBtnHoverable:not(.sapMBtnActive) {
123
- background: @sapUiShellHoverBackground;
124
- border: 1px solid @sapUiButtonLiteHoverBorderColor;
125
- color: @sapUiShellTextColor;
131
+ background: var(--sapShell_Hover_Background);
132
+ border: 1px solid var(--sapButton_Lite_Hover_BorderColor);
133
+ color: var(--sapShell_TextColor);
126
134
  }
127
135
 
128
136
  .sapMBtn:hover > .sapMBtnHoverable.sapMBtnActive {
129
- background: @sapUiShellActiveBackground;
130
- border: 1px solid @sapUiButtonLiteActiveBorderColor;
131
- color: @sapUiShellActiveTextColor;
137
+ background: var(--sapShell_Active_Background);
138
+ border: 1px solid var(--sapButton_Lite_Active_BorderColor);
139
+ color: var(--sapShell_Active_TextColor);
132
140
  }
133
141
 
134
142
  .sapMBtnInner,
@@ -139,19 +147,19 @@
139
147
 
140
148
  .sapMBtnInner::after {
141
149
  content: '\e1ef';
142
- font-family: 'SAP-icons';
150
+ font-family: var(--sapContent_IconFontFamily);
143
151
  }
144
152
  }
145
153
 
146
- // Home Icon
154
+ /* Home Icon */
147
155
  .sapFShellBarHomeIcon {
148
156
  max-height: 2rem;
149
157
  padding: 0.25rem;
150
158
  overflow-clip-margin: border-box;
151
159
 
152
160
  &:hover {
153
- background: @sapUiShellHoverBackground;
154
- box-shadow: @sapUiContentInteractionShadow;
161
+ background: var(--sapShell_Hover_Background);
162
+ box-shadow: var(--sapContent_Interaction_Shadow);
155
163
  border-radius: 0.5rem;
156
164
  }
157
165
 
@@ -160,27 +168,27 @@
160
168
  }
161
169
  }
162
170
 
163
- //Primary Title
171
+ /* Primary Title */
164
172
  .sapFShellBarPrimaryTitle {
165
173
  color: var(--sapShell_SubBrand_TextColor);
166
174
  }
167
175
 
168
- //Second Title
176
+ /* Second Title */
169
177
  .sapFShellBarSecondTitle {
170
- font-size: @sapMFontSmallSize;
171
- color: @sapUiShellTextColor;
178
+ font-size: var(--sapFontSmallSize);
179
+ color: var(--sapShell_TextColor);
172
180
  text-overflow: ellipsis;
173
181
  }
174
182
 
175
- // Search
183
+ /* Search */
176
184
  .sapFShellBarSearch {
177
- max-width: 35rem; // max width of searchField + button width
185
+ max-width: 35rem; /* max width of searchField + button width */
178
186
 
179
187
  .sapMSF {
180
188
  max-width: 35rem;
181
189
  }
182
190
 
183
- // Reflection: styles overwritten
191
+ /* Reflection: styles overwritten */
184
192
  .sapMBtn:not(.sapFShellBarSearchCancelButton) {
185
193
  width: 1.75rem;
186
194
  height: 1.75rem;
@@ -193,10 +201,12 @@
193
201
  right: 0;
194
202
  top: 0;
195
203
  bottom: 0;
204
+
196
205
  .sapMBtnInner {
197
206
  min-width: 1.75rem;
198
207
  border-radius: 1.125rem;
199
- color: @sapUiButtonEmphasizedTextColor;
208
+ color: var(--sapButton_Emphasized_TextColor);
209
+
200
210
  .sapMBtnIcon {
201
211
  width: 1.75rem;
202
212
  height: 1.75rem;
@@ -206,10 +216,10 @@
206
216
  }
207
217
 
208
218
  .sapMSFVal + .sapMBtn .sapMBtnInner {
209
- background-color: @sapUiButtonEmphasizedBackground;
219
+ background-color: var(--sapButton_Emphasized_Background);
210
220
 
211
221
  .sapMBtnIcon {
212
- color: @sapUiButtonEmphasizedTextColor;
222
+ color: var(--sapButton_Emphasized_TextColor);
213
223
  }
214
224
  }
215
225
  }
@@ -232,12 +242,13 @@
232
242
 
233
243
  .sapFShellBarSearchWrap {
234
244
  position: relative;
245
+
235
246
  .sapMSFF {
236
- background: @sapUiFieldBackgroundStyle;
237
- background-color: @sapUiShellInteractiveBackground;
238
- box-shadow: @sapUiFieldShadow;
247
+ background: var(--sapField_BackgroundStyle);
248
+ background-color: var(--sapShell_InteractiveBackground);
249
+ box-shadow: var(--sapField_Shadow);
239
250
  border: none;
240
- color: @sapUiShellInteractiveTextColor;
251
+ color: var(--sapShell_InteractiveTextColor);
241
252
  border-radius: 1.125rem;
242
253
  height: 2.25rem;
243
254
 
@@ -255,19 +266,19 @@
255
266
  }
256
267
 
257
268
  .sapMSFB:hover {
258
- background: @sapUiShellHoverBackground;
259
- box-shadow: @sapUiContentInteractionShadow;
269
+ background: var(--sapShell_Hover_Background);
270
+ box-shadow: var(--sapContent_Interaction_Shadow);
260
271
  border-radius: 1.125rem;
261
272
  height: 1.75rem;
262
- color: @sapUiShellInteractiveTextColor;
273
+ color: var(--sapShell_InteractiveTextColor);
263
274
  }
264
275
 
265
276
  .sapMSFB:active,
266
277
  .sapMSFB.sapMSFBA {
267
- background: @sapUiShellActiveBackground;
268
- box-shadow: @sapUiContentSelectedShadow;
278
+ background: var(--sapShell_Active_Background);
279
+ box-shadow: var(--sapContent_Selected_Shadow);
269
280
  border-radius: 1.125rem;
270
- color: @sapUiShellActiveTextColor;
281
+ color: var(--sapShell_Active_TextColor);
271
282
  }
272
283
  }
273
284
 
@@ -281,28 +292,30 @@
281
292
  }
282
293
 
283
294
  .sapMSF:not(.sapMSFDisabled):hover .sapMSFF {
284
- background-color: @sapUiShellHoverBackground;
285
- box-shadow: @sapUiFieldHoverShadow;
295
+ background-color: var(--sapShell_Hover_Background);
296
+ box-shadow: var(--sapField_Hover_Shadow);
286
297
  }
287
298
 
288
299
  .sapMSFI {
289
- color: @sapUiFieldPlaceholderTextColor;
300
+ color: var(--sapField_PlaceholderTextColor);
290
301
  font-weight: italic;
291
302
  }
292
303
 
293
- // sap.m.Button
294
- // Reflection: styles overwritten
304
+ /* sap.m.Button
305
+ Reflection: styles overwritten */
295
306
  .sapMBtn:not(.sapFShellBarSearchCancelButton) {
296
307
  height: 2.25rem;
297
308
  line-height: 2.25rem;
298
309
  width: 1.75rem;
299
- padding: 0.250rem 0;
310
+ padding: 0.25rem 0;
300
311
  margin-right: 0.25rem;
312
+
301
313
  .sapMBtnInner {
302
314
  height: 1.75rem;
303
315
  min-width: 1.75rem;
304
316
  border-radius: 1.125rem;
305
317
  }
318
+
306
319
  .sapMBtnInner.sapMBtnText {
307
320
  padding-left: 0.625rem;
308
321
  padding-right: 0.625rem;
@@ -317,22 +330,23 @@
317
330
  padding: 0;
318
331
  }
319
332
  }
333
+
320
334
  .sapMSF {
321
335
  margin-right: 0;
322
336
  }
323
337
  }
324
338
  }
325
339
 
326
- // Overriding styles comming from other controls
327
- html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelButton):focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
340
+ /* Overriding styles comming from other controls */
341
+ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelButton):focus > .sapMFocusable:not(.sapMBadgeIndicator)::before {
328
342
  border-radius: 1.125rem;
329
343
  }
330
344
 
331
- html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelButton):focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
345
+ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:not(.sapFShellBarSearchCancelButton):focus > .sapMFocusable:not(.sapMBadgeIndicator)::before {
332
346
  border-radius: 0.375rem;
333
347
  }
334
348
 
335
- // Resets of sizes for "Compact" mode - controls should remain in cozy mode
349
+ /* Resets of sizes for "Compact" mode - controls should remain in cozy mode */
336
350
  .alwaysCozyOverrideByParent(@controlClass) {
337
351
  .sapUiSizeCompact {
338
352
  .@{controlClass} {
@@ -343,17 +357,17 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
343
357
  height: 3.25rem;
344
358
  }
345
359
 
346
- // Reflection: styles overwritten
347
- // sap.m.MegaMenu
360
+ /* Reflection: styles overwritten
361
+ sap.m.MegaMenu */
348
362
  .sapFSHMegaMenu {
349
363
  height: 2.75rem;
350
364
  }
351
365
 
352
- // Reflection: styles overwritten
353
- // sap.m.Button
366
+ /* Reflection: styles overwritten
367
+ sap.m.Button */
354
368
  .sapMBtn {
355
369
  height: 2.75rem;
356
- padding: 0.250rem 0;
370
+ padding: 0.25rem 0;
357
371
  }
358
372
 
359
373
  .sapMBtnInner {
@@ -378,14 +392,17 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
378
392
  margin: 0;
379
393
  padding: 0;
380
394
  }
395
+
381
396
  .sapMBtnIconLeft + .sapMBtnIconLeft {
382
397
  left: 0;
383
398
  }
399
+
384
400
  .sapMBtnText {
385
401
  .sapMBtnIconLeft + .sapMBtnIconLeft {
386
402
  left: 2.875rem;
387
403
  }
388
404
  }
405
+
389
406
  .sapMBtnInner > img {
390
407
  width: 2.5rem;
391
408
  margin-top: 0.2rem;
@@ -393,31 +410,35 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
393
410
  }
394
411
 
395
412
  html.sap-desktop & .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed, .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed:not(.sapMBtnDisabled) {
396
- background-color: @sapUiShellActiveBackground;
413
+ background-color: var(--sapShell_Active_Background);
397
414
  }
398
415
 
399
- // sap.m.MenuButton
400
- // Reflection: styles overwritten
416
+ /* sap.m.MenuButton
417
+ Reflection: styles overwritten */
401
418
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
402
- height: 38px; //ie does not accept rem for height in pseudo elements, but it works with px when you zoom
419
+ height: 2.375rem;
403
420
  line-height: 2.2rem;
404
421
  padding-right: 0.75rem;
405
422
  padding-left: 0.5625rem;
406
423
  }
424
+
407
425
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner:not(.sapMBtnText) {
408
426
  padding-right: 1.625rem;
409
427
  }
428
+
410
429
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner {
411
430
  padding-right: 2rem;
412
431
  }
432
+
413
433
  .sapMMenuBtn .sapMBtnIconFirst .sapMBtnIcon {
414
434
  padding-right: 0.75rem;
415
435
  }
416
436
 
417
- // Reflection: styles overwritten
418
- // sap.m.SearchField
437
+ /* Reflection: styles overwritten
438
+ sap.m.SearchField */
419
439
  .sapFShellBarSearch {
420
440
  max-width: 35rem;
441
+
421
442
  .sapMSF {
422
443
  max-width: 35rem;
423
444
  }
@@ -433,9 +454,11 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
433
454
  position: absolute;
434
455
  top: 0;
435
456
  bottom: 0;
457
+
436
458
  .sapMBtnInner {
437
459
  min-width: 1.75rem;
438
460
  border-radius: 1.125rem;
461
+
439
462
  .sapMBtnIcon {
440
463
  width: 1.75rem;
441
464
  height: 1.75rem;
@@ -458,19 +481,22 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
458
481
  }
459
482
 
460
483
  .sapFShellBarSearchWrap {
461
- // sap.m.Button
462
- // Reflection: styles overwritten
484
+
485
+ /* sap.m.Button
486
+ Reflection: styles overwritten */
463
487
  .sapMBtn:not(.sapFShellBarSearchCancelButton) {
464
488
  height: 2.25rem;
465
489
  line-height: 2.25rem;
466
490
  width: 1.75rem;
467
- padding: 0.250rem 0;
491
+ padding: 0.25rem 0;
468
492
  margin-right: 0.25rem;
493
+
469
494
  .sapMBtnInner {
470
495
  height: 1.75rem;
471
496
  min-width: 1.75rem;
472
497
  border-radius: 1.125rem;
473
498
  }
499
+
474
500
  .sapMBtnInner.sapMBtnText {
475
501
  padding-left: 0.625rem;
476
502
  padding-right: 0.625rem;
@@ -485,25 +511,31 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
485
511
  padding: 0;
486
512
  }
487
513
  }
514
+
488
515
  .sapMSF {
489
516
  margin-right: 0;
490
517
  }
491
518
  }
519
+
492
520
  .sapMSF {
493
521
  min-width: 7rem;
494
522
  height: 2.75rem;
495
523
  padding: 0.25rem 0;
524
+
496
525
  .sapMSFI {
497
526
  height: 2.125rem
498
527
  }
528
+
499
529
  .sapMSFF {
500
530
  height: 2.25rem;
501
531
  line-height: 2.125rem;
502
532
  padding-left: 0.625rem;
503
533
  }
534
+
504
535
  .sapMSFR:not(.sapMSFNS) {
505
536
  right: 2.375rem;
506
537
  }
538
+
507
539
  .sapMSFB {
508
540
  width: 1.75rem;
509
541
  height: 1.75rem;
@@ -515,25 +547,31 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
515
547
  right: 0;
516
548
  top: 0;
517
549
  }
550
+
518
551
  .sapMSFB:hover {
519
552
  height: 1.75rem;
520
553
  }
521
554
  }
522
- // sap.m.Select
523
- // Reflection: styles overwritten
555
+
556
+ /* sap.m.Select
557
+ Reflection: styles overwritten */
524
558
  .sapMSlt {
525
559
  height: 2.5rem;
560
+
526
561
  .sapMSltArrow {
527
562
  line-height: 2.5rem;
528
563
  width: 2.5rem;
529
564
  }
565
+
530
566
  .sapMSltLabel {
531
567
  line-height: 2.375rem;
532
568
  padding: 0 3rem 0 0.625rem;
533
569
  }
570
+
534
571
  .sapMSelectListItem {
535
572
  line-height: 2.5rem;
536
573
  }
574
+
537
575
  .sapMSelectListItemBase {
538
576
  height: 2.5rem;
539
577
  }
@@ -551,62 +589,75 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
551
589
  .sapFShellBarItem:not(.sapFSHMegaMenu ) .sapMBtn,
552
590
  .sapMTB-Transparent-CTX .sapFShellBarItem.sapMBtn,
553
591
  .sapMTB-Transparent-CTX .sapFShellBarItem .sapMBtn {
592
+
554
593
  .sapMBtnInner::after,
555
594
  .sapMBtnIcon {
556
595
  background: transparent;
557
- color: @sapUiShellInteractiveTextColor;
596
+ color: var(--sapShell_InteractiveTextColor);
558
597
  }
559
- .sapMBtnContent
560
- {
598
+
599
+ .sapMBtnContent {
561
600
  background: transparent;
562
- color: @sapUiShellTextColor;
601
+ color: var(--sapShell_TextColor);
563
602
  }
603
+
564
604
  &:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnActive {
565
- background: @sapUiShellActiveBackground;
566
- border-color: @sapUiShellActiveBackground;
605
+ background: var(--sapShell_Active_Background);
606
+ border-color: var(--sapShell_Active_Background);
567
607
  }
608
+
568
609
  &:hover:not(.sapMBtnDisabled) {
569
- >span.sapMBtnInner.sapMBtnHoverable:not(.sapMToggleBtnPressed) {
610
+
611
+ > span.sapMBtnInner.sapMBtnHoverable:not(.sapMToggleBtnPressed) {
612
+
570
613
  &:not(.sapMBtnActive) {
571
- background: @sapUiShellHoverBackground;
614
+ background: var(--sapShell_Hover_Background);
572
615
  }
616
+
573
617
  &.sapMBtnActive,
574
618
  &.sapMBtnActive .sapMBtnContent,
575
619
  &.sapMBtnActive .sapMBtnContent bdi {
576
- background: @sapUiShellActiveBackground;
577
- color: @sapUiShellActiveTextColor;
578
- border: 1px solid @sapUiButtonLiteActiveBorderColor;
620
+ background: var(--sapShell_Active_Background);
621
+ color: var(--sapShell_Active_TextColor);
622
+ border: 1px solid var(--sapButton_Lite_Active_BorderColor);
579
623
  }
580
- &.sapMBtnActive:after,
581
- &.sapMBtnActive >.sapMBtnIcon {
582
- color: @sapUiShellActiveTextColor;
624
+
625
+ &.sapMBtnActive::after,
626
+ &.sapMBtnActive > .sapMBtnIcon {
627
+ color: var(--sapShell_Active_TextColor);
583
628
  }
584
- &:after,
585
- >.sapMBtnIcon {
586
- color: @sapUiShellInteractiveTextColor;
629
+
630
+ &::after,
631
+ > .sapMBtnIcon {
632
+ color: var(--sapShell_InteractiveTextColor);
587
633
  }
588
- >.sapMBtnContent,
589
- >.sapMBtnContent bdi
634
+
635
+ > .sapMBtnContent,
636
+ > .sapMBtnContent bdi
590
637
  {
591
- color: @sapUiShellTextColor;
638
+ color: var(--sapShell_TextColor);
592
639
  }
593
-
594
640
  }
641
+
595
642
  &.sapFShellBarSearchCancelButton:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnHoverable:not(.sapMToggleBtnPressed) {
643
+
596
644
  &.sapMBtnActive .sapMBtnContent,
597
645
  &.sapMBtnActive .sapMBtnContent bdi {
598
646
  border: none;
599
647
  }
600
648
  }
649
+
601
650
  &.sapMToggleBtnPressed {
602
- background: @sapUiShellActiveBackground;
603
- border-color: @sapUiShellActiveBackground;
651
+ background: var(--sapShell_Active_Background);
652
+ border-color: var(--sapShell_Active_Background);
604
653
  }
654
+
605
655
  &:active {
606
- >.sapMBtnContent,
607
- >.sapMBtnInner,
608
- >.sapMBtnIcon {
609
- color: @sapUiShellTextColor;
656
+
657
+ > .sapMBtnContent,
658
+ > .sapMBtnInner,
659
+ > .sapMBtnIcon {
660
+ color: var(--sapShell_TextColor);
610
661
  }
611
662
  }
612
663
  }
@@ -617,67 +668,78 @@ html.sap-desktop .sapMOverflowToolbarMenu-CTX .sapFShellBarSearchWrap .sapMBtn:n
617
668
  }
618
669
 
619
670
  .sapMBtnBase.sapMBtn.sapFShellBarItem.sapMBarChild:hover {
671
+
620
672
  .sapMBtnInner.sapMBtnHoverable.sapMFocusable.sapMBtnIconFirst{
621
- background: @sapUiShellHoverBackground;
673
+ background: var(--sapShell_Hover_Background);
622
674
  }
623
675
  }
624
676
 
625
- //sap.m.Label
677
+ /* sap.m.Label */
626
678
  .sapMTB > .sapMLabel {
627
- color: @sapUiShellTextColor;
679
+ color: var(--sapShell_TextColor);
628
680
  }
629
681
 
630
- //sap.m.SearchField
682
+ /* sap.m.SearchField */
631
683
  .sapMSF {
632
684
 
633
685
  &.sapMSFDisabled {
634
686
  opacity: 0.4;
635
687
  }
636
-
637
688
  }
638
689
 
639
- // sap.m.Select
690
+ /* sap.m.Select */
640
691
  .sapMSlt {
641
692
  background-color: transparent;
642
- border-color: lighten(@sapUiShellBorderColor, 30);
643
- color: @sapUiShellTextColor;
693
+ border-color: lighten(@sapUiShellBorderColor, 30);
694
+ color: var(--sapShell_TextColor);
695
+
644
696
  &.sapMSltHoverable:not(.sapMSltState):not(.sapMSltIconOnly):hover {
645
697
  background-color: transparent;
646
- border-color: lighten(@sapUiShellBorderColor, 30);
647
- color: @sapUiShellTextColor;
698
+ border-color: lighten(@sapUiShellBorderColor, 30);
699
+ color: var(--sapShell_TextColor);
700
+
648
701
  .sapMSltArrow {
649
702
  background-color: transparent;
703
+
650
704
  &:hover {
651
- background: @sapUiShellHoverBackground;
705
+ background: var(--sapShell_Hover_Background);
652
706
  }
653
707
  }
654
708
  }
709
+
655
710
  &.sapMSltPressed:not(.sapMSltDisabled):not(.sapMSltState) {
656
- border-color:lighten(@sapUiShellBorderColor, 30);
711
+ border-color:lighten(@sapUiShellBorderColor, 30);
657
712
  }
713
+
658
714
  .sapMSltLabel {
659
- color: @sapUiShellTextColor;
715
+ color: var(--sapShell_TextColor);
716
+
660
717
  &:hover {
661
- background-color: @sapUiShellHoverBackground;
662
- &>.sapMSltArrow {
663
- background: @sapUiShellHoverBackground;
718
+ background-color: var(--sapShell_Hover_Background);
719
+
720
+ & > .sapMSltArrow {
721
+ background: var(--sapShell_Hover_Background);
664
722
  }
665
723
  }
666
724
  }
725
+
667
726
  .sapMSltArrow {
668
727
  background-color: transparent;
669
- color: @sapUiShellInteractiveTextColor;
728
+ color: var(--sapShell_InteractiveTextColor);
729
+
670
730
  &:hover {
671
- background: @sapUiShellHoverBackground;
731
+ background: var(--sapShell_Hover_Background);
672
732
  }
733
+
673
734
  &:active {
674
- background: @sapUiShellActiveBackground;
675
- color: @sapUiShellActiveTextColor;
735
+ background: var(--sapShell_Active_Background);
736
+ color: var(--sapShell_Active_TextColor);
676
737
  }
677
738
  }
739
+
678
740
  &.sapMSltDisabled {
679
741
  opacity: 0.4;
680
742
  }
681
743
  }
682
744
  }
683
- }
745
+ }