@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
@@ -1,12 +1,13 @@
1
- /* =================?================ */
1
+ /* ================================== */
2
2
  /* CSS for control sap.f/ShellBar */
3
3
  /* Horizon High Contrast White theme */
4
- /* ================?================= */
4
+ /* ================================== */
5
5
 
6
6
  .alwaysCozyOverrideByParent(~"sapFShellBar");
7
7
 
8
8
  .sapFShellBar {
9
- box-shadow: inset 0 -0.0625rem 0 0 @sapUiShellBorderColor;
9
+ box-shadow: inset 0 -0.0625rem 0 0 var(--sapShell_BorderColor);
10
+
10
11
  .sapFShellBarOTB {
11
12
  background-color: transparent;
12
13
  }
@@ -14,31 +15,34 @@
14
15
 
15
16
  .sapFShellBar.sapFShellBarFCLFPHeader,
16
17
  .sapMPageHeader .sapFShellBar {
17
- box-shadow: @sapUiShellShadow;
18
+ box-shadow: var(--sapShell_Shadow);
18
19
  }
19
20
 
20
21
  .sapFButtonNotifications[data-notifications],
21
22
  .sapFShellBarOverflowButton[data-notifications] {
22
- &:after {
23
- line-height: 1rem;
24
- background: @sapUiGroupContentBackground;
25
- border: solid 1px @sapUiGroupContentBorderColor;
26
- color: @sapUiContentForegroundTextColor;
27
- }
23
+
24
+ &::after {
25
+ line-height: 1rem;
26
+ background: var(--sapGroup_ContentBackground);
27
+ border: solid 1px var(--sapGroup_ContentBorderColor);
28
+ color: var(--sapContent_ForegroundTextColor);
29
+ }
28
30
  }
29
31
 
30
32
  .sapFShellBar .CPImage,
31
33
  .sapFShellBar .sapMIBar.sapMTB .CPImage {
34
+
32
35
  .color1 {
33
- stop-color: @sapUiContentIconColor;
36
+ stop-color: var(--sapContent_IconColor);
34
37
  }
38
+
35
39
  .color2 {
36
- stop-color: @sapUiContentIconColor;
40
+ stop-color: var(--sapContent_IconColor);
37
41
  }
38
42
  }
39
43
 
40
44
  html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
41
- background-color: @sapUiButtonAttentionActiveBackground;
45
+ background-color: var(--sapButton_Attention_Active_Background);
42
46
  }
43
47
 
44
48
  .sapFShellBarSizeLargeDesktop,
@@ -55,20 +59,21 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
55
59
  }
56
60
 
