@openui5/themelib_sap_horizon 1.130.1 → 1.131.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 (136) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +18 -18
  3. package/src/sap/f/themes/sap_horizon/Card.less +0 -4
  4. package/src/sap/f/themes/sap_horizon/DynamicPageTitle.less +0 -7
  5. package/src/sap/f/themes/sap_horizon_dark/DynamicPageTitle.less +0 -7
  6. package/src/sap/m/themes/sap_horizon/Carousel.less +0 -1
  7. package/src/sap/m/themes/sap_horizon/CheckBox.less +54 -46
  8. package/src/sap/m/themes/sap_horizon/CustomTile.less +1 -1
  9. package/src/sap/m/themes/sap_horizon/FeedInput.less +2 -2
  10. package/src/sap/m/themes/sap_horizon/GenericTag.less +37 -37
  11. package/src/sap/m/themes/sap_horizon/GenericTile.less +201 -130
  12. package/src/sap/m/themes/sap_horizon/HeaderContainer.less +3 -3
  13. package/src/sap/m/themes/sap_horizon/IconTabBar.less +1 -1
  14. package/src/sap/m/themes/sap_horizon/InputBase.less +25 -23
  15. package/src/sap/m/themes/sap_horizon/Label.less +2 -2
  16. package/src/sap/m/themes/sap_horizon/LightBox.less +2 -3
  17. package/src/sap/m/themes/sap_horizon/ListBase.less +7 -7
  18. package/src/sap/m/themes/sap_horizon/ListItemBase.less +1 -1
  19. package/src/sap/m/themes/sap_horizon/MenuButton.less +21 -14
  20. package/src/sap/m/themes/sap_horizon/MessageBox.less +8 -8
  21. package/src/sap/m/themes/sap_horizon/NotificationListGroup.less +1 -1
  22. package/src/sap/m/themes/sap_horizon/ObjectAttribute.less +3 -3
  23. package/src/sap/m/themes/sap_horizon/ObjectListItem.less +3 -3
  24. package/src/sap/m/themes/sap_horizon/ObjectMarker.less +4 -2
  25. package/src/sap/m/themes/sap_horizon/ObjectNumber.less +71 -63
  26. package/src/sap/m/themes/sap_horizon/ObjectStatus.less +141 -116
  27. package/src/sap/m/themes/sap_horizon/OverflowToolbarAssociativePopover.less +12 -9
  28. package/src/sap/m/themes/sap_horizon/ProgressIndicator.less +2 -2
  29. package/src/sap/m/themes/sap_horizon_dark/Carousel.less +0 -1
  30. package/src/sap/m/themes/sap_horizon_dark/CheckBox.less +54 -46
  31. package/src/sap/m/themes/sap_horizon_dark/CustomTile.less +1 -1
  32. package/src/sap/m/themes/sap_horizon_dark/FeedInput.less +2 -2
  33. package/src/sap/m/themes/sap_horizon_dark/GenericTag.less +36 -36
  34. package/src/sap/m/themes/sap_horizon_dark/GenericTile.less +191 -124
  35. package/src/sap/m/themes/sap_horizon_dark/HeaderContainer.less +3 -3
  36. package/src/sap/m/themes/sap_horizon_dark/IconTabBar.less +1 -1
  37. package/src/sap/m/themes/sap_horizon_dark/InputBase.less +26 -24
  38. package/src/sap/m/themes/sap_horizon_dark/Label.less +2 -2
  39. package/src/sap/m/themes/sap_horizon_dark/LightBox.less +2 -3
  40. package/src/sap/m/themes/sap_horizon_dark/ListBase.less +7 -7
  41. package/src/sap/m/themes/sap_horizon_dark/ListItemBase.less +1 -1
  42. package/src/sap/m/themes/sap_horizon_dark/MenuButton.less +16 -10
  43. package/src/sap/m/themes/sap_horizon_dark/MessageBox.less +8 -8
  44. package/src/sap/m/themes/sap_horizon_dark/NotificationListGroup.less +1 -1
  45. package/src/sap/m/themes/sap_horizon_dark/ObjectAttribute.less +3 -3
  46. package/src/sap/m/themes/sap_horizon_dark/ObjectListItem.less +3 -3
  47. package/src/sap/m/themes/sap_horizon_dark/ObjectMarker.less +3 -1
  48. package/src/sap/m/themes/sap_horizon_dark/ObjectNumber.less +71 -63
  49. package/src/sap/m/themes/sap_horizon_dark/ObjectStatus.less +142 -118
  50. package/src/sap/m/themes/sap_horizon_dark/OverflowToolbarAssociativePopover.less +12 -9
  51. package/src/sap/m/themes/sap_horizon_dark/ProgressIndicator.less +2 -2
  52. package/src/sap/m/themes/sap_horizon_dark/Table.less +0 -4
  53. package/src/sap/m/themes/sap_horizon_hcb/Carousel.less +0 -1
  54. package/src/sap/m/themes/sap_horizon_hcb/CheckBox.less +55 -47
  55. package/src/sap/m/themes/sap_horizon_hcb/CustomTile.less +1 -1
  56. package/src/sap/m/themes/sap_horizon_hcb/FeedInput.less +20 -17
  57. package/src/sap/m/themes/sap_horizon_hcb/FeedListItem.less +3 -2
  58. package/src/sap/m/themes/sap_horizon_hcb/GenericTag.less +40 -40
  59. package/src/sap/m/themes/sap_horizon_hcb/GenericTile.less +98 -55
  60. package/src/sap/m/themes/sap_horizon_hcb/HeaderContainer.less +6 -6
  61. package/src/sap/m/themes/sap_horizon_hcb/IconTabBar.less +4 -0
  62. package/src/sap/m/themes/sap_horizon_hcb/InputBase.less +23 -20
  63. package/src/sap/m/themes/sap_horizon_hcb/Label.less +1 -1
  64. package/src/sap/m/themes/sap_horizon_hcb/LightBox.less +3 -2
  65. package/src/sap/m/themes/sap_horizon_hcb/ListBase.less +12 -12
  66. package/src/sap/m/themes/sap_horizon_hcb/ListItemBase.less +3 -3
  67. package/src/sap/m/themes/sap_horizon_hcb/MenuButton.less +9 -5
  68. package/src/sap/m/themes/sap_horizon_hcb/MenuListItem.less +1 -1
  69. package/src/sap/m/themes/sap_horizon_hcb/MessageBox.less +1 -1
  70. package/src/sap/m/themes/sap_horizon_hcb/NotificationListGroup.less +1 -1
  71. package/src/sap/m/themes/sap_horizon_hcb/ObjectAttribute.less +3 -3
  72. package/src/sap/m/themes/sap_horizon_hcb/ObjectListItem.less +4 -4
  73. package/src/sap/m/themes/sap_horizon_hcb/ObjectNumber.less +8 -8
  74. package/src/sap/m/themes/sap_horizon_hcb/ObjectStatus.less +140 -129
  75. package/src/sap/m/themes/sap_horizon_hcb/OverflowToolbarAssociativePopover.less +5 -2
  76. package/src/sap/m/themes/sap_horizon_hcb/ProgressIndicator.less +2 -2
  77. package/src/sap/m/themes/sap_horizon_hcw/Carousel.less +0 -1
  78. package/src/sap/m/themes/sap_horizon_hcw/CheckBox.less +55 -47
  79. package/src/sap/m/themes/sap_horizon_hcw/CustomTile.less +1 -1
  80. package/src/sap/m/themes/sap_horizon_hcw/FeedInput.less +17 -15
  81. package/src/sap/m/themes/sap_horizon_hcw/FeedListItem.less +3 -2
  82. package/src/sap/m/themes/sap_horizon_hcw/GenericTag.less +41 -41
  83. package/src/sap/m/themes/sap_horizon_hcw/GenericTile.less +100 -57
  84. package/src/sap/m/themes/sap_horizon_hcw/HeaderContainer.less +6 -6
  85. package/src/sap/m/themes/sap_horizon_hcw/IconTabBar.less +4 -0
  86. package/src/sap/m/themes/sap_horizon_hcw/InputBase.less +22 -20
  87. package/src/sap/m/themes/sap_horizon_hcw/Label.less +1 -1
  88. package/src/sap/m/themes/sap_horizon_hcw/LightBox.less +3 -4
  89. package/src/sap/m/themes/sap_horizon_hcw/ListBase.less +12 -12
  90. package/src/sap/m/themes/sap_horizon_hcw/ListItemBase.less +3 -3
  91. package/src/sap/m/themes/sap_horizon_hcw/MenuButton.less +9 -5
  92. package/src/sap/m/themes/sap_horizon_hcw/MenuListItem.less +1 -1
  93. package/src/sap/m/themes/sap_horizon_hcw/MessageBox.less +1 -1
  94. package/src/sap/m/themes/sap_horizon_hcw/NotificationListGroup.less +1 -1
  95. package/src/sap/m/themes/sap_horizon_hcw/ObjectAttribute.less +3 -3
  96. package/src/sap/m/themes/sap_horizon_hcw/ObjectListItem.less +4 -4
  97. package/src/sap/m/themes/sap_horizon_hcw/ObjectNumber.less +9 -8
  98. package/src/sap/m/themes/sap_horizon_hcw/ObjectStatus.less +141 -131
  99. package/src/sap/m/themes/sap_horizon_hcw/OverflowToolbarAssociativePopover.less +5 -2
  100. package/src/sap/m/themes/sap_horizon_hcw/ProgressIndicator.less +2 -2
  101. package/src/sap/tnt/themes/sap_horizon/SideNavigation.less +1 -3
  102. package/src/sap/tnt/themes/sap_horizon/ToolHeader.less +0 -21
  103. package/src/sap/tnt/themes/sap_horizon/ToolPage.less +2 -11
  104. package/src/sap/tnt/themes/sap_horizon_dark/SideNavigation.less +1 -3
  105. package/src/sap/tnt/themes/sap_horizon_dark/ToolHeader.less +0 -21
  106. package/src/sap/tnt/themes/sap_horizon_dark/ToolPage.less +2 -11
  107. package/src/sap/tnt/themes/sap_horizon_hcb/SideNavigation.less +1 -3
  108. package/src/sap/tnt/themes/sap_horizon_hcb/ToolHeader.less +0 -18
  109. package/src/sap/tnt/themes/sap_horizon_hcb/ToolPage.less +0 -10
  110. package/src/sap/tnt/themes/sap_horizon_hcw/SideNavigation.less +1 -3
  111. package/src/sap/tnt/themes/sap_horizon_hcw/ToolHeader.less +0 -18
  112. package/src/sap/tnt/themes/sap_horizon_hcw/ToolPage.less +0 -10
  113. package/src/sap/ui/core/themes/sap_horizon/.theme +1 -1
  114. package/src/sap/ui/core/themes/sap_horizon/base.less +414 -18
  115. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.ttf +0 -0
  116. package/src/sap/ui/core/themes/sap_horizon/fonts/SAP-icons.woff2 +0 -0
  117. package/src/sap/ui/core/themes/sap_horizon/global.less +32 -0
  118. package/src/sap/ui/core/themes/sap_horizon_dark/.theme +1 -1
  119. package/src/sap/ui/core/themes/sap_horizon_dark/base.less +412 -16
  120. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.ttf +0 -0
  121. package/src/sap/ui/core/themes/sap_horizon_dark/fonts/SAP-icons.woff2 +0 -0
  122. package/src/sap/ui/core/themes/sap_horizon_dark/global.less +32 -0
  123. package/src/sap/ui/core/themes/sap_horizon_hcb/.theme +1 -1
  124. package/src/sap/ui/core/themes/sap_horizon_hcb/base.less +421 -25
  125. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.ttf +0 -0
  126. package/src/sap/ui/core/themes/sap_horizon_hcb/fonts/SAP-icons.woff2 +0 -0
  127. package/src/sap/ui/core/themes/sap_horizon_hcb/global.less +32 -0
  128. package/src/sap/ui/core/themes/sap_horizon_hcw/.theme +1 -1
  129. package/src/sap/ui/core/themes/sap_horizon_hcw/base.less +420 -24
  130. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.ttf +0 -0
  131. package/src/sap/ui/core/themes/sap_horizon_hcw/fonts/SAP-icons.woff2 +0 -0
  132. package/src/sap/ui/core/themes/sap_horizon_hcw/global.less +32 -0
  133. package/src/sap/ui/unified/themes/sap_horizon/Menu.less +1 -1
  134. package/src/sap/ui/unified/themes/sap_horizon_dark/Menu.less +1 -1
  135. package/src/sap/uxap/themes/sap_horizon/ObjectPageSubSection.less +0 -5
  136. package/src/sap/uxap/themes/sap_horizon_dark/ObjectPageSubSection.less +0 -5
