@odx/ui 5.0.13 → 5.2.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 (49) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/charts-theme.css +1 -1
  3. package/core-theme.css +1 -1
  4. package/package.json +1 -1
  5. package/scss/_color-palettes-dark.scss +11 -50
  6. package/scss/_color-palettes.scss +42 -94
  7. package/scss/anchor-navigation.component.scss +91 -0
  8. package/scss/chart-footer.component.scss +21 -0
  9. package/scss/chart-header.component.scss +49 -0
  10. package/scss/charts/colors/_color-palettes-dark.scss +14 -0
  11. package/scss/charts/colors/_color-palettes.scss +44 -0
  12. package/scss/charts/components/chart-footer.component.scss +21 -0
  13. package/scss/charts/components/chart-header.component.scss +49 -0
  14. package/scss/charts/components/circle-chart-table.component.scss +46 -0
  15. package/scss/charts/components/gantt-chart.component.scss +24 -0
  16. package/scss/charts/components/line-timeframes-chart.component.scss +59 -0
  17. package/scss/charts/components/mirror-bar-chart.component.scss +34 -0
  18. package/scss/charts/components/multi-axis-box-plot.component.scss +49 -0
  19. package/scss/charts/components/slider-bar-chart.component.scss +7 -0
  20. package/scss/charts/components/stairs-combo-chart.component.scss +9 -0
  21. package/scss/charts/theme.scss +13 -47
  22. package/scss/chip.component.scss +1 -0
  23. package/scss/circle-chart-table.component.scss +46 -0
  24. package/scss/colors/_color-palettes-dark.scss +14 -0
  25. package/scss/colors/_color-palettes.scss +44 -0
  26. package/scss/components/anchor-navigation.component.scss +91 -0
  27. package/scss/components/chart-footer.component.scss +21 -0
  28. package/scss/components/chart-header.component.scss +49 -0
  29. package/scss/components/chip.component.scss +1 -0
  30. package/scss/components/circle-chart-table.component.scss +46 -0
  31. package/scss/components/gantt-chart.component.scss +24 -0
  32. package/scss/components/line-timeframes-chart.component.scss +59 -0
  33. package/scss/components/mirror-bar-chart.component.scss +34 -0
  34. package/scss/components/multi-axis-box-plot.component.scss +49 -0
  35. package/scss/components/slider-bar-chart.component.scss +7 -0
  36. package/scss/components/stairs-combo-chart.component.scss +9 -0
  37. package/scss/components/table.component.scss +0 -6
  38. package/scss/components/toast-item.component.scss +20 -2
  39. package/scss/components/toast.component.scss +0 -1
  40. package/scss/core.scss +1 -0
  41. package/scss/gantt-chart.component.scss +24 -0
  42. package/scss/line-timeframes-chart.component.scss +59 -0
  43. package/scss/mirror-bar-chart.component.scss +34 -0
  44. package/scss/multi-axis-box-plot.component.scss +49 -0
  45. package/scss/slider-bar-chart.component.scss +7 -0
  46. package/scss/stairs-combo-chart.component.scss +9 -0
  47. package/scss/table.component.scss +0 -6
  48. package/scss/toast-item.component.scss +20 -2
  49. package/scss/toast.component.scss +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "5.0.13",
3
+ "version": "5.2.0",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -1,53 +1,14 @@
1
- @use '../abstract/utils';
1
+ @use '../../abstract/utils';
2
2
 
