@odx/ui 5.0.13 → 5.1.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/CHANGELOG.md +7 -0
- package/charts-theme.css +1 -1
- package/core-theme.css +1 -1
- package/package.json +1 -1
- package/scss/_color-palettes-dark.scss +11 -50
- package/scss/_color-palettes.scss +42 -94
- package/scss/chart-footer.component.scss +21 -0
- package/scss/chart-header.component.scss +49 -0
- package/scss/charts/colors/_color-palettes-dark.scss +14 -0
- package/scss/charts/colors/_color-palettes.scss +44 -0
- package/scss/charts/components/chart-footer.component.scss +21 -0
- package/scss/charts/components/chart-header.component.scss +49 -0
- package/scss/charts/components/circle-chart-table.component.scss +46 -0
- package/scss/charts/components/gantt-chart.component.scss +24 -0
- package/scss/charts/components/line-timeframes-chart.component.scss +59 -0
- package/scss/charts/components/mirror-bar-chart.component.scss +34 -0
- package/scss/charts/components/multi-axis-box-plot.component.scss +49 -0
- package/scss/charts/components/slider-bar-chart.component.scss +7 -0
- package/scss/charts/components/stairs-combo-chart.component.scss +9 -0
- package/scss/charts/theme.scss +13 -47
- package/scss/circle-chart-table.component.scss +46 -0
- package/scss/colors/_color-palettes-dark.scss +14 -0
- package/scss/colors/_color-palettes.scss +44 -0
- package/scss/components/chart-footer.component.scss +21 -0
- package/scss/components/chart-header.component.scss +49 -0
- package/scss/components/circle-chart-table.component.scss +46 -0
- package/scss/components/gantt-chart.component.scss +24 -0
- package/scss/components/line-timeframes-chart.component.scss +59 -0
- package/scss/components/mirror-bar-chart.component.scss +34 -0
- package/scss/components/multi-axis-box-plot.component.scss +49 -0
- package/scss/components/slider-bar-chart.component.scss +7 -0
- package/scss/components/stairs-combo-chart.component.scss +9 -0
- package/scss/components/toast-item.component.scss +20 -2
- package/scss/components/toast.component.scss +0 -1
- package/scss/gantt-chart.component.scss +24 -0
- package/scss/line-timeframes-chart.component.scss +59 -0
- package/scss/mirror-bar-chart.component.scss +34 -0
- package/scss/multi-axis-box-plot.component.scss +49 -0
- package/scss/slider-bar-chart.component.scss +7 -0
- package/scss/stairs-combo-chart.component.scss +9 -0
- package/scss/toast-item.component.scss +20 -2
- package/scss/toast.component.scss +0 -1
package/scss/charts/theme.scss
CHANGED
|
@@ -1,51 +1,17 @@
|
|
|
1
1
|
@use '../abstract/dimensions';
|
|
2
2
|
@use '../abstract/typography';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
--charts-series-sky-300: #3d88e0;
|
|
8
|
-
--charts-series-indigo-300: #6a53e6;
|
|
9
|
-
--charts-series-purple-300: #8f32e2;
|
|
10
|
-
--charts-series-violet-300: #b318d4;
|
|
11
|
-
--charts-series-berry-300: #ee1b80;
|
|
4
|
+
// Chart theme colors
|
|
5
|
+
@use './colors/color-palettes';
|
|
6
|
+
@use './colors/color-palettes-dark';
|
|
12
7
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
--charts-series-sky-500: #254084;
|
|
24
|
-
--charts-series-indigo-500: #3720ae;
|
|
25
|
-
--charts-series-purple-500: #570f9b;
|
|
26
|
-
--charts-series-violet-500: #760584;
|
|
27
|
-
--charts-series-berry-500: #a90857;
|
|
28
|
-
|
|
29
|
-
--charts-series-aqua-200: #35eed8;
|
|
30
|
-
--charts-series-ocean-200: #6ecdff;
|
|
31
|
-
--charts-series-sky-200: #7aa6fc;
|
|
32
|
-
--charts-series-indigo-200: #8976f8;
|
|
33
|
-
--charts-series-purple-200: #a662e7;
|
|
34
|
-
--charts-series-violet-200: #bf56d1;
|
|
35
|
-
--charts-series-berry-200: #de599a;
|
|
36
|
-
|
|
37
|
-
--charts-series-aqua-400: #09a491;
|
|
38
|
-
--charts-series-ocean-400: #1c8093;
|
|
39
|
-
--charts-series-sky-400: #355fad;
|
|
40
|
-
--charts-series-indigo-400: #523cd2;
|
|
41
|
-
--charts-series-purple-400: #8f32e2;
|
|
42
|
-
--charts-series-violet-400: #9a0aaf;
|
|
43
|
-
--charts-series-berry-400: #cb0b68;
|
|
44
|
-
|
|
45
|
-
--charts-border-color: var(--odx-c-separator);
|
|
46
|
-
--charts-text-color: var(--odx-c-text);
|
|
47
|
-
--charts-background-color: var(--odx-c-background-content);
|
|
48
|
-
|
|
49
|
-
--charts-font-family: var(--odx-typography-font-family);
|
|
50
|
-
--charts-font-size: var(--odx-typography-base-size);
|
|
51
|
-
}
|
|
8
|
+
// Chart components
|
|
9
|
+
@use './components/circle-chart-table.component';
|
|
10
|
+
@use './components/gantt-chart.component';
|
|
11
|
+
@use './components/line-timeframes-chart.component';
|
|
12
|
+
@use './components/mirror-bar-chart.component';
|
|
13
|
+
@use './components/multi-axis-box-plot.component';
|
|
14
|
+
@use './components/stairs-combo-chart.component';
|
|
15
|
+
@use './components/slider-bar-chart.component';
|
|
16
|
+
@use './components/chart-header.component';
|
|
17
|
+
@use './components/chart-footer.component';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.odx-circle-chart-table {
|
|
2
|
+
$root: &;
|
|
3
|
+
|
|
4
|
+
display: block;
|
|
5
|
+
|
|
6
|
+
&__container {
|
|
7
|
+
display: flex;
|
|
8
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
9
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__chart {
|
|
14
|
+
flex: 0 0 auto;
|
|
15
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 5.375);
|
|
16
|
+
position: relative;
|
|
17
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 5.375);
|
|
18
|
+
|
|
19
|
+
&-center {
|
|
20
|
+
left: 50%;
|
|
21
|
+
position: absolute;
|
|
22
|
+
text-align: center;
|
|
23
|
+
top: 50%;
|
|
24
|
+
transform: translate(-50%, -50%);
|
|
25
|
+
|
|
26
|
+
&-main {
|
|
27
|
+
font-size: calc(var(--odx-typography-base-size) * 1.375);
|
|
28
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#{$root}__table {
|
|
34
|
+
flex: 1 1 auto;
|
|
35
|
+
min-width: 0;
|
|
36
|
+
|
|
37
|
+
.color-dot {
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
41
|
+
margin-right: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@use '../../abstract/utils';
|
|
2
|
+
|
|
3
|
+
@include utils.theme-selector(dark) {
|
|
4
|
+
--odx-charts-series-blue-700: var(--odx-charts-series-blue-100);
|
|
5
|
+
--odx-charts-series-cyan-700: var(--odx-charts-series-cyan-100);
|
|
6
|
+
--odx-charts-series-aqua-700: var(--odx-charts-series-aqua-100);
|
|
7
|
+
--odx-charts-series-ocean-700: var(--odx-charts-series-ocean-100);
|
|
8
|
+
--odx-charts-series-indigo-700: var(--odx-charts-series-indigo-100);
|
|
9
|
+
--odx-charts-series-purple-700: var(--odx-charts-series-purple-100);
|
|
10
|
+
--odx-charts-series-berry-700: var(--odx-charts-series-berry-100);
|
|
11
|
+
--odx-charts-series-violet-700: var(--odx-charts-series-violet-100);
|
|
12
|
+
--odx-charts-series-gray-75-dark-700: var(--draeger-cool-gray-15);
|
|
13
|
+
--odx-charts-series-gray-50-dark-700: var(--draeger-cool-gray-25);
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--odx-charts-series-blue-500: var(--blue-500);
|
|
3
|
+
--odx-charts-series-cyan-500: var(--cyan-500);
|
|
4
|
+
--odx-charts-series-aqua-500: #15dcc4;
|
|
5
|
+
--odx-charts-series-ocean-500: #1cb4d8;
|
|
6
|
+
--odx-charts-series-indigo-500: #6a53e6;
|
|
7
|
+
--odx-charts-series-purple-500: #8f32e2;
|
|
8
|
+
--odx-charts-series-berry-500: #ee1b80;
|
|
9
|
+
--odx-charts-series-violet-500: #b318d4;
|
|
10
|
+
--odx-charts-series-gray-medium-50-500: var(--draeger-cool-gray-50);
|
|
11
|
+
--odx-charts-series-gray-medium-25-500: var(--draeger-cool-gray-25);
|
|
12
|
+
|
|
13
|
+
--odx-charts-series-blue-700: var(--blue-700);
|
|
14
|
+
--odx-charts-series-cyan-700: var(--cyan-700);
|
|
15
|
+
--odx-charts-series-aqua-700: #09a491;
|
|
16
|
+
--odx-charts-series-ocean-700: #1c8093;
|
|
17
|
+
--odx-charts-series-indigo-700: #523cd2;
|
|
18
|
+
--odx-charts-series-purple-700: #751fc7;
|
|
19
|
+
--odx-charts-series-berry-700: #cd0b68;
|
|
20
|
+
--odx-charts-series-violet-700: #9a0aaf;
|
|
21
|
+
--odx-charts-series-gray-75-dark-700: var(--draeger-cool-gray-75);
|
|
22
|
+
--odx-charts-series-gray-50-dark-700: var(--draeger-cool-gray-50);
|
|
23
|
+
|
|
24
|
+
--odx-charts-series-blue-100: #a8c4f0;
|
|
25
|
+
--odx-charts-series-cyan-100: #9dd7ff;
|
|
26
|
+
--odx-charts-series-aqua-100: #9af4ea;
|
|
27
|
+
--odx-charts-series-ocean-100: #a0dcff;
|
|
28
|
+
--odx-charts-series-indigo-100: #a99ded;
|
|
29
|
+
--odx-charts-series-purple-100: #c693f4;
|
|
30
|
+
--odx-charts-series-violet-100: #e08ff2;
|
|
31
|
+
--odx-charts-series-berry-100: #f0a7cb;
|
|
32
|
+
|
|
33
|
+
--odx-charts-border-color: var(--odx-c-separator);
|
|
34
|
+
--odx-charts-text-color: var(--odx-c-text);
|
|
35
|
+
--odx-charts-background-color: var(--odx-c-background-content);
|
|
36
|
+
|
|
37
|
+
--odx-charts-font-family: var(--odx-typography-font-family);
|
|
38
|
+
--odx-charts-font-size: var(--odx-typography-base-size);
|
|
39
|
+
|
|
40
|
+
--draeger-cool-gray-15: #cdd2d7;
|
|
41
|
+
--draeger-cool-gray-25: #b4b9be;
|
|
42
|
+
--draeger-cool-gray-50: #878c91;
|
|
43
|
+
--draeger-cool-gray-75: #5a646e;
|
|
44
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.odx-chart-footer {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.75);
|
|
5
|
+
justify-content: flex-end;
|
|
6
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
.legend-item {
|
|
10
|
+
align-items: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
13
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.legend-dot {
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
19
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.odx-chart-header {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
|
|
6
|
+
.odx-chart-header__actions {
|
|
7
|
+
display: none;
|
|
8
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.odx-chart-header--center {
|
|
14
|
+
align-items: center;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
17
|
+
justify-content: center;
|
|
18
|
+
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
19
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.odx-chart-header--split,
|
|
23
|
+
.odx-chart-header--controls,
|
|
24
|
+
.odx-chart-header--toggle,
|
|
25
|
+
.odx-chart-header--textlink {
|
|
26
|
+
align-items: center;
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
31
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
32
|
+
|
|
33
|
+
.odx-chart-header__actions {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.odx-chart-header--controls {
|
|
40
|
+
.odx-chart-header__actions form {
|
|
41
|
+
align-items: center;
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
44
|
+
|
|
45
|
+
.odx-select__trigger {
|
|
46
|
+
padding: 0 calc(var(--odx-vertical-rythm-base-size) * 0.3);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.odx-circle-chart-table {
|
|
2
|
+
$root: &;
|
|
3
|
+
|
|
4
|
+
display: block;
|
|
5
|
+
|
|
6
|
+
&__container {
|
|
7
|
+
display: flex;
|
|
8
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
9
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__chart {
|
|
14
|
+
flex: 0 0 auto;
|
|
15
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 5.375);
|
|
16
|
+
position: relative;
|
|
17
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 5.375);
|
|
18
|
+
|
|
19
|
+
&-center {
|
|
20
|
+
left: 50%;
|
|
21
|
+
position: absolute;
|
|
22
|
+
text-align: center;
|
|
23
|
+
top: 50%;
|
|
24
|
+
transform: translate(-50%, -50%);
|
|
25
|
+
|
|
26
|
+
&-main {
|
|
27
|
+
font-size: calc(var(--odx-typography-base-size) * 1.375);
|
|
28
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#{$root}__table {
|
|
34
|
+
flex: 1 1 auto;
|
|
35
|
+
min-width: 0;
|
|
36
|
+
|
|
37
|
+
.color-dot {
|
|
38
|
+
border-radius: 50%;
|
|
39
|
+
display: inline-block;
|
|
40
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
41
|
+
margin-right: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
42
|
+
vertical-align: middle;
|
|
43
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.odx-gantt-chart {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
&__line {
|
|
6
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 5.625);
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
canvas {
|
|
10
|
+
height: 100% !important;
|
|
11
|
+
width: 100% !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__bar {
|
|
16
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 14.0625);
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
canvas {
|
|
20
|
+
height: 100% !important;
|
|
21
|
+
width: 100% !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.odx-line-timeframes-chart {
|
|
2
|
+
.odx-line-timeframes-chart__container {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__chart {
|
|
9
|
+
flex: 1 0 80%;
|
|
10
|
+
height: auto;
|
|
11
|
+
max-width: 80%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__timeframe {
|
|
15
|
+
min-width: calc(20% - var(--odx-vertical-rythm-base-size));
|
|
16
|
+
|
|
17
|
+
&-title {
|
|
18
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
19
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-items {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-item {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
32
|
+
|
|
33
|
+
&-header {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-dot {
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.3125);
|
|
43
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.3125);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-label {
|
|
47
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
48
|
+
line-height: 1.2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-value {
|
|
52
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
53
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
54
|
+
line-height: 1.2;
|
|
55
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5 + 8px);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.odx-mirror-bar-chart {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
&__title {
|
|
8
|
+
color: var(--odx-c-text-primary);
|
|
9
|
+
font-size: var(--odx-typography-base-size);
|
|
10
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__container {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__wrapper {
|
|
20
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 9.375);
|
|
21
|
+
position: relative;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__controls {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.odx-mirror-bar-chart__wrapper:nth-child(2) {
|
|
33
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 9.375 - 40px);
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.odx-multi-axis-box-plot {
|
|
2
|
+
&__item {
|
|
3
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__header {
|
|
7
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__title {
|
|
11
|
+
align-items: center;
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__label {
|
|
17
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__value {
|
|
21
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__chart-container {
|
|
25
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 2.0312);
|
|
26
|
+
margin: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
27
|
+
position: relative;
|
|
28
|
+
z-index: var(--odx-v-layer-1);
|
|
29
|
+
|
|
30
|
+
canvas {
|
|
31
|
+
height: 100% !important;
|
|
32
|
+
width: 100% !important;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__color-scale {
|
|
37
|
+
bottom: calc(var(--odx-vertical-rythm-base-size) * 0.625);
|
|
38
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
39
|
+
left: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
position: absolute;
|
|
42
|
+
width: calc(100% - var(--odx-vertical-rythm-base-size) * 0.3125);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__color-range {
|
|
46
|
+
height: 100%;
|
|
47
|
+
position: absolute;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
--odx-c-warning: var(--yellow-50);
|
|
9
9
|
--odx-c-danger: var(--red-00);
|
|
10
10
|
--odx-c-success: var(--green-00);
|
|
11
|
+
--odx-c-warning-strong: var(--yellow-500);
|
|
12
|
+
--odx-c-danger-strong: var(--red-500);
|
|
11
13
|
|
|
12
14
|
$root: &;
|
|
13
|
-
$variants: default, warning, danger, success;
|
|
15
|
+
$variants: default, warning, danger, success, warning-strong, danger-strong;
|
|
14
16
|
$gap: dimensions.get-size(math.div(12, 24));
|
|
15
17
|
|
|
16
18
|
border-radius: var(--odx-toast-border-radius);
|
|
17
19
|
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
20
|
+
color: var(--odx-c-text);
|
|
18
21
|
display: block;
|
|
19
22
|
|
|
20
23
|
&__content {
|
|
@@ -43,6 +46,7 @@
|
|
|
43
46
|
@include utils.interactive(true);
|
|
44
47
|
|
|
45
48
|
background-color: transparent;
|
|
49
|
+
color: var(--odx-c-text);
|
|
46
50
|
margin: 0;
|
|
47
51
|
margin-right: calc(#{$gap} / -2);
|
|
48
52
|
margin-top: calc(#{$gap} / -2);
|
|
@@ -66,7 +70,7 @@
|
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
&--danger {
|
|
69
|
-
--odx-c-text: var(--
|
|
73
|
+
--odx-c-text: var(--odx-c-error-text);
|
|
70
74
|
--odx-v-scrollbar-thumb-color: var(--odx-c-text);
|
|
71
75
|
--odx-v-scrollbar-thumb-color-hover: var(--red-800);
|
|
72
76
|
|
|
@@ -76,4 +80,18 @@
|
|
|
76
80
|
color: inherit;
|
|
77
81
|
}
|
|
78
82
|
}
|
|
83
|
+
|
|
84
|
+
&--danger-strong {
|
|
85
|
+
--odx-c-text: var(--white);
|
|
86
|
+
|
|
87
|
+
:root:has([odxTheme='dark'], .odx-theme-dark) & {
|
|
88
|
+
--odx-c-text: var(--black);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&--warning-strong {
|
|
93
|
+
:root:has([odxTheme='dark'], .odx-theme-dark) & {
|
|
94
|
+
--odx-c-text: var(--white);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
79
97
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.odx-gantt-chart {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
|
|
5
|
+
&__line {
|
|
6
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 5.625);
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
canvas {
|
|
10
|
+
height: 100% !important;
|
|
11
|
+
width: 100% !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__bar {
|
|
16
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 14.0625);
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
canvas {
|
|
20
|
+
height: 100% !important;
|
|
21
|
+
width: 100% !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.odx-line-timeframes-chart {
|
|
2
|
+
.odx-line-timeframes-chart__container {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__chart {
|
|
9
|
+
flex: 1 0 80%;
|
|
10
|
+
height: auto;
|
|
11
|
+
max-width: 80%;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__timeframe {
|
|
15
|
+
min-width: calc(20% - var(--odx-vertical-rythm-base-size));
|
|
16
|
+
|
|
17
|
+
&-title {
|
|
18
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
19
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-items {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-item {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
32
|
+
|
|
33
|
+
&-header {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-dot {
|
|
40
|
+
border-radius: 50%;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.3125);
|
|
43
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.3125);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-label {
|
|
47
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
48
|
+
line-height: 1.2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-value {
|
|
52
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
53
|
+
font-weight: var(--odx-typography-font-weight-bold);
|
|
54
|
+
line-height: 1.2;
|
|
55
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5 + 8px);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.odx-mirror-bar-chart {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
&__title {
|
|
8
|
+
color: var(--odx-c-text-primary);
|
|
9
|
+
font-size: var(--odx-typography-base-size);
|
|
10
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__container {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__wrapper {
|
|
20
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 9.375);
|
|
21
|
+
position: relative;
|
|
22
|
+
width: 100%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__controls {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.odx-mirror-bar-chart__wrapper:nth-child(2) {
|
|
33
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 9.375 - 40px);
|
|
34
|
+
}
|