@sapui5/sap.suite.ui.microchart 1.143.1 → 1.145.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 (121) hide show
  1. package/package.json +1 -1
  2. package/src/sap/suite/ui/microchart/.library +2 -2
  3. package/src/sap/suite/ui/microchart/AreaMicroChart.js +2 -2
  4. package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +2 -2
  5. package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +2 -2
  6. package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +2 -2
  7. package/src/sap/suite/ui/microchart/AreaMicroChartRenderer.js +1 -1
  8. package/src/sap/suite/ui/microchart/BulletMicroChart.js +2 -2
  9. package/src/sap/suite/ui/microchart/BulletMicroChartData.js +2 -2
  10. package/src/sap/suite/ui/microchart/BulletMicroChartRenderer.js +1 -1
  11. package/src/sap/suite/ui/microchart/ColumnMicroChart.js +2 -2
  12. package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +2 -2
  13. package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +2 -2
  14. package/src/sap/suite/ui/microchart/ColumnMicroChartRenderer.js +1 -1
  15. package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +56 -14
  16. package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +11 -2
  17. package/src/sap/suite/ui/microchart/ComparisonMicroChartRenderer.js +1 -1
  18. package/src/sap/suite/ui/microchart/DeltaMicroChart.js +2 -2
  19. package/src/sap/suite/ui/microchart/DeltaMicroChartRenderer.js +1 -1
  20. package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +21 -4
  21. package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +2 -2
  22. package/src/sap/suite/ui/microchart/HarveyBallMicroChartRenderer.js +5 -3
  23. package/src/sap/suite/ui/microchart/InteractiveBarChart.js +2 -2
  24. package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +2 -2
  25. package/src/sap/suite/ui/microchart/InteractiveBarChartRenderer.js +1 -1
  26. package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +2 -2
  27. package/src/sap/suite/ui/microchart/InteractiveDonutChartRenderer.js +1 -1
  28. package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +2 -2
  29. package/src/sap/suite/ui/microchart/InteractiveLineChart.js +2 -3
  30. package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +2 -2
  31. package/src/sap/suite/ui/microchart/InteractiveLineChartRenderer.js +1 -1
  32. package/src/sap/suite/ui/microchart/LineMicroChart.js +2 -2
  33. package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +2 -2
  34. package/src/sap/suite/ui/microchart/LineMicroChartLine.js +2 -2
  35. package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +2 -2
  36. package/src/sap/suite/ui/microchart/LineMicroChartRenderer.js +1 -1
  37. package/src/sap/suite/ui/microchart/MicroChartRenderUtils.js +1 -1
  38. package/src/sap/suite/ui/microchart/MicroChartUtils.js +5 -3
  39. package/src/sap/suite/ui/microchart/RadialMicroChart.js +5 -6
  40. package/src/sap/suite/ui/microchart/RadialMicroChartRenderer.js +1 -1
  41. package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +2 -2
  42. package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +2 -2
  43. package/src/sap/suite/ui/microchart/StackedBarMicroChartRenderer.js +1 -1
  44. package/src/sap/suite/ui/microchart/library.js +3 -3
  45. package/src/sap/suite/ui/microchart/themes/base/AreaMicroChart.less +30 -64
  46. package/src/sap/suite/ui/microchart/themes/base/BulletMicroChart.less +41 -44
  47. package/src/sap/suite/ui/microchart/themes/base/ColumnMicroChart.less +38 -30
  48. package/src/sap/suite/ui/microchart/themes/base/ComparisonMicroChart.less +205 -195
  49. package/src/sap/suite/ui/microchart/themes/base/DeltaMicroChart.less +28 -18
  50. package/src/sap/suite/ui/microchart/themes/base/HarveyBallMicroChart.less +190 -163
  51. package/src/sap/suite/ui/microchart/themes/base/InteractiveBarChart.less +35 -33
  52. package/src/sap/suite/ui/microchart/themes/base/InteractiveDonutChart.less +67 -40
  53. package/src/sap/suite/ui/microchart/themes/base/InteractiveLineChart.less +61 -43
  54. package/src/sap/suite/ui/microchart/themes/base/LineMicroChart.less +75 -82
  55. package/src/sap/suite/ui/microchart/themes/base/RadialMicroChart.less +45 -41
  56. package/src/sap/suite/ui/microchart/themes/base/StackedBarMicroChart.less +45 -42
  57. package/src/sap/suite/ui/microchart/themes/base/library.source.less +1 -1
  58. package/src/sap/suite/ui/microchart/themes/sap_belize/library.source.less +1 -1
  59. package/src/sap/suite/ui/microchart/themes/sap_belize_base/library.source.less +1 -1
  60. package/src/sap/suite/ui/microchart/themes/sap_belize_hcb/library.source.less +1 -1
  61. package/src/sap/suite/ui/microchart/themes/sap_belize_hcw/library.source.less +1 -1
  62. package/src/sap/suite/ui/microchart/themes/sap_belize_plus/library.source.less +1 -1
  63. package/src/sap/suite/ui/microchart/themes/sap_bluecrystal/library.source.less +1 -1
  64. package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/library.source.less +1 -1
  65. package/src/sap/suite/ui/microchart/themes/sap_fiori_3/library.source.less +1 -1
  66. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_dark/library.source.less +1 -1
  67. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/AreaMicroChart.less +6 -6
  68. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/BulletMicroChart.less +6 -6
  69. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ColumnMicroChart.less +7 -7
  70. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ComparisonMicroChart.less +5 -5
  71. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/DeltaMicroChart.less +7 -7
  72. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/HarveyBallMicroChart.less +4 -4
  73. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveBarChart.less +24 -21
  74. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveDonutChart.less +19 -13
  75. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveLineChart.less +35 -16
  76. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/LineMicroChart.less +6 -6
  77. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/RadialMicroChart.less +6 -6
  78. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/StackedBarMicroChart.less +6 -6
  79. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/library.source.less +1 -1
  80. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/AreaMicroChart.less +6 -6
  81. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/BulletMicroChart.less +6 -6
  82. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ColumnMicroChart.less +7 -7
  83. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ComparisonMicroChart.less +5 -5
  84. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/DeltaMicroChart.less +7 -7
  85. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/HarveyBallMicroChart.less +4 -4
  86. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveBarChart.less +24 -21
  87. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveDonutChart.less +21 -13
  88. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveLineChart.less +31 -11
  89. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/LineMicroChart.less +6 -6
  90. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/RadialMicroChart.less +5 -5
  91. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/StackedBarMicroChart.less +6 -6
  92. package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/library.source.less +1 -1
  93. package/src/sap/suite/ui/microchart/themes/sap_hcb/library.source.less +1 -1
  94. package/src/sap/suite/ui/microchart/themes/sap_horizon/library.source.less +1 -1
  95. package/src/sap/suite/ui/microchart/themes/sap_horizon_dark/library.source.less +1 -1
  96. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/AreaMicroChart.less +3 -3
  97. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/BulletMicroChart.less +3 -4
  98. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ColumnMicroChart.less +3 -3
  99. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ComparisonMicroChart.less +2 -2
  100. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/DeltaMicroChart.less +3 -3
  101. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/HarveyBallMicroChart.less +1 -1
  102. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveBarChart.less +20 -17
  103. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveDonutChart.less +21 -13
  104. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveLineChart.less +33 -13
  105. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/LineMicroChart.less +2 -2
  106. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/RadialMicroChart.less +5 -5
  107. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/StackedBarMicroChart.less +5 -5
  108. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/library.source.less +1 -1
  109. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/AreaMicroChart.less +3 -3
  110. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/BulletMicroChart.less +3 -3
  111. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ColumnMicroChart.less +3 -3
  112. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ComparisonMicroChart.less +2 -2
  113. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/DeltaMicroChart.less +3 -3
  114. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/HarveyBallMicroChart.less +1 -1
  115. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveBarChart.less +20 -17
  116. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveDonutChart.less +21 -13
  117. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveLineChart.less +33 -13
  118. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/LineMicroChart.less +2 -2
  119. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/RadialMicroChart.less +5 -5
  120. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/StackedBarMicroChart.less +5 -5
  121. package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/library.source.less +1 -1
