@openui5/themelib_sap_horizon 1.108.20 → 1.108.21

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 (44) hide show
  1. package/.reuse/dep5 +0 -5
  2. package/THIRDPARTY.txt +0 -6
  3. package/package.json +18 -18
  4. package/src/sap/f/themes/sap_horizon/AvatarGroup.less +81 -25
  5. package/src/sap/f/themes/sap_horizon_dark/AvatarGroup.less +82 -25
  6. package/src/sap/m/themes/sap_horizon/Button.less +16 -4
  7. package/src/sap/m/themes/sap_horizon/IconTabBar.less +0 -1
  8. package/src/sap/m/themes/sap_horizon/MenuButton.less +22 -4
  9. package/src/sap/m/themes/sap_horizon/ObjectStatus.less +243 -20
  10. package/src/sap/m/themes/sap_horizon/RangeSlider.less +6 -8
  11. package/src/sap/m/themes/sap_horizon/SegmentedButton.less +133 -11
  12. package/src/sap/m/themes/sap_horizon/Select.less +4 -2
  13. package/src/sap/m/themes/sap_horizon/Slider.less +18 -22
  14. package/src/sap/m/themes/sap_horizon/SplitButton.less +73 -23
  15. package/src/sap/m/themes/sap_horizon_dark/Button.less +16 -4
  16. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +0 -1
  17. package/src/sap/m/themes/sap_horizon_dark/MenuButton.less +18 -3
  18. package/src/sap/m/themes/sap_horizon_dark/ObjectStatus.less +243 -20
  19. package/src/sap/m/themes/sap_horizon_dark/RangeSlider.less +28 -8
  20. package/src/sap/m/themes/sap_horizon_dark/SegmentedButton.less +133 -11
  21. package/src/sap/m/themes/sap_horizon_dark/Select.less +4 -1
  22. package/src/sap/m/themes/sap_horizon_dark/Slider.less +18 -21
  23. package/src/sap/m/themes/sap_horizon_dark/SplitButton.less +73 -23
  24. package/src/sap/m/themes/sap_horizon_hcb/MenuButton.less +4 -0
  25. package/src/sap/m/themes/sap_horizon_hcb/ObjectStatus.less +124 -13
  26. package/src/sap/m/themes/sap_horizon_hcb/RangeSlider.less +4 -6
  27. package/src/sap/m/themes/sap_horizon_hcb/SegmentedButton.less +1 -1
  28. package/src/sap/m/themes/sap_horizon_hcb/Slider.less +20 -46
  29. package/src/sap/m/themes/sap_horizon_hcw/MenuButton.less +4 -0
  30. package/src/sap/m/themes/sap_horizon_hcw/ObjectStatus.less +124 -13
  31. package/src/sap/m/themes/sap_horizon_hcw/RangeSlider.less +4 -6
  32. package/src/sap/m/themes/sap_horizon_hcw/SegmentedButton.less +1 -1
  33. package/src/sap/m/themes/sap_horizon_hcw/Slider.less +20 -47
  34. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +2 -0
  35. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +2 -0
  36. package/src/sap/ui/commons/themes/sap_horizon/MenuButton.less +12 -0
  37. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  38. package/src/sap/ui/core/themes/sap_horizon/global.less +16 -16
  39. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  40. package/src/sap/ui/core/themes/sap_horizon_dark/global.less +16 -16
  41. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  42. package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +16 -16
  43. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  44. package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +16 -16
@@ -12,7 +12,6 @@
12
12
  .sapMObjStatusText,
13
13
  .sapMObjStatusIcon {
14
14
  min-height: 1rem;
15
- text-shadow: @sapUiContentContrastTextShadow;
16
15
  height: 100%;
17
16
  }
18
17
  }
@@ -44,45 +43,51 @@
44
43
  }
45
44
 
