@openui5/themelib_sap_horizon 1.128.0 → 1.130.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 (89) hide show
  1. package/THIRDPARTY.txt +2 -2
  2. package/package.json +18 -18
  3. package/src/sap/m/themes/sap_horizon/ActionSelect.less +13 -13
  4. package/src/sap/m/themes/sap_horizon/ActionSheet.less +12 -12
  5. package/src/sap/m/themes/sap_horizon/Avatar.less +12 -10
  6. package/src/sap/m/themes/sap_horizon/Bar.less +11 -9
  7. package/src/sap/m/themes/sap_horizon/Carousel.less +2 -0
  8. package/src/sap/m/themes/sap_horizon/ColorPalette.less +43 -16
  9. package/src/sap/m/themes/sap_horizon/ColumnListItem.less +5 -5
  10. package/src/sap/m/themes/sap_horizon/ComboBoxBase.less +3 -3
  11. package/src/sap/m/themes/sap_horizon/Dialog.less +29 -20
  12. package/src/sap/m/themes/sap_horizon/DynamicDateRange.less +1 -1
  13. package/src/sap/m/themes/sap_horizon/GenericTile.less +21 -21
  14. package/src/sap/m/themes/sap_horizon/IconTabBar.less +279 -212
  15. package/src/sap/m/themes/sap_horizon/Link.less +13 -10
  16. package/src/sap/m/themes/sap_horizon/RatingIndicator.less +0 -2
  17. package/src/sap/m/themes/sap_horizon/SlideTile.less +10 -10
  18. package/src/sap/m/themes/sap_horizon/SplitButton.less +18 -0
  19. package/src/sap/m/themes/sap_horizon/Token.less +27 -7
  20. package/src/sap/m/themes/sap_horizon_dark/ActionSelect.less +11 -10
  21. package/src/sap/m/themes/sap_horizon_dark/ActionSheet.less +11 -11
  22. package/src/sap/m/themes/sap_horizon_dark/Avatar.less +12 -10
  23. package/src/sap/m/themes/sap_horizon_dark/Bar.less +12 -10
  24. package/src/sap/m/themes/sap_horizon_dark/Carousel.less +2 -0
  25. package/src/sap/m/themes/sap_horizon_dark/ColorPalette.less +42 -16
  26. package/src/sap/m/themes/sap_horizon_dark/ColumnListItem.less +5 -5
  27. package/src/sap/m/themes/sap_horizon_dark/ComboBoxBase.less +3 -3
  28. package/src/sap/m/themes/sap_horizon_dark/Dialog.less +29 -21
  29. package/src/sap/m/themes/sap_horizon_dark/DynamicDateRange.less +1 -1
  30. package/src/sap/m/themes/sap_horizon_dark/GenericTile.less +24 -24
  31. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +217 -158
  32. package/src/sap/m/themes/sap_horizon_dark/Link.less +13 -10
  33. package/src/sap/m/themes/sap_horizon_dark/SlideTile.less +10 -10
  34. package/src/sap/m/themes/sap_horizon_dark/SplitButton.less +18 -0
  35. package/src/sap/m/themes/sap_horizon_dark/Token.less +28 -8
  36. package/src/sap/m/themes/sap_horizon_hcb/ActionSelect.less +4 -3
  37. package/src/sap/m/themes/sap_horizon_hcb/ActionSheet.less +12 -12
  38. package/src/sap/m/themes/sap_horizon_hcb/Avatar.less +9 -8
  39. package/src/sap/m/themes/sap_horizon_hcb/Bar.less +12 -10
  40. package/src/sap/m/themes/sap_horizon_hcb/Carousel.less +2 -0
  41. package/src/sap/m/themes/sap_horizon_hcb/ColorPalette.less +25 -15
  42. package/src/sap/m/themes/sap_horizon_hcb/ColumnListItem.less +5 -5
  43. package/src/sap/m/themes/sap_horizon_hcb/ComboBoxBase.less +8 -8
  44. package/src/sap/m/themes/sap_horizon_hcb/Dialog.less +22 -13
  45. package/src/sap/m/themes/sap_horizon_hcb/DynamicDateRange.less +1 -1
  46. package/src/sap/m/themes/sap_horizon_hcb/GenericTile.less +5 -5
  47. package/src/sap/m/themes/sap_horizon_hcb/IconTabBar.less +90 -79
  48. package/src/sap/m/themes/sap_horizon_hcb/Link.less +12 -9
  49. package/src/sap/m/themes/sap_horizon_hcb/SlideTile.less +6 -6
  50. package/src/sap/m/themes/sap_horizon_hcb/Token.less +29 -4
  51. package/src/sap/m/themes/sap_horizon_hcw/ActionSelect.less +4 -3
  52. package/src/sap/m/themes/sap_horizon_hcw/ActionSheet.less +12 -12
  53. package/src/sap/m/themes/sap_horizon_hcw/Avatar.less +9 -8
  54. package/src/sap/m/themes/sap_horizon_hcw/Bar.less +12 -10
  55. package/src/sap/m/themes/sap_horizon_hcw/Carousel.less +2 -0
  56. package/src/sap/m/themes/sap_horizon_hcw/ColorPalette.less +25 -15
  57. package/src/sap/m/themes/sap_horizon_hcw/ColumnListItem.less +5 -6
  58. package/src/sap/m/themes/sap_horizon_hcw/ComboBoxBase.less +7 -7
  59. package/src/sap/m/themes/sap_horizon_hcw/Dialog.less +22 -13
  60. package/src/sap/m/themes/sap_horizon_hcw/DynamicDateRange.less +1 -1
  61. package/src/sap/m/themes/sap_horizon_hcw/GenericTile.less +6 -6
  62. package/src/sap/m/themes/sap_horizon_hcw/IconTabBar.less +95 -83
  63. package/src/sap/m/themes/sap_horizon_hcw/Link.less +12 -9
  64. package/src/sap/m/themes/sap_horizon_hcw/SlideTile.less +6 -6
  65. package/src/sap/m/themes/sap_horizon_hcw/Token.less +29 -4
  66. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  67. package/src/sap/ui/core/themes/sap_horizon/base.less +515 -7
  68. package/src/sap/ui/core/themes/sap_horizon/global.less +453 -7
  69. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  70. package/src/sap/ui/core/themes/sap_horizon_dark/base.less +517 -9
  71. package/src/sap/ui/core/themes/sap_horizon_dark/global.less +453 -6
  72. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  73. package/src/sap/ui/core/themes/sap_horizon_hcb/base.less +524 -16
  74. package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +453 -6
  75. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  76. package/src/sap/ui/core/themes/sap_horizon_hcw/base.less +521 -13
  77. package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +453 -6
  78. package/src/sap/ui/dt/themes/sap_horizon/ContextMenu.less +0 -14
  79. package/src/sap/ui/dt/themes/sap_horizon_dark/ContextMenu.less +0 -14
  80. package/src/sap/ui/dt/themes/sap_horizon_hcb/ContextMenu.less +0 -10
  81. package/src/sap/ui/dt/themes/sap_horizon_hcw/ContextMenu.less +0 -10
  82. package/src/sap/ui/integration/themes/sap_horizon/library.source.less +0 -1
  83. package/src/sap/ui/integration/themes/sap_horizon_dark/library.source.less +0 -1
  84. package/src/sap/ui/rta/themes/sap_horizon_dark/ChangeVisualization.less +0 -1
  85. package/src/sap/ui/rta/themes/sap_horizon_dark/Toolbar.adaptation.less +1 -1
  86. package/src/sap/ui/rta/themes/sap_horizon_hcb/ChangeVisualization.less +0 -1
  87. package/src/sap/ui/rta/themes/sap_horizon_hcw/ChangeVisualization.less +0 -1
  88. package/src/sap/ui/integration/themes/sap_horizon/Paginator.less +0 -5
  89. 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
  }