@@ -203,7 +203,7 @@
203
203
  .sapMPIText {
204
204
  padding: 0;
205
205
  position: absolute;
206
- top: 0;
206
+ top: 0.125rem;
207
207
  left: 0;
208
208
  margin-bottom: 0.1875rem;
209
209
  font-size: @sapUiProgressFontSize;
@@ -214,7 +214,7 @@
214
214
  max-width: 100%;
215
215
 
216
216
  &.sapMPITextRight {
217
- top: -1.3125rem;
217
+ top: -1.25rem;
218
218
  right: -0.0675rem;
219
219
  }
220
220
  }
@@ -22,7 +22,6 @@
22
22
  @_sap_m_Carousel_PageIndicatorWidthSizeL: @_sap_m_Carousel_PageIndicatorWidthSizeS;
23
23
  @_sap_m_Carousel_PageIndicatorWidthSizeXL: @_sap_m_Carousel_PageIndicatorWidthSizeS;
24
24
  @_sap_m_Carousel_PageIndicatorContainerPadding: 0.5rem;
25
- @_sap_m_Carousel_ContentArrowBoxShadow: var(--sapContent_Shadow1);
26
25
  @_sap_m_Carousel_BulletInactiveBackground: var(--sapContent_ForegroundBorderColor);
27
26
  @_sap_m_Carousel_BulletInactiveBorderColor: var(--sapContent_ForegroundBorderColor);
