@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
  }
@@ -56,7 +56,6 @@ html.sap-desktop .sapMRI:focus:not(.sapMRIDisabled):not(.sapMRIDisplayOnly){
56
56
  .sapMRIDisplayOnly .sapMRIUnsel .sapMRIunratedIcon,
57
57
  .sapMRIDisabled .sapMRIUnsel .sapMRIunratedIcon {
58
58
  font-size: 75% !important;
59
- vertical-align: baseline;
60
59
  }
61
60
 
62
61
  .sapUiSizeCompact {
@@ -67,7 +66,6 @@ html.sap-desktop .sapMRI:focus:not(.sapMRIDisabled):not(.sapMRIDisplayOnly){
67
66
  &.sapMRIDisabled .sapMRIUnsel .sapMRIunratedIcon,
68
67
  &.sapMRIDisabled .sapMRIIconSel .sapMRIunratedIcon {
69
68
  font-size: 75% !important;
70
- vertical-align: baseline;
71
69
  }
72
70
 
73
71
  & .sapMRISel,
@@ -3,7 +3,7 @@
3
3
  /* 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;
@@ -19,8 +19,8 @@ html.sap-desktop .sapMST:active{
19
19
  }
20
20
 
21
21
  /* This part is used to achieve dotted white black interlace border*/
22
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv:after,
23
- html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
22
+ .sapMST:focus .sapMSTFocusDiv:after,
23
+ .sapMST:active .sapMSTFocusDiv:after {
24
24
  content: "";
25
25
  position: absolute;
26
26
  top: 0;
@@ -33,14 +33,14 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
33
33
  }
34
34
 
35
35
  /* Bulleted indicator of multiple tiles*/
36
- .sapMSTBulleted > span {
36
+ .sapMSTBulleted .sapMSTIndicator {
37
37
  border: solid 0.0625rem @sapTile_OverlayForegroundColor;
38
38
  opacity: 0.6;
39
39
  box-shadow : 0 0 0.125rem @sapContent_ShadowColor;
40
40
  margin: 0 0.094rem;
41
41
  }
42
42
 
43
- .sapMSTBulleted > span.sapMSTActive {
43
+ .sapMSTBulleted .sapMSTIndicator.sapMSTActive {
44
44
  background: @sapTile_OverlayForegroundColor;
45
45
  box-shadow: 0 0 0.063rem @sapContent_ShadowColor;
46
46
  }
@@ -72,19 +72,19 @@ html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
72
72
  text-shadow: 0px 1px @sapUiButtonEmphasizedTextShadow;
73
73
  }
74
74
 
75
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv {
75
+ .sapMST:focus .sapMSTFocusDiv {
76
76
  border-radius: @sapTile_BorderCornerRadius;
77
77
  box-shadow: none;
78
78
  inset: 0;
79
79
  }
80
80
 
81
- html.sap-desktop .sapMST:focus .sapMSTFocusDiv:after,
82
- html.sap-desktop .sapMST:active .sapMSTFocusDiv:after {
81
+ .sapMST:focus .sapMSTFocusDiv:after,
82
+ .sapMST:active .sapMSTFocusDiv:after {
83
83
  border: none;
84
84
  border-radius: @sapElement_BorderCornerRadius;
85
85
  }
86
86
 
87
- html.sap-desktop .sapMST:hover {
87
+ .sapMST:hover {
88
88
  box-shadow: @sapContent_Shadow2 !important;
89
89
 
90
90
  .sapMGT:hover {
@@ -94,7 +94,7 @@ html.sap-desktop .sapMST:hover {
94
94
 
95
95
  }
96
96
 
97
- html.sap-desktop .sapMST:active{
97
+ .sapMST:active{
98
98
  .sapMGT{
99
99
  opacity: 0.8;
100
100
  }
@@ -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
  /* 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;
@@ -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,8 +8,9 @@
8
8
  /* ----------------------------- */
9
9
 
10
10
  html.sap-desktop .sapMActionSelectPicker .sapMBtn {
11
+
11
12
  .sapMBtnInner {
12
- border-top: 1px solid @sapUiListBorderColor;
13
+ border-top: 1px solid var(--sapList_BorderColor);
13
14
  border-bottom: 0;
14
15
  border-left: 0;
15
16
  border-right: 0;
@@ -30,19 +31,19 @@ html.sap-phone .sapMActionSelectPicker .sapMBtn .sapMBtnInner {
30
31
  }
31
32
 
32
33
  html.sap-phone .sapMActionSelectPicker .sapUiSimpleFixFlexFlexContent > .sapMBtn {
33
- border: 1px solid @sapUiListBorderColor;
34
+ border: 1px solid var(--sapList_BorderColor);
34
35
  border-bottom: none;
35
36
  }
36
37
 
37
38
  html.sap-phone .sapMActionSelectPicker .sapUiSimpleFixFlexFlexContent > .sapMBtn ~ .sapMBtn {
38
- border: 1px solid @sapUiListBorderColor;
39
+ border: 1px solid var(--sapList_BorderColor);
39
40
  }
40
41
 
41
42
  /* override standard buttons inside the action select */
42
43
 
43
44
  .sapMActionSelectPicker .sapMBtnDefault {
44
- background: @sapUiListBackground;
45
- border-color: @sapUiListBorderColor;
45
+ background: var(--sapList_Background);
46
+ border-color: var(--sapList_BorderColor);
46
47
 
47
48
  /* override the default text-shadow */
48
49
  text-shadow: none;
@@ -50,11 +51,11 @@ html.sap-phone .sapMActionSelectPicker .sapUiSimpleFixFlexFlexContent > .sapMBtn
50
51
 
51
52
  .sapMActionSelectPicker .sapMBtn,
52
53
  .sapMActionSelectPicker .sapMBtn:hover > .sapMBtnHoverable:not(.sapMBtnActive) {
53
- border-color: @sapUiListBorderColor;
54
+ border-color: var(--sapList_BorderColor);
54
55
  }
55
56
 
56
57
  html.sap-desktop .sapMActionSelectPicker .sapMBtn:not(.sapMBtnDisabled) .sapMBtnDefault:not(.sapMBtnActive):hover {
57
- background: @sapUiListHoverBackground;
58
+ background: var(--sapList_Hover_Background);
58
59
  }
59
60
 
60
61
  /* ================================================================================ */
@@ -75,18 +76,18 @@ html.sap-desktop .sapUiSizeCompact.sapMActionSelectPicker .sapMBtnInner {
75
76
  height: 2rem;
76
77
  border-radius: 0;
77
78
  border: 0;
78
- border-top: 1px solid @sapUiListBorderColor;
79
+ border-top: 1px solid var(--sapList_BorderColor);
79
80
 
80
81
  .sapMBtnContent {
81
82
  line-height: 2rem;
82
83
  }
83
84
  }
84
85
 
85
- .sapMActionSelectPicker.sapMSltPicker-CTX .sapMSelectListItemBaseSelected.sapMActionSelectItemWithoutFocus:after {
86
+ .sapMActionSelectPicker.sapMSltPicker-CTX .sapMSelectListItemBaseSelected.sapMActionSelectItemWithoutFocus::after {
86
87
  border: none;
87
88
  }
88
89
 
89
- html.sap-desktop .sapMActionSelectPicker .sapMBtn:not(.sapMBtnDisabled):focus > .sapMBtnInner:before {
90
+ html.sap-desktop .sapMActionSelectPicker .sapMBtn:not(.sapMBtnDisabled):focus > .sapMBtnInner::before {
90
91
  border-radius: 0;
91
92
  left: 0.125rem;
92
93
  top: 0.125rem;
@@ -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;
11
+ color: var(--sapPageHeader_TextColor);
12
+ font-size: var(--sapFontHeader5Size);
13
13
  font-weight: bold;
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 {
@@ -10,10 +10,10 @@
10
10
  @_sap_m_Avatar_Font_Size_XS: 1rem;
11
11
 
12
12
  .sapFAvatarSquare {
13
- border-radius: @sapUiElementBorderCornerRadius;
13
+ border-radius: var(--sapElement_BorderCornerRadius);
14
14
 
15
15
  .sapFAvatarImageHolder {
16
- border-radius: @sapUiElementBorderCornerRadius;
16
+ border-radius: var(--sapElement_BorderCornerRadius);
17
17
  }
18
18
  }
19
19
 
@@ -22,23 +22,24 @@
22
22
  }
23
23
 
24
24
  .sapFAvatarFocusable.sapMAvatarPressed {
25
- box-shadow: 0px 0px 0px 0.125rem @sapUiContentFocusColor;
25
+ box-shadow: 0 0 0 0.125rem var(--sapContent_FocusColor);
26
26
 
27
27
  &:hover {
28
- box-shadow: 0px 0px 0px 0.125rem @sapUiButtonSelectedHoverBorderColor;
28
+ box-shadow: 0 0 0 0.125rem var(--sapButton_Selected_Hover_BorderColor);
29
29
  }
30
30
  }
31
31
 
32
32
  .sapFAvatarFocusable:focus {
33
- outline-offset: .125rem;
33
+ outline-offset: 0.125rem;
34
+
34
35
  &.sapFAvatarSquare {
35
- outline-offset: .125rem;
36
+ outline-offset: 0.125rem;
36
37
  }
37
38
  }
38
39
 
39
40
  .sapFAvatarColorTileIcon {
40
- background-color: @sapUiTileBackground;
41
- color: @sapUiTileIconColor;
41
+ background-color: var(--sapTile_Background);
42
+ color: var(--sapTile_IconColor);
42
43
 
43
44
  .sapFAvatarInitialsHolder {
44
45
  color: currentColor;
@@ -46,8 +47,9 @@
46
47
  }
47
48
 
48
49
  .sapFAvatarColorPlaceholder {
49
- background-color: @sapUiContentImagePlaceholderBackground;
50
- color: @sapUiContentImagePlaceholderForegroundColor;;
50
+ background-color: var(--sapContent_ImagePlaceholderBackground);
51
+ color: var(--sapContent_ImagePlaceholderForegroundColor);
52
+
51
53
  .sapFAvatarInitialsHolder {
52
54
  color: currentColor;
53
55
  }
@@ -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
  }
@@ -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;
@@ -8,68 +8,79 @@
8
8
 
9
9
  html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare {
10
10
  border-radius: 0.25rem;
11
+
11
12
  &:hover,
12
13
  &.sapMColorPaletteSquareSelected {
13
14
  border-radius: 0.4375rem;
14
15
  margin: 0.0625rem;
15
16
  width: 2.25rem;
16
17
  height: 2.25rem;
18
+
17
19
  & > div {
18
20
  border-radius: 0.375rem;
19
21
  }
20
22
  }
23
+
21
24
  div {
22
25
  border-radius: 0.1875rem;
23
26
  }
24
27
  }
25
28
 
26
29
  .sap-desktop .sapMColorPalette .sapMBtn:focus {
27
- &:after {
28
- border-color: @sapUiContentFocusColor;
30
+
31
+ &::after {
32
+ border-color: var(--sapContent_FocusColor);
29
33
  }
30
34
  }
31
35
 
32
36
  .sap-desktop .sapContrast,
33
37
  .sap-desktop.sapContrast {
34
38
  .sapMColorPalette .sapMBtn {
35
- &:focus:after {
36
- border-color: @sapUiContentFocusColor;
39
+
40
+ &:focus::after {
41
+ border-color: var(--sapContent_FocusColor);
37
42
 
38
43
  }
44
+
39
45
  &:active,
40
46
  > .sapMBtnActive,
41
47
  &:hover > .sapMBtnActive,
42
48
  &:active > .sapMBtnActive {
43
- color: @sapUiListTextColor;
49
+ color: var(--sapList_TextColor);
44
50
  }
45
51
  }
46
52
  }
47
53
 
48
54
  html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare:focus {
49
- &:after {
55
+
56
+ &::after {
50
57
  display: none;
51
58
  }
52
- &:before {
53
- border: 0.125rem solid @sapUiContentFocusColor;
59
+
60
+ &::before {
61
+ border: 0.125rem solid var(--sapContent_FocusColor);
54
62
  border-radius: 0.4375rem;
55
63
  top: -0.3125rem;
56
64
  left: -0.3125rem;
57
65
  bottom: -0.3125rem;
58
66
  right: -0.3125rem;
59
67
  }
68
+
60
69
  &:hover,
61
70
  &.sapMColorPaletteSquareSelected {
62
- &:after {
71
+
72
+ &::after {
63
73
  display: block;
64
- border: 0.0625rem solid @sapUiContentContrastFocusColor;
74
+ border: 0.0625rem solid var(--sapContent_ContrastFocusColor);
65
75
  border-radius: 0.3125rem;
66
76
  top: 0.0625rem;
67
77
  left: 0.0625rem;
68
78
  bottom: 0.0625rem;
69
79
  right: 0.0625rem;
70
80
  }
71
- &:before {
72
- border: 0.125rem solid @sapUiContentFocusColor;
81
+
82
+ &::before {
83
+ border: 0.125rem solid var(--sapContent_FocusColor);
73
84
  border-radius: 0.4375rem;
74
85
  top: -0.0625rem;
75
86
  left: -0.0625rem;
@@ -81,38 +92,50 @@ html:not(.sap-phone) .sapMColorPalette .sapMColorPaletteSquare:focus {
81
92
 
82
93
  html:not(.sap-phone) .sapMColorPalette,
83
94
  .sapMColorPalette {
95
+
84
96
  .sapMBtn {
97
+
85
98
  &:focus {
99
+
86
100
  .sap-desktop & {
87
- &:after {
101
+
102
+ &::after {
88
103
  border-radius: 0.5rem;
89
- border: 0.125rem solid @sapUiContentFocusColor;
104
+ border: 0.125rem solid var(--sapContent_FocusColor);
90
105
  }
91
106
  }
92
107
  }
108
+
93
109
  .sapMBtnInner {
94
110
  height: 2.75rem;
111
+
95
112
  .sapMBtnContent {
96
113
  line-height: 2.75rem;
97
114
  }
115
+
98
116
  &.sapMBtnText {
99
117
  padding: 0;
100
118
  }
101
119
  }
102
120
  }
121
+
103
122
  .sapMBtnInner {
104
123
  border-radius: 0;
105
124
  }
106
125
  }
107
126
 
108
127
  html:not(.sap-phone) .sapUiSizeCompact .sapMColorPalette {
128
+
109
129
  .sapMBtn .sapMBtnInner {
110
130
  height: 2rem;
131
+
111
132
  .sapMBtnContent {
112
133
  line-height: 2rem;
113
134
  }
114
135
  }
136
+
115
137
  .sapMColorPaletteSquare {
138
+
116
139
  &:hover,
117
140
  &.sapMColorPaletteSquareSelected {
118
141
  margin: 0.0625rem;
@@ -120,7 +143,8 @@ html:not(.sap-phone) .sapUiSizeCompact .sapMColorPalette {
120
143
  height: 1.625rem;
121
144
  }
122
145
  }
123
- .sapMColorPaletteSquare:focus:not(:hover):not(.sapMColorPaletteSquareSelected):before {
146
+
147
+ .sapMColorPaletteSquare:focus:not(:hover):not(.sapMColorPaletteSquareSelected)::before {
124
148
  top: -0.25rem;
125
149
  left: -0.25rem;
126
150
  bottom: -0.25rem;
@@ -128,13 +152,15 @@ html:not(.sap-phone) .sapUiSizeCompact .sapMColorPalette {
128
152
  }
129
153
  }
130
154
 
131
- html.sap-desktop .sapMColorPalette .sapMBtn:focus > .sapMFocusable:before {
155
+ html.sap-desktop .sapMColorPalette .sapMBtn:focus > .sapMFocusable::before {
132
156
  display: none;
133
157
  }
134
158
 
135
159
  .sap-phone .sapMColorPalette .sapMColorPaletteSquare {
160
+
136
161
  & > div {
137
162
  border-radius: 0.25rem;
163
+
138
164
  &:active {
139
165
  border-radius: 0.4375rem;
140
166
  }
@@ -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
  }