@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.
- package/package.json +1 -1
- package/src/sap/suite/ui/microchart/.library +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartItem.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartLabel.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartPoint.js +2 -2
- package/src/sap/suite/ui/microchart/AreaMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/BulletMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/BulletMicroChartData.js +2 -2
- package/src/sap/suite/ui/microchart/BulletMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/ColumnMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/ColumnMicroChartData.js +2 -2
- package/src/sap/suite/ui/microchart/ColumnMicroChartLabel.js +2 -2
- package/src/sap/suite/ui/microchart/ColumnMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/ComparisonMicroChart.js +56 -14
- package/src/sap/suite/ui/microchart/ComparisonMicroChartData.js +11 -2
- package/src/sap/suite/ui/microchart/ComparisonMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/DeltaMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/DeltaMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/HarveyBallMicroChart.js +21 -4
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartItem.js +2 -2
- package/src/sap/suite/ui/microchart/HarveyBallMicroChartRenderer.js +5 -3
- package/src/sap/suite/ui/microchart/InteractiveBarChart.js +2 -2
- package/src/sap/suite/ui/microchart/InteractiveBarChartBar.js +2 -2
- package/src/sap/suite/ui/microchart/InteractiveBarChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveDonutChart.js +2 -2
- package/src/sap/suite/ui/microchart/InteractiveDonutChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/InteractiveDonutChartSegment.js +2 -2
- package/src/sap/suite/ui/microchart/InteractiveLineChart.js +2 -3
- package/src/sap/suite/ui/microchart/InteractiveLineChartPoint.js +2 -2
- package/src/sap/suite/ui/microchart/InteractiveLineChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/LineMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/LineMicroChartEmphasizedPoint.js +2 -2
- package/src/sap/suite/ui/microchart/LineMicroChartLine.js +2 -2
- package/src/sap/suite/ui/microchart/LineMicroChartPoint.js +2 -2
- package/src/sap/suite/ui/microchart/LineMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/MicroChartRenderUtils.js +1 -1
- package/src/sap/suite/ui/microchart/MicroChartUtils.js +5 -3
- package/src/sap/suite/ui/microchart/RadialMicroChart.js +5 -6
- package/src/sap/suite/ui/microchart/RadialMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/StackedBarMicroChart.js +2 -2
- package/src/sap/suite/ui/microchart/StackedBarMicroChartBar.js +2 -2
- package/src/sap/suite/ui/microchart/StackedBarMicroChartRenderer.js +1 -1
- package/src/sap/suite/ui/microchart/library.js +3 -3
- package/src/sap/suite/ui/microchart/themes/base/AreaMicroChart.less +30 -64
- package/src/sap/suite/ui/microchart/themes/base/BulletMicroChart.less +41 -44
- package/src/sap/suite/ui/microchart/themes/base/ColumnMicroChart.less +38 -30
- package/src/sap/suite/ui/microchart/themes/base/ComparisonMicroChart.less +205 -195
- package/src/sap/suite/ui/microchart/themes/base/DeltaMicroChart.less +28 -18
- package/src/sap/suite/ui/microchart/themes/base/HarveyBallMicroChart.less +190 -163
- package/src/sap/suite/ui/microchart/themes/base/InteractiveBarChart.less +35 -33
- package/src/sap/suite/ui/microchart/themes/base/InteractiveDonutChart.less +67 -40
- package/src/sap/suite/ui/microchart/themes/base/InteractiveLineChart.less +61 -43
- package/src/sap/suite/ui/microchart/themes/base/LineMicroChart.less +75 -82
- package/src/sap/suite/ui/microchart/themes/base/RadialMicroChart.less +45 -41
- package/src/sap/suite/ui/microchart/themes/base/StackedBarMicroChart.less +45 -42
- package/src/sap/suite/ui/microchart/themes/base/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_base/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_hcb/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_hcw/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_belize_plus/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_bluecrystal_base/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_dark/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/AreaMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/BulletMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ColumnMicroChart.less +7 -7
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/ComparisonMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/DeltaMicroChart.less +7 -7
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/HarveyBallMicroChart.less +4 -4
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveBarChart.less +24 -21
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveDonutChart.less +19 -13
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/InteractiveLineChart.less +35 -16
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/LineMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/RadialMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/StackedBarMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcb/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/AreaMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/BulletMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ColumnMicroChart.less +7 -7
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/ComparisonMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/DeltaMicroChart.less +7 -7
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/HarveyBallMicroChart.less +4 -4
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveBarChart.less +24 -21
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveDonutChart.less +21 -13
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/InteractiveLineChart.less +31 -11
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/LineMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/RadialMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/StackedBarMicroChart.less +6 -6
- package/src/sap/suite/ui/microchart/themes/sap_fiori_3_hcw/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_hcb/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_dark/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/AreaMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/BulletMicroChart.less +3 -4
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ColumnMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/ComparisonMicroChart.less +2 -2
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/DeltaMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/HarveyBallMicroChart.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveBarChart.less +20 -17
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveDonutChart.less +21 -13
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/InteractiveLineChart.less +33 -13
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/LineMicroChart.less +2 -2
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/RadialMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/StackedBarMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcb/library.source.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/AreaMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/BulletMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ColumnMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/ComparisonMicroChart.less +2 -2
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/DeltaMicroChart.less +3 -3
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/HarveyBallMicroChart.less +1 -1
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveBarChart.less +20 -17
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveDonutChart.less +21 -13
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/InteractiveLineChart.less +33 -13
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/LineMicroChart.less +2 -2
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/RadialMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/StackedBarMicroChart.less +5 -5
- package/src/sap/suite/ui/microchart/themes/sap_horizon_hcw/library.source.less +1 -1
|
@@ -1,325 +1,335 @@
|
|
|
1
|
-
/*
|
|
2
|
-
/* CSS for control sap.suite.ui.microchart/ComparisonMicroChart
|
|
3
|
-
/* Base
|
|
4
|
-
/*
|
|
1
|
+
/* ============================================================= */
|
|
2
|
+
/* CSS for control sap.suite.ui.microchart/ComparisonMicroChart */
|
|
3
|
+
/* Base theme */
|
|
4
|
+
/* ============================================================= */
|
|
5
|
+
|
|
5
6
|
.sapSuiteCpMCChartContent {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
position: relative;
|
|
8
|
+
outline: none;
|
|
9
|
+
font-family: var(--sapFontFamily);
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
11
12
|
}
|
|
12
13
|
|
|
13
14
|
html.sapUiMedia-Std-Desktop .sapMTileCntContent > .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,
|
|
14
15
|
html.sapUiMedia-Std-Tablet .sapMTileCntContent > .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,
|
|
15
16
|
.sapMTileCntContent > .sapSuiteCpMCChartContent.sapSuiteCpMCSizeM {
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
height: 100%;
|
|
18
|
+
width: 100%
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.sapSuiteCpMC {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
|
|
23
|
+
.sapMBtn {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: -15px;
|
|
26
|
+
right: -38px;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
html.sap-desktop .sapSuiteCpMCChartContent[tabindex]:focus {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
+
outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);
|
|
32
|
+
outline-offset: 1px;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
html.sap-desktop .sapSuiteCpMCChartContent:focus:not([tabindex]),
|
|
34
36
|
.sapSuiteCpMCChartContent:focus:not([tabindex]) {
|
|
35
|
-
|
|
37
|
+
outline: none;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
html.sap-desktop .sapSuiteCpMCChartBar.sapSuiteUiMicroChartPointer:hover {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
border: 1px solid var(--sapContent_FocusColor);
|
|
42
|
+
outline: 1px solid var(--sapContent_FocusColor);
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
html.sap-desktop .sapSuiteUiMicroChartBarPointer:focus {
|
|
44
|
-
|
|
46
|
+
outline: 2px solid var(--sapField_Focus_BorderColor) !important;
|
|
45
47
|
}
|
|
46
48
|
|
|
47
49
|
html.sap-desktop .sapSuiteUiMicroChartBarPointer:hover {
|
|
48
|
-
|
|
50
|
+
outline: 1px solid var(--sapButton_Hover_BorderColor);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
.sapSuiteCpMCVerticalAlignmentContainer {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
54
|
+
position: relative;
|
|
55
|
+
width: 100%;
|
|
56
|
+
min-height: 1.5rem;
|
|
57
|
+
max-height: 100%;
|
|
58
|
+
min-width: 4rem;
|
|
59
|
+
max-width: 20rem;
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
justify-content: center;
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
.sapSuiteCpMCShrinkable .sapSuiteCpMCVerticalAlignmentContainer {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
top: auto;
|
|
67
|
+
transform: none;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
/* different possible sizes, only specifies the size of the whole element */
|
|
69
71
|
.sapSuiteCpMCChartContent.sapSuiteCpMCResponsive {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
+
width: 100%;
|
|
73
|
+
height: 100%;
|
|
72
74
|
}
|
|
73
75
|
|
|
74
76
|
.sapSuiteCpMCChartContent.sapSuiteCpMCSizeL {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
height: 5.875rem;
|
|
78
|
+
width: 12rem;
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
html.sapUiMedia-Std-Desktop .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,
|
|
80
82
|
html.sapUiMedia-Std-Tablet .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,
|
|
81
83
|
.sapSuiteCpMCChartContent.sapSuiteCpMCSizeM {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
height: 4.5rem;
|
|
85
|
+
width: 10.5rem;
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
html.sapUiMedia-Std-Phone .sapSuiteCpMCChartContent.sapSuiteCpMCSizeAuto,
|
|
87
89
|
.sapSuiteCpMCChartContent.sapSuiteCpMCSizeS {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
height: 3.5rem;
|
|
91
|
+
width: 8.25rem;
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
.sapSuiteCpMCChartContent.sapSuiteCpMCSizeXS {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
+
height: 1.5rem;
|
|
96
|
+
width: 6rem;
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
.sapSuiteCpMCChartBar {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
display: flex;
|
|
101
|
+
position: absolute;
|
|
102
|
+
width: 100%;
|
|
103
|
+
box-sizing: border-box;
|
|
102
104
|
}
|
|
103
105
|
|
|
104
106
|
.sapSuiteCpMCChartBar > div {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
height: 100%;
|
|
108
|
+
min-width: 0.25rem;
|
|
107
109
|
}
|
|
108
110
|
|
|
109
|
-
|
|
111
|
+
/* different possible looks that are changed base on the current width of the container */
|
|
110
112
|
.sapSuiteCpMCChartContent.sapSuiteCpMCLookL {
|
|
111
|
-
|
|
113
|
+
font-size: @sapMFontMediumSize;
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
.sapSuiteCpMCChartItem {
|
|
116
|
+
height: 1.5rem;
|
|
117
|
+
margin-bottom: 0.625rem;
|
|
118
|
+
}
|
|
117
119
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
120
|
+
.sapSuiteCpMCChartBar {
|
|
121
|
+
height: 0.375rem;
|
|
122
|
+
top: 1.0625rem;
|
|
123
|
+
}
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
.sapSuiteCpMCChartContent.sapSuiteCpMCLookM {
|
|
126
|
-
|
|
127
|
+
font-size: var(--sapFontSmallSize);
|
|
127
128
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
.sapSuiteCpMCChartItem {
|
|
130
|
+
height: 1.5rem;
|
|
131
|
+
margin-bottom: 0;
|
|
132
|
+
}
|
|
132
133
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
134
|
+
.sapSuiteCpMCChartBar {
|
|
135
|
+
height: 0.375rem;
|
|
136
|
+
top: 1.125rem;
|
|
137
|
+
}
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.sapSuiteCpMCChartContent.sapSuiteCpMCLookS {
|
|
141
|
-
font-size:
|
|
141
|
+
font-size: var(--sapFontSmallSize);
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
.sapSuiteCpMCChartItem {
|
|
144
|
+
height: 1rem;
|
|
145
|
+
margin-bottom: 0.125rem;
|
|
146
|
+
}
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}
|
|
148
|
+
.sapSuiteCpMCChartBar {
|
|
149
|
+
height: 0.25rem;
|
|
150
|
+
top: 1rem;
|
|
151
|
+
}
|
|
153
152
|
}
|
|
154
153
|
|
|
155
154
|
.sapSuiteCpMCChartContent.sapSuiteCpMCLookXS {
|
|
156
|
-
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
157
|
-
display: none;
|
|
158
|
-
}
|
|
159
155
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}
|
|
156
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
157
|
+
display: none;
|
|
158
|
+
}
|
|
164
159
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
.sapSuiteCpMCChartItem {
|
|
161
|
+
height: 0.1875rem;
|
|
162
|
+
margin-bottom: 0.1875rem;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.sapSuiteCpMCChartBar {
|
|
166
|
+
height: 0.25rem;
|
|
167
|
+
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
.sapSuiteCpMCChartContent.sapSuiteCpMCLookWide {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
171
|
+
font-size: @sapMFontMediumSize;
|
|
172
|
+
|
|
173
|
+
.sapSuiteCpMCChartItem {
|
|
174
|
+
height: 0.875rem;
|
|
175
|
+
margin-bottom: 0.3rem;
|
|
176
|
+
align-items: center;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.sapSuiteCpMCChartBar {
|
|
180
|
+
height: 0.375rem;
|
|
181
|
+
position: relative;
|
|
182
|
+
margin-left: 2.5%;
|
|
183
|
+
margin-right: 2.5%;
|
|
184
|
+
min-width: 4rem;
|
|
185
|
+
flex-shrink: 1000;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
189
|
+
top: 0;
|
|
190
|
+
margin-left: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sapSuiteCpMCChartItemTitle {
|
|
194
|
+
flex-shrink: 1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.sapSuiteCpMCChartItemValue {
|
|
198
|
+
text-align: right;
|
|
199
|
+
max-width: ~"calc(100% - 5% - 4ch - 4rem)"; /* 5% for the margin-left and 4ch for the min-width of sapSuiteCpMCChartItemValue, 4rem for min-width of sapSuiteCpMCChartBar */
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.sapSuiteCpMCChartItemHiddenLabel {
|
|
203
|
+
display: block;
|
|
204
|
+
visibility: hidden; /* even hidden label value has to be aligned with the other values */
|
|
205
|
+
}
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
.sapSuiteCpMCChartBarNegNoValue,
|
|
209
209
|
.sapSuiteCpMCChartBarNoValue {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
background-color: var(--sapContent_ForegroundColor);
|
|
211
|
+
box-shadow: inset -1px 0 0 0 var(--sapContent_ForegroundBorderColor),inset 1px 0 0 0 var(--sapContent_ForegroundBorderColor),inset 0 1px 0 0 var(--sapContent_ForegroundBorderColor), inset 0 -1px 0 0 var(--sapContent_ForegroundBorderColor);
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.sapSuiteCpMCNegPosNoValue {
|
|
215
|
-
|
|
215
|
+
box-shadow: inset -1px 0 0 0 var(--sapContent_ForegroundBorderColor),inset 0 1px 0 0 var(--sapContent_ForegroundBorderColor),inset 0 -1px 0 0 var(--sapContent_ForegroundBorderColor);
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
.sapSuiteCpMCNotLastBarPart {
|
|
219
|
-
|
|
219
|
+
box-shadow: inset -1px 0 0 0 var(--sapField_Background), inset 1px 0 0 0 var(--sapContent_ForegroundBorderColor), inset 0 1px 0 0 var(--sapContent_ForegroundBorderColor), inset 0 -1px 0 0 var(--sapContent_ForegroundBorderColor);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
.sapSuiteCpMCNotFirstBarPart {
|
|
223
|
-
|
|
223
|
+
box-shadow: inset -1px 0 0 0 var(--sapContent_ForegroundBorderColor), inset 1px 0 0 0 var(--sapField_Background), inset 0 1px 0 0 var(--sapContent_ForegroundBorderColor), inset 0 -1px 0 0 var(--sapContent_ForegroundBorderColor);
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
.sapSuiteCpMCChartItem {
|
|
227
|
-
|
|
228
|
-
position: relative;
|
|
229
|
-
line-height: normal;
|
|
230
|
-
display: flex;
|
|
231
|
-
justify-content: space-between;
|
|
232
|
-
align-items: flex-start;
|
|
233
|
-
flex: 0 0 auto; // item is not supposed to change it size
|
|
234
|
-
|
|
235
|
-
.sapSuiteCpMCChartItemTitle {
|
|
236
|
-
color: @sapChart_Data_TextColor;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
240
|
-
overflow: hidden;
|
|
241
|
-
text-overflow: ellipsis;
|
|
242
|
-
white-space: nowrap;
|
|
227
|
+
width: 100%;
|
|
243
228
|
position: relative;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
229
|
+
line-height: normal;
|
|
230
|
+
display: flex;
|
|
231
|
+
justify-content: space-between;
|
|
232
|
+
align-items: flex-start;
|
|
233
|
+
flex: 0 0 auto; /* item is not supposed to change it size */
|
|
234
|
+
|
|
235
|
+
.sapSuiteCpMCChartItemTitle {
|
|
236
|
+
color: var(--sapChart_Data_TextColor);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
240
|
+
overflow: hidden;
|
|
241
|
+
text-overflow: ellipsis;
|
|
242
|
+
white-space: nowrap;
|
|
243
|
+
position: relative;
|
|
244
|
+
top: 0.0625rem;
|
|
245
|
+
min-width: 4ch; /* always show at least 4 characters (for the first letter and dots) */
|
|
246
|
+
text-align: start;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.sapSuiteCpMCChartItemHiddenLabel {
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.sapSuiteCpMCChartItemValue {
|
|
254
|
+
max-width: ~"calc(100% - 6% - 4ch)"; /* 6% for the margin-left and 4ch for the min-width of sapSuiteCpMCChartItemValue */
|
|
255
|
+
margin-left: 6%;
|
|
256
|
+
flex-shrink: 0;
|
|
257
|
+
text-align: end;
|
|
258
|
+
}
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.sapSuiteCpMCSizeM:not(.sapSuiteCpMCLookWide),.sapSuiteCpMCLookM:not(.sapSuiteCpMCLookWide) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
262
|
+
|
|
263
|
+
.sapSuiteCpMCChartItem {
|
|
264
|
+
|
|
265
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
266
|
+
top: 0.125rem;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
267
269
|
}
|
|
268
270
|
|
|
269
271
|
.sapSuiteCpMCSizeL:not(.sapSuiteCpMCLookWide),.sapSuiteCpMCLookL:not(.sapSuiteCpMCLookWide) {
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
272
|
+
|
|
273
|
+
.sapSuiteCpMCChartItem {
|
|
274
|
+
|
|
275
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
276
|
+
top: -0.0625rem;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
275
279
|
}
|
|
276
280
|
|
|
277
281
|
.sapSuiteCpMCSizeS:not(.sapSuiteCpMCLookWide),.sapSuiteCpMCLookS:not(.sapSuiteCpMCLookWide) {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
282
|
+
|
|
283
|
+
.sapSuiteCpMCChartItem {
|
|
284
|
+
|
|
285
|
+
.sapSuiteCpMCChartItemTitle, .sapSuiteCpMCChartItemValue {
|
|
286
|
+
top: 0.0625rem;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
283
289
|
}
|
|
284
290
|
|
|
285
|
-
|
|
291
|
+
/* When Chinese language is selected and when the chart has been kept inside the GenericTile(Small), the space between the bar and chart should be 1px */
|
|
286
292
|
|
|
287
293
|
.sapMGT.sapMTileSmallPhone {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
294
|
+
|
|
295
|
+
.sapSuiteCpMC.sapCMCEastCharsPresent.sapSuiteCpMCLookS:not(.sapSuiteCpMCLookWide) {
|
|
296
|
+
|
|
297
|
+
.sapSuiteCpMCChartItem .sapSuiteCpMCChartItemTitle {
|
|
298
|
+
top: 0;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
293
301
|
}
|
|
294
302
|
|
|
295
303
|
.sapSuiteCpMCLookWide.sapSuiteCpMCSizeXS {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
304
|
+
|
|
305
|
+
.sapSuiteCpMCChartItemValue {
|
|
306
|
+
display: none;
|
|
307
|
+
}
|
|
299
308
|
}
|
|
300
|
-
|
|
309
|
+
|
|
310
|
+
/* colors */
|
|
301
311
|
.sapSuiteCpMCChartItemValue,
|
|
302
312
|
.sapSuiteCpMCChartItemValue.sapSuiteCpMCViewTypeNormal,
|
|
303
313
|
.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorNeutral {
|
|
304
|
-
|
|
314
|
+
color: @sapUiChartCategoryAxisLabelFontColor;
|
|
305
315
|
}
|
|
306
316
|
|
|
307
317
|
.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorGood {
|
|
308
|
-
|
|
318
|
+
color: var(--sapPositiveTextColor);
|
|
309
319
|
}
|
|
310
320
|
|
|
311
321
|
.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorCritical {
|
|
312
|
-
|
|
322
|
+
color: var(--sapCriticalTextColor);
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
.sapSuiteCpMCChartItemValue.sapSuiteCpMCSemanticColorError {
|
|
316
|
-
|
|
326
|
+
color: var(--sapNegativeTextColor);
|
|
317
327
|
}
|
|
318
328
|
|
|
319
|
-
|
|
320
329
|
.sapSuiteCpMCChartBarValue {
|
|
321
|
-
|
|
330
|
+
background-color: @sapUiChartPaletteQualitativeHue1;
|
|
322
331
|
}
|
|
332
|
+
|
|
323
333
|
.sapSuiteCpMCChartBarValue {
|
|
324
|
-
|
|
334
|
+
.sapSuiteBackgroundSemanticColor(sapSuiteCpMCSemanticColor)
|
|
325
335
|
}
|