@@ -1,7 +1,13 @@
1
- /* =========================================================== */
2
- /* CSS for control sap.suite.ui.microchart/InteractiveBarChart */
3
- /* Base Theme */
4
- /* =========================================================== */
1
+ /* ============================================================ */
2
+ /* CSS for control sap.suite.ui.microchart/InteractiveBarChart */
3
+ /* Base theme */
4
+ /* ============================================================ */
5
+
6
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarBackground: var(--sapHighlightColor);
7
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBackground: fade(@sapUiHighlight, 20);
8
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBackground: fade(@sapUiHighlight, 20);
9
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedHoverBackground: fade(@sapUiHighlight, 40);
10
+ @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBorder: fade(@sapUiHighlight, 60);
5
11
 
6
12
  .sapSuiteIBC {
7
13
  height: 100%;
@@ -76,7 +82,7 @@
76
82
 
77
83
  html.sap-tablet .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarInteractionArea:focus,
78
84
  html.sap-phone .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarInteractionArea:focus {
79
- border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
85
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
80
86
  }
81
87
 
82
88
  html.sap-tablet .sapSuiteIBC:focus,
@@ -94,18 +100,19 @@ html.sap-phone .sapSuiteIBC:focus {
94
100
  overflow: hidden;
95
101
  text-overflow: ellipsis;
96
102
  text-align: left;
97
- font-family: @sapUiFontFamily;
103
+ font-family: var(--sapFontFamily);
98
104
  font-weight: normal;
99
105
  font-size: @sapMFontMediumSize;
100
106
  margin-right: 0.375rem;
101
107
  margin-left: 0.375rem;
102
108
  }
109
+
103
110
  html[dir="rtl"] .sapSuiteIBCBarLabelText {
104
111
  text-align: right;
105
112
  }
106
113
 
107
114
  .sapSuiteIBCBarValue {
108
- font-family: @sapUiFontFamily;
115
+ font-family: var(--sapFontFamily);
109
116
  font-weight: normal;
110
117
  font-size: @sapMFontMediumSize;
111
118
  position: absolute;
@@ -114,11 +121,11 @@ html[dir="rtl"] .sapSuiteIBCBarLabelText {
114
121
  }
115
122
 
116
123
  .sapSuiteIBCSmallFont .sapSuiteIBCBarValue {
117
- font-size: @sapMFontSmallSize;
124
+ font-size: var(--sapFontSmallSize);
118
125
  }
119
126
 
120
127
  .sapSuiteIBCSmallFont .sapSuiteIBCBarLabelText {
121
- font-size: @sapMFontSmallSize;
128
+ font-size: var(--sapFontSmallSize);
122
129
  }
123
130
 
124
131
  .sapSuiteIBCBarPositive .sapSuiteIBCBarValue {
@@ -159,9 +166,11 @@ html[dir="rtl"] .sapSuiteIBCBarLabelText {
159
166
  z-index: 0;
160
167
  }
161
168
 
162
- .sapSuiteIBCFullWidth {
163
- .sapSuiteIBCBarInteractionArea:first-child, .sapSuiteIBCDisabledOverlay  + .sapSuiteIBCBarInteractionArea  {
164
- .sapSuiteIBCDivider  {
169
+ .sapSuiteIBCFullWidth {
170
+
171
+ .sapSuiteIBCBarInteractionArea:first-child, .sapSuiteIBCDisabledOverlay + .sapSuiteIBCBarInteractionArea {
172
+
173
+ .sapSuiteIBCDivider {
165
174
  top: -0.75rem;
166
175
  height: 3.875rem;
167
176
  }
@@ -201,7 +210,7 @@ html[dir="rtl"] .sapSuiteIBCBarLabelText {
201
210
  .sapSuiteIBCFullWidth .sapSuiteIBCBarLabelText {
202
211
  margin-left: 0.375rem + 0.25rem; /* area padding left + padding from divider (design) */
203
212
  line-height: 0.75rem + 0.125rem + 0.125rem; /* font-size + padding-top + padding-bottom (design) */
204
- font-size: @sapMFontSmallSize;
213
+ font-size: var(--sapFontSmallSize);
205
214
  }
206
215
 
207
216
  .sapSuiteIBCFullWidth .sapSuiteIBCBar {
@@ -228,41 +237,34 @@ html[dir="rtl"] .sapSuiteIBCBarLabelText {
228
237
  bottom: -1px;
229
238
 
230
239
  &.sapSuiteIBCSemanticGood {
231
- background-color: @sapUiPositiveElement;
240
+ background-color: var(--sapPositiveElementColor);
232
241
  }
233
242
  &.sapSuiteIBCSemanticError {
234
- background-color: @sapUiNegativeElement;
243
+ background-color: var(--sapNegativeElementColor);
235
244
  }
236
245
  &.sapSuiteIBCSemanticCritical {
237
- background-color: @sapUiCriticalElement;
246
+ background-color: var(--sapCriticalElementColor);
238
247
  }
239
248
  }
240
249
 
241
-
242
- @_sap_suite_ui_microchart_InteractiveBarChart_BarBackground: @sapUiHighlight;
243
- @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBackground: fade(@sapUiHighlight, 20);
244
- @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedBackground: fade(@sapUiHighlight, 20);
245
- @_sap_suite_ui_microchart_InteractiveBarChart_BarSelectedHoverBackground: fade(@sapUiHighlight, 40);
246
- @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBorder: fade(@sapUiHighlight, 60);
247
-
248
-
249
250
  .sapSuiteIBCBar {
250
251
  background-color: @_sap_suite_ui_microchart_InteractiveBarChart_BarBackground;
251
252
  }
252
253
 
253
254
  .sapSuiteIBCBarLabelText {
254
- color: @sapUiContentLabelColor;
255
+ color: var(--sapContent_LabelColor);
255
256
  }
256
257
 
257
258
  html.sap-desktop .sapSuiteIBC.sapSuiteIBCNonInteractive:focus {
258
- outline: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
259
+ outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
259
260
  }
260
261
 
261
262
  html.sap-desktop .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarInteractionArea:hover {
262
263
  background-color: @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBackground;
263
264
  border: 1px solid @_sap_suite_ui_microchart_InteractiveBarChart_BarHoverBorder;
265
+
264
266
  .sapSuiteIBCBarLabelText {
265
- color: @sapUiContentForegroundTextColor;
267
+ color: var(--sapContent_ForegroundTextColor);
266
268
  }
267
269
  }
268
270
 
@@ -275,21 +277,21 @@ html.sap-desktop .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarSel
275
277
  }
276
278
 
277
279
  .sapSuiteIBCBarSelected .sapSuiteIBCBarLabelText{
278
- color: @sapUiBaseText;
280
+ color: var(--sapTextColor);
279
281
  }
280
282
 
281
283
  .sapSuiteIBCBarValue.sapSuiteIBCBarValueOutside {
282
- color: @sapUiBaseText;
284
+ color: var(--sapTextColor);
283
285
  }
284
286
 
285
287
  .sapSuiteIBCBarValue {
286
- color: @sapUiContentContrastTextColor;
288
+ color: var(--sapContent_ContrastTextColor);
287
289
  }
288
290
 
289
291
  html.sap-desktop .sapSuiteIBC:not(.sapSuiteIBCNonInteractive) .sapSuiteIBCBarInteractionArea:focus {
290
- border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
292
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
291
293
  }
292
294
 
293
295
  .sapSuiteIBCDivider {
294
- background-color: @sapUiBaseText;
295
- }
296
+ background-color: var(--sapTextColor);
297
+ }
@@ -1,7 +1,15 @@
1
- /* ===================================================================== */
2
- /* CSS for control sap.suite.ui.microchart/InteractiveDonutChart.control */
3
- /* Base Theme */
4
- /* ===================================================================== */
1
+ /* ============================================================== */
2
+ /* CSS for control sap.suite.ui.microchart/InteractiveDonutChart */
3
+ /* Base theme */
4
+ /* ============================================================== */
5
+
6
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentHoverBackground: fade(@sapUiHighlight, 20);
7
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedBackground: fade(@sapUiHighlight, 40);
8
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedHoverBackground: fade(@sapUiHighlight, 60);
9
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHover: fade(@sapUiHighlight, 40);
10
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHoverSelected: fade(@sapUiHighlight, 80);
11
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorder: var(--sapHighlightColor);
12
+ @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentFillColor: var(--sapHighlightColor);
5
13
 
6
14
  .sapSuiteIDC {
7
15
  position: relative;
@@ -56,7 +64,7 @@ svg.sapSuiteIDCChartSVG {
56
64
 
57
65
  .sapSuiteIDCLegendSegmentSelected {
58
66
  font-weight: bold;
59
- color: @sapUiContentForegroundTextColor;
67
+ color: var(--sapContent_ForegroundTextColor);
60
68
  }
61
69
 
62
70
  html.sap-tablet .sapSuiteIDC:focus,
@@ -74,18 +82,17 @@ html.sap-phone .sapSuiteIDC:focus {
74
82
  }
75
83
 
76
84
  .sapSuiteIDCLegendLabelValue {
77
- width: ~"calc(100% - 1.125rem - 0.25rem - 0.5rem)"; /*escape calc in order to not use less-function (deduct marker width and marker margins)*/
85
+ width: ~"calc(100% - 1.125rem - 0.25rem - 0.5rem)"; /* escape calc in order to not use less-function (deduct marker width and marker margins) */
78
86
  float: left;
79
-
80
- color: @sapUiContentLabelColor;
81
- font-family: @sapUiFontFamily;
87
+ color: var(--sapContent_LabelColor);
88
+ font-family: var(--sapFontFamily);
82
89
  font-size: @sapMFontMediumSize;
83
90
  cursor: pointer;
84
91
 
85
- //sapSuiteIDCLegendLabelValue inside a selected or hovered-selected legend entry
92
+ /* sapSuiteIDCLegendLabelValue inside a selected or hovered-selected legend entry */
86
93
  .sapSuiteIDCLegendSegmentSelected &,
87
94
  .sapSuiteIDCLegendSegmentSelected.sapSuiteIDCLegendSegmentHover & {
88
- color: @sapUiContentForegroundTextColor;
95
+ color: var(--sapContent_ForegroundTextColor);
89
96
  }
90
97
  }
91
98
 
@@ -96,13 +103,15 @@ html.sap-phone .sapSuiteIDC:focus {
96
103
  width: 0.1875rem;
97
104
 
98
105
  &.sapSuiteICSemanticColorGood {
99
- background-color: @sapUiPositiveElement;
106
+ background-color: var(--sapPositiveElementColor);
100
107
  }
108
+
101
109
  &.sapSuiteICSemanticColorError {
102
- background-color: @sapUiNegativeElement;
110
+ background-color: var(--sapNegativeElementColor);
103
111
  }
112
+
104
113
  &.sapSuiteICSemanticColorCritical {
105
- background-color: @sapUiCriticalElement;
114
+ background-color: var(--sapCriticalElementColor);
106
115
  }
107
116
  }
108
117
 
@@ -135,12 +144,16 @@ html.sap-phone .sapSuiteIDC:focus {
135
144
  }
136
145
 
137
146
  .sapSuiteIDCSmallFont {
138
- .sapSuiteIDCLegendLabel, .sapSuiteIDCLegendValue {
139
- font-size: @sapMFontSmallSize;
147
+
148
+ .sapSuiteIDCLegendLabel,
149
+ .sapSuiteIDCLegendValue {
150
+ font-size: var(--sapFontSmallSize);
140
151
  }
152
+
141
153
  .sapSuiteIDCLegendSegment {
142
154
  margin-bottom: 1px;
143
155
  }
156
+
144
157
  .sapSuiteIDCLegendMarker {
145
158
  width: 0.625rem;
146
159
  height: 0.625rem;
@@ -154,73 +167,81 @@ html.sap-phone .sapSuiteIDC:focus {
154
167
 
155
168
  /* SMALL-LEGEND-PADDING */
156
169
  .sapSuiteIDCSmallLegendPadding {
170
+
157
171
  .sapSuiteIDCLegendMarker {
158
172
  margin-left: 0.25rem;
159
173
  }
174
+
160
175
  .sapSuiteIDCLegendLabel, .sapSuiteIDCLegendValue {
161
- font-size: @sapMFontSmallSize;
176
+ font-size: var(--sapFontSmallSize);
162
177
  }
178
+
163
179
  .sapSuiteIDCLegendLabelValue {
164
- width: ~"calc(100% - 1.125rem - 0.25rem - 0.25rem)"; /*escape calc in order to not use less-function (deduct marker width and marker margins)*/
180
+ width: ~"calc(100% - 1.125rem - 0.25rem - 0.25rem)"; /* escape calc in order to not use less-function (deduct marker width and marker margins) */
165
181
  }
166
182
  }
167
183
 
168
184
  /* FULL-WIDTH */
169
185
  .sapSuiteIDCFullWidth {
186
+
170
187
  .sapSuiteIDCChart {
171
188
  width: 0%;
172
189
  padding: 0;
173
190
  }
191
+
174
192
  .sapSuiteIDCLegend {
175
193
  width: 100%;
176
194
  }
195
+
177
196
  .sapSuiteIDCLegendMarker {
178
197
  visibility: hidden;
179
198
  width: 0px;
180
199
  margin: 0px;
181
200
  }
201
+
182
202
  .sapSuiteIDCLegendLabelValue {
183
203
  width: 100%;
184
204
  }
205
+
185
206
  .sapSuiteIDCLegendLabel {
186
207
  padding-left: 0.5rem;
187
208
  }
209
+
188
210
  .sapSuiteIDCLegendValue {
189
211
  padding-right: 0.5rem;
190
212
  padding-left: 0.5rem;
191
213
  }
192
- .sapSuiteIDCLegendLabel, .sapSuiteIDCLegendValue {
214
+
215
+ .sapSuiteIDCLegendLabel,
216
+ .sapSuiteIDCLegendValue {
193
217
  font-size: @sapMFontMediumSize;
194
218
  }
195
219
  }
196
220
 
197
221
  .sapSuiteIDCFullWidth.sapSuiteIDCFullWidthSmallFont {
198
- .sapSuiteIDCLegendLabel, .sapSuiteIDCLegendValue {
199
- font-size: @sapMFontSmallSize;
222
+
223
+ .sapSuiteIDCLegendLabel,
224
+ .sapSuiteIDCLegendValue {
225
+ font-size: var(--sapFontSmallSize);
200
226
  }
227
+
201
228
  .sapSuiteIDCLegendLabel {
202
229
  padding-left: 0.25rem;
203
230
  }
204
- sapSuiteIDCLegendValue {
231
+
232
+ .sapSuiteIDCLegendValue {
205
233
  padding-right: 0.25rem;
206
234
  }
207
235
  }
208
236
 
209
237
  /* COMPACT */
210
238
  .sapUiSizeCompact {
239
+
211
240
  .sapSuiteIDCLegendSegment {
212
241
  max-height: 2.25rem;
213
242
  }
214
243
  }
215
244
 
216
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentHoverBackground: fade(@sapUiHighlight, 20);
217
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedBackground: fade(@sapUiHighlight, 40);
218
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedHoverBackground: fade(@sapUiHighlight, 60);
219
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHover: fade(@sapUiHighlight, 40);
220
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHoverSelected: fade(@sapUiHighlight, 80);
221
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorder: @sapUiHighlight;
222
- @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentFillColor: @sapUiHighlight;
223
-
224
245
  /* GENERAL */
225
246
  .sapSuiteIDC {
226
247
  border: 1px dotted transparent;
@@ -228,11 +249,11 @@ html.sap-phone .sapSuiteIDC:focus {
228
249
 
229
250
  /* FOCUS */
230
251
  html.sap-desktop .sapSuiteIDC:focus {
231
- border-color: @sapUiContentFocusColor;
252
+ border-color: var(--sapContent_FocusColor);
232
253
  }
233
254
 
234
255
  html.sap-desktop .sapSuiteIDCLegendSegment:focus {
235
- border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
256
+ border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
236
257
  }
237
258
 
238
259
  html.sap-tablet .sapSuiteIDCLegendSegmentSelected,
@@ -243,14 +264,16 @@ html.sap-desktop .sapSuiteIDCLegendSegmentSelected:not(:focus) {
243
264
 
244
265
  /* LEGEND SEGMENTS */
245
266
  html.sap-desktop .sapSuiteIDC:not(.sapSuiteIDCNonInteractive) {
267
+
246
268
  .sapSuiteIDCLegendSegmentHover {
247
269
  background-color: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentHoverBackground;
248
270
  border: 1px solid @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHover;
249
271
 
250
272
  .sapSuiteIDCLegendLabelValue {
251
- color: @sapUiContentForegroundTextColor;
273
+ color: var(--sapContent_ForegroundTextColor);
252
274
  }
253
275
  }
276
+
254
277
  .sapSuiteIDCLegendSegmentSelected.sapSuiteIDCLegendSegmentHover {
255
278
  background-color: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedHoverBackground;
256
279
  border: 1px solid @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHover;
@@ -266,31 +289,35 @@ html.sap-desktop .sapSuiteIDC:not(.sapSuiteIDCNonInteractive) {
266
289
  }
267
290
 
268
291
  /* SVG STYLE */
269
- .sapSuiteIDCChartSegment { /*normal*/
292
+ .sapSuiteIDCChartSegment { /* normal */
270
293
  stroke: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorder;
271
294
  stroke-width: 1px;
272
295
  }
273
296
 
274
297
  /* DONUT SEGMENTS */
275
- .sapSuiteIDCChartSegmentHighlight { /*hover*/
298
+ .sapSuiteIDCChartSegmentHighlight { /* hover */
276
299
  stroke-opacity: 0.3;
277
300
  }
278
- .sapSuiteIDCChartSegmentSelected{ /*selected*/
301
+
302
+ .sapSuiteIDCChartSegmentSelected{ /* selected */
279
303
  stroke-opacity: 0.7;
280
304
  }
305
+
281
306
  .sapSuiteIDCChartSegmentHighlight.sapSuiteIDCChartSegmentSelected { /*hover on selected*/
282
307
  stroke-opacity: 0.4;
283
308
  }
284
309
 
285
310
  /* DONUT GHOST SEGMENTS */
286
- .sapSuiteIDCChartSegmentGhostHighlight { /*hover*/
311
+ .sapSuiteIDCChartSegmentGhostHighlight { /* hover */
287
312
  fill: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentHoverBackground;
288
313
  stroke: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHover;
289
314
  }
290
- .sapSuiteIDCChartSegmentGhostSelected{ /*selected*/
315
+
316
+ .sapSuiteIDCChartSegmentGhostSelected{ /* selected */
291
317
  fill: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedBackground;
292
318
  }
293
- .sapSuiteIDCChartSegmentGhostHighlight.sapSuiteIDCChartSegmentGhostSelected { /*hover on selected*/
319
+
320
+ .sapSuiteIDCChartSegmentGhostHighlight.sapSuiteIDCChartSegmentGhostSelected { /* hover on selected */
294
321
  stroke:@_sap_suite_ui_microchart_InteractiveDonutChart_SegmentBorderHoverSelected;
295
322
  fill: @_sap_suite_ui_microchart_InteractiveDonutChart_SegmentSelectedHoverBackground;
296
- }
323
+ }