3
3
  @include utils.theme-selector(dark) {
4
- --white: #293642;
5
- --white-dark: #060a12;
6
- --black: #ffffff;
7
- --black-20: #{rgba(#000000, 60%)};
8
-
9
- --focus-bg: #284e68;
10
-
11
- --white-60: #{rgba(var(--white), 0.6)};
12
-
13
- --gray-50: #2e3d49;
14
- --gray-100: #344351;
15
- --gray-200: #3e5160;
16
- --gray-300: #495e6e;
17
- --gray-400: #556c7c;
18
- --gray-500: #607a8a;
19
- --gray-600: #6d8797;
20
- --gray-700: #7d94a1;
21
- --gray-800: #e9eef4;
22
- --gray-900: #9cacb4;
23
-
24
- --blue-50: #455e85;
25
- --blue-50-5: #{rgba(#455e85, 0.1)};
26
- --blue-100: #043c95;
27
- --blue-600: #a8c4f0;
28
- --blue-700: #cbe9ff;
29
- --blue-700-5: #{rgba(#cbe9ff, 0.1)};
30
- --blue-700-10: #{rgba(#cbe9ff, 0.2)};
31
- --blue-900: #d5e2f6;
32
-
33
- --cyan-50: #002766;
34
- --cyan-100: #003c66;
35
- --cyan-200: #00508a;
36
- --cyan-300: #0065ad;
37
- --cyan-400: #007ad1;
38
- --cyan-600: #1fa2ff;
39
- --cyan-700: #47b3ff;
40
- --cyan-800: #70c4ff;
41
- --cyan-900: #9dd7ff;
42
-
43
- --red-00: #4b3138;
44
- --red-50: #724956;
45
- --red-100: #bc0000;
46
- --red-700: #ff9898;
47
- --red-800: #ffb4b4;
48
- --red-900: #ffe0e3;
49
-
50
- --yellow-50: #5f5439;
51
-
52
- --green-00: #355e54;
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);
53
14
  }
@@ -1,96 +1,44 @@
1
1
  :root {
2
- --white: #ffffff;
3
- --black: #00060f;
4
- --black-20: #{rgba(#000000, 20%)};
5
-
6
- --white-5: #{rgba(#ffffff, 5%)};
7
- --white-60: #{rgba(#ffffff, 60%)};
8
-
9
- --gray-50: #f5f7fa;
10
- --gray-100: #e9eef4;
11
- --gray-200: #dde5ee;
12
- --gray-300: #c7d3e0;
13
- --gray-400: #b2c1d2;
14
- --gray-500: #9eb0c2;
15
- --gray-600: #8b9fb1;
16
- --gray-700: #798ea0;
17
- --gray-800: #697c8c;
18
- --gray-900: #5d6a74;
19
-
20
- --blue-50: #d5e2f6;
21
- --blue-100: #a8c4f0;
22
- --blue-200: #79a5ec;
23
- --blue-300: #4786eb;
24
- --blue-400: #1f65d7;
25
- --blue-500: #0a51c2;
26
- --blue-600: #043c95;
27
- --blue-700: #002766;
28
- --blue-800: #001433;
29
- --blue-900: #000205;
30
-
31
- --blue-700-5: #{rgba(#002766, 5%)};
32
- --blue-700-10: #{rgba(#002766, 10%)};
33
- --blue-700-15: #{rgba(#002766, 15%)};
34
- --blue-800-30: #{rgba(#001433, 30%)};
35
-
36
- --cyan-50: #cbe9ff;
37
- --cyan-100: #9dd7ff;
38
- --cyan-200: #70c4ff;
39
- --cyan-300: #47b3ff;
40
- --cyan-400: #1fa2ff;
41
- --cyan-500: #0091f7;
42
- --cyan-600: #0077cc;
43
- --cyan-700: #0065ad;
44
- --cyan-800: #00508a;
45
- --cyan-900: #003c66;
46
-
47
- --cyan-500-5: #{rgba(#0091f7, 5%)};
48
- --cyan-500-15: #{rgba(#0091f7, 15%)};
49
- --cyan-500-20: #{rgba(#0091f7, 20%)};
50
-
51
- --red-00: #ffe0e3;
52
- --red-50: #ffb4b4;
53
- --red-100: #ff9898;
54
- --red-200: #ff7b7b;
55
- --red-300: #ff5c5c;
56
- --red-400: #ff2020;
57
- --red-500: #f30303;
58
- --red-600: #d70202;
59
- --red-700: #bc0000;
60
- --red-800: #970000;
61
- --red-900: #700000;
62
-
63
- --yellow-50: #fffad7;
64
- --yellow-100: #fff7b8;
65
- --yellow-200: #fff18a;
66
- --yellow-300: #ffed72;
67
- --yellow-400: #ffea46;
68
- --yellow-500: #ffe300;
69
- --yellow-600: #e7cc00;
70
- --yellow-700: #bea800;
71
- --yellow-800: #988600;
72
- --yellow-900: #7c6d00;
73
-
74
- --green-00: #d1ffdf;
75
- --green-50: #b7ffc6;
76
- --green-100: #93ffaa;
77
- --green-200: #6aff8b;
78
- --green-300: #36ff62;
79
- --green-400: #0bf23e;
80
- --green-500: #00dd31;
81
- --green-600: #00c92c;
82
- --green-700: #00aa25;
83
- --green-800: #00851d;
84
- --green-900: #006616;
85
-
86
- --orange-50: #fff6ed;
87
- --orange-100: #ffebd6;
88
- --orange-200: #ffd4a8;
89
- --orange-300: #ffd4a8;
90
- --orange-400: #ffa64d;
91
- --orange-500: #ff8f1f;
92
- --orange-600: #f57a00;
93
- --orange-700: #cc6600;
94
- --orange-800: #a35200;
95
- --orange-900: #7a3d00;
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;
96
44
  }