57
61
  .sapFShellBar {
58
- background: @sapUiShellColor;
62
+ background: var(--sapShellColor);
59
63
  height: 3.25rem;
60
- box-shadow: inset 0 -0.0625rem 0 0 @sapUiShellBorderColor;
64
+ box-shadow: inset 0 -0.0625rem 0 0 var(--sapShell_BorderColor);
61
65
 
62
66
  .sapFShellBarOTB.sapMIBar.sapMTB {
63
67
  height: 3.25rem;
64
68
  }
65
69
 
66
- // Copilot
70
+ /* Copilot */
67
71
  .CPImage,
68
72
  & .sapMIBar.sapMTB .CPImage {
69
- &:after {
73
+
74
+ &::after {
70
75
  position: absolute;
71
- content: "";
76
+ content: '';
72
77
  left: 3px;
73
78
  right: 3px;
74
79
  top: 3px;
@@ -77,41 +82,44 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
77
82
  pointer-events: none;
78
83
  border-radius: 0.5rem;
79
84
  }
85
+
80
86
  &:focus {
81
87
  border-radius: 0.5rem;
82
88
  outline: none;
83
- background-color: @sapUiShellActiveBackground;
84
- color: @sapUiShellActiveTextColor;
85
- &:after {
86
- box-shadow: @sapUiContentSelectedShadow;
89
+ background-color: var(--sapShell_Active_Background);
90
+ color: var(--sapShell_Active_TextColor);
91
+
92
+ &::after {
93
+ box-shadow: var(--sapContent_Selected_Shadow);
87
94
  }
88
95
  }
96
+
89
97
  &:hover:not(:focus) {
90
- background: @sapUiShellHoverBackground;
98
+ background: var(--sapShell_Hover_Background);
91
99
  border-radius: 0.5rem;
92
- &:after {
93
- box-shadow: @sapUiContentInteractionShadow;
100
+
101
+ &::after {
102
+ box-shadow: var(--sapContent_Interaction_Shadow);
94
103
  }
95
104
  }
96
- html[data-sap-ui-browser^="ie"] &:focus:before {
97
- border-color: @sapUiContentContrastFocusColor;
98
- }
99
105
  }
100
106
 
101
107
  &.sapMPageHeader .sapMIBar,
102
108
  .sapMIBar {
103
109
  height: 3.25rem;
104
110
  }
111
+
105
112
  .sapMBtn:hover > .sapMBtnHoverable.sapMToggleBtnPressed:not(.sapMBtnActive) {
106
- border-color: @sapUiShellHoverBackground;
113
+ border-color: var(--sapShell_Hover_Background);
107
114
  }
115
+
108
116
  .sapMToggleBtnPressed:not(.sapMBtnDisabled),
109
117
  .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed:not(.sapMBtnDisabled) {
110
- background-color: @sapUiShellActiveBackground;
111
- border-color: @sapUiShellActiveBackground;
118
+ background-color: var(--sapShell_Active_Background);
119
+ border-color: var(--sapShell_Active_Background);
112
120
  }
113
121
 
114
- // Avatar
122
+ /* Avatar */
115
123
  .sapFShellBarProfile:not(:focus):hover {
116
124
  box-shadow: 0 0 0.125rem 0 fade(@sapContent_ShadowColor, 72);
117
125
  background-color: none;
@@ -121,22 +129,22 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
121
129
  content: none;
122
130
  }
123
131
 
124
- // Mega Menu
132
+ /* Mega Menu */
125
133
  .sapFSHMegaMenu {
126
- color: @sapUiShellTextColor;
134
+ color: var(--sapShell_TextColor);
127
135
  overflow: visible;
128
- font-size: @sapMFontHeader5Size;
136
+ font-size: var(--sapFontHeader5Size);
129
137
  font-weight: bold;
130
138
 
131
139
  .sapMBtn:hover > .sapMBtnHoverable.sapMToggleBtnPressed:not(.sapMBtnActive) {
132
- background: @sapUiShellHoverBackground;
133
- box-shadow: @sapUiContentInteractionShadow;
140
+ background: var(--sapShell_Hover_Background);
141
+ box-shadow: var(--sapContent_Interaction_Shadow);
134
142
  }
135
143
 
136
144
  .sapMBtn:hover > .sapMBtnHoverable.sapMToggleBtnPressed.sapMBtnActive {
137
- background: @sapUiShellActiveBackground;
138
- color: @sapUiShellActiveTextColor;
139
- box-shadow: @sapUiContentSelectedShadow;
145
+ background: var(--sapShell_Active_Background);
146
+ color: var(--sapShell_Active_TextColor);
147
+ box-shadow: var(--sapContent_Selected_Shadow);
140
148
  }
141
149
 
142
150
  .sapMBtnInner,
@@ -147,19 +155,19 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
147
155
 
148
156
  .sapMBtnInner::after {
149
157
  content: '\e1ef';
150
- font-family: 'SAP-icons';
158
+ font-family: var(--sapContent_IconFontFamily);
151
159
  }
152
160
  }
153
161
 
154
- // Home Icon
162
+ /* Home Icon */
155
163
  .sapFShellBarHomeIcon {
156
164
  max-height: 2rem;
157
165
  padding: 0.25rem;
158
166
  overflow-clip-margin: border-box;
159
167
 
160
168
  &:hover {
161
- background: @sapUiShellHoverBackground;
162
- box-shadow: @sapUiContentInteractionShadow;
169
+ background: var(--sapShell_Hover_Background);
170
+ box-shadow: var(--sapContent_Interaction_Shadow);
163
171
  border-radius: 0.5rem;
164
172
  }
165
173
 
@@ -168,27 +176,27 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
168
176
  }
169
177
  }
170
178
 
171
- //Primary Title
179
+ /* Primary Title */
172
180
  .sapFShellBarPrimaryTitle {
173
181
  color: var(--sapShell_SubBrand_TextColor);
174
182
  }
175
183
 
176
- //Second Title
184
+ /* Second Title */
177
185
  .sapFShellBarSecondTitle {
178
- font-size: @sapMFontSmallSize;
179
- color: @sapUiShellTextColor;
186
+ font-size: var(--sapFontSmallSize);
187
+ color: var(--sapShell_TextColor);
180
188
  text-overflow: ellipsis;
181
189
  }
182
190
 
183
- // Search
191
+ /* Search */
184
192
  .sapFShellBarSearch {
185
- max-width: 35rem; // max width of searchField + button width
193
+ max-width: 35rem; /* max width of searchField + button width */
186
194
 
187
195
  .sapMSF {
188
196
  max-width: 35rem;
189
197
  }
190
198
 
191
- // Reflection: styles overwritten
199
+ /* Reflection: styles overwritten */
192
200
  .sapMBtn {
193
201
  padding: 0;
194
202
  margin-left: 0.25rem;
@@ -197,10 +205,10 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
197
205
  }
198
206
 
199
207
  .sapMSFVal + .sapMBtn .sapMBtnInner {
200
- background-color: @sapUiShellActiveBackground;
208
+ background-color: var(--sapShell_Active_Background);
201
209
 
202
210
  .sapMBtnIcon {
203
- color: @sapUiShellInteractiveTextColor;
211
+ color: var(--sapShell_InteractiveTextColor);
204
212
  }
205
213
  }
206
214
  }
@@ -228,17 +236,18 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
228
236
 
229
237
  .sapFShellBarSearchWrap {
230
238
  position: relative;
239
+
231
240
  .sapMSFF {
232
241
  background: @sapUiUx3ShellHeaderColor;
233
- border: 0.0625rem solid @sapUiShellInteractiveBorderColor;
242
+ border: 0.0625rem solid var(--sapShell_InteractiveBorderColor);
234
243
  border-radius: 0;
235
- color: @sapUiShellInteractiveTextColor;
244
+ color: var(--sapShell_InteractiveTextColor);
236
245
  height: 2.25rem;
237
246
  font-weight: normal;
238
247
 
239
- // Clear icon
248
+ /* Clear icon */
240
249
  .sapMSFB {
241
- border: 1px solid transparent; // prevent jumping when hovering
250
+ border: 1px solid transparent; /* prevent jumping when hovering */
242
251
  width: 2.125rem;
243
252
  height: 2.125rem;
244
253
  line-height: 2.125rem;
@@ -252,19 +261,19 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
252
261
 
253
262
  .sapMSFB:hover {
254
263
  box-shadow: none;
255
- border: 0.0625rem solid @sapUiShellInteractiveBorderColor;
264
+ border: 0.0625rem solid var(--sapShell_InteractiveBorderColor);
256
265
  border-radius: 0;
257
266
  height: 2.125rem;
258
- color: @sapUiShellInteractiveTextColor;
267
+ color: var(--sapShell_InteractiveTextColor);
259
268
  }
260
269
 
261
270
  .sapMSFB:active,
262
271
  .sapMSFB.sapMSFBA {
263
- background: @sapUiShellActiveBackground;
264
- border: 0.0625rem solid @sapUiShellInteractiveBorderColor;
272
+ background: var(--sapShell_Active_Background);
273
+ border: 0.0625rem solid var(--sapShell_InteractiveBorderColor);
265
274
  box-shadow: none;
266
275
  border-radius: 0;
267
- color: @sapUiShellActiveTextColor;
276
+ color: var(--sapShell_Active_TextColor);
268
277
  }
269
278
  }
270
279
 
@@ -278,32 +287,34 @@ html.sap-desktop .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed{
278
287
  }
279
288
 
280
289
  .sapMSF:not(.sapMSFDisabled):hover .sapMSFF {
281
- background-color: @sapUiShellHoverBackground;
282
- box-shadow: @sapUiContentInteractionShadow;
290
+ background-color: var(--sapShell_Hover_Background);
291
+ box-shadow: var(--sapContent_Interaction_Shadow);
283
292
  }
284
293
 
285
- // Reflection: styles overwritten
294
+ /* Reflection: styles overwritten */
286
295
  .sapMBtn .sapMBtnInner {
287
- border: 0.0625rem solid @sapUiShellInteractiveBorderColor;
296
+ border: 0.0625rem solid var(--sapShell_InteractiveBorderColor);
288
297
  border-radius: 0;
289
- color: @sapUiShellInteractiveTextColor;
298
+ color: var(--sapShell_InteractiveTextColor);
290
299
  }
291
300
 
292
301
  .sapMSFI {
293
- color: @sapUiFieldPlaceholderTextColor;
302
+ color: var(--sapField_PlaceholderTextColor);
294
303
  font-weight: italic;
295
304
  }
296
305
  }
297
306
  }
298
307
 
299
- // Overriding styles comming from other controls
300
- html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
308
+ /* Overriding styles comming from other controls */
309
+ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator)::before {
301
310
  border-radius: 1.125rem;
302
311
  }
303
312
 
304
- // Resets of sizes for "Compact" mode - controls should remain in cozy mode
313
+ /* Resets of sizes for "Compact" mode - controls should remain in cozy mode */
305
314
  .alwaysCozyOverrideByParent(@controlClass) {
315
+
306
316
  .sapUiSizeCompact {
317
+
307
318
  .@{controlClass} {
308
319
  height: 3.25rem;
309
320
 
@@ -312,15 +323,16 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sa
312
323
  height: 3.25rem;
313
324
  }
314
325
 
315
- // Reflection: styles overwritten
316
- // sap.m.MegaMenu
326
+ /* Reflection: styles overwritten
327
+ sap.m.MegaMenu */
317
328
  .sapFSHMegaMenu {
318
329
  height: 2.75rem;
319
330
  }
320
- // sap.m.Button
331
+
332
+ /* sap.m.Button */
321
333
  .sapMBtn {
322
334
  height: 2.75rem;
323
- padding: 0.250rem 0;
335
+ padding: 0.25rem 0;
324
336
  }
325
337
 
326
338
  .sapMBtnInner {
@@ -345,14 +357,18 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sa
345
357
  margin: 0;
346
358
  padding: 0;
347
359
  }
360
+
348
361
  .sapMBtnIconLeft + .sapMBtnIconLeft {
349
362
  left: 0;
350
363
  }
364
+
351
365
  .sapMBtnText {
366
+
352
367
  .sapMBtnIconLeft + .sapMBtnIconLeft {
353
368
  left: 2.875rem;
354
369
  }
355
370
  }
371
+
356
372
  .sapMBtnInner > img {
357
373
  width: 2.5rem;
358
374
  margin-top: 0.2rem;
@@ -360,30 +376,34 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sa
360
376
  }
361
377
 
362
378
  html.sap-desktop & .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed, .sapMTB-Transparent-CTX .sapMBtnInner.sapMToggleBtnPressed:not(.sapMBtnDisabled) {
363
- background-color: @sapUiShellActiveBackground;
379
+ background-color: var(--sapShell_Active_Background);
364
380
  }
365
381
 
366
- // Reflection: styles overwritten
367
- // sap.m.MenuButton
382
+ /* Reflection: styles overwritten
383
+ sap.m.MenuButton */
368
384
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
369
- height: 38px; //ie does not accept rem for height in pseudo elements, but it works with px when you zoom
385
+ height: 2.375rem;
370
386
  line-height: 2.2rem;
371
387
  padding-right: 0.75rem;
372
388
  padding-left: 0.5625rem;
373
389
  }
390
+
374
391
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner:not(.sapMBtnText) {
375
392
  padding-right: 1.625rem;
376
393
  }
394
+
377
395
  .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner {
378
396
  padding-right: 2rem;
379
397
  }
398
+
380
399
  .sapMMenuBtn .sapMBtnIconFirst .sapMBtnIcon {
381
400
  padding-right: 0.75rem;
382
401
  }
383
402
 
384
- // sap.m.SearchField
403
+ /* sap.m.SearchField */
385
404
  .sapFShellBarSearch {
386
405
  max-width: 35rem;
406
+
387
407
  .sapMSF {
388
408
  max-width: 35rem;
389
409
  margin-right: 0;
@@ -408,27 +428,33 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sa
408
428
  }
409
429
 
410
430
  .sapFShellBarSearchWrap {
431
+
411
432
  .sapMBtn .sapMBtnInner {
412
433
  border-radius: 0;
413
434
  }
414
435
  }
436
+
415
437
  .sapMSF {
416
438
  min-width: 7rem;
417
439
  height: 2.75rem;
418
440
  padding: 0.25rem 0;
441
+
419
442
  .sapMSFI {
420
443
  height: 2.125rem
421
444
  }
445
+
422
446
  .sapMSFF {
423
447
  height: 2.25rem;
424
448
  line-height: 2.125rem;
425
449
  padding-left: 0.625rem;
426
450
  }
451
+
427
452
  .sapMSFR:not(.sapMSFNS) {
428
453
  right: 2.375rem;
429
454
  }
455
+
430
456
  .sapMSFB {
431
- border: 1px solid transparent; // prevent jumping when hovering
457
+ border: 1px solid transparent; /* prevent jumping when hovering */
432
458
  width: 2.125rem;
433
459
  height: 2.125rem;
434
460
  line-height: 2.125rem;
@@ -437,30 +463,35 @@ html.sap-desktop .sapFShellBarSearchWrap .sapMBtn:focus > .sapMFocusable:not(.sa
437
463
  right: 0;
438
464
  top: 0;
439
465
  }
466
+
440
467
  .sapMSFB:hover {
441
468
  height: 2.125rem;
442
469
  }
443
470
  }
444
471
 
445
- // Reflection: styles overwritten
446
- // sap.m.Select
472
+ /* Reflection: styles overwritten
473
+ sap.m.Select */
447
474
  .sapMSlt {
448
475
  height: 2.5rem;
476
+
449
477
  .sapMSltArrow {
450
478
  line-height: 2.5rem;
451
479
  width: 2.5rem;
452
480
  }
481
+
453
482
  .sapMSltLabel {
454
483
  line-height: 2.375rem;
455
484
  padding: 0 3rem 0 0.625rem;
456
485
  }
486
+
457
487
  .sapMSelectListItem {
458
488
  line-height: 2.5rem;
459
489
  }
490
+
460
491
  .sapMSelectListItemBase {
461
492
  height: 2.5rem;
462
493
  }
463
494
  }
464
495
  }
465
496
  }
466
- }
497
+ }
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .sapMBtnEmphasized {
13
- font-family: var(--sapFontBoldFamily);
13
+ font-family: var(--sapButton_Emphasized_FontFamily);
14
14
  }
15
15
 
16
16
  .sapMIBar-CTX .sapMBarLeft .sapMBtn:hover {
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  .sapMBtnInner.sapMBtnText {
83
- font-family: var(--sapFontSemiboldDuplexFamily);
83
+ font-family: var(--sapButton_FontFamily);
84
84
  padding-left: 0.5625rem;
85
85
  padding-right: 0.5625rem;
86
86
  }
@@ -169,16 +169,10 @@ html.sap-desktop .sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator)::befor
169
169
  border-radius: 0.375rem;
170
170
  }
