@openui5/themelib_sap_horizon 1.114.2 → 1.114.3

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 (43) hide show
  1. package/package.json +18 -18
  2. package/src/sap/f/themes/sap_horizon/Card.less +7 -13
  3. package/src/sap/f/themes/sap_horizon_dark/Card.less +7 -13
  4. package/src/sap/f/themes/sap_horizon_hcb/Card.less +1 -1
  5. package/src/sap/f/themes/sap_horizon_hcw/Card.less +1 -1
  6. package/src/sap/m/themes/sap_horizon/InputBase.less +0 -5
  7. package/src/sap/m/themes/sap_horizon/MenuListItem.less +13 -0
  8. package/src/sap/m/themes/sap_horizon/RadioButton.less +4 -5
  9. package/src/sap/m/themes/sap_horizon/SearchField.less +1 -2
  10. package/src/sap/m/themes/sap_horizon/library.source.less +1 -0
  11. package/src/sap/m/themes/sap_horizon_dark/InputBase.less +0 -5
  12. package/src/sap/m/themes/sap_horizon_dark/MenuListItem.less +13 -0
  13. package/src/sap/m/themes/sap_horizon_dark/RadioButton.less +4 -6
  14. package/src/sap/m/themes/sap_horizon_dark/SearchField.less +0 -2
  15. package/src/sap/m/themes/sap_horizon_dark/library.source.less +1 -0
  16. package/src/sap/m/themes/sap_horizon_hcb/RadioButton.less +1 -1
  17. package/src/sap/m/themes/sap_horizon_hcb/SearchField.less +0 -2
  18. package/src/sap/m/themes/sap_horizon_hcw/RadioButton.less +1 -1
  19. package/src/sap/m/themes/sap_horizon_hcw/SearchField.less +0 -2
  20. package/src/sap/tnt/themes/sap_horizon/NavigationList.less +18 -4
  21. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +10 -2
  22. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +218 -349
  23. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +16 -3
  24. package/src/sap/tnt/themes/sap_horizon_dark/NavigationList.less +18 -4
  25. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +10 -2
  26. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +218 -349
  27. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +16 -3
  28. package/src/sap/tnt/themes/sap_horizon_hcb/NavigationList.less +9 -2
  29. package/src/sap/tnt/themes/sap_horizon_hcb/SideNavigation.less +4 -1
  30. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +339 -2
  31. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +17 -3
  32. package/src/sap/tnt/themes/sap_horizon_hcw/NavigationList.less +9 -2
  33. package/src/sap/tnt/themes/sap_horizon_hcw/SideNavigation.less +4 -1
  34. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +339 -2
  35. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +17 -3
  36. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  37. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  38. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  39. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  40. package/src/sap/ui/unified/themes/sap_horizon/Calendar.less +423 -60
  41. package/src/sap/ui/unified/themes/sap_horizon/Menu.less +48 -6
  42. package/src/sap/ui/unified/themes/sap_horizon_dark/Calendar.less +421 -51
  43. package/src/sap/ui/unified/themes/sap_horizon_dark/Menu.less +36 -7
@@ -3,7 +3,9 @@
3
3
  /* Evening Horizon theme */
4
4
  /* =================================== */
5
5
 
6
- @_sap_tnt_ToolHeader_Height: 3.5rem;
6
+ @_sap_tnt_ToolHeader_Height: 3.25rem;
7
+ @_sap_tnt_ToolHeader_BorderRadius: 0.5rem;
8
+ @_sap_tnt_ToolHeader_BoxShadow: @_sap_tnt_ToolHeader_Shadow;
7
9
  @_sap_tnt_ToolHeader_IconHeight: 0.75rem;
8
10
  @_sap_tnt_ToolHeader_DisabledOpacity: @sapUiContentDisabledOpacity;
9
11
  @_sap_tnt_ToolHeader_ArrowHeight: 0.125rem;
@@ -11,203 +13,143 @@
11
13
  @_sap_tnt_ToolHeader_Padding: 0 0.75rem;