28
27
  @_sap_m_Carousel_BulletActiveBackground: var(--sapContent_Selected_ForegroundColor);
@@ -15,15 +15,15 @@
15
15
  top: 0.6875rem;
16
16
  left: 0.6875rem;
17
17
  box-sizing: border-box;
18
- border-radius: @sapUiFieldBorderCornerRadius;
19
- background-color: @sapUiFieldBackground;
20
- border: @sapUiFieldBorderWidth @sapUiFieldBorderColor solid;
18
+ border-radius: var(--sapField_BorderCornerRadius);
19
+ background-color: var(--sapField_Background);
20
+ border: var(--sapField_BorderWidth) var(--sapField_BorderColor) solid;
21
21
  display: flex;
22
22
  align-items: center;
23
23
  justify-content: center;
24
- color: @sapUiContentSelectedForegroundColor;
24
+ color: var(--sapContent_Selected_ForegroundColor);
25
25
 
26
- &.sapMCbMarkChecked:before {
26
+ &.sapMCbMarkChecked::before {
27
27
  font-size: 1rem;
28
28
  color: currentColor;
29
29
  }
@@ -34,34 +34,35 @@
34
34
  }
35
35
 
36
36
  .sapMCbBgDis {
37
- opacity: @sapUiContentDisabledOpacity;
37
+ opacity: var(--sapContent_DisabledOpacity);
38
38
  }