171
171
 
172
- .sapMBtn:focus-visible > .sapMFocusable:not(.sapMBadgeIndicator)::before {
173
- border-color: red;
174
- }
175
-
176
172
  .sapMBtn:focus-visible > .sapMBtnEmphasized.sapMFocusable:not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBadgeIndicator)::before,
177
173
  .sapMBtn:focus-visible > .sapMBtnCritical.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before,
178
174
  .sapMBtn:focus-visible > .sapMBtnNegative.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before,
179
- .sapMBtn:focus-visible > .sapMBtnSuccess.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before {
180
- border: 0.125rem solid red;
181
- }
175
+ .sapMBtn:focus-visible > .sapMBtnSuccess.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before,
182
176
  html.sap-desktop .sapMBtn:focus > .sapMBtnEmphasized.sapMFocusable:not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBadgeIndicator)::before,
183
177
  html.sap-desktop .sapMBtn:focus > .sapMBtnCritical.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before,
184
178
  html.sap-desktop .sapMBtn:focus > .sapMBtnNegative.sapMFocusable:not(.sapMBtnActive):not(.sapMBadgeIndicator)::before,
@@ -219,7 +213,7 @@ html.sap-desktop .sapMBtn:focus > .sapMBtnSuccess.sapMFocusable:not(.sapMBtnActi
219
213
  /* (add separators, remove top/bottom border) */
220
214
  /* ------------------------------------------------ */
221
215
 
222
- .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault:not(.sapMToggleBtnPressed),
216
+ .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault:not(.sapMToggleBtnPressed):not(:hover),
223
217
  .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon,
224
218
  .sapUxAPObjectPageHeaderIdentifierActions .sapMBtn .sapMBtnInner.sapMBtnDefault,
225
219
  .sapUxAPObjectPageHeaderIdentifierActions .sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon {
@@ -316,7 +310,7 @@ html.sap-desktop .sapMFooter-CTX .sapMBtnInner.sapMBtnReject {
316
310
 
317
311
  .sapMBtn .sapMBadge .sapMBadgeIndicator::after {
318
312
  background-color: var(--sapContent_BadgeBackground);
319
- border-color: var(--sapContent_BadgeBackground);
313
+ border-color: var(--sapContent_BadgeBorderColor);
320
314
  color: var(--sapContent_BadgeTextColor);
321
315
  font-size: var(--sapFontSmallSize);
322
316
  text-align: center;
@@ -853,7 +853,6 @@ html.sap-desktop {
853
853
  .sapMITBItem {
854
854
  border: 1px solid var(--sapButton_BorderColor);
855
855
  color: var(--sapShell_Navigation_TextColor);
856
- background-color: var(--sapShell_InteractiveBackground);
857
856
 
858
857
  .sapMITHShowSubItemsIcon {
859
858
  color: var(--sapShell_Navigation_TextColor);
@@ -882,7 +881,6 @@ html.sap-desktop {
882
881
  .sapMITHEndOverflow {
883
882
 
884
883
  .sapMITBItem {
885
- background-color: var(--sapShell_InteractiveBackground);
886
884
 
887
885
  &:hover {
888
886
  background: var(--sapShell_Hover_Background);
@@ -171,11 +171,13 @@ html[data-sap-ui-animation='on'] .sapMPageWithFloatingFooter {
171
171
  }
172
172
 
173
173
  .sapMPageWithHeader {
174
-
175
- &.sapFShellBar-CTX > section {
174
+ .sapMPageHeader:has(.sapFShellBar) + section,
175
+ .sapMPageHeader:has([ui5-shellbar]) + section {
176
176
  top: 3.25rem;
177
177
  }
178
- &.sapMPageWithSubHeader.sapFShellBar-CTX > section {
178
+
179
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has(.sapFShellBar) + section,
180
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has([ui5-shellbar]) + section {
179
181
  top: 6rem;
180
182
  }
181
183
  }
@@ -231,13 +233,14 @@ html[data-sap-ui-animation='on'] .sapMPageWithFloatingFooter {
231
233
  }
232
234
 
233
235
  .sapMPageWithHeader {
234
-
235
- &.sapFShellBar-CTX > section {
236
+ .sapMPageHeader:has(.sapFShellBar) + section,
237
+ .sapMPageHeader:has([ui5-shellbar]) + section {
236
238
  top: 3.25rem;
237
239
  }
238
240
 
239
- &.sapMPageWithSubHeader.sapFShellBar-CTX > section {
241
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has(.sapFShellBar) + section,
242
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has([ui5-shellbar]) + section {
240
243
  top: 5.75rem;
241
244
  }
242
245
  }
243
- }
246
+ }
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .sapMBtnEmphasized {
13
- font-family: var(--sapFontBoldFamily);
13
+ font-family: var(--sapButton_Emphasized_FontFamily);
14
14
  }
15
15
 
16
16
  .sapMIBar-CTX .sapMBarLeft .sapMBtn:hover {
@@ -80,7 +80,7 @@
80
80
  }
81
81
 
82
82
  .sapMBtnInner.sapMBtnText {
83
- font-family: var(--sapFontSemiboldDuplexFamily);
83
+ font-family: var(--sapButton_FontFamily);
84
84
  padding-left: 0.5625rem;
85
85
  padding-right: 0.5625rem;
86
86
  }
@@ -213,7 +213,7 @@ html.sap-desktop .sapMBtn:focus > .sapMBtnSuccess.sapMFocusable:not(.sapMBtnActi
213
213
  /* (add separators, remove top/bottom border) */
214
214
  /* ------------------------------------------------ */
215
215
 
216
- .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault:not(.sapMToggleBtnPressed),
216
+ .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault:not(.sapMToggleBtnPressed):not(:hover),
217
217
  .sapMIBar .sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon,
218
218
  .sapUxAPObjectPageHeaderIdentifierActions .sapMBtn .sapMBtnInner.sapMBtnDefault,
219
219
  .sapUxAPObjectPageHeaderIdentifierActions .sapMBtn .sapMBtnInner.sapMBtnDefault .sapUiIcon {
@@ -310,7 +310,7 @@ html.sap-desktop .sapMFooter-CTX .sapMBtnInner.sapMBtnReject {
310
310
 
311
311
  .sapMBtn .sapMBadge .sapMBadgeIndicator::after {
312
312
  background-color: var(--sapContent_BadgeBackground);
313
- border-color: var(--sapContent_BadgeBackground);
313
+ border-color: var(--sapContent_BadgeBorderColor);
314
314
  color: var(--sapContent_BadgeTextColor);
315
315
  font-size: var(--sapFontSmallSize);
316
316
  text-align: center;
@@ -854,7 +854,6 @@ html.sap-desktop {
854
854
  .sapMITBItem {
855
855
  border: 1px solid var(--sapButton_BorderColor);
856
856
  color: var(--sapShell_Navigation_TextColor);
857
- background-color: var(--sapShell_InteractiveBackground);
858
857
 
859
858
  .sapMITHShowSubItemsIcon {
860
859
  color: var(--sapShell_Navigation_TextColor);
@@ -883,7 +882,6 @@ html.sap-desktop {
883
882
  .sapMITHEndOverflow {
884
883
 
885
884
  .sapMITBItem {
886
- background-color: var(--sapShell_InteractiveBackground);
887
885
 
888
886
  &:hover {
889
887
  background: var(--sapShell_Hover_Background);
@@ -173,11 +173,13 @@ html[data-sap-ui-animation='on'] .sapMPageWithFloatingFooter {
173
173
 
174
174
  .sapMPageWithHeader {
175
175
 
176
- &.sapFShellBar-CTX > section {
176
+ .sapMPageHeader:has(.sapFShellBar) + section,
177
+ .sapMPageHeader:has([ui5-shellbar]) + section {
177
178
  top: 3.25rem;
178
179
  }
179
180
 
180
- &.sapMPageWithSubHeader.sapFShellBar-CTX > section {
181
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has(.sapFShellBar) + section,
182
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has([ui5-shellbar]) + section {
181
183
  top: 6rem;
182
184
  }
183
185
  }
@@ -234,12 +236,14 @@ html[data-sap-ui-animation='on'] .sapMPageWithFloatingFooter {
234
236
 
235
237
  .sapMPageWithHeader {
236
238
 
237
- &.sapFShellBar-CTX > section {
239
+ .sapMPageHeader:has(.sapFShellBar) + section,
240
+ .sapMPageHeader:has([ui5-shellbar]) + section {
238
241
  top: 3.25rem;
239
242
  }
240
243
 
241
- &.sapMPageWithSubHeader.sapFShellBar-CTX > section {
244
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has(.sapFShellBar) + section,
245
+ &.sapMPageWithSubHeader .sapMPageSubHeader:has([ui5-shellbar]) + section {
242
246
  top: 5.75rem;
243
247
  }
244
248
  }
245
- }
249
+ }