@openui5/themelib_sap_horizon 1.129.0 → 1.130.1

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 (34) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +18 -18
  3. package/src/sap/m/themes/sap_horizon/Breadcrumbs.less +4 -0
  4. package/src/sap/m/themes/sap_horizon/Carousel.less +2 -0
  5. package/src/sap/m/themes/sap_horizon/ColumnListItem.less +5 -5
  6. package/src/sap/m/themes/sap_horizon/IconTabBar.less +279 -212
  7. package/src/sap/m/themes/sap_horizon/Link.less +13 -10
  8. package/src/sap/m/themes/sap_horizon/SplitButton.less +18 -0
  9. package/src/sap/m/themes/sap_horizon_dark/Breadcrumbs.less +4 -0
  10. package/src/sap/m/themes/sap_horizon_dark/Carousel.less +2 -0
  11. package/src/sap/m/themes/sap_horizon_dark/ColumnListItem.less +5 -5
  12. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +217 -158
  13. package/src/sap/m/themes/sap_horizon_dark/Link.less +13 -10
  14. package/src/sap/m/themes/sap_horizon_dark/SplitButton.less +18 -0
  15. package/src/sap/m/themes/sap_horizon_dark/Table.less +0 -8
  16. package/src/sap/m/themes/sap_horizon_hcb/Carousel.less +2 -0
  17. package/src/sap/m/themes/sap_horizon_hcb/ColumnListItem.less +5 -5
  18. package/src/sap/m/themes/sap_horizon_hcb/IconTabBar.less +90 -79
  19. package/src/sap/m/themes/sap_horizon_hcb/Link.less +12 -9
  20. package/src/sap/m/themes/sap_horizon_hcw/Carousel.less +2 -0
  21. package/src/sap/m/themes/sap_horizon_hcw/ColumnListItem.less +5 -6
  22. package/src/sap/m/themes/sap_horizon_hcw/IconTabBar.less +95 -83
  23. package/src/sap/m/themes/sap_horizon_hcw/Link.less +12 -9
  24. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  25. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  26. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  27. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  28. package/src/sap/ui/integration/themes/sap_horizon/library.source.less +0 -1
  29. package/src/sap/ui/integration/themes/sap_horizon_dark/library.source.less +0 -1
  30. package/src/sap/ui/rta/themes/sap_horizon_dark/ChangeVisualization.less +0 -1
  31. package/src/sap/ui/rta/themes/sap_horizon_hcb/ChangeVisualization.less +0 -1
  32. package/src/sap/ui/rta/themes/sap_horizon_hcw/ChangeVisualization.less +0 -1
  33. package/src/sap/ui/integration/themes/sap_horizon/Paginator.less +0 -5
  34. package/src/sap/ui/integration/themes/sap_horizon_dark/Paginator.less +0 -5
@@ -4,32 +4,34 @@
4
4
  /* =========================== */
5
5
 
6
6
  .sapMLnkDsbl {
7
- opacity: @sapUiContentDisabledOpacity;
7
+ opacity: var(--sapContent_DisabledOpacity);
8
8
  outline: none;
9
9
  cursor: default;
10
10
  }
11
11
 
12
12
  .sapMLIBActive .sapMLnk {
13
- color: @sapUiListActiveTextColor;
13
+ color: var(--sapList_Active_TextColor);
14
14
  text-decoration: underline;
15
15
  }
16
16
 
17
17
  .sapMLnk.sapMLnkSubtle {
18
- color: @sapUiLinkSubtleColor;
18
+ color: var(--sapLink_SubtleColor);
19
19
  text-decoration: underline;
20
20
 
21
21
  &:not(.sapMLnkDsbl) {
22
+
22
23
  &:active {
23
- color: @sapUiLinkSubtleColor;
24
+ color: var(--sapLink_SubtleColor);
24
25
  }
25
26
  }
26
27
  }
27
28
 
28
29
  html.sap-desktop .sapMLnk:not(.sapMLnkDsbl) {
30
+
29
31
  &:focus {
30
32
  border-radius: 0.125rem;
31
- background-color: @sapUiContentFocusColor;
32
- color: @sapUiContentContrastTextColor;
33
+ background-color: var(--sapContent_FocusColor);
34
+ color: var(--sapContent_ContrastTextColor);
33
35
  text-shadow: none;
34
36
  outline: none;
35
37
 
@@ -39,23 +41,24 @@ html.sap-desktop .sapMLnk:not(.sapMLnkDsbl) {
39
41
  }
40
42
 
41
43
  &.sapMLnkSubtle {
44
+
42
45
  &:hover:not(:active):not(:focus) {
43
- color: @sapUiLinkSubtleColor;
46
+ color: var(--sapLink_SubtleColor);
44
47
  text-decoration: none;
45
48
  }
46
49
  }
47
50
  }
48
51
 
49
52
  .sapMLnk:not(.sapMLnkDsbl) {
50
- text-shadow: @sapUiContentTextShadow;
53
+ text-shadow: var(--sapContent_TextShadow);
51
54
  }
52
55
 
53
56
  /* align Link in Form with Label */
54
57
  .sapUiFormEdit .sapMLnk {
55
58
  margin-top: 0.875rem; /* don't use padding as this would stretch the focus outline */
56
- margin-bottom: 0.625rem; /* for some reason browser adds 4px, display: block would lead to stretched focus outline*/
59
+ margin-bottom: 0.625rem; /* for some reason browser adds 4px, display: block would lead to stretched focus outline */
57
60
  }
58
61
 
59
62
  .sapMListTblRow.sapMLIBSelected .sapMLnk:not(.sapMLnkDsbl) {
60
- text-shadow: @sapUiContentTextShadow;
63
+ text-shadow: var(--sapContent_TextShadow);
61
64
  }
@@ -277,6 +277,24 @@
277
277
  border-color: @sapUiContentContrastFocusColor;
278
278
  }