46
45
  .sapMObjStatusInverted {
46
+ box-sizing: border-box;
47
+ min-width: 1.375rem;
47
48
  & .sapMObjStatusText,
48
49
  & .sapMObjStatusIcon.sapMObjStatusIconOnly,
49
50
  & .sapMObjStatusIcon .sapMObjStatusIconOnly,
50
51
  & .sapMObjStatusLink .sapMObjStatusIcon.sapMObjStatusIconOnly,
51
52
  & .sapMObjStatusLink .sapMObjStatusText {
52
- border-radius: 0.25rem;
53
+ border-radius: @sapUiButtonBorderCornerRadius;
53
54
  }
54
55
  & .sapMObjStatusIcon {
55
- border-radius: 0.25rem 0 0 0.25rem;
56
+ border-radius: @sapUiButtonBorderCornerRadius 0 0 @sapUiButtonBorderCornerRadius;
56
57
  }
57
58
  & .sapMObjStatusIcon + .sapMObjStatusText {
58
- border-radius: 0 0.25rem 0.25rem 0;
59
+ border-radius: 0 @sapUiButtonBorderCornerRadius @sapUiButtonBorderCornerRadius 0;
59
60
  }
60
61
  }
61
62
 
62
63
  .sapMObjStatusInverted .sapMObjStatusText,
63
64
  .sapMObjStatusInverted .sapMObjStatusIcon {
64
65
  color: @sapUiContentContrastTextColor;
66
+ border: 0.0625rem solid;
65
67
  }
66
68
 