@@ -3,7 +3,7 @@
3
3
  /* Evening Horizon theme */
4
4
  /* ================================ */
5
5
 
6
- html.sap-desktop .sapMST:active{
6
+ .sapMST:active{
7
7
  background-color: @sapTile_Active_Background;
8
8
  .sapMSTFocusDiv{
9
9
  border: 1px solid @sapTile_Interactive_BorderColor;
@@ -17,8 +17,8 @@ html.sap-desktop .sapMST:active{
17
17
  }
18
18
 
19
19
  /* This part is used to achieve dotted white black interlace border*/
20
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv:after,
21
- html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
20
+ .sapMST:focus .sapMSTFocusDiv:after,
21
+ .sapMST:active .sapMSTFocusDiv:after {
22
22
  content: "";
23
23
  position: absolute;
24
24
  top: 0;
@@ -31,14 +31,14 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
31
31
  }
32
32
 
33
33
  /* Bulleted indicator of multiple tiles*/
34
- .sapMSTBulleted > span {
34
+ .sapMSTBulleted .sapMSTIndicator {
35
35
  border: solid 0.0625rem @sapTile_OverlayForegroundColor;
36
36
  opacity: 0.6;
37
37
  box-shadow : 0 0 0.125rem @sapContent_ShadowColor;
38
38
  margin: 0 0.094rem;
39
39
  }
40
40
 
41
- .sapMSTBulleted > span.sapMSTActive {
41
+ .sapMSTBulleted .sapMSTIndicator.sapMSTActive {
42
42
  background: @sapTile_OverlayForegroundColor;
43
43
  box-shadow: 0 0 0.063rem @sapContent_ShadowColor;
44
44
  }
@@ -74,19 +74,19 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
74
74
  text-shadow: 0px 1px @sapUiButtonEmphasizedTextShadow;
75
75
  }
76
76
 
77
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv {
77
+ .sapMST:focus .sapMSTFocusDiv {
78
78
  border-radius: @sapTile_BorderCornerRadius;
79
79
  box-shadow: none;
80
80
  inset: 0;
81
81
  }
82
82
 
83
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv:after,
84
- html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
83
+ .sapMST:focus .sapMSTFocusDiv:after,
84
+ .sapMST:active .sapMSTFocusDiv:after {
85
85
  border: none;
86
86
  border-radius: @sapElement_BorderCornerRadius;
87
87
  }
88
88
 
89
- html.sap-desktop .sapMST:hover {
89
+ .sapMST:hover {
90
90
  box-shadow: @sapContent_Shadow2 !important;
91
91
 
92
92
  .sapMGT:hover {
@@ -96,7 +96,7 @@ html.sap-desktop .sapMST:hover {
96
96
 
97
97
  }
98
98
 
99
- html.sap-desktop .sapMST:active{
99
+ .sapMST:active{
100
100
  .sapMGT{
101
101
  opacity: 0.8;
102
102
  }
@@ -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
  }
@@ -3,17 +3,18 @@
3
3
  /* Evening Horizon theme */
4
4
  /* ============================ */
5
5
 
6
- @_sap_m_Token_TokenPadding: 0.5rem;
7
- @_sap_m_Token_TokenCompactPadding: 0.25rem;
8
6
  @_sap_m_Token_LeftPadding: 0.3125rem;
9
- @_sap_m_Token_TokenSize: @sapMFontSmallSize + (2 * @_sap_m_Token_TokenPadding) - @_sap_m_Token_LeftPadding;
10
- @_sap_m_Token_TokenCompactSize: @sapMFontSmallSize + @_sap_m_Token_TokenCompactPadding;
7
+ @_sap_m_Token_IconWidth: 1.75rem;
8
+ @_sap_m_Token_CompactIconWidth: 1.5rem;
9
+ @_sap_m_Token_DeleteIconHeight: 2.25rem;
10
+ @_sap_m_Token_DeleteIconCompactHeight: 1.625rem;
11
11
 
12
12
  .sapMToken {
13
13
  padding-left: @_sap_m_Token_LeftPadding;
14
14
  border-radius: 0.375rem;
15
15
  color: @sapTextColor;
16
16
  font-size: @sapFontSize;
17
+ overflow: visible;
17
18
  }
18
19
 
19
20
  .sapMTokenSelected,
@@ -24,6 +25,13 @@
24
25
  font-family: @sapFontSemiboldDuplexFamily;
25
26
  }
26
27
 
28
+ .sapMTokenIcon::before {
29
+ display: inline-block;
30
+ width: 0.75rem;
31
+ height: 0.75rem;
32
+ line-height: 1;
33
+ }
34
+
27
35
  .sapMToken.sapMTokenSelected::before {
28
36
  content: '';
29
37
  position: absolute;
@@ -57,7 +65,7 @@ html.sap-desktop .sapMToken.sapMTokenSelected:not(.sapMTokenReadOnly):hover {
57
65
  }
58
66
 
59
67
  html.sap-desktop .sapMToken:focus {
60
- outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiFieldActiveBorderColor;
68
+ outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
61
69
  border-radius: 0.5rem;
62
70
  outline-offset: 0.0625rem;
63
71
  }
@@ -83,7 +91,19 @@ html.sap-desktop .sapUiSizeCondensed .sapMToken:focus {
83
91
  }
84
92
  }
85
93
 
86
- .sapUiSizeCompact .sapMToken .sapMTokenIcon {
87
- line-height: 1.25rem;
88
- padding: 0 0.375rem;
94
+ .sapMTokenIcon {
95
+ box-sizing: border-box;
96
+ top: ~"calc((@{_sap_m_Token_TokenHeight} / 2) - (@{_sap_m_Token_DeleteIconHeight} / 2) - @{sapUiButtonBorderWidth})";
97
+ width: @_sap_m_Token_IconWidth;
98
+ height: @_sap_m_Token_DeleteIconHeight;
99
+ display: inline-flex;
100
+ justify-content: center;
101
+ align-items: center;
102
+ right: -@sapUiButtonBorderWidth;
103
+ }
104
+
105
+ .sapUiSizeCompact .sapMTokenIcon {
106
+ top: ~"calc((@{_sap_m_Token_TokenCompactHeight} / 2) - (@{_sap_m_Token_DeleteIconCompactHeight} / 2) - @{sapUiButtonBorderWidth})";
107
+ width: @_sap_m_Token_CompactIconWidth;
108
+ height: @_sap_m_Token_DeleteIconCompactHeight;
89
109
  }
@@ -8,6 +8,7 @@
8
8
  /* ----------------------------- */
9
9
 
10
10
  html.sap-desktop .sapMActionSelectPicker .sapMBtn {
11
+
11
12
  .sapMBtnInner {
12
13
  border-top: 1px solid @sapUiButtonActionSelectBorderColor;
13
14
  border-bottom: 0;
@@ -34,7 +35,7 @@ html.sap-phone .sapMActionSelectPicker .sapUiSimpleFixFlexFlexContent .sapMBtn .
34
35
 
35
36
  .sapMActionSelectPicker .sapMBtnDefault {
36
37
  background: @sapUiButtonActionSelectBackground;
37
- border-color: @sapUiListBorderColor;
38
+ border-color: var(--sapList_BorderColor);
38
39
 
39
40
  /* override the default text-shadow */
40
41
  text-shadow: none;
@@ -42,7 +43,7 @@ html.sap-phone .sapMActionSelectPicker .sapUiSimpleFixFlexFlexContent .sapMBtn .
42
43
 
43
44
  .sapMActionSelectPicker .sapMBtn,
44
45
  .sapMActionSelectPicker .sapMBtn:hover > .sapMBtnHoverable:not(.sapMBtnActive) {
45
- border-color: @sapUiListBorderColor;
46
+ border-color: var(--sapList_BorderColor);
46
47
  }
47
48
 
48
49
  html.sap-desktop .sapMActionSelectPicker .sapMBtn:not(.sapMBtnDisabled) .sapMBtnDefault:not(.sapMBtnActive):hover {
@@ -67,7 +68,7 @@ html.sap-desktop .sapUiSizeCompact.sapMActionSelectPicker .sapMBtnInner {
67
68
  height: 2rem;
68
69
  border-radius: 0;
69
70
  border: 0;
70
- border-top: 1px solid @sapUiListBorderColor;
71
+ border-top: 1px solid var(--sapList_BorderColor);
71
72
 
72
73
  .sapMBtnContent {
73
74
  line-height: 2rem;
@@ -4,26 +4,26 @@
4
4
  /* ================================== */
5
5
 
6
6
  .sapMActionSheetPopover.sapMPopover {
7
- box-shadow: @sapUiContentShadow2;
7
+ box-shadow: var(--sapContent_Shadow2);
8
8
  }
9
9
 
10
10
  .sapMActionSheetDialog .sapMBar.sapMHeader-CTX > .sapMBarMiddle > .sapMBarPH > .sapMDialogTitle {
11
- color: @sapUiPageHeaderTextColor;
12
- font-size: @sapMFontHeader5Size;
13
- font-family: @sapFontHeaderFamily;
11
+ color: var(--sapPageHeader_TextColor);
12
+ font-size: var(--sapFontHeader5Size);
13
+ font-family: var(--sapFontHeaderFamily);
14
14
  }
15
15
 
16
16
  .sapMDialog.sapMActionSheetDialog {
17
- background-color: @sapUiPageHeaderBackground;
18
- border-top-left-radius: @sapUiElementBorderCornerRadius;
19
- border-top-right-radius: @sapUiElementBorderCornerRadius;
20
- box-shadow: @sapUiContentShadow3;
17
+ background-color: var(--sapPageHeader_Background);
18
+ border-top-left-radius: var(--sapElement_BorderCornerRadius);
19
+ border-top-right-radius: var(--sapElement_BorderCornerRadius);
20
+ box-shadow: var(--sapContent_Shadow3);
21
21
 
22
22
  &.sapMDialogPhone .sapMIBar.sapMHeader-CTX {
23
- box-shadow: @sapUiContentHeaderShadow;
24
- background-color: @sapUiPageHeaderBackground;
25
- border-top-left-radius: @sapUiElementBorderCornerRadius;
26
- border-top-right-radius: @sapUiElementBorderCornerRadius;
23
+ box-shadow: var(--sapContent_HeaderShadow);
24
+ background-color: var(--sapPageHeader_Background);
25
+ border-top-left-radius: var(--sapElement_BorderCornerRadius);
26
+ border-top-right-radius: var(--sapElement_BorderCornerRadius);
27
27
  }
28
28
 
29
29
  &.sapUiPopupWithPadding:not(.sapUiNoContentPadding) .sapMDialogScrollCont {
@@ -13,14 +13,14 @@
13
13
  .sapFAvatarImageContain,
14
14
  .sapFAvatarIcon,
15
15
  .sapFAvatarInitials {
16
- border: 0.0625rem solid @sapUiFieldBorderColor;
16
+ border: 0.0625rem solid var(--sapField_BorderColor);
17
17
  }
18
18
 
19
19
  .sapFAvatarSquare {
20
- border-radius: @sapUiElementBorderCornerRadius;
20
+ border-radius: var(--sapElement_BorderCornerRadius);
21
21
 
22
22
  .sapFAvatarImageHolder {
23
- border-radius: @sapUiElementBorderCornerRadius;
23
+ border-radius: var(--sapElement_BorderCornerRadius);
24
24
  }
25
25
  }
26
26
 
@@ -29,7 +29,7 @@
29
29
  }
30
30
 
31
31
  .sapFAvatar:not(.sapMAvatarPressed):not(.sapMAvatarDisabled):hover {
32
- background-color: @sapActiveColor;
32
+ background-color: var(--sapActiveColor);
33
33
  }
34
34
 
35
35
  .sapFAvatarFocusable:focus {
@@ -37,8 +37,8 @@
37
37
  }
38
38
 
39
39
  .sapFAvatarColorTileIcon {
40
- background-color: @sapUiTileBackground;
41
- color: @sapUiTileIconColor;
40
+ background-color: var(--sapTile_Background);
41
+ color: var(--sapTile_IconColor);
42
42
 
43
43
  .sapFAvatarInitialsHolder {
44
44
  color: currentColor;
@@ -46,8 +46,9 @@
46
46
  }
47
47
 
48
48
  .sapFAvatarColorPlaceholder {
49
- background-color: @sapUiContentImagePlaceholderBackground;
50
- color: @sapUiContentImagePlaceholderForegroundColor;;
49
+ background-color: var(--sapContent_ImagePlaceholderBackground);
50
+ color: var(--sapContent_ImagePlaceholderForegroundColor);
51
+
51
52
  .sapFAvatarInitialsHolder {
52
53
  color: currentColor;
53
54
  }
@@ -7,7 +7,7 @@
7
7
  text-shadow: none;
8
8
  }
9
9
 
10
- .sapMBarLeft{
10
+ .sapMBarLeft {
11
11
  padding-left: 1rem;
12
12
  padding-right: 0.25rem;
13
13
  }
@@ -24,25 +24,25 @@
24
24
 
25
25
  .sapMBar .sapMBarRight.sapMBarContainer > *:first-child,
26
26
  .sapMBar .sapMBarLeft.sapMBarContainer > *:first-child,
27
- .sapMBar .sapMBarMiddle .sapMBarContainer > *:first-child{
27
+ .sapMBar .sapMBarMiddle .sapMBarContainer > *:first-child {
28
28
  margin: 0 0.25rem 0 0;
29
29
  }
30
30
 
31
31
  .sapMBar .sapMBarRight.sapMBarContainer > *:last-child,
32
32
  .sapMBar .sapMBarLeft.sapMBarContainer > *:last-child,
33
- .sapMBar .sapMBarMiddle .sapMBarContainer > *:last-child{
33
+ .sapMBar .sapMBarMiddle .sapMBarContainer > *:last-child {
34
34
  margin: 0 0 0 0.25rem;
35
35
  }
36
36
 
37
37
  .sapMBar .sapMBarRight.sapMBarContainer > *:not(:first-child):not(:last-child),
38
38
  .sapMBar .sapMBarLeft.sapMBarContainer > *:not(:first-child):not(:last-child),
39
- .sapMBar .sapMBarMiddle .sapMBarContainer > *:not(:first-child):not(:last-child){
39
+ .sapMBar .sapMBarMiddle .sapMBarContainer > *:not(:first-child):not(:last-child) {
40
40
  margin: 0 0.5rem;
41
41
  }
42
42
 
43
43
  .sapMBar .sapMBarRight.sapMBarContainer > *:first-child:last-child,
44
44
  .sapMBar .sapMBarLeft.sapMBarContainer > *:first-child:last-child,
45
- .sapMBar .sapMBarMiddle .sapMBarContainer > *:first-child:last-child{
45
+ .sapMBar .sapMBarMiddle .sapMBarContainer > *:first-child:last-child {
46
46
  margin: 0;
47
47
  }
48
48
 
@@ -51,7 +51,9 @@
51
51
  line-height: 2.75rem;
52
52
  }
53
53
 
54
- .sapMBarLeft, .sapMBarRight, .sapMBarPH {
54
+ .sapMBarLeft,
55
+ .sapMBarRight,
56
+ .sapMBarPH {
55
57
  height: 2.75rem;
56
58
  line-height: 2.75rem;
57
59
  }
@@ -59,17 +61,17 @@
59
61
  /* in Master page the bar should have different color */
60
62
  .sapMSplitContainerMaster .sapMIBar .sapMHeader-CTX,
61
63
  .sapMSplitContainerMaster .sapMIBar.sapMSubHeader-CTX {
62
- background-color: @sapUiGroupContentBackground;
64
+ background-color: var(--sapGroup_ContentBackground);
63
65
  }
64
66
 
65
67
  /* in Master page the bar should have a different color shadow only if we don't have subHeader (e.g. another bar) */
66
68
  .sapMSplitContainerMaster .sapMIBar .sapMHeader-CTX:only-of-type {
67
- box-shadow: inset 0 -0.0625rem @sapUiGroupContentBorderColor;
69
+ box-shadow: inset 0 -0.0625rem var(--sapGroup_ContentBorderColor);
68
70
  }
69
71
 
70
72
  /* in Master page the bar should have a different color shadow */
71
73
  .sapMSplitContainerMaster .sapMIBar.sapMSubHeader-CTX {
72
- box-shadow: inset 0 -0.0625rem @sapUiGroupContentBorderColor;
74
+ box-shadow: inset 0 -0.0625rem var(--sapGroup_ContentBorderColor);
73
75
  }
74
76
 
75
77
  /* Bar Title Alignment */
@@ -82,5 +84,5 @@ html[data-sap-ui-browser^="ff"].sap-desktop .sapMBarTitleAlignAuto .sapMBarPH {
82
84
  }
83
85
 
84
86
  .sapMIBar-CTX.sapMFooter-CTX {
85
- border-top: 0.0625rem solid @sapUiPageFooterBorderColor;
87
+ border-top: 0.0625rem solid var(--sapPageFooter_BorderColor);
86
88
  }
@@ -9,6 +9,8 @@
9
9
 
10
10
  @_sap_m_Carousel_BackgroundColor: var(--sapBackgroundColor);
11
11
  @_sap_m_Carousel_MinWidth: 15.5rem;
12
+ @_sap_m_Carousel_PageIndicatorBarHeight: 2.75rem;
13
+ @_sap_m_Carousel_BottomArrowsOffset: calc(~'2.75rem + 1px');
12
14
  @_sap_m_Carousel_ControlsNoArrowsHeight: 2.75rem;
13
15
  @_sap_m_Carousel_NumericIndicatorTextColor: var(--sapPageFooter_TextColor);
14
16
  @_sap_m_Carousel_PrevAndNextSize: 2.125rem;
@@ -17,61 +17,71 @@ html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare {
17
17
  }
18
18
 
19
19
  html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare {
20
- &:focus:before {
21
- content: "";
20
+
21
+ &:focus::before {
22
+ content: '';
22
23
  box-sizing: border-box;
23
24
  position: absolute;
24
25
  left: 0.125rem;
25
26
  top: 0.125rem;
26
27
  right: 0.125rem;
27
28
  bottom: 0.125rem;
28
- border: 0.125rem solid @sapUiButtonLiteBackground;
29
+ border: 0.125rem solid var(--sapButton_Lite_Background);
29
30
  pointer-events: none;
30
31
  }
32
+
31
33
  &:hover,
32
34
  &.sapMColorPaletteSquareSelected {
33
35
  border: 0;
36
+
34
37
  > div {
35
- border: 0.125rem solid @sapUiContentForegroundBorderColor;
38
+ border: 0.125rem solid var(--sapContent_ForegroundBorderColor);
36
39
  }
37
40
  }
38
- &:focus:after {
39
- content: "";
41
+
42
+ &:focus::after {
43
+ content: '';
40
44
  position: absolute;
41
45
  box-sizing: border-box;
42
46
  left: 0.125rem;
43
47
  top: 0.125rem;
44
48
  right: 0.125rem;
45
49
  bottom: 0.125rem;
46
- border: 0.125rem dotted @sapUiContentContrastFocusColor;
50
+ border: 0.125rem dotted var(--sapContent_ContrastFocusColor);
47
51
  pointer-events: none;
48
52
  }
49
53
  }
54
+
50
55
  .sap-desktop .sapMColorPalette .sapMBtn:focus {
51
- &:after {
56
+
57
+ &::after {
52
58
  border-width: 0.125rem;
53
- border-color: @sapUiContentFocusColor;
59
+ border-color: var(--sapContent_FocusColor);
54
60
  }
55
61
  }
56
- html:not(.sap-phone) .sapMColorPalette
57
- .sap-desktop .sapContrast,
62
+
63
+ html:not(.sap-phone) .sapMColorPalette .sap-desktop .sapContrast,
58
64
  .sap-desktop.sapContrast {
65
+
59
66
  .sapMColorPalette .sapMBtn {
60
- &:focus:after {
61
- border-color: @sapUiContentFocusColor;
67
+
68
+ &:focus::after {
69
+ border-color: var(--sapContent_FocusColor);
62
70
 
63
71
  }
72
+
64
73
  &:active,
65
74
  > .sapMBtnActive,
66
75
  &:hover > .sapMBtnActive,
67
76
  &:active > .sapMBtnActive {
68
- color: @sapUiListTextColor;
77
+ color: var(--sapList_TextColor);
69
78
  }
70
79
  }
71
80
  }
72
81
 
73
82
  .sap-phone .sapMColorPaletteSquare {
83
+
74
84
  &:active > div {
75
- box-shadow: inset 0 0 0 0.125rem @sapUiContentForegroundBorderColor;
85
+ box-shadow: inset 0 0 0 0.125rem var(--sapContent_ForegroundBorderColor);
76
86
  }
77
87
  }
@@ -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
  }
@@ -4,26 +4,26 @@
4
4
  /* =================================== */
5
5
 
6
6
  .sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon {
7
- color: @sapUiContentIconColor;
7
+ color: var(--sapContent_IconColor);
8
8
  background: transparent;
9
9
  border-left-color: transparent;
10
10
 
11
11
  &:hover {
12
- background: @sapUiButtonLiteHoverBackground;
13
- border-left-color: @sapUiButtonSelectedBorderColor;
12
+ background: var(--sapButton_Lite_Hover_Background);
13
+ border-left-color: var(--sapButton_Selected_BorderColor);
14
14
  }
15
15
 
16
16
  &:active {
17
- background-color: @sapUiButtonLiteActiveBackground;
18
- color: @sapUiButtonActiveTextColor;
19
- border-left-color: @sapUiButtonSelectedBorderColor;
17
+ background-color: var(--sapButton_Lite_Active_Background);
18
+ color: var(--sapButton_Active_TextColor);
19
+ border-left-color: var(--sapButton_Selected_BorderColor);
20
20
 
21
21
  &::before {
22
- color: @sapUiButtonActiveTextColor;
22
+ color: var(--sapButton_Active_TextColor);
23
23
  }
24
24
  }
25
25
  }
26
26
 
27
27
  .sapMInputBaseIconPressed .sapMComboBoxBaseClearIcon::before {
28
- color: @sapUiContentIconColor;
28
+ color: var(--sapContent_IconColor);
29
29
  }
@@ -3,15 +3,15 @@
3
3
  /* Horizon High Contrast Black theme */
4
4
  /* ================================== */
5
5
 
6
- // ==========================================================================
7
- // Variables
8
- // ==========================================================================
6
+ /* ========================================================================== */
7
+ /* Variables */
8
+ /* ========================================================================== */
9
9
 
10
10
  @_sap_m_Dialog_VerticalMargin: 3%;
11
11
  @_sap_m_Dialog_BarHeight: 2.75rem;
12
12
  @_sap_m_Dialog_SubHeaderCompactHeight: 2.25rem;
13
13
 
14
- @_sap_m_Dialog_NoStateHeaderShadow: @sapUiContentHeaderShadow;
14
+ @_sap_m_Dialog_NoStateHeaderShadow: var(--sapContent_HeaderShadow);
15
15
 
16
16
  .sapMDialogSubHeader .sapMIBar {
17
17
  height: 100%;
@@ -28,21 +28,23 @@
28
28
  }
29
29
 
30
30
  .sapMDialogTitleGroup {
31
- z-index: 3; // to hide the shadow from the header when there is sub-header
31
+ z-index: 3; /* to hide the shadow from the header when there is sub-header */
32
32
  }
33
33
 
34
- // buttons on phone must be to the right side (in LTR mode)
34
+ /* buttons on phone must be to the right side (in LTR mode) */
35
35
  html.sap-phone .sapMDialog {
36
+
36
37
  & > footer .sapMFooter-CTX {
37
38
  justify-content: flex-end;
38
39
  }
39
40
  }
40
41
 
41
- // ==========================================================================
42
- // header, sub-header, footer
43
- // ==========================================================================
42
+ /* ========================================================================== */
43
+ /* header, sub-header, footer */
44
+ /* ========================================================================== */
44
45
 
45
46
  .sapMDialog {
47
+
46
48
  header .sapMBarLeft,
47
49
  header .sapMBarPH {
48
50
  padding-left: 1rem;
@@ -59,11 +61,17 @@ html.sap-phone .sapMDialog {
59
61
  }
60
62
  }
61
63
 
62
- // Responsive paddings
63
- .sapMDialogTitleGroup, .sapMDialogSubHeader {
64
- .sapUi-Std-PaddingS, .sapUi-Std-PaddingM,
65
- .sapUi-Std-PaddingL, .sapUi-Std-PaddingXL {
64
+ /* Responsive paddings */
65
+ .sapMDialogTitleGroup,
66
+ .sapMDialogSubHeader {
67
+
68
+ .sapUi-Std-PaddingS,
69
+ .sapUi-Std-PaddingM,
70
+ .sapUi-Std-PaddingL,
71
+ .sapUi-Std-PaddingXL {
72
+
66
73
  &.sapMIBar {
74
+
67
75
  .sapMBarMiddle .sapMBarPH {
68
76
  padding-left: 0;
69
77
  padding-right: 0;
@@ -89,6 +97,7 @@ html.sap-phone .sapMDialog {
89
97
  }
90
98
 
91
99
  .sapMDialog:not(.sapUiResponsiveContentPadding):not(.sapUiContentPadding) {
100
+
92
101
  &.sapMDialog-NoHeader .sapMDialogScroll {
93
102
  padding-top: 0.25rem;
94
103
 
@@ -4,7 +4,7 @@
4
4
  /* ======================================= */
5
5
 
6
6
  .sapUiIcon.sapMDDRDateOption {
7
- color: @sapUiButtonActiveTextColor;
7
+ color: var(--sapButton_Active_TextColor);
8
8
  }
9
9
 
10
10
  .sapMDynamicDateRangePopover section > .sapMLabel {