39
39
 
40
40
  .sapMCbRo .sapMCbBg {
41
- background-color: @sapUiFieldReadOnlyBackground;
42
- border: @sapUiElementBorderWidth dashed @sapUiFieldReadOnlyBorderColor;
41
+ background-color: var(--sapField_ReadOnly_Background);
42
+ border: var(--sapElement_BorderWidth) dashed var(--sapField_ReadOnly_BorderColor);
43
43
  }
44
44
 
45
- .sapMCbRo > .sapMCbBg.sapMCbMarkChecked:before {
46
- color: @sapUiFieldTextColor;
45
+ .sapMCbRo > .sapMCbBg.sapMCbMarkChecked::before {
46
+ color: var(--sapField_TextColor);
47
47
  }
48
48
 
49
49
  .sapMCb:not(.sapMCbErr):not(.sapMCbWarn):not(.sapMCbInfo):not(.sapMCbSucc):hover .sapMCbHoverable {
50
- border: @sapUiFieldBorderWidth solid @sapUiFieldHoverBorderColor;
51
- color: @sapUiContentSelectedForegroundColor;
52
- background-color: @sapUiContentSelectedHoverBackground;
50
+ border: var(--sapField_BorderWidth) solid var(--sapField_Hover_BorderColor);
51
+ color: var(--sapContent_Selected_ForegroundColor);
52
+ background-color: var(--sapContent_Selected_Hover_Background);
53
53
  }
54
54
 
55
55
  .sapMCb:hover .sapMCbHoverable {
56
- background-color: @sapUiFieldHoverBackground;
56
+ background-color: var(--sapField_Hover_Background);
57
57
  }
58
58
 
59
- // value state
59
+ /* value state */
60
60
  .sapMCbErr {
61
+
61
62
  .sapMCbBg {
62
- background-color: @sapUiFieldInvalidBackground;
63
- border: @sapUiFieldInvalidBorderWidth solid @sapUiFieldInvalidColor;
64
- color: @sapUiFieldInvalidColor;
63
+ background-color: var(--sapField_InvalidBackground);
64
+ border: var(--sapField_InvalidBorderWidth) solid var(--sapField_InvalidColor);
65
+ color: var(--sapField_InvalidColor);
65
66
 
66
67
  &.sapMCbMarkChecked.sapMCbMarkPartiallyChecked::before {
67
68
  border-width: 0.1875rem;
@@ -70,10 +71,11 @@
70
71
  }
71
72
 
72
73
  .sapMCbWarn {
74
+
73
75
  .sapMCbBg {
74
- background-color: @sapUiFieldWarningBackground;
75
- border: @sapUiFieldWarningBorderWidth solid @sapUiFieldWarningColor;
76
- color: @sapUiFieldWarningColor;
76
+ background-color: var(--sapField_WarningBackground);
77
+ border: var(--sapField_WarningBorderWidth) solid var(--sapField_WarningColor);
78
+ color: var(--sapField_WarningColor);
77
79
 
78
80
  &.sapMCbMarkChecked.sapMCbMarkPartiallyChecked::before {
79
81
  border-width: 0.1875rem;
@@ -82,10 +84,11 @@
82
84
  }
83
85
 
84
86
  .sapMCbInfo {
87
+
85
88
  .sapMCbBg {
86
- background-color: @sapUiFieldInformationBackground;
87
- border: @sapUiFieldInformationBorderWidth solid @sapUiFieldInformationColor;
88
- color: @sapUiFieldInformationColor;
89
+ background-color: var(--sapField_InformationBackground);
90
+ border: var(--sapField_InformationBorderWidth) solid var(--sapField_InformationColor);
91
+ color: var(--sapField_InformationColor);
89
92
 
90
93
  &.sapMCbMarkChecked.sapMCbMarkPartiallyChecked::before {
91
94
  border-width: 0.1875rem;
@@ -94,10 +97,11 @@
94
97
  }
95
98
 
96
99
  .sapMCbSucc {
100
+
97
101
  .sapMCbBg {
98
- background-color: @sapUiFieldSuccessBackground;
99
- border: @sapUiFieldSuccessBorderWidth solid @sapUiFieldSuccessColor;
100
- color: @sapUiFieldSuccessColor;
102
+ background-color: var(--sapField_SuccessBackground);
103
+ border: var(--sapField_SuccessBorderWidth) solid var(--sapField_SuccessColor);
104
+ color: var(--sapField_SuccessColor);
101
105
  }
102
106
  }
103
107
 
@@ -108,13 +112,14 @@
108
112
  .sapMCbDisplayOnly .sapMCbBg {
109
113
  top: 0.5625rem;
110
114
  left: 0.5625rem;
111
- &:not(.sapMCbMarkPartiallyChecked).sapMCbMarkChecked:before {
112
- color: @sapTextColor;
115
+
116
+ &:not(.sapMCbMarkPartiallyChecked).sapMCbMarkChecked::before {
117
+ color: var(--sapTextColor);
113
118
  font-size: 1rem;
114
119
  }
115
120
 
116
- &:not(.sapMCbMarkPartiallyChecked):before {
117
- color: @sapTextColor;
121
+ &:not(.sapMCbMarkPartiallyChecked)::before {
122
+ color: var(--sapTextColor);
118
123
  font-size: 1rem;
119
124
  }
120
125
 
@@ -131,26 +136,26 @@
131
136
  }
132
137
  }
133
138
 
134
- // FOCUS
139
+ /* FOCUS */
135
140
  .sapMCb {
136
141
  outline: none;
137
142
  }
138
143
 
139
- .sapMCb:focus:before {
140
- content: "";
141
- border: @sapUiContentFocusColor @sapUiContentFocusStyle @sapUiContentFocusWidth;
144
+ .sapMCb:focus::before {
145
+ content: '';
146
+ border: var(--sapContent_FocusColor) var(--sapContent_FocusStyle) var(--sapContent_FocusWidth);
142
147
  inset: 0.3125rem;
143
148
  position: absolute;
144
- border-radius: @sapUiFieldBorderCornerRadius;
149
+ border-radius: var(--sapField_BorderCornerRadius);
145
150
  }
146
151
 
147
152
  .sapMCb.sapMCbHasLabel {
148
153
  padding-right: 0.3125rem;
149
154
  }
150
155
 
151
- .sapMCb.sapMCbHasLabel:focus:before {
152
- content: "";
153
- border: @sapUiContentFocusColor @sapUiContentFocusStyle @sapUiContentFocusWidth;
156
+ .sapMCb.sapMCbHasLabel:focus::before {
157
+ content: '';
158
+ border: var(--sapContent_FocusColor) var(--sapContent_FocusStyle) var(--sapContent_FocusWidth);
154
159
  top: 0.3125rem;
155
160
  left: 0.3125rem;
156
161
  bottom: 0.3125rem;
@@ -161,21 +166,23 @@
161
166
 
162
167
  /* In Form Checkbox needs to be left aligned to bi in line with other controls (as Form itself has a padding) */
163
168
  .sapUiForm {
169
+
164
170
  .sapMCbBg {
165
171
  left: 0;
166
172
  }
167
173
 
168
174
  .sapMCb {
169
- padding-left: 2.0625rem; // to have right gap between checkbox and label
175
+ padding-left: 2.0625rem; /* to have right gap between checkbox and label */
170
176
  }
171
177
 
172
- .sapMCb:not(.sapMCbBgDis).sapMCbHasLabel:focus:before,
173
- .sapMCb:not(.sapMCbBgDis):not(.sapMCbHasLabel):focus:before {
178
+ .sapMCb:not(.sapMCbBgDis).sapMCbHasLabel:focus::before,
179
+ .sapMCb:not(.sapMCbBgDis):not(.sapMCbHasLabel):focus::before {
174
180
  left: -0.25rem; /* more is not possible as this would cut off the focus border */
175
181
  }
176
182
  }
177
183
 
178
184
  .sapUiSizeCompact {
185
+
179
186
  .sapMCb {
180
187
  height: 2rem;
181
188
  padding-left: 2rem;
@@ -187,9 +194,9 @@
187
194
  width: 1rem;
188
195
  top: 0.5rem;
189
196
  left: 0.5rem;
190
- border-radius: @sapUiFieldBorderCornerRadius;
197
+ border-radius: var(--sapField_BorderCornerRadius);
191
198
 
192
- &.sapMCbMarkChecked:before {
199
+ &.sapMCbMarkChecked::before {
193
200
  font-size: 0.75rem;
194
201
  }
195
202
 
@@ -215,15 +222,16 @@
215
222
 
216
223
  /* In Form Checkbox needs to be left aligned to bi in line with other controls (as Form itself has a padding) */
217
224
  .sapUiForm {
225
+
218
226
  .sapMCbBg {
219
227
  left: 0;
220
228
  }
221
229
 
222
230
  .sapMCb {
223
- padding-left: 1.5rem; // to have right gap between checkbox and label
231
+ padding-left: 1.5rem; /* to have right gap between checkbox and label */
224
232
  }
225
233
 
226
- .sapMCb:not(.sapMCbBgDis).sapMCbHasLabel:focus:before {
234
+ .sapMCb:not(.sapMCbBgDis).sapMCbHasLabel:focus::before {
227
235
  left: -0.1875rem;
228
236
  }
229
237
  }
@@ -4,5 +4,5 @@
4
4
  /* ========================= */
5
5
 
6
6
  .sapMCustomTile:focus {
7
- outline: 1px dotted @sapUiContentFocusColor;
7
+ outline: 1px dotted var(--sapContent_FocusColor);
8
8
  }
@@ -6,9 +6,9 @@
6
6
  @_sap_m_FeedInput_BackgroundColor: darken(@sapUiBaseColor, 9);
7
7
 
8
8
  .sapMFeedIn {
9
- background-color: @sapGroup_ContentBackground;
9
+ background-color: var(--sapGroup_ContentBackground);
10
10
  }
11
11
 
12
12
  .sapMFeedIn .sapMFeedInContainer {
13
- background-color: @sapUiFieldBackground;
13
+ background-color: var(--sapField_Background);
14
14
  }
@@ -3,73 +3,73 @@
3
3
  /* Evening Horizon theme */
4
4
  /* ================================= */
5
5
 
6
- @sapMGenericTagBorderWidth: 0.375rem;
7
- @sapMGenericTagIconPaddingRight: 0.375rem;
8
- @sapMGenericTagHeightCozy: @sapMGenericTagHeightCompact;
6
+ @_sap_m_GenericTag_BorderWidth: 0.375rem;
7
+ @_sap_m_GenericTag_IconPaddingRight: 0.375rem;
8
+ @_sap_m_GenericTag_HeightCozy: @_sap_m_GenericTag_HeightCompact;
9
9
 
10
10
  .sapMGenericTagWrap {
11
- box-shadow: @sapUiContentShadow0;
12
- border-radius: @sapUiButtonBorderCornerRadius;
13
- background: ~"0 0 / @{sapMGenericTagBorderWidth} 100% no-repeat linear-gradient(0deg, @{sapUiNeutralElement}, @{sapUiNeutralElement})";
14
- background-color: @sapUiNeutralBG;
11
+ box-shadow: var(--sapContent_Shadow0);
12
+ border-radius: var(--sapButton_BorderCornerRadius);
13
+ background: ~"0 0 / @{_sap_m_GenericTag_BorderWidth} 100% no-repeat linear-gradient(0deg, var(--sapNeutralElementColor), var(--sapNeutralElementColor))";
14
+ background-color: var(--sapNeutralBackground);
15
15
  border: none;
16
16
  padding: 0 0.375rem 0 0.75rem;
17
17
 
18
18
  .sapMGenericTagWarning & {
19
- background: ~"0 0 / @{sapMGenericTagBorderWidth} 100% no-repeat linear-gradient(0deg, @{sapUiCriticalElement}, @{sapUiCriticalElement})";
20
- background-color: @sapUiWarningBG;
19
+ background: ~"0 0 / @{_sap_m_GenericTag_BorderWidth} 100% no-repeat linear-gradient(0deg, var(--sapCriticalElementColor), var(--sapCriticalElementColor))";
20
+ background-color: var(--sapWarningBackground);
21
21
 
22
22
  .sapMGenericTagIcon {
23
- color: @sapUiCriticalElement;
23
+ color: var(--sapCriticalElementColor);
24
24
  }
25
25
 
26
26
  .sapMGenericTagValue {
27
- color: @sapUiCriticalText;
27
+ color: var(--sapCriticalTextColor);
28
28
  }
29
29
  }
30
30
 
31
31
  .sapMGenericTagError & {
32
- background: ~"0 0 / @{sapMGenericTagBorderWidth} 100% no-repeat linear-gradient(0deg, @{sapUiNegativeElement}, @{sapUiNegativeElement})";
33
- background-color: @sapUiErrorBG;
32
+ background: ~"0 0 / @{_sap_m_GenericTag_BorderWidth} 100% no-repeat linear-gradient(0deg, var(--sapNegativeElementColor), var(--sapNegativeElementColor))";
33
+ background-color: var(--sapErrorBackground);
34
34
 
35
35
  .sapMGenericTagIcon {
36
- color: @sapUiNegativeElement;
36
+ color: var(--sapNegativeElementColor);
37
37
  }
38
38
 
39
39
  .sapMGenericTagValue {
40
- color: @sapNegativeTextColor;
40
+ color: var(--sapNegativeTextColor);
41
41
  }
42
42
  }
43
43
 
44
44
  .sapMGenericTagSuccess & {
45
- background: ~"0 0 / @{sapMGenericTagBorderWidth} 100% no-repeat linear-gradient(0deg, @{sapUiPositiveElement}, @{sapUiPositiveElement})";
46
- background-color: @sapUiSuccessBG;
45
+ background: ~"0 0 / @{_sap_m_GenericTag_BorderWidth} 100% no-repeat linear-gradient(0deg, var(--sapPositiveElementColor), var(--sapPositiveElementColor))";
46
+ background-color: var(--sapSuccessBackground);
47
47
 
48
48
  .sapMGenericTagIcon {
49
- color: @sapUiPositiveElement;
49
+ color: var(--sapPositiveElementColor);
50
50
  }
51
51
 
52
52
  .sapMGenericTagValue {
53
- color: @sapUiPositiveText;
53
+ color: var(--sapPositiveTextColor);
54
54
  }
55
55
  }
56
56
 
57
57
  .sapMGenericTagInformation & {
58
- background: ~"0 0 / @{sapMGenericTagBorderWidth} 100% no-repeat linear-gradient(0deg, @{sapUiInformativeElement}, @{sapUiInformativeElement})";
59
- background-color: @sapUiInformationBG;
58
+ background: ~"0 0 / @{_sap_m_GenericTag_BorderWidth} 100% no-repeat linear-gradient(0deg, var(--sapInformativeElementColor), var(--sapInformativeElementColor))";
59
+ background-color: var(--sapInformationBackground);
60
60
 
61
61
  .sapMGenericTagIcon {
62
- color: @sapUiInformativeElement;
62
+ color: var(--sapInformativeElementColor);
63
63
  }
64
64
 
65
65
  .sapMGenericTagValue {
66
- color: @sapUiInformativeText;
66
+ color: var(--sapInformativeTextColor);
67
67
  }
68
68
  }
69
69
 
70
70
  &:hover {
71
- background-color: @sapUiListHoverBackground;
72
- box-shadow: @sapUiContentShadow0;
71
+ background-color: var(--sapList_Hover_Background);
72
+ box-shadow: var(--sapContent_Shadow0);
73
73
 
74
74
  .sapMGenericTagText,
75
75
  .sapMGenericTagValue,
@@ -82,20 +82,20 @@
82
82
  }
83
83
 
84
84
  .sapMGenericTagText {
85
- color: @sapUiListTextColor;
86
- text-shadow: @sapUiContentTextShadow;
85
+ color: var(--sapList_TextColor);
86
+ text-shadow: var(--sapContent_TextShadow);
87
87
  }
88
88
 
89
89
  .sapMGenericTagValue {
90
- text-shadow: @sapUiContentTextShadow;
90
+ text-shadow: var(--sapContent_TextShadow);
91
91
  }
92
92
 
93
93
  .sapMGenericTagErrorIcon {
94
- color: @sapUiNegativeElement;
94
+ color: var(--sapNegativeElementColor);
95
95
  }
96
96
 
97
- .sapMGenericTagActive & {
98
- background-color: @sapUiListActiveBackground;
97
+ .sapMGenericTagActive & {
98
+ background-color: var(--sapList_Active_Background);
99
99
 
100
100
  .sapMGenericTagText,
101
101
  .sapMGenericTagValue,
@@ -103,7 +103,7 @@
103
103
  .sapMObjectNumberText,
104
104
  .sapMObjectNumberUnit,
105
105
  .sapMGenericTagErrorIcon {
106
- color: @sapUiListActiveTextColor;
106
+ color: var(--sapList_Active_TextColor);
107
107
  text-shadow: none;
108
108
  }
109
109
  }
@@ -111,18 +111,18 @@
111
111
 
112
112
  html.sap-desktop .sapMGenericTag:focus {
113
113
  position: relative;
114
+
114
115
  &:after {
115
116
  position: absolute;
116
- content: " ";
117
+ content: ' ';
117
118
  inset: 0;
118
- border: @sapUiContentFocusColor @sapUiContentFocusStyle @sapUiContentFocusWidth;
119
- border-radius: @sapUiButtonBorderCornerRadius;
119
+ border: var(--sapContent_FocusColor) var(--sapContent_FocusStyle) var(--sapContent_FocusWidth);
120
+ border-radius: var(--sapButton_BorderCornerRadius);
120
121
  }
121
122
 
122
123
  .sapMGenericTagWrap {
123
124
  box-shadow: none;
124
125
  }
125
-
126
126
  }
127
127
 
128
128
  .sapUiSizeCozy .sapMGenericTag {