67
- .sapMObjStatusInverted .sapMObjStatusText,
68
- .sapMObjStatusInverted .sapMObjStatusIcon.sapMObjStatusIconOnly {
69
- padding: 0.0625rem 0.25rem;
69
+ .sapMObjStatusInverted .sapMObjStatusIcon.sapMObjStatusIconOnly,
70
+ .sapMObjStatusInverted .sapMObjStatusLink .sapMObjStatusIcon.sapMObjStatusIconOnly {
71
+ padding: 0.1875rem 0.313rem;
72
+ }
73
+
74
+ .sapMObjStatusInverted .sapMObjStatusText {
75
+ padding: 0.1875rem 0.25rem;
70
76
  }
71
77
 
72
78
  .sapMObjStatusInverted .sapMObjStatusIcon {
73
- padding: 0.0625rem 0 0.0625rem 0.25rem;
79
+ padding: 0.1875rem 0 0.1875rem 0.25rem;
74
80
  vertical-align: middle;
75
81
  }
76
82
 
77
83
  html.sap-desktop .sapMObjStatusActive:not(.sapMObjStatusInverted) {
78
84
  .sapMObjStatusText {
79
85
  text-decoration: underline;
80
- text-shadow: @sapUiContentTextShadow;
81
86
  }
82
87
  &:focus {
83
88
  .sapMObjStatusLink::after {
84
89
  outline: none;
85
- border-radius: 0.125rem;
90
+ border-radius: @sapUiButtonBorderCornerRadius;
86
91
  content: "";
87
92
  position: absolute;
88
93
  box-sizing: border-box;
@@ -96,11 +101,10 @@ html.sap-desktop .sapMObjStatusActive:not(.sapMObjStatusInverted) {
96
101
  }
97
102
  .sapMObjStatusLink {
98
103
  background: @sapUiContentFocusColor;
99
- border-radius: 0.125rem;
104
+ border-radius: @sapUiButtonBorderCornerRadius;
100
105
  .sapMObjStatusIcon > .sapUiIcon,
101
106
  .sapMObjStatusText {
102
107
  color: @sapUiContentContrastTextColor;
103
- text-shadow: @sapUiContentContrastTextShadow;
104
108
  }
105
109
  .sapMObjStatusText {
106
110
  text-decoration: underline;
@@ -145,7 +149,7 @@ html.sap-desktop .sapMObjStatusActive.sapMObjStatusInverted {
145
149
  pointer-events: none;
146
150
  z-index: 1;
147
151
  box-shadow: inset 0 0 0 0.125em @sapUiContentFocusColor, inset 0 0 0 0.1875em @sapUiContentContrastFocusColor;
148
- border-radius: 0.25rem;
152
+ border-radius: @sapUiButtonBorderCornerRadius;
149
153
  height: 100%;
150
154
  }
151
155
  }
@@ -154,15 +158,234 @@ html.sap-desktop .sapMObjStatusActive.sapMObjStatusInverted {
154
158
  }
155
159
  }
156
160
 
157
- .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:active .sapMObjStatusText,
158
- .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:active .sapMObjStatusIcon,
159
- .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:active .sapMObjStatusText,
160
- .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:active .sapMObjStatusIcon ,
161
+ .sapMObjStatus.sapMObjStatusInverted,
162
+ .sapMObjStatus.sapMObjStatusInverted.sapMObjStatusActive {
163
+ .sapMObjStatusIcon:not(.sapMObjStatusIconOnly){
164
+ border-right: none;
165
+ &:hover:active{
166
+ border-right: none;
167
+ }
168
+ }
169
+ .sapMObjStatusIcon + .sapMObjStatusText {
170
+ border-left: none;
171
+ }
172
+ }
173
+
174
+ .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusText,
175
+ .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusIcon {
176
+ background-color: @sapUiButtonNegativeBackground;
177
+ color: @sapUiButtonNegativeTextColor;
178
+ border-color: @sapUiButtonNegativeBorderColor;
179
+ }
180
+
181
+ .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusText,
182
+ .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusIcon {
183
+ background-color: @sapUiButtonCriticalBackground;
184
+ color: @sapUiButtonCriticalTextColor;
185
+ border-color: @sapUiButtonCriticalBorderColor;
186
+ }
187
+
188
+ .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusText,
189
+ .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusIcon {
190
+ background-color: @sapUiButtonSuccessBackground;
191
+ color: @sapUiButtonSuccessTextColor;
192
+ border-color: @sapUiButtonSuccessBorderColor;
193
+ }
194
+
195
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusText,
196
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusIcon {
197
+ text-shadow: @sapUiContentTextShadow;
198
+ background-color: @sapUiButtonInformationBackground;
199
+ color: @sapUiButtonInformationTextColor;
200
+ border-color: @sapUiButtonInformationBorderColor;
201
+ }
202
+
203
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusText,
204
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusIcon {
205
+ text-shadow: @sapUiContentTextShadow;
206
+ background-color: @sapNeutralBackground;
207
+ color: @sapTextColor;
208
+ border-color: @sapNeutralBorderColor;
209
+ }
210
+
211
+
212
+ .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusLink:hover .sapMObjStatusText,
213
+ .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusLink:hover .sapMObjStatusIcon {
214
+ background-color: @sapUiButtonNegativeHoverBackground;
215
+ color: @sapUiButtonNegativeHoverTextColor;
216
+ border-color: @sapUiButtonNegativeHoverBorderColor;
217
+ }
218
+
219
+ .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusLink:hover .sapMObjStatusText,
220
+ .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusLink:hover .sapMObjStatusIcon {
221
+ background-color: @sapUiButtonCriticalHoverBackground;
222
+ color: @sapUiButtonCriticalHoverTextColor;
223
+ border-color: @sapUiButtonCriticalHoverBorderColor;
224
+ }
225
+
226
+ .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusLink:hover .sapMObjStatusText,
227
+ .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusLink:hover .sapMObjStatusIcon {
228
+ background-color: @sapUiButtonSuccessHoverBackground;
229
+ color: @sapUiButtonSuccessHoverTextColor;
230
+ border-color: @sapUiButtonSuccessHoverBorderColor;
231
+ }
232
+
233
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:hover .sapMObjStatusText,
234
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:hover .sapMObjStatusIcon {
235
+ background-color: @sapUiButtonInformationHoverBackground;
236
+ color: @sapUiButtonInformationHoverTextColor;
237
+ border-color: @sapUiButtonInformationHoverBorderColor;
238
+ }
239
+
240
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:hover .sapMObjStatusText,
241
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:hover .sapMObjStatusIcon {
242
+ background-color: @sapUiButtonNeutralHoverBackground;
243
+ color: @sapUiButtonNeutralHoverTextColor;
244
+ border-color: @sapUiButtonNeutralHoverBorderColor;
245
+ }
246
+
161
247
  .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusLink:active .sapMObjStatusText,
162
- .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusLink:active .sapMObjStatusIcon,
248
+ .sapMObjStatusInverted.sapMObjStatusError .sapMObjStatusLink:active .sapMObjStatusIcon {
249
+ background-color: @sapUiButtonNegativeActiveBackground;
250
+ color: @sapUiButtonRejectSelectedTextColor;
251
+ border-color: @sapUiButtonNegativeActiveBorderColor;
252
+ }
253
+
163
254
  .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusLink:active .sapMObjStatusText,
164
- .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusLink:active .sapMObjStatusIcon,
255
+ .sapMObjStatusInverted.sapMObjStatusWarning .sapMObjStatusLink:active .sapMObjStatusIcon {
256
+ background-color: @sapUiButtonCriticalActiveBackground;
257
+ color: @sapUiButtonAttentionSelectedTextColor;
258
+ border-color: @sapUiButtonCriticalActiveBorderColor;
259
+ }
260
+
165
261
  .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusLink:active .sapMObjStatusText,
166
262
  .sapMObjStatusInverted.sapMObjStatusSuccess .sapMObjStatusLink:active .sapMObjStatusIcon {
167
- color: @sapUiContentContrastTextColor;
263
+ background-color: @sapUiButtonSuccessActiveBackground;
264
+ color: @sapUiButtonAcceptSelectedTextColor;
265
+ border-color: @sapUiButtonSuccessActiveBorderColor;
266
+ }
267
+
268
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:active .sapMObjStatusText,
269
+ .sapMObjStatusInverted.sapMObjStatusInformation .sapMObjStatusLink:active .sapMObjStatusIcon {
270
+ background-color: @sapUiButtonInformationActiveBackground;
271
+ color: @sapUiButtonSelectedTextColor;
272
+ border-color: @sapUiButtonInformationActiveBorderColor;
273
+ }
274
+
275
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:active .sapMObjStatusText,
276
+ .sapMObjStatusInverted.sapMObjStatusNone .sapMObjStatusLink:active .sapMObjStatusIcon {
277
+ background-color: @sapUiButtonNeutralActiveBackground;
278
+ color: @sapUiButtonActiveTextColor;
279
+ border-color: @sapUiButtonNeutralActiveBorderColor;
280
+ }
281
+
282
+ .sapMObjStatusInverted.sapMObjStatusIndication01 .sapMObjStatusText,
283
+ .sapMObjStatusInverted.sapMObjStatusIndication01 .sapMObjStatusIcon {
284
+ background-color: @sapUiIndication1Background;
285
+ border-color: @sapUiIndication1BorderColor;
286
+ color: @sapUiIndication1TextColor;
287
+ }
288
+
289
+ .sapMObjStatusInverted.sapMObjStatusIndication02 .sapMObjStatusText,
290
+ .sapMObjStatusInverted.sapMObjStatusIndication02 .sapMObjStatusIcon {
291
+ background-color: @sapUiIndication2Background;
292
+ border-color: @sapUiIndication2BorderColor;
293
+ color: @sapUiIndication2TextColor;
294
+ }
295
+
296
+ .sapMObjStatusInverted.sapMObjStatusIndication03 .sapMObjStatusText,
297
+ .sapMObjStatusInverted.sapMObjStatusIndication03 .sapMObjStatusIcon {
298
+ background-color: @sapUiIndication3Background;
299
+ border-color: @sapUiIndication3BorderColor;
300
+ color: @sapUiIndication3TextColor;
301
+ }
302
+
303
+ .sapMObjStatusInverted.sapMObjStatusIndication04 .sapMObjStatusText,
304
+ .sapMObjStatusInverted.sapMObjStatusIndication04 .sapMObjStatusIcon {
305
+ background-color: @sapUiIndication4Background;
306
+ border-color: @sapUiIndication4BorderColor;
307
+ color: @sapUiIndication4TextColor;
308
+ }
309
+
310
+ .sapMObjStatusInverted.sapMObjStatusIndication05 .sapMObjStatusText,
311
+ .sapMObjStatusInverted.sapMObjStatusIndication05 .sapMObjStatusIcon {
312
+ background-color: @sapUiIndication5Background;
313
+ border-color: @sapUiIndication5BorderColor;
314
+ color: @sapUiIndication5TextColor;
315
+ }
316
+
317
+ .sapMObjStatusInverted.sapMObjStatusIndication06 .sapMObjStatusText,
318
+ .sapMObjStatusInverted.sapMObjStatusIndication06 .sapMObjStatusIcon {
319
+ background-color: @sapUiIndication6Background;
320
+ border-color: @sapUiIndication6BorderColor;
321
+ color: @sapUiIndication6TextColor;
322
+ }
323
+ .sapMObjStatusInverted.sapMObjStatusIndication07 .sapMObjStatusText,
324
+ .sapMObjStatusInverted.sapMObjStatusIndication07 .sapMObjStatusIcon {
325
+ background-color: @sapUiIndication7Background;
326
+ border-color: @sapUiIndication7BorderColor;
327
+ color: @sapUiIndication7TextColor;
328
+ }
329
+ .sapMObjStatusInverted.sapMObjStatusIndication08 .sapMObjStatusText,
330
+ .sapMObjStatusInverted.sapMObjStatusIndication08 .sapMObjStatusIcon {
331
+ background-color: @sapUiIndication8Background;
332
+ border-color: @sapUiIndication8BorderColor;
333
+ color: @sapUiIndication8TextColor;
334
+ }
335
+
336
+ .sapMObjStatusInverted.sapMObjStatusIndication01 .sapMObjStatusLink:active .sapMObjStatusText,
337
+ .sapMObjStatusInverted.sapMObjStatusIndication01 .sapMObjStatusLink:active .sapMObjStatusIcon {
338
+ background-color: @sapUiIndication1ActiveBackground;
339
+ border-color: @sapUiIndication1ActiveBorderColor;
340
+ color: @sapUiIndication1ActiveTextColor;
341
+
342
+ }
343
+
344
+ .sapMObjStatusInverted.sapMObjStatusIndication02 .sapMObjStatusLink:active .sapMObjStatusText,
345
+ .sapMObjStatusInverted.sapMObjStatusIndication02 .sapMObjStatusLink:active .sapMObjStatusIcon {
346
+ background-color: @sapUiIndication2ActiveBackground;
347
+ border-color: @sapUiIndication2ActiveBorderColor;
348
+ color: @sapUiIndication2ActiveTextColor;
349
+ }
350
+
351
+ .sapMObjStatusInverted.sapMObjStatusIndication03 .sapMObjStatusLink:active .sapMObjStatusText,
352
+ .sapMObjStatusInverted.sapMObjStatusIndication03 .sapMObjStatusLink:active .sapMObjStatusIcon {
353
+ background-color: @sapUiIndication3ActiveBackground;
354
+ border-color: @sapUiIndication3ActiveBorderColor;
355
+ color: @sapUiIndication3ActiveTextColor;
356
+ }
357
+
358
+ .sapMObjStatusInverted.sapMObjStatusIndication04 .sapMObjStatusLink:active .sapMObjStatusText,
359
+ .sapMObjStatusInverted.sapMObjStatusIndication04 .sapMObjStatusLink:active .sapMObjStatusIcon {
360
+ background-color: @sapUiIndication4ActiveBackground;
361
+ border-color: @sapUiIndication4ActiveBorderColor;
362
+ color: @sapUiIndication4ActiveTextColor;
363
+ }
364
+
365
+ .sapMObjStatusInverted.sapMObjStatusIndication05 .sapMObjStatusLink:active .sapMObjStatusText,
366
+ .sapMObjStatusInverted.sapMObjStatusIndication05 .sapMObjStatusLink:active .sapMObjStatusIcon {
367
+ background-color: @sapUiIndication5ActiveBackground;
368
+ border-color: @sapUiIndication5ActiveBorderColor;
369
+ color: @sapUiIndication5ActiveTextColor;
370
+ }
371
+
372
+ .sapMObjStatusInverted.sapMObjStatusIndication06 .sapMObjStatusLink:active .sapMObjStatusText,
373
+ .sapMObjStatusInverted.sapMObjStatusIndication06 .sapMObjStatusLink:active .sapMObjStatusIcon {
374
+ background-color: @sapUiIndication6ActiveBackground;
375
+ border-color: @sapUiIndication6ActiveBorderColor;
376
+ color: @sapUiIndication6ActiveTextColor;
377
+ }
378
+
379
+ .sapMObjStatusInverted.sapMObjStatusIndication07 .sapMObjStatusLink:active .sapMObjStatusText,
380
+ .sapMObjStatusInverted.sapMObjStatusIndication07 .sapMObjStatusLink:active .sapMObjStatusIcon {
381
+ background-color: @sapUiIndication7ActiveBackground;
382
+ border-color: @sapUiIndication7ActiveBorderColor;
383
+ color: @sapUiIndication7ActiveTextColor;
384
+ }
385
+
386
+ .sapMObjStatusInverted.sapMObjStatusIndication08 .sapMObjStatusLink:active .sapMObjStatusText,
387
+ .sapMObjStatusInverted.sapMObjStatusIndication08 .sapMObjStatusLink:active .sapMObjStatusIcon {
388
+ background-color: @sapUiIndication8ActiveBackground;
389
+ border-color: @sapUiIndication8ActiveBorderColor;
390
+ color: @sapUiIndication8ActiveTextColor;
168
391
  }
@@ -11,15 +11,14 @@
11
11
  .sapMRangeSlider.sapMSlider .sapMSliderInner {
12
12
  &:not(.sapMSliderInnerDisabled).sapMSliderProgress:hover ~ .sapMSliderHandle,
13
13
  .sapMSliderHandle:hover {
14
- border: 1px @sapContent_FocusStyle @sapUiSliderHoverHandleBorderColor;
15
- background: @sapUiSliderRangeHandleBackground;
16
- box-shadow: @sapUiContentSelectedShadow;
14
+ border: 0.0625rem @sapContent_FocusStyle @sapUiSliderHoverHandleBorderColor;
15
+ background: @sapUiSliderHoverRangeHandleBackground;
17
16
  }
18
17
 
19
18
  &:not(.sapMSliderInnerDisabled) .sapMSliderHandle.sapMSliderHandlePressed {
20
19
  &:not(:focus) {
21
20
  background: transparent;
22
- border: 0.125rem solid #0070F2;
21
+ border: 0.125rem solid @sapUiContentFocusColor;
23
22
  outline: none;
24
23
  box-shadow: none;
25
24
  top: -0.625rem;
@@ -28,7 +27,7 @@
28
27
 
29
28
  &:not(.sapMSliderInnerDisabled) .sapMSliderHandle:focus {
30
29
  background: @sapUiSliderActiveRangeHandleBackground;
31
- border: 0.125rem solid #0070F2;
30
+ border: 0.125rem solid @sapUiContentFocusColor;
32
31
  outline: none;
33
32
  box-shadow: none;
34
33
  top: -0.625rem;
@@ -36,7 +35,6 @@
36
35
 
37
36
  .sapMSliderHandle {
38
37
  background: @sapUiSliderRangeHandleBackground;
39
- box-shadow: @sapUiContentSelectedShadow;
40
38
  top: -0.625rem;
41
39
  }
42
40
 
@@ -68,7 +66,7 @@
68
66
  .sapMRangeSlider.sapMSlider .sapMSliderInner:not(.sapMSliderInnerDisabled) .sapMSliderHandle.sapMSliderHandlePressed {
69
67
  &:not(:focus) {
70
68
  background: transparent;
71
- border: 0.125rem solid #0070F2;
69
+ border: @sapUiContentFocusWidth solid @sapUiContentFocusColor;
72
70
  outline: none;
73
71
  box-shadow: none;
74
72
  top: -0.5rem;
@@ -85,7 +83,7 @@
85
83
 
86
84
  .sapMRangeSlider.sapMSlider .sapMSliderInner:not(.sapMSliderInnerDisabled) .sapMSliderHandle:focus {
87
85
  background: @sapUiSliderActiveRangeHandleBackground;
88
- border: 0.125rem solid #0070F2;
86
+ border: 0.125rem solid @sapUiContentFocusColor;
89
87
  outline: none;
90
88
  box-shadow: none;
91
89
  top: -0.5rem;
@@ -19,10 +19,14 @@
19
19
  text-shadow: none;
20
20
  color: @sapUiButtonTextColor;
21
21
  border-top: 1px solid @sapUiButtonBorderColor;
22
- border-left: 1px solid @sapUiButtonBorderColor;
22
+ border-left: 1px solid transparent;
23
23
  border-bottom: 1px solid @sapUiButtonBorderColor;
24
24
  border-right: 1px solid transparent;
25
- background-color: @sapUiButtonBackground;
25
+ background-color: transparent;
26
+ margin-left: 1px;
27
+ margin-right: 1px;
28
+ margin-top: -1px;
29
+ margin-bottom: -1px;
26
30
  }
27
31
  &:not(.sapMSegBBtnMixed) .sapMImg {
28
32
  padding-left: 0.5625rem;
@@ -31,20 +35,39 @@
31
35
  }
32
36
  }
33
37
 
38
+ .sapMSegB .sapMSegBBtn .sapMSegBBtnInnerWrapper {
39
+ border-top: 1px solid @sapUiButtonBorderColor;
40
+ border-bottom: 1px solid @sapUiButtonBorderColor;
41
+ background-color: @sapUiButtonBackground;
42
+ }
43
+
34
44
  .sapMSegB .sapMSegBBtn {
35
45
  position: relative;
36
46
  }
37
47
 
38
- .sapMSegBBtn:first-child .sapMSegBBtnInner,
48
+ .sapMSegBBtn:first-child .sapMSegBBtnInner {
49
+ border-top-left-radius: @sapUiButtonBorderCornerRadius;
50
+ border-bottom-left-radius: @sapUiButtonBorderCornerRadius;
51
+ border-left: 1px solid @sapUiButtonBorderColor;
52
+ margin-left: -1px;
53
+ }
54
+
39
55
  .sapMSegBBtn:first-child .sapMSegBBtnInnerWrapper {
40
56
  border-top-left-radius: @sapUiButtonBorderCornerRadius;
41
57
  border-bottom-left-radius: @sapUiButtonBorderCornerRadius;
42
58
  }
43
59
 
44
- .sapMSegBBtn:last-child .sapMSegBBtnInner,
45
- .sapMSegBBtn:last-child .sapMSegBBtnInnerWrapper {
60
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInnerWrapper {
61
+ border-top-right-radius: @sapUiButtonBorderCornerRadius;
62
+ border-bottom-right-radius: @sapUiButtonBorderCornerRadius;
63
+ border-right: 1px solid @sapUiButtonBorderColor;
64
+ }
65
+
66
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInner{
46
67
  border-top-right-radius: @sapUiButtonBorderCornerRadius;
47
68
  border-bottom-right-radius: @sapUiButtonBorderCornerRadius;
69
+ border-right: 1px solid @sapUiButtonBorderColor;
70
+ margin-right: -1px;
48
71
  }
49
72
 
50
73
  html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
@@ -54,7 +77,7 @@ html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
54
77
  }
55
78
 
56
79
  html.sap-desktop .sapMSegBBtnFocusable.sapMSegBBtnSel:hover .sapMSegBBtnInner {
57
- border-color: inherit;
80
+ border-color: @sapUiButtonSelectedBorderColor;
58
81
  }
59
82
 
60
83
  html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
@@ -63,22 +86,121 @@ html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
63
86
 
64
87
  /* Custom focus outline: */
65
88
  html.sap-desktop {
66
- .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
89
+ .sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
67
90
  content: "";
68
91
  position: absolute;
69
92
  box-sizing: border-box;
70
93
  left: 0.125rem;
71
94
  top: 0.375rem;
95
+ right: 0.2rem;
96
+ bottom: 0.375rem;
97
+ pointer-events: none;
98
+ border: 0.125rem solid @sapUiContentFocusColor;
99
+ border-radius: 0.375rem;
100
+ }
101
+ .sapUiSizeCompact .sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
102
+ &.sapUiSizeCompact .sapMSegBBtn:first-child.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
103
+ top: 0.3rem;
104
+ bottom: 0.3rem;
105
+ }
106
+ }
107
+
108
+ /* Custom focus outline: */
109
+ html.sap-desktop {
110
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
111
+ content: "";
112
+ position: absolute;
113
+ box-sizing: border-box;
114
+ left: 0.2rem;
115
+ top: 0.375rem;
72
116
  right: 0.125rem;
73
117
  bottom: 0.375rem;
74
118
  pointer-events: none;
75
119
  border: 0.125rem solid @sapUiContentFocusColor;
76
120
  border-radius: 0.375rem;
77
121
  }
122
+ .sapUiSizeCompact .sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
123
+ &.sapUiSizeCompact .sapMSegBBtn.sapMSegBtnLastVisibleButton.sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
124
+ top: 0.3rem;
125
+ bottom: 0.3rem;
126
+ }
127
+ }
128
+
129
+ html.sap-desktop {
130
+ .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
131
+ content: "";
132
+ position: absolute;
133
+ box-sizing: border-box;
134
+ left: 0.2rem;
135
+ top: 0.375rem;
136
+ right: 0.2rem;
137
+ bottom: 0.375rem;
138
+ pointer-events: none;
139
+ border: 0.125rem solid @sapUiContentFocusColor;
140
+ border-radius: 0.375rem;
141
+ }
78
142
  .sapUiSizeCompact .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after,
79
143
  &.sapUiSizeCompact .sapMSegBBtnFocusable:focus .sapMSegBBtnInner:after {
80
- top: 0.325rem;
81
- bottom: 0.325rem;
144
+ top: 0.3rem;
145
+ bottom: 0.3rem;
146
+ }
147
+ }
148
+
149
+ .sapMSegB.sapMSegBIcons {
150
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
151
+ margin-right: -1px;
152
+ }
153
+ }
154
+
155
+ .sapMSegB.sapMSegBIcons {
156
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
157
+ margin-right: -1px;
158
+ }
159
+ }
160
+
161
+ /* Custom focus outline: */
162
+ html.sap-desktop {
163
+ .sapMSegB.sapMSegBIcons {
164
+ .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBtnLastVisibleButton):not(.sapMSegBBtnMixed):focus .sapMSegBBtnInner:after {
165
+ content: "";
166
+ position: absolute;
167
+ box-sizing: border-box;
168
+ left: 0.2rem;
169
+ top: 0.375rem;
170
+ right: 0.15rem;
171
+ bottom: 0.375rem;
172
+ pointer-events: none;
173
+ border: 0.125rem solid @sapUiContentFocusColor;
174
+ border-radius: 0.375rem;
175
+ }
176
+ }
177
+ .sapUiSizeCompact .sapMSegB.sapMSegBIcons .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):not(.sapMSegBtnLastVisibleButton):focus .sapMSegBBtnInner:after,
178
+ &.sapUiSizeCompact .sapMSegB.sapMSegBIcons .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):not(.sapMSegBtnLastVisibleButton):focus .sapMSegBBtnInner:after {
179
+ top: 0.3rem;
180
+ bottom: 0.3rem;
181
+ }
182
+ }
183
+
184
+ /* Custom focus outline: */
185
+ html.sap-desktop {
186
+ .sapMSegB.sapMSegBIcons {
187
+ .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after {
188
+ content: "";
189
+ position: absolute;
190
+ box-sizing: border-box;
191
+ left: 0.15rem;
192
+ top: 0.375rem;
193
+ right: 0.15rem;
194
+ bottom: 0.375rem;
195
+ pointer-events: none;
196
+ border: 0.125rem solid @sapUiContentFocusColor;
197
+ border-radius: 0.375rem;
198
+ }
199
+ .sapUiSizeCompact .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after,
200
+ &.sapUiSizeCompact .sapMSegBBtn.sapMSegBBtnFocusable:not(.sapMSegBBtnMixed):first-child:focus .sapMSegBBtnInner:after {
201
+ top: 0.3rem;
202
+ bottom: 0.3rem;
203
+ }
82
204
  }
83
205
  }