12
14
  @_sap_tnt_ToolHeader_ArrowMarginBottom: 0.25rem;
13
15
  @_sap_tnt_ToolHeader_IconTabHeader_Height: auto;
16
+ @_sap_tnt_ToolHeader_Shadow: 0 0 0.125rem 0 fade(@sapUiContentShadowColor,16), 0 0.5rem 1rem 0 fade(@sapUiContentShadowColor, 32);
17
+
18
+ // ==========================================================================
19
+ // sap.m.Toolbar overriding
20
+ // ==========================================================================
14
21
 
15
22
  .sapTntToolHeader {
16
23
  &.sapMTB {
17
24
  background-color: @sapUiShellColor;
25
+ padding: 0 1.25rem 0 0.75rem ;
18
26
  }
19
27
 
20
28
  &.sapMTBStandard {
21
29
  border-bottom: none;
22
30
  }
23
- }
24
31
 
25
- // ==========================================================================
26
- // sap.m.Button overriding
27
- // ==========================================================================
28
-
29
- .sapTntToolHeader {
30
- .sapMBtn .sapMBtnTransparent,
31
- .sapMBtn .sapMBtnDefault,
32
- .sapMBtn .sapMBtnBack,
33
- .sapMBtn .sapMBtnUp {
34
- color: @sapUiShellInteractiveTextColor;
35
- background-color: transparent;
36
- border-color: transparent;
37
-
38
- .sapUiIcon {
39
- color: @sapUiShellInteractiveTextColor;
40
- }
32
+ &.sapMIBar.sapMTB .sapMBarChild ~ .sapMBarChild {
33
+ margin: 0 0 0 0.375rem
41
34
  }
42
35
 
43
- .sapMBtn .sapMBtnEmphasized {
44
- color: @sapUiShellTextColor;
45
- background: transparent;
46
- border-color: transparent;
47
-
48
- .sapUiIcon {
49
- color: @sapUiShellInteractiveTextColor;
50
- }
36
+ &.sapMIBar.sapMTB .sapMBarChild.sapMTBSeparator {
37
+ background: none;
38
+ width: 0.75rem;
51
39
  }
40
+ }
52
41
 
53
- .sapMBtn:focus .sapMBtnTransparent.sapMFocusable,
54
- .sapMBtn:focus .sapMBtnEmphasized.sapMFocusable,
55
- .sapMBtn:focus .sapMBtnDefault.sapMFocusable,
56
- .sapMBtn:focus .sapMBtnBack.sapMFocusable,
57
- .sapMBtn:focus .sapMBtnUp.sapMFocusable {
58
- &::before {
59
- outline-color: @_sap_tnt_ToolHeader_BorderColor;
60
- border-color: @_sap_tnt_ToolHeader_BorderColor !important;
61
- }
62
- }
42
+ // Styling for the cases when we have Header and SubHeader
43
+ .sapTntToolPageHeaderWithSubHeaderWrapper .sapTntToolPageHeader:first-of-type .sapTntToolHeader {
44
+ border-bottom-right-radius: 0;
45
+ border-bottom-left-radius: 0;
46
+ box-shadow: none;
47
+ }
63
48
 
64
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnTransparent,
65
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnDefault,
66
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnBack,
67
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnUp {
68
- background: @sapUiShellHoverBackground;
69
- border-color: transparent;
70
- }
49
+ .sapTntToolPageHeaderWithSubHeaderWrapper .sapTntToolPageHeader:nth-of-type(2) .sapTntToolHeader {
50
+ border-top-right-radius: 0;
51
+ border-top-left-radius: 0;
52
+ box-shadow: none;
53
+ }
71
54
 
72
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnEmphasized {
73
- color: @sapUiShellTextColor;
74
- background: @sapUiShellHoverBackground;
75
- border-color: transparent;
76
- .sapUiIcon {
77
- color: @sapUiShellInteractiveTextColor;
78
- }
79
- }
55
+ .sapTntToolPageHeaderWrapper.sapTntToolPageHeaderWithSubHeaderWrapper {
56
+ box-shadow: @_sap_tnt_ToolHeader_BoxShadow;
57
+ border-radius: @_sap_tnt_ToolHeader_BorderRadius;
58
+ }
80
59
 
81
- .sapMBtn:not(.sapMBtnDisabled) .sapMBtnEmphasized.sapMBtnActive,
82
- .sapMBtn:not(.sapMBtnDisabled) .sapMToggleBtnPressed {
83
- background: @sapUiShellActiveBackground;
84
- color: @sapUiShellActiveTextColor;
85
- border-color: transparent;
60
+ // ==========================================================================
61
+ // sap.m.Button overriding
62
+ // ==========================================================================
86
63
 
87
- &::after {
88
- color: @sapUiShellActiveTextColor;
89
- background: @sapUiShellActiveBackground;
64
+ .sapTntToolHeader {
65
+ .sapMBarChild:not(.sapMMenuBtn) {
66
+ &.sapMBtn {
67
+ padding-top: 0.125rem;
90
68
  }
91
69
 
92
- .sapUiIcon {
93
- color: @sapUiShellInteractiveTextColor;
94
- }
95
- }
70
+ &.sapMBtn .sapMBtnTransparent,
71
+ &.sapMBtn .sapMBtnDefault,
72
+ &.sapMBtn .sapMBtnBack,
73
+ &.sapMBtn .sapMBtnUp {
74
+ color: @sapContent_IconColor;
75
+ border-radius: 0.375rem;
76
+ background-color: @sapButton_Lite_Background;
77
+ height: 2.5rem;
78
+ min-width: 2.5rem;
79
+
80
+ .sapUiIcon {
81
+ color: @sapContent_IconColor;
82
+ line-height: 2.5rem;
83
+ width: 2.5rem;
84
+ height: 2.5rem;
85
+ }
96
86
 
97
- .sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnTransparent.sapMBtnActive,
98
- .sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnDefault.sapMBtnActive,
99
- .sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnBack.sapMBtnActive,
100
- .sapMBtn:not(.sapMBtnDisabled) .sapMBtnIconFirst.sapMBtnUp.sapMBtnActive {
101
- background: @sapUiShellActiveBackground;
102
- color: @sapUiShellInteractiveTextColor;
103
- border-color: transparent;
104
-
105
- &::after {
106
- color: @sapUiShellInteractiveTextColor;
107
- background: @sapUiShellActiveBackground;
87
+ bdi {
88
+ line-height: 2.5rem;
89
+ }
108
90
  }
109
91
 
110
- .sapUiIcon {
111
- color: @sapUiShellInteractiveTextColor
92
+ &.sapMBtn:focus .sapMBtnTransparent.sapMFocusable,
93
+ &.sapMBtn:focus .sapMBtnEmphasized.sapMFocusable,
94
+ &.sapMBtn:focus .sapMBtnDefault.sapMFocusable,
95
+ &.sapMBtn:focus .sapMBtnBack.sapMFocusable,
96
+ &.sapMBtn:focus .sapMBtnUp.sapMFocusable {
97
+ &::before {
98
+ outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
99
+ border: none !important;
100
+ }
112
101
  }
113
- }
114
-
115
- .sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnTransparent.sapMBtnActive,
116
- .sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnEmphasized.sapMBtnActive,
117
- .sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnDefault.sapMBtnActive,
118
- .sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnBack.sapMBtnActive,
119
- .sapMBtn:not(.sapMBtnDisabled) .sapMFocusable.sapMBtnUp.sapMBtnActive {
120
- outline-color: @_sap_tnt_ToolHeader_BorderColor;
121
- background: @sapUiShellActiveBackground;
122
- }
123
-
124
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnTransparent:not(.sapMBtnActive):focus,
125
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnEmphasized:not(.sapMBtnActive):focus,
126
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnDefault:not(.sapMBtnActive):focus,
127
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnBack:not(.sapMBtnActive):focus,
128
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnUp:not(.sapMBtnActive):focus {
129
- outline-color: @_sap_tnt_ToolHeader_BorderColor;
130
- }
131
102
 
132
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnTransparent:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
133
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnDefault:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
134
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnBack:not(.sapMBtnActive):not(.sapMToggleBtnPressed),
135
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnUp:not(.sapMBtnActive):not(.sapMToggleBtnPressed) {
136
- background: @sapUiShellHoverBackground;
137
- border-color: transparent;
138
- bdi {
139
- color:@sapUiShellInteractiveTextColor
103
+ &.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnTransparent,
104
+ &.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnDefault,
105
+ &.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnBack,
106
+ &.sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnUp {
107
+ background: @sapButton_Lite_Hover_Background;
108
+ color: @sapContent_IconColor;
109
+ box-shadow: none;
140
110
  }
141
- }
142
111
 
143
- .sapMBtn:hover:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnHoverable.sapMBtnEmphasized:not(.sapMBtnActive):not(.sapMToggleBtnPressed) {
144
- background: @sapUiShellHoverBackground;
145
- border-color: transparent;
146
- bdi {
147
- color: @sapUiShellTextColor;
112
+ &.sapMBtn:active:not(.sapMBtnDisabled) .sapMBtnTransparent,
113
+ &.sapMBtn:active:not(.sapMBtnDisabled) .sapMBtnDefault,
114
+ &.sapMBtn:active:not(.sapMBtnDisabled) .sapMBtnBack,
115
+ &.sapMBtn:active:not(.sapMBtnDisabled) .sapMBtnUp {
116
+ background: @sapActiveColor;
117
+ color: @sapContent_IconColor;
118
+ box-shadow: none;
148
119
  }
149
- }
150
120
 
151
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnTransparent:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
152
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnEmphasized:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
153
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnDefault:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
154
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnBack:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon,
155
- .sapMBtn:hover:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnUp:not(.sapMBtnActive):not(.sapMToggleBtnPressed) > .sapMBtnIcon {
156
- color: @sapUiShellInteractiveTextColor;
157
- border-color: transparent;
158
- }
159
-
160
- .sapMBtn.sapMBtnDisabled {
161
- opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
162
- }
163
-
164
- .sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnTransparent:not(.sapMToggleBtnPressed),
165
- .sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnEmphasized:not(.sapMToggleBtnPressed),
166
- .sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnDefault:not(.sapMToggleBtnPressed),
167
- .sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnBack:not(.sapMToggleBtnPressed),
168
- .sapMSB .sapMSBArrow:not(.sapMBtnDisabled) .sapMBtnUp:not(.sapMToggleBtnPressed) {
169
- border-color: transparent;
121
+ &.sapMBtn:hover:not(.sapMBtnDisabled) > .sapMBtnTransparent.sapMBtnHoverable:not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnEmphasized) .sapUiIcon {
122
+ color: @sapContent_IconColor;
123
+ }
170
124
  }
171
- }
172
-
173
- html.sap-desktop .sapTntToolHeader .sapMFooter-CTX .sapMBtn:focus .sapMBtnFocusDiv,
174
- .sapTntToolHeader .sapMBtn:focus .sapMBtnFocusDiv {
175
- border-color: @_sap_tnt_ToolHeader_BorderColor;
176
- }
177
-
178
- html.sap-desktop .sapTntToolHeader .sapMFooter-CTX .sapMBtn:focus > .sapMBtnEmphasized.sapMBtnActive > .sapMBtnFocusDiv,
179
- html.sap-desktop .sapTntToolHeader .sapMBtn:focus > .sapMBtnEmphasized > .sapMBtnFocusDiv {
180
- border-color: @_sap_tnt_ToolHeader_BorderColor;
181
125
  }
182
126
 
183
- // ==========================================================================
184
- // sap.m.MenuButton overriding
185
- // ==========================================================================
186
-
187
- .sapTntToolHeader.sapMIBar {
188
- .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnInner::after {
189
- color: @sapUiShellInteractiveTextColor;
190
- }
191
-
192
- .sapMSB:focus .sapMSBInner::after {
193
- border-color: @_sap_tnt_ToolHeader_BorderColor;
194
- }
195
-
196
- .sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnActive {
197
- background: @sapUiShellActiveBackground;
198
- }
199
-
200
- .sapMMenuBtn.sapMMenuBtnRegular .sapMBtn:not(.sapMBtnDisabled) .sapMBtnInner.sapMBtnActive::after {
201
- color: @sapUiShellInteractiveTextColor;
202
- background-color: transparent;
203
- }
127
+ .sapUiSizeCompact {
128
+ .sapTntToolHeader {
129
+ .sapMBarChild:not(.sapMMenuBtn) {
130
+ &.sapMBtn {
131
+ padding-top: 0;
132
+ }
204
133
 
205
- .sapMMenuBtn .sapMBtn:hover > .sapMBtnHoverable.sapMBtnEmphasized, .sapMMenuBtn span.sapMBtnInner.sapMBtnEmphasized {
206
- border-left: transparent;
207
- }
134
+ &.sapMBtn .sapMBtnTransparent,
135
+ &.sapMBtn .sapMBtnDefault,
136
+ &.sapMBtn .sapMBtnBack,
137
+ &.sapMBtn .sapMBtnUp {
138
+ height: 2rem;
139
+ min-width: 2rem;
140
+
141
+ .sapUiIcon {
142
+ width: 2rem;
143
+ max-height: 2rem;
144
+ height: 2rem;
145
+ line-height: 2rem;
146
+ }
208
147
 
209
- .sapMMenuBtn.sapMMenuBtnRegular .sapMBtnActive.sapMBtnInner::after {
210
- height: auto;
148
+ bdi {
149
+ line-height: 2rem;
150
+ }
151
+ }
152
+ }
211
153
  }
212
154
  }
213
155
 
@@ -216,161 +158,145 @@ html.sap-desktop .sapTntToolHeader .sapMFooter-CTX .sapMBtn:focus > .sapMBtnEmph
216
158
  // ==========================================================================
217
159
 
218
160
  .sapTntToolHeader {
219
- .sapMText,
220
- .sapMTitle,
221
- .sapMLabel {
222
- color: @sapUiShellTextColor;
223
- }
224
-
225
161
  .sapMTitle {
226
162
  text-shadow: none;
227
- }
228
- }
229
-
230
- // ==========================================================================
231
- // sap.m.Select overriding
232
- // ==========================================================================
233
-
234
- .sapTntToolHeader {
235
- .sapMSlt,
236
- .sapMSlt:hover {
237
- background: transparent;
238
- border-color: lighten(@sapUiShellBorderColor,30);
239
- color: @sapUiShellTextColor;
163
+ font-family: @sapFontBlackFamily;
164
+ font-size: 1.125rem;
165
+ line-height: 1.625rem;
240
166
  }
241
167
 
242
- .sapMSlt.sapMSltExpanded {
243
- border-color: lighten(@sapUiShellBorderColor,30);
244
- }
245
-
246
- .sapMSltHoverable:not(.sapMSltPressed):hover > .sapMSltArrow {
247
- background-color: transparent;
248
- border-color: lighten(@sapUiShellBorderColor,30);
168
+ .sapMText,
169
+ .sapMLabel {
170
+ line-height: @sapContent_LineHeight;
171
+ color: @sapContent_LabelColor;
249
172
  }
250
173
 
251
- .sapMSltHoverable:not(.sapMSltState):not(.sapMSltIconOnly):hover {
252
- background: @sapUiShellHoverBackground;
253
- border-color: lighten(@sapUiShellInteractiveBorderColor, 10);
174
+ &.sapMIBar.sapMTB .sapMBarChild.sapMText,
175
+ &.sapMIBar.sapMTB .sapMBarChild.sapMLabel {
176
+ margin-top: 2px; // to align the text/label with the title
177
+ margin-left: 0.75rem;
254
178
  }
255
179
  }
256
- html.sap-desktop .sapTntToolHeader .sapMSlt:not(.sapMSltExpanded):not(.sapMSltDisabled):not(.sapMSltState):focus {
257
- outline-color: @_sap_tnt_ToolHeader_BorderColor;
258
- }
259
-
260
- html.sap-desktop .sapTntToolHeader .sapMSlt:not(.sapMSltExpanded):not(.sapMSltDisabled):not(.sapMSltState):focus::before {
261
- outline-color: @_sap_tnt_ToolHeader_BorderColor;
262
- }
263
180
 
264
- .sapTntToolHeader {
265
- .sapMSlt .sapUiIcon,
266
- .sapMSlt .sapMSelectListItemText,
267
- .sapMSlt .sapMSltArrow {
268
- color: @sapUiShellTextColor;
269
- }
270
-
271
- .sapMSltPressed > .sapMSltArrow {
272
- background: transparent;
273
- }
274
-
275
- .sapMSlt.sapMSltPressed:not(.sapMSltDisabled) {
276
- background-color: @sapUiShellActiveBackground;
277
-
278
- &.sapMSltExpanded {
279
- background-color: @sapUiShellActiveBackground;
181
+ .sapUiSizeCompact {
182
+ .sapTntToolHeader {
183
+ &.sapMIBar.sapMTB .sapMBarChild.sapMText,
184
+ &.sapMIBar.sapMTB .sapMBarChild.sapMLabel {
185
+ margin-top: 3px; // to align the text/label with the title
280
186
  }
281
187
  }
282
-
283
- .sapMSltDisabled {
284
- opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
285
- }
286
188
  }
287
189
 
288
- /* IconOnly */
190
+ // ==========================================================================
191
+ // sap.m.SearchField overriding
192
+ // ==========================================================================
289
193
 
290
194
  .sapTntToolHeader {
291
- .sapMSltIconOnly.sapMSltHoverable:hover:not(.sapMSltState) {
292
- background-color: @sapUiShellHoverBackground;
293
- border-color: transparent;
195
+ .sapMSF {
196
+ height: 2.5rem;
197
+ padding-top: 0px;
294
198
  }
295
199
 
296
- .sapMSltIconOnly.sapMSltExpanded.sapMSltPressed.sapMSltHoverable:hover {
297
- background-color: @sapUiShellHoverBackground;
298
- border-color: transparent;
200
+ .sapMSF .sapMSFF {
201
+ border-radius: 2rem;
202
+ height: 2.5rem;
299
203
  }
300
204
 
301
- .sapMSltIconOnly.sapMSltHoverable .sapUiIcon {
302
- color: @sapUiShellInteractiveTextColor;
205
+ .sapMSFB {
206
+ line-height: 2.5rem;
207
+ width: 1.875rem;
303
208
  }
304
209
 
305
- .sapMSltIconOnly.sapMSltHoverable:active .sapUiIcon {
306
- color: @sapUiShellActiveTextColor;
210
+ .sapMSFSSI {
211
+ display: inline;
307
212
  }
308
213
 
309
- .sapMSltIconOnly.sapMSltExpanded.sapMSltPressed:not(.sapMSltDisabled) {
310
- background-color: @sapUiShellActiveBackground;
311
- .sapUiIcon {
312
- color: @sapUiShellActiveTextColor;
313
- }
214
+ .sapMSFF .sapMSFSSI:before {
215
+ content: "\e00d";
216
+ display: block;
217
+ font-style: normal;
218
+ width: 1rem;
219
+ height: 1rem;
220
+ font-family: 'SAP-icons';
221
+ margin-right: 0.375rem;
222
+ margin-top: 0.75rem;
314
223
  }
315
224
 
316
- .sapMSltIconOnly.sapMSltPressed.sapMSltHoverable:not(.sapMSltState):hover {
317
- background-color: @sapUiShellActiveBackground;
225
+ .sapMSFS::after {
226
+ content: "\e1ed";
318
227
  }
319
228
 
320
- .sapMSltPressed.sapMSltIconOnly:not(.sapMSltDisabled) {
321
- background-color: @sapUiShellActiveBackground;
322
- border-color: transparent;
229
+ .sapMSFR::after,
230
+ .sapMSFS::after {
231
+ display: block;
232
+ width: 1.25rem;
233
+ height: 1.25rem;
234
+ border-radius: 0.75rem;
235
+ font-size: 0.75rem;
236
+ margin-top: 0.625rem;
237
+ line-height: 1.25rem;
323
238
  }
324
- }
325
239
 
326
- // ==========================================================================
327
- // sap.m.SearchField overriding
328
- // ==========================================================================
329
-
330
- .sapTntToolHeader {
331
- .sapMSF .sapMSFF {
332
- background: transparent;
333
- border-color: lighten(@sapUiShellBorderColor,30);
334
- color: @sapUiShellInteractiveTextColor;
240
+ .sapMSFS {
241
+ width: 1.625rem;
242
+ border: none;
335
243
  }
336
244
 
337
- .sapMSFDisabled {
338
- opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
245
+ .sapMSFS:active,
246
+ .sapMSFS:hover,
247
+ .sapMSFR:active,
248
+ .sapMSFR:hover {
249
+ background: none;
250
+ box-shadow: none;
251
+ line-height: 1.25rem;
339
252
  }
340
253
 
341
- .sapMSF:not(.sapMSFDisabled) .sapMSFF:hover {
342
- border-color: lighten(@sapUiShellInteractiveBorderColor, 10);
254
+ .sapMSFS:active::after,
255
+ .sapMSFR:active::after {
256
+ background: @sapActiveColor;
257
+ color: @sapContent_IconColor;
258
+ margin-top: 0.625rem;
343
259
  }
344
260
 
345
- .sapMSFF>.sapMSFB,
346
- .sapMSF.sapMFocus>.sapMSFF>.sapMSFB,
347
- .sapMSFI::placeholder {
348
- color: @sapUiShellInteractiveTextColor;
261
+ .sapMSFS:hover::after,
262
+ .sapMSFR:hover::after {
263
+ background: @sapHoverColor;
264
+ color: @sapContent_IconColor;
265
+ margin-top: 0.625rem;
349
266
  }
267
+ }
350
268
 
351
- .sapMSFI,
352
- .sapMSFB {
353
- color: @sapUiShellTextColor;
354
- }
269
+ .sapUiSizeCompact {
270
+ .sapTntToolHeader {
271
+ .sapMSF {
272
+ height: 2rem;
273
+ padding-top: 1px;
274
+ }
355
275
 
356
- .sapMSFB:hover {
357
- background-color: @sapUiShellHoverBackground;
358
- }
276
+ .sapMSF .sapMSFF {
277
+ height: 2rem;
278
+ }
279
+
280
+ .sapMSFB {
281
+ line-height: 2rem;
282
+ width: 1.5rem;
283
+ }
359
284
 
360
- .sapMSFF>.sapMSFB:not(.sapMSFBF):active,
361
- .sapMSFF>.sapMSFB.sapMSFBA {
362
- background-color: @sapUiButtonLiteActiveBackground;
363
- color: @sapUiShellInteractiveTextColor;
285
+ .sapMSFF .sapMSFSSI:before {
286
+ margin-top: 0.5rem;
287
+ }
364
288
  }
365
289
 
366
- .sapMSFF > .sapMSFB:not(.sapMSFBF):active,
367
- .sapMSFF > .sapMSFB.sapMSFBA {
368
- background-color: @sapUiShellActiveBackground;
369
- color: @sapUiShellActiveTextColor;
290
+ .sapMSFS:hover::after,
291
+ .sapMSFR:hover::after,
292
+ .sapMSFS:active::after,
293
+ .sapMSFR:active::after {
294
+ margin-top: 0.375rem;
370
295
  }
371
296
 
372
- .sapMFocus > .sapMSFF > .sapMSFB {
373
- color: @sapUiShellInteractiveTextColor;
297
+ .sapMSFS::after,
298
+ .sapMSFR::after {
299
+ margin-top: 0.375rem;
374
300
  }
375
301
  }
376
302
 
@@ -378,86 +304,29 @@ html.sap-desktop .sapTntToolHeader .sapMSlt:not(.sapMSltExpanded):not(.sapMSltDi
378
304
  // sap.m.IconTabHeader overriding
379
305
  // ==========================================================================
380
306
 
381
- .sapTntToolHeader:not(.sapUshellShellToolHeader) {
382
- .sapMITH .sapMITBText {
383
- color: @sapUiShellInteractiveTextColor;
384
- text-shadow: none;
385
- }
386
-
387
- .sapMITH .sapMITBDisabled {
388
- opacity: @_sap_tnt_ToolHeader_DisabledOpacity;
389
- }
390
-
391
- .sapMITH {
392
- border-color: transparent;
393
- }
394
-
395
- .sapMITH {
396
- .sapMITHStartOverflow,
397
- .sapMITHEndOverflow {
398
- .sapMITBItem {
399
- background-color: transparent;
400
- border: none;
401
-
402
- &:hover {
403
- background: @sapUiShellHoverBackground;
404
- }
405
-
406
- &:active {
407
- background: @sapUiShellActiveBackground;
408
- color: @sapUiShellActiveTextColor;
409
- }
410
-
411
- .sapMITBText {
412
- color: @sapUiShellInteractiveTextColor;
413
-
414
- .sapMITHShowSubItemsIcon .sapUiIcon {
415
- color: @sapUiShellInteractiveTextColor;
416
- }
417
- }
418
- }
419
- }
420
- }
421
-
422
- .sapMITBHead .sapMITBFilter .sapMITBText + .sapMITBContentArrow {
423
- height: 0.875rem;
424
- margin: 0 -0.1875rem;
307
+ .sapTntToolHeader {
308
+ .sapUshellShellTabBar .sapMITH,
309
+ .sapUshellShellTabBar.sapMITH {
310
+ box-shadow: none;
425
311
  }
426
312
  }
427
313
 
428
- /* Focus Colors*/
429
-
430
- html.sap-desktop .sapTntToolHeader {
431
-
432
- /* Custom focus outline */
433
- .sapMITBTextOnly .sapMITBItem:not(.sapUiDnDDragging):focus .sapMITBText,
434
- .sapMITBItem:not(.sapUiDnDDragging):focus.sapMITBAll {
435
- &::after {
436
- border-color: @_sap_tnt_ToolHeader_BorderColor;
437
- }
438
- }
314
+ // ==========================================================================
315
+ // sap.m.Image overriding
316
+ // ==========================================================================
439
317
 
440
- .sapMITHStartOverflow,
441
- .sapMITHEndOverflow {
442
- .sapMITBItem:not(.sapUiDnDDragging) {
443
- &:focus::after {
444
- border-color: @_sap_tnt_ToolHeader_BorderColor;
445
- }
446
- }
318
+ .sapTntToolHeader {
319
+ .sapMImg {
320
+ height: 1.625rem;
447
321
  }
448
- }
449
322
 
450
- // ==========================================================================
451
- // sap.f.Breadcrumbs overriding
452
- // ==========================================================================
453
- .sapTntToolHeader .sapMBreadcrumbs {
454
- .sapMBreadcrumbsItem,
455
- .sapMLnk,
456
- .sapMSltIcon:before{
457
- color: @sapUiShellInteractiveTextColor;
323
+ &.sapMIBar.sapMTB .sapMBarChild.sapMImg {
324
+ margin-left: 0.75rem;
458
325
  }
459
326
 
460
- .sapMBreadcrumbsSeparator {
461
- color: @sapUiShellTextColor;
327
+ .sapMImgFocusable:focus {
328
+ outline: @sapContent_FocusStyle @sapContent_FocusWidth @sapContent_FocusColor;
329
+ outline-offset: 0.125rem;
330
+ border-radius: 0.25rem;
462
331
  }
463
332
  }