279
279
 
280
+ .sapMSB.sapMSBEmphasized:focus {
281
+ .sapMSBInner:has(.sapMBtn):has(.sapMBtnActive)::after {
282
+ border-color: transparent;
283
+ }
284
+ .sapMBtnActive.sapMFocusable:not(.sapMBadgeIndicator)::before {
285
+ content: '';
286
+ position: absolute;
287
+ box-sizing: border-box;
288
+ left: 0.0625rem;
289
+ top: 0.0625rem;
290
+ right: 0.0625rem;
291
+ bottom: 0.0625rem;
292
+ border: 0.125rem solid var(--sapContent_FocusColor);
293
+ pointer-events: none;
294
+ border-radius: 0.375rem;
295
+ }
296
+ }
297
+
280
298
  .sapMSB .sapMSBText:not(.sapMBtnDisabled) > span.sapMBtnInner.sapMBtnEmphasized.sapMBtnActive {
281
299
  margin-right: 2.25rem;
282
300
  }
@@ -19,6 +19,10 @@
19
19
  outline-offset: 0;
20
20
  }
21
21
 
22
+ .sapMBreadcrumbsItem {
23
+ padding: .125rem; // avoid focus clip
24
+ }
25
+
22
26
  .sapMBreadcrumbsItem.sapMBreadcrumbsSelectItem {
23
27
 
24
28
  & > .sapMSlt.sapMSltWithIcon.sapMSltIconOnly.sapMSltWithArrow.sapMSltHoverable {
@@ -10,6 +10,8 @@
10
10
  @_sap_m_Carousel_BackgroundColorSolid: var(--sapGroup_ContentBackground);
11
11
  @_sap_m_Carousel_BackgroundColorTranslucent: var(--sapBackgroundColor);
12
12
  @_sap_m_Carousel_MinWidth: 15.5rem;
13
+ @_sap_m_Carousel_PageIndicatorBarHeight: 2.75rem;
14
+ @_sap_m_Carousel_BottomArrowsOffset: calc(~'2.75rem + 1px');
13
15
  @_sap_m_Carousel_ControlsNoArrowsHeight: 2.75rem;
14
16
  @_sap_m_Carousel_NumericIndicatorTextColor: var(--sapPageFooter_TextColor);
15
17
  @_sap_m_Carousel_PrevAndNextSize: 2.125rem;
@@ -10,19 +10,19 @@
10
10
  /* note: adding border-top to the sibling row is not suitable as the sibling row can be hidden and in such case the selection border is lost */
11
11
  .sapMTableTBody:not(.sapMListTblHasPopin) > .sapMLIBSelected,
12
12
  .sapMTableTBody.sapMListTblHasPopin > .sapMLIBSelected + .sapMListTblSubRow {
13
- box-shadow: inset 0px -0.0625rem @sapUiListSelectionBorderColor;
13
+ box-shadow: inset 0px -0.0625rem var(--sapList_SelectionBorderColor);
14
14
  }
15
15
 
16
16
  /* selection border indicator was not visible on the last row as the td elements within the last row have a bottom border */
17
17
  /* hence applying -0.125rem so that the selection border is visible */
18
18
  .sapMTableTBody:not(.sapMListTblHasPopin) > .sapMLIBSelected:last-child,
19
19
  .sapMTableTBody.sapMListTblHasPopin > .sapMLIBSelected + .sapMListTblSubRow:last-child {
20
- box-shadow: inset 0px -0.125rem @sapUiListSelectionBorderColor;
20
+ box-shadow: inset 0px -0.125rem var(--sapList_SelectionBorderColor);
21
21
  }
22
22
 
23
- // Safari work-around as box-shadow is not supported on the <tr> element,
24
- // hence adding the selection indicator box-shadow to the <td> element
23
+ /* Safari work-around as box-shadow is not supported on the <tr> element, */
24
+ /* hence adding the selection indicator box-shadow to the <td> element */
25
25
  html[data-sap-ui-browser^="sf"] .sapMTableTBody:not(.sapMListTblHasPopin) > .sapMLIBSelected > td,
26
26
  html[data-sap-ui-browser^="sf"] .sapMTableTBody.sapMListTblHasPopin > .sapMLIBSelected + .sapMListTblSubRow > td {
27
- box-shadow: inset 0px -0.0625rem @sapUiListSelectionBorderColor;
27
+ box-shadow: inset 0px -0.0625rem var(--sapList_SelectionBorderColor);
28
28
  }