84
206
 
@@ -127,7 +249,7 @@ html.sap-desktop {
127
249
 
128
250
  .sapMSegBBtn.sapMSegBBtnSel:hover {
129
251
  .sapMSegBBtnInner {
130
- border-color: @sapUiButtonSelectedHoverBorderColor;
252
+ border-color: @sapUiButtonSelectedBorderColor;
131
253
  }
132
254
  }
133
255
 
@@ -206,7 +328,7 @@ html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
206
328
  border-bottom-left-radius: 0.5rem;
207
329
  }
208
330
 
209
- .sapMSegBBtn:last-child .sapMSegBBtnInner {
331
+ .sapMSegBBtn.sapMSegBtnLastVisibleButton .sapMSegBBtnInner {
210
332
  border-top-right-radius: 0.5rem;
211
333
  border-bottom-right-radius: 0.5rem;
212
334
  }
@@ -164,18 +164,20 @@ div.sapMSltPicker .sapMSltPickerValueState {
164
164
  .sapMSltArrow {
165
165
  width: 2.25rem;
166
166
  height: 2.25rem;
167
+
168
+ &:hover {
169
+ box-shadow: @sapUiFieldHoverShadow;
170
+ }
167
171
  }
168
172
 
169
173
  .sapUiSizeCompact .sapMSltArrow {
170
174
  width: 2rem;
171
175
  height: 1.625rem;
172
-
173
176
  }
174
177
 
175
178
  .sapMSltPressed >.sapMSltArrow,
176
179
  .sapMSlt:hover > .sapMSltArrow {
177
180
  background-color: @sapUiButtonActiveBackground;
178
- box-shadow: @sapUiFieldHoverShadow;
179
181
  overflow: none;
180
182
  border-radius: 0.125rem;
181
183
  }