@@ -0,0 +1,91 @@
1
+ @use 'sass:math';
2
+ @use '../abstract/dimensions';
3
+ @use '../abstract/motion';
4
+ @use '../abstract/utils';
5
+
6
+ .odx-anchor-navigation {
7
+ --active-link-indicator-color: var(--odx-control-outline-color);
8
+
9
+ $root: &;
10
+
11
+ display: flex;
12
+ gap: dimensions.get-size(math.div(8, 24));
13
+
14
+ &:is(:not(#{$root}--vertical)) {
15
+ border-block-end: var(--odx-v-outline-width-bold) solid var(--odx-control-outline-color);
16
+ padding-block-start: var(--odx-v-outline-width-bold);
17
+ }
18
+
19
+ &--vertical {
20
+ border-inline-start: var(--odx-v-outline-width-bold) solid var(--odx-control-outline-color);
21
+ flex-direction: column;
22
+ }
23
+
24
+ &-item {
25
+ @include motion.transition(border-color background-color);
26
+
27
+ display: inline-flex;
28
+ min-width: dimensions.get-size(math.div(80, 24));
29
+
30
+ &:has([aria-current='page']) {
31
+ --active-link-indicator-color: var(--odx-c-link-active);
32
+ }
33
+
34
+ .odx-link {
35
+ @include dimensions.padding-x(math.div(12, 24));
36
+ @include dimensions.padding-y(math.div(6, 24));
37
+ @include utils.interactive($with-background: false);
38
+
39
+ color: var(--odx-c-text);
40
+ display: flex;
41
+ outline-offset: calc(var(--odx-v-outline-width-bold) * -1);
42
+ outline-width: var(--odx-v-outline-width-bold);
43
+
44
+ &:not(:empty) {
45
+ gap: dimensions.get-size(math.div(4, 24));
46
+ }
47
+
48
+ &[aria-current='page'] {
49
+ background-color: var(--odx-c-selected);
50
+ }
51
+
52
+ &:focus-visible {
53
+ background-color: unset;
54
+ }
55
+
56
+ &:hover {
57
+ color: var(--odx-c-text);
58
+ text-decoration: none;
59
+
60
+ &:not([aria-current='page']) {
61
+ background-color: var(--gray-100);
62
+ }
63
+
64
+ &:focus-visible {
65
+ background-color: unset;
66
+ }
67
+ }
68
+
69
+ #{$root}:is(:not(#{$root}--vertical)) & {
70
+ border-bottom-left-radius: 0;
71
+ border-bottom-right-radius: 0;
72
+ }
73
+
74
+ #{$root}--vertical & {
75
+ border-bottom-left-radius: 0;
76
+ border-top-left-radius: 0;
77
+ inline-size: 100%;
78
+ }
79
+ }
80
+
81
+ #{$root}:is(:not(#{$root}--vertical)) & {
82
+ border-block-end: var(--odx-v-outline-width-bold) solid var(--active-link-indicator-color);
83
+ margin-block-end: calc(var(--odx-v-outline-width-bold) * -1);
84
+ }
85
+
86
+ #{$root}--vertical & {
87
+ border-inline-start: var(--odx-v-outline-width-bold) solid var(--active-link-indicator-color);
88
+ margin-inline-start: calc(var(--odx-v-outline-width-bold) * -1);
89
+ }
90
+ }
91
+ }
@@ -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,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
+ }