@odx/ui 5.5.0 → 6.0.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 +17 -0
- package/README.md +0 -10
- package/ag-grid-theme.css +1 -1
- package/charts-theme.css +1 -1
- package/core-theme.css +1 -1
- package/package.json +4 -1
- package/scss/3rdparty/ag-grid/theme.scss +9 -7
- package/scss/_application.scss +5 -5
- package/scss/_base.scss +1 -1
- package/scss/_breakpoints.scss +15 -3
- package/scss/_color-palettes.scss +32 -32
- package/scss/_colors-dark.scss +31 -37
- package/scss/_colors.scss +94 -95
- package/scss/_controls.scss +45 -45
- package/scss/_description-list.scss +7 -13
- package/scss/_dimensions.scss +23 -10
- package/scss/_helpers.scss +44 -22
- package/scss/_layout.scss +2 -4
- package/scss/_skeleton.scss +1 -1
- package/scss/_text-list.scss +4 -7
- package/scss/_typography.scss +3 -6
- package/scss/_utils.scss +13 -0
- package/scss/_vertical-rythm.scss +1 -1
- package/scss/_visuals.scss +6 -6
- package/scss/abstract/_breakpoints.scss +15 -3
- package/scss/abstract/_dimensions.scss +23 -10
- package/scss/abstract/_utils.scss +13 -0
- package/scss/accordion-item.component.scss +22 -23
- package/scss/action-group.component.scss +6 -6
- package/scss/active-indicator.scss +3 -5
- package/scss/ag-grid/theme.scss +9 -7
- package/scss/anchor-navigation.component.scss +7 -10
- package/scss/area-header.component.scss +33 -31
- package/scss/autocomplete.component.scss +1 -4
- package/scss/avatar.component.scss +52 -11
- package/scss/badge.component.scss +11 -13
- package/scss/bar.component.scss +14 -18
- package/scss/brand-logo.component.scss +2 -4
- package/scss/breadcrumbs.component.scss +10 -14
- package/scss/button-group.component.scss +4 -8
- package/scss/button.component.scss +39 -36
- package/scss/calendar.component.scss +60 -56
- package/scss/card.component.scss +33 -35
- package/scss/cdk/active-indicator.scss +3 -5
- package/scss/cdk/connected-overlay.scss +4 -10
- package/scss/chart-footer.component.scss +21 -21
- package/scss/chart-header.component.scss +49 -49
- package/scss/charts/colors/_color-palettes.scss +32 -32
- package/scss/charts/components/chart-footer.component.scss +21 -21
- package/scss/charts/components/chart-header.component.scss +49 -49
- package/scss/charts/components/circle-chart-table.component.scss +1 -1
- package/scss/charts/components/line-timeframes-chart.component.scss +4 -4
- package/scss/charts/components/mirror-bar-chart.component.scss +2 -2
- package/scss/charts/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/checkbox.component.scss +29 -30
- package/scss/chip-list.component.scss +5 -6
- package/scss/chip.component.scss +30 -17
- package/scss/circle-chart-table.component.scss +1 -1
- package/scss/circular-progress.component.scss +7 -8
- package/scss/colors/_color-palettes.scss +32 -32
- package/scss/components/accordion-item.component.scss +22 -23
- package/scss/components/action-group.component.scss +6 -6
- package/scss/components/anchor-navigation.component.scss +7 -10
- package/scss/components/area-header.component.scss +33 -31
- package/scss/components/autocomplete.component.scss +1 -4
- package/scss/components/avatar.component.scss +52 -11
- package/scss/components/badge.component.scss +11 -13
- package/scss/components/bar.component.scss +14 -18
- package/scss/components/brand-logo.component.scss +2 -4
- package/scss/components/breadcrumbs.component.scss +10 -14
- package/scss/components/button-group.component.scss +4 -8
- package/scss/components/button.component.scss +39 -36
- package/scss/components/calendar.component.scss +60 -56
- package/scss/components/card.component.scss +33 -35
- package/scss/components/chart-footer.component.scss +21 -21
- package/scss/components/chart-header.component.scss +49 -49
- package/scss/components/checkbox.component.scss +29 -30
- package/scss/components/chip-list.component.scss +5 -6
- package/scss/components/chip.component.scss +30 -17
- package/scss/components/circle-chart-table.component.scss +1 -1
- package/scss/components/circular-progress.component.scss +7 -8
- package/scss/components/content-box.component.scss +10 -7
- package/scss/components/datepicker.component.scss +1 -3
- package/scss/components/daterangepicker.component.scss +6 -3
- package/scss/components/dropdown.component.scss +5 -9
- package/scss/components/error-page.component.scss +5 -12
- package/scss/components/expandable-list-item.component.scss +6 -6
- package/scss/components/footer.component.scss +5 -7
- package/scss/components/form-field.component.scss +65 -58
- package/scss/components/header-navigation.component.scss +2 -10
- package/scss/components/header.component.scss +11 -13
- package/scss/components/icon.component.scss +8 -8
- package/scss/components/inline-message.component.scss +9 -15
- package/scss/components/line-timeframes-chart.component.scss +4 -4
- package/scss/components/link.component.scss +5 -5
- package/scss/components/list-item.component.scss +16 -18
- package/scss/components/list.component.scss +1 -3
- package/scss/components/loading-spinner.component.scss +4 -6
- package/scss/components/logo.component.scss +6 -10
- package/scss/components/main-menu-item.component.scss +15 -24
- package/scss/components/main-menu.component.scss +28 -41
- package/scss/components/mainfilter-group.component.scss +23 -27
- package/scss/components/menu.component.scss +7 -11
- package/scss/components/mirror-bar-chart.component.scss +2 -2
- package/scss/components/modal.component.scss +37 -43
- package/scss/components/multi-axis-box-plot.component.scss +2 -2
- package/scss/components/navigation-back.component.scss +5 -6
- package/scss/components/notification-center.component.scss +14 -18
- package/scss/components/notification-item.component.scss +6 -11
- package/scss/components/option.component.scss +11 -15
- package/scss/components/paginator.component.scss +5 -8
- package/scss/components/progress.component.scss +4 -8
- package/scss/components/radio-button.component.scss +23 -23
- package/scss/components/radio-group.component.scss +2 -4
- package/scss/components/rail-navigation-item.component.scss +19 -22
- package/scss/components/rail-navigation.component.scss +7 -12
- package/scss/components/rich-list-item-header.component.scss +4 -9
- package/scss/components/rich-list-item.component.scss +9 -17
- package/scss/components/search-bar.component.scss +13 -15
- package/scss/components/select.component.scss +9 -12
- package/scss/components/slider.component.scss +11 -14
- package/scss/components/spinbox.component.scss +23 -25
- package/scss/components/switch.component.scss +98 -123
- package/scss/components/tab-bar-item.component.scss +17 -19
- package/scss/components/tab-bar.component.scss +23 -28
- package/scss/components/table.component.scss +12 -19
- package/scss/components/timepicker.component.scss +5 -10
- package/scss/components/toast-item.component.scss +9 -15
- package/scss/components/toast.component.scss +5 -8
- package/scss/components/toggle-button-group.component.scss +13 -14
- package/scss/components/toggle-button.component.scss +15 -17
- package/scss/components/tooltip.component.scss +8 -13
- package/scss/components/wizard-step.component.scss +13 -17
- package/scss/components/wizard.component.scss +2 -4
- package/scss/connected-overlay.scss +4 -10
- package/scss/content-box.component.scss +10 -7
- package/scss/core.scss +2 -0
- package/scss/datepicker.component.scss +1 -3
- package/scss/daterangepicker.component.scss +6 -3
- package/scss/dropdown.component.scss +5 -9
- package/scss/error-page.component.scss +5 -12
- package/scss/expandable-list-item.component.scss +6 -6
- package/scss/footer.component.scss +5 -7
- package/scss/form-field.component.scss +65 -58
- package/scss/header-navigation.component.scss +2 -10
- package/scss/header.component.scss +11 -13
- package/scss/icon.component.scss +8 -8
- package/scss/inline-message.component.scss +9 -15
- package/scss/layout/_application.scss +5 -5
- package/scss/layout/_base.scss +1 -1
- package/scss/layout/_description-list.scss +7 -13
- package/scss/layout/_helpers.scss +44 -22
- package/scss/layout/_layout.scss +2 -4
- package/scss/layout/_text-list.scss +4 -7
- package/scss/layout/_typography.scss +62 -70
- package/scss/line-timeframes-chart.component.scss +4 -4
- package/scss/link.component.scss +5 -5
- package/scss/list-item.component.scss +16 -18
- package/scss/list.component.scss +1 -3
- package/scss/loading-spinner.component.scss +4 -6
- package/scss/logo.component.scss +6 -10
- package/scss/main-menu-item.component.scss +15 -24
- package/scss/main-menu.component.scss +28 -41
- package/scss/mainfilter-group.component.scss +23 -27
- package/scss/menu.component.scss +7 -11
- package/scss/mirror-bar-chart.component.scss +2 -2
- package/scss/modal.component.scss +37 -43
- package/scss/multi-axis-box-plot.component.scss +2 -2
- package/scss/navigation-back.component.scss +5 -6
- package/scss/notification-center.component.scss +14 -18
- package/scss/notification-item.component.scss +6 -11
- package/scss/option.component.scss +11 -15
- package/scss/paginator.component.scss +5 -8
- package/scss/progress.component.scss +4 -8
- package/scss/radio-button.component.scss +23 -23
- package/scss/radio-group.component.scss +2 -4
- package/scss/rail-navigation-item.component.scss +19 -22
- package/scss/rail-navigation.component.scss +7 -12
- package/scss/rich-list-item-header.component.scss +4 -9
- package/scss/rich-list-item.component.scss +9 -17
- package/scss/search-bar.component.scss +13 -15
- package/scss/select.component.scss +9 -12
- package/scss/skeleton/_skeleton.scss +1 -1
- package/scss/slider.component.scss +11 -14
- package/scss/spinbox.component.scss +23 -25
- package/scss/switch.component.scss +98 -123
- package/scss/tab-bar-item.component.scss +17 -19
- package/scss/tab-bar.component.scss +23 -28
- package/scss/table.component.scss +12 -19
- package/scss/theme.scss +9 -7
- package/scss/timepicker.component.scss +5 -10
- package/scss/toast-item.component.scss +9 -15
- package/scss/toast.component.scss +5 -8
- package/scss/toggle-button-group.component.scss +13 -14
- package/scss/toggle-button.component.scss +15 -17
- package/scss/tooltip.component.scss +8 -13
- package/scss/variables/_color-palettes-dark.scss +49 -49
- package/scss/variables/_color-palettes.scss +84 -84
- package/scss/variables/_colors-dark.scss +31 -37
- package/scss/variables/_colors.scss +94 -95
- package/scss/variables/_controls.scss +45 -45
- package/scss/variables/_typography.scss +3 -6
- package/scss/variables/_vertical-rythm.scss +1 -1
- package/scss/variables/_visuals.scss +6 -6
- package/scss/wizard-step.component.scss +13 -17
- package/scss/wizard.component.scss +2 -4
|
@@ -1,54 +1,73 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/typography';
|
|
4
1
|
@use '../abstract/utils';
|
|
5
2
|
|
|
3
|
+
$spacing-token-map: (
|
|
4
|
+
4: var(--odx-spacing-25),
|
|
5
|
+
8: var(--odx-spacing-50),
|
|
6
|
+
12: var(--odx-spacing-75),
|
|
7
|
+
16: var(--odx-spacing-100),
|
|
8
|
+
24: var(--odx-spacing-150),
|
|
9
|
+
36: var(--odx-size-225),
|
|
10
|
+
48: var(--odx-size-300)
|
|
11
|
+
);
|
|
12
|
+
|
|
6
13
|
html body {
|
|
7
14
|
.odx-no-margin {
|
|
8
15
|
margin: 0;
|
|
9
16
|
}
|
|
10
17
|
|
|
11
|
-
@each $size
|
|
12
|
-
$factor: math.div($size, 24);
|
|
13
|
-
|
|
18
|
+
@each $size, $token in $spacing-token-map {
|
|
14
19
|
@each $direction in (top, right, bottom, left) {
|
|
15
20
|
.odx-margin-#{$direction}-#{$size} {
|
|
16
|
-
@
|
|
21
|
+
@if $direction == top {
|
|
22
|
+
margin-block-start: $token;
|
|
23
|
+
} @else if $direction == bottom {
|
|
24
|
+
margin-block-end: $token;
|
|
25
|
+
} @else if $direction == left {
|
|
26
|
+
margin-inline-start: $token;
|
|
27
|
+
} @else if $direction == right {
|
|
28
|
+
margin-inline-end: $token;
|
|
29
|
+
}
|
|
17
30
|
}
|
|
18
31
|
}
|
|
19
32
|
|
|
20
33
|
.odx-margin-x-#{$size} {
|
|
21
|
-
|
|
34
|
+
margin-inline: $token;
|
|
22
35
|
}
|
|
23
36
|
|
|
24
37
|
.odx-margin-y-#{$size} {
|
|
25
|
-
|
|
38
|
+
margin-block: $token;
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
.odx-margin-#{$size} {
|
|
29
|
-
|
|
42
|
+
margin: $token;
|
|
30
43
|
}
|
|
31
44
|
}
|
|
32
45
|
|
|
33
|
-
@each $size
|
|
34
|
-
$factor: math.div($size, 24);
|
|
35
|
-
|
|
46
|
+
@each $size, $token in $spacing-token-map {
|
|
36
47
|
@each $direction in (top, right, bottom, left) {
|
|
37
48
|
.odx-padding-#{$direction}-#{$size} {
|
|
38
|
-
@
|
|
49
|
+
@if $direction == top {
|
|
50
|
+
padding-block-start: $token;
|
|
51
|
+
} @else if $direction == bottom {
|
|
52
|
+
padding-block-end: $token;
|
|
53
|
+
} @else if $direction == left {
|
|
54
|
+
padding-inline-start: $token;
|
|
55
|
+
} @else if $direction == right {
|
|
56
|
+
padding-inline-end: $token;
|
|
57
|
+
}
|
|
39
58
|
}
|
|
40
59
|
}
|
|
41
60
|
|
|
42
61
|
.odx-padding-x-#{$size} {
|
|
43
|
-
|
|
62
|
+
padding-inline: $token;
|
|
44
63
|
}
|
|
45
64
|
|
|
46
65
|
.odx-padding-y-#{$size} {
|
|
47
|
-
|
|
66
|
+
padding-block: $token;
|
|
48
67
|
}
|
|
49
68
|
|
|
50
69
|
.odx-padding-#{$size} {
|
|
51
|
-
|
|
70
|
+
padding: $token;
|
|
52
71
|
}
|
|
53
72
|
}
|
|
54
73
|
|
|
@@ -58,24 +77,27 @@ html body {
|
|
|
58
77
|
|
|
59
78
|
hr,
|
|
60
79
|
.odx-separator {
|
|
61
|
-
@include dimensions.height(1, math.div(1, 24));
|
|
62
|
-
|
|
63
80
|
background-color: var(--odx-c-separator);
|
|
81
|
+
block-size: var(--odx-border-width-thin);
|
|
64
82
|
border: 0;
|
|
83
|
+
margin-block: var(--odx-spacing-50);
|
|
65
84
|
}
|
|
66
85
|
|
|
67
86
|
.odx-fs-normal {
|
|
68
|
-
|
|
87
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
88
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
69
89
|
}
|
|
70
90
|
|
|
71
91
|
.odx-fs-medium {
|
|
72
|
-
|
|
92
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
93
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
73
94
|
}
|
|
74
95
|
|
|
75
96
|
b,
|
|
76
97
|
strong,
|
|
77
98
|
.odx-fs-bold {
|
|
78
|
-
|
|
99
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
100
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
79
101
|
}
|
|
80
102
|
|
|
81
103
|
em,
|
package/scss/layout/_layout.scss
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
2
|
|
|
5
3
|
$columns: 12 !default;
|
|
6
4
|
|
|
@@ -9,8 +7,8 @@ $columns: 12 !default;
|
|
|
9
7
|
}
|
|
10
8
|
|
|
11
9
|
:root {
|
|
12
|
-
--odx-grid-gutter:
|
|
13
|
-
--odx-grid-gutter-small:
|
|
10
|
+
--odx-grid-gutter: var(--odx-size-150);
|
|
11
|
+
--odx-grid-gutter-small: var(--odx-size-50);
|
|
14
12
|
|
|
15
13
|
@include breakpoints.down(phone) {
|
|
16
14
|
--odx-grid-gutter: var(--odx-grid-gutter-small);
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
|
|
4
1
|
.odx-text-list,
|
|
5
2
|
.odx-text-list ol,
|
|
6
3
|
.odx-text-list ul {
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
margin-block: var(--odx-spacing-75);
|
|
5
|
+
padding-inline-start: var(--odx-spacing-150);
|
|
9
6
|
|
|
10
7
|
ul,
|
|
11
8
|
ol {
|
|
12
|
-
|
|
9
|
+
margin: 0;
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
li {
|
|
16
|
-
|
|
13
|
+
margin-inline-start: calc(var(--odx-vertical-rythm-base-size) * -1 / 24);
|
|
17
14
|
}
|
|
18
15
|
}
|
|
@@ -1,40 +1,16 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
|
|
6
|
-
@font-face {
|
|
7
|
-
font-family: 'Draeger Pangea Text';
|
|
8
|
-
font-style: normal;
|
|
9
|
-
font-weight: 400;
|
|
10
|
-
src: url('../assets/fonts/draeger-pangea-text-regular.woff2') format('woff2');
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@font-face {
|
|
14
|
-
font-family: 'Draeger Pangea Text';
|
|
15
|
-
font-style: normal;
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
src: url('../assets/fonts/draeger-pangea-text-medium.woff2') format('woff2');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@font-face {
|
|
21
|
-
font-family: 'Draeger Pangea Text';
|
|
22
|
-
font-style: normal;
|
|
23
|
-
font-weight: 600;
|
|
24
|
-
src: url('../assets/fonts/draeger-pangea-text-semibold.woff2') format('woff2');
|
|
25
|
-
}
|
|
26
2
|
|
|
27
3
|
html {
|
|
28
|
-
font-size:
|
|
4
|
+
font-size: var(--odx-typography-base-size);
|
|
29
5
|
}
|
|
30
6
|
|
|
31
7
|
html body {
|
|
32
|
-
@include dimensions.line-height(1);
|
|
33
|
-
@include typography.font-size(0);
|
|
34
|
-
@include typography.font-weight(normal);
|
|
35
|
-
|
|
36
8
|
color: var(--odx-c-text);
|
|
37
9
|
font-family: var(--odx-typography-font-family);
|
|
10
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
11
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
12
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
13
|
+
line-height: var(--odx-typography-line-height-text-md);
|
|
38
14
|
}
|
|
39
15
|
|
|
40
16
|
/* Deprecated .odx-title. Use .odx-heading instead. Keeping the old classes for compatibility. */
|
|
@@ -42,94 +18,107 @@ html body {
|
|
|
42
18
|
.odx-title,
|
|
43
19
|
[class*='odx-heading-'],
|
|
44
20
|
[class*='odx-title-'] {
|
|
45
|
-
@include typography.font-weight(semibold);
|
|
46
|
-
|
|
47
21
|
color: var(--odx-c-display);
|
|
22
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
23
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
48
24
|
}
|
|
49
25
|
|
|
50
26
|
/* Deprecated odx-subtitle. Subtitles were removed from figma. Keeping the old classes for compatibility. */
|
|
51
27
|
.odx-subtitle,
|
|
52
28
|
[class*='odx-subtitle-'] {
|
|
53
29
|
@extend .odx-title;
|
|
54
|
-
|
|
30
|
+
|
|
31
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
32
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
55
33
|
}
|
|
56
34
|
|
|
57
35
|
.odx-heading-1,
|
|
58
36
|
.odx-title-1,
|
|
59
37
|
.odx-subtitle-1 {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
38
|
+
font-size: var(--odx-typography-font-size-heading-xxl);
|
|
39
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
40
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
41
|
+
line-height: var(--odx-typography-line-height-heading-xxl);
|
|
42
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
63
43
|
|
|
64
44
|
@include breakpoints.up(tablet) {
|
|
65
|
-
|
|
45
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
66
46
|
}
|
|
67
47
|
}
|
|
68
48
|
|
|
69
49
|
.odx-heading-2,
|
|
70
50
|
.odx-title-2 {
|
|
71
|
-
|
|
51
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
52
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
72
53
|
}
|
|
73
54
|
|
|
74
55
|
.odx-heading-2,
|
|
75
56
|
.odx-title-2,
|
|
76
57
|
.odx-subtitle-2 {
|
|
77
|
-
|
|
78
|
-
|
|
58
|
+
font-size: var(--odx-typography-font-size-heading-xl);
|
|
59
|
+
line-height: var(--odx-typography-line-height-heading-xl);
|
|
60
|
+
padding-block: var(--odx-control-spacing-md);
|
|
79
61
|
|
|
80
62
|
@include breakpoints.up(tablet) {
|
|
81
|
-
|
|
63
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) * 3 / 8);
|
|
82
64
|
}
|
|
83
65
|
}
|
|
84
66
|
|
|
85
67
|
.odx-heading-3,
|
|
86
68
|
.odx-title-3,
|
|
87
69
|
.odx-subtitle-3 {
|
|
88
|
-
|
|
89
|
-
|
|
70
|
+
font-size: var(--odx-typography-font-size-heading-lg);
|
|
71
|
+
line-height: var(--odx-typography-line-height-heading-lg);
|
|
72
|
+
padding-block: var(--odx-control-spacing-lg);
|
|
90
73
|
|
|
91
74
|
@include breakpoints.up(tablet) {
|
|
92
|
-
|
|
75
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) / 8);
|
|
93
76
|
}
|
|
94
77
|
}
|
|
95
78
|
|
|
96
79
|
.odx-heading-4,
|
|
97
80
|
.odx-title-4,
|
|
98
81
|
.odx-subtitle-4 {
|
|
99
|
-
|
|
100
|
-
|
|
82
|
+
font-size: var(--odx-typography-font-size-heading-md);
|
|
83
|
+
line-height: var(--odx-typography-line-height-heading-md);
|
|
84
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) * 3 / 8);
|
|
101
85
|
}
|
|
102
86
|
|
|
103
87
|
.odx-heading-5,
|
|
104
88
|
.odx-title-5,
|
|
105
89
|
.odx-subtitle-5 {
|
|
106
|
-
|
|
107
|
-
|
|
90
|
+
font-size: var(--odx-typography-font-size-heading-sm);
|
|
91
|
+
line-height: var(--odx-typography-line-height-heading-sm);
|
|
108
92
|
}
|
|
109
93
|
|
|
110
94
|
.odx-heading-6,
|
|
111
95
|
.odx-title-6,
|
|
112
96
|
.odx-subtitle-6 {
|
|
113
|
-
|
|
114
|
-
|
|
97
|
+
font-size: var(--odx-typography-font-size-heading-xs);
|
|
98
|
+
line-height: var(--odx-typography-line-height-heading-xs);
|
|
115
99
|
}
|
|
116
100
|
|
|
117
101
|
.odx-text {
|
|
118
|
-
|
|
119
|
-
|
|
102
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
103
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
104
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
105
|
+
line-height: var(--odx-typography-line-height-text-md);
|
|
120
106
|
|
|
121
107
|
&--small {
|
|
122
|
-
|
|
123
|
-
|
|
108
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
109
|
+
line-height: var(--odx-typography-line-height-text-sm);
|
|
110
|
+
padding-block: var(--odx-spacing-12);
|
|
124
111
|
}
|
|
125
112
|
|
|
126
113
|
&--xsmall {
|
|
127
|
-
|
|
128
|
-
|
|
114
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
115
|
+
line-height: var(--odx-typography-line-height-text-xs);
|
|
116
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
129
117
|
}
|
|
130
118
|
|
|
131
119
|
&--emphasized {
|
|
132
|
-
|
|
120
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
121
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
133
122
|
}
|
|
134
123
|
}
|
|
135
124
|
|
|
@@ -139,46 +128,49 @@ html body {
|
|
|
139
128
|
[class*='odx-display-'],
|
|
140
129
|
[class*='odx-headline-'] {
|
|
141
130
|
color: var(--odx-c-display);
|
|
142
|
-
|
|
143
|
-
|
|
131
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
132
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
144
133
|
}
|
|
145
134
|
|
|
146
135
|
.odx-display-sm,
|
|
147
136
|
.odx-headline-sm {
|
|
148
|
-
|
|
149
|
-
|
|
137
|
+
font-size: var(--odx-typography-font-size-display-sm);
|
|
138
|
+
line-height: var(--odx-typography-line-height-display-sm);
|
|
139
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
150
140
|
|
|
151
141
|
@include breakpoints.up(phone) {
|
|
152
|
-
|
|
142
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
153
143
|
}
|
|
154
144
|
}
|
|
155
145
|
|
|
156
146
|
.odx-display-md,
|
|
157
147
|
.odx-headline-md {
|
|
158
|
-
|
|
159
|
-
|
|
148
|
+
font-size: var(--odx-typography-font-size-display-md);
|
|
149
|
+
line-height: var(--odx-typography-line-height-display-md);
|
|
150
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) * 3 / 8);
|
|
160
151
|
|
|
161
152
|
@include breakpoints.up(phone) {
|
|
162
|
-
|
|
153
|
+
padding-block: var(--odx-control-spacing-lg);
|
|
163
154
|
}
|
|
164
155
|
}
|
|
165
156
|
|
|
166
157
|
.odx-display-lg,
|
|
167
158
|
.odx-headline-lg {
|
|
168
|
-
|
|
169
|
-
|
|
159
|
+
font-size: var(--odx-typography-font-size-display-lg);
|
|
160
|
+
line-height: var(--odx-typography-line-height-display-lg);
|
|
161
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) / 24);
|
|
170
162
|
|
|
171
163
|
@include breakpoints.up(phone) {
|
|
172
|
-
|
|
164
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) * 11 / 24);
|
|
173
165
|
}
|
|
174
166
|
}
|
|
175
167
|
|
|
176
168
|
.odx-display-xl,
|
|
177
169
|
.odx-headline-xl {
|
|
178
|
-
|
|
179
|
-
|
|
170
|
+
font-size: var(--odx-typography-font-size-display-xl);
|
|
171
|
+
line-height: var(--odx-typography-line-height-display-xl);
|
|
180
172
|
|
|
181
173
|
@include breakpoints.up(phone) {
|
|
182
|
-
|
|
174
|
+
padding-block: calc(var(--odx-vertical-rythm-base-size) * 11 / 24);
|
|
183
175
|
}
|
|
184
176
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.odx-line-timeframes-chart {
|
|
2
2
|
.odx-line-timeframes-chart__container {
|
|
3
3
|
display: flex;
|
|
4
|
-
gap:
|
|
4
|
+
gap: var(--odx-spacing-150);
|
|
5
5
|
width: 100%;
|
|
6
6
|
}
|
|
7
7
|
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
&-items {
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
|
-
gap:
|
|
25
|
+
gap: var(--odx-spacing-75);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
&-item {
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
|
-
gap:
|
|
31
|
+
gap: var(--odx-spacing-25);
|
|
32
32
|
|
|
33
33
|
&-header {
|
|
34
34
|
align-items: center;
|
|
35
35
|
display: flex;
|
|
36
|
-
gap:
|
|
36
|
+
gap: var(--odx-spacing-37);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
&-dot {
|
package/scss/link.component.scss
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
@use '../abstract/motion';
|
|
2
1
|
@use '../abstract/utils';
|
|
3
2
|
|
|
4
3
|
.odx-link {
|
|
5
|
-
|
|
6
|
-
@include utils.interactive($with-box-shadow: false);
|
|
7
|
-
|
|
8
|
-
border-radius: var(--odx-v-border-radius-controls);
|
|
4
|
+
border-radius: var(--odx-border-radius-control);
|
|
9
5
|
color: var(--odx-c-link);
|
|
10
6
|
padding: 0 calc(var(--odx-v-outline-width-bold) + var(--odx-v-outline-box-shadow-width));
|
|
11
7
|
position: relative;
|
|
8
|
+
transition: var(--odx-motion-transition-default);
|
|
9
|
+
transition-property: color, background-color;
|
|
12
10
|
user-select: auto;
|
|
13
11
|
|
|
12
|
+
@include utils.interactive($with-box-shadow: false);
|
|
13
|
+
|
|
14
14
|
&:hover {
|
|
15
15
|
color: var(--odx-c-link-hover);
|
|
16
16
|
text-decoration: underline;
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/utils';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
2
|
|
|
7
3
|
.odx-list-item {
|
|
4
|
+
@include utils.interactive();
|
|
5
|
+
@include utils.vertical-center-content();
|
|
6
|
+
|
|
8
7
|
$root: &;
|
|
9
8
|
$muted-selector: #{$root}--muted;
|
|
10
9
|
$variants: danger, warning;
|
|
11
10
|
|
|
12
11
|
--separator-color: var(--odx-c-separator);
|
|
13
12
|
|
|
14
|
-
@include dimensions.padding-x(math.div(8, 24));
|
|
15
|
-
@include dimensions.line-height(2, 1);
|
|
16
|
-
@include motion.transition(border-bottom-color background-color color box-shadow);
|
|
17
|
-
@include utils.interactive();
|
|
18
|
-
@include utils.vertical-center-content();
|
|
19
|
-
|
|
20
13
|
background-color: transparent;
|
|
21
|
-
border-radius: var(--odx-
|
|
22
|
-
gap:
|
|
14
|
+
border-radius: var(--odx-border-radius-control);
|
|
15
|
+
gap: var(--odx-spacing-50);
|
|
16
|
+
line-height: var(--odx-typography-line-height-text-lg);
|
|
17
|
+
padding-block: var(--odx-spacing-75);
|
|
18
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
23
19
|
position: relative;
|
|
20
|
+
transition: var(--odx-motion-transition-default);
|
|
21
|
+
transition-property: border-bottom-color, background-color, color, box-shadow;
|
|
24
22
|
|
|
25
23
|
> [odxListSuffix],
|
|
26
24
|
> [odxListItemSuffix] {
|
|
@@ -33,21 +31,21 @@
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
&::before {
|
|
36
|
-
@include motion.transition(border-color);
|
|
37
|
-
|
|
38
34
|
border-bottom: 1px solid var(--separator-color);
|
|
39
35
|
content: '';
|
|
40
36
|
display: block;
|
|
41
37
|
position: absolute;
|
|
42
|
-
right:
|
|
38
|
+
right: var(--odx-spacing-50);
|
|
43
39
|
top: 0;
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
transition: var(--odx-motion-transition-default);
|
|
41
|
+
transition-property: border-color;
|
|
42
|
+
width: calc(100% - var(--odx-spacing-100));
|
|
43
|
+
z-index: var(--odx-z-level-base);
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
&:hover,
|
|
49
47
|
&:focus-visible {
|
|
50
|
-
z-index: var(--odx-
|
|
48
|
+
z-index: var(--odx-z-level-interactive);
|
|
51
49
|
&:not(#{$muted-selector}) {
|
|
52
50
|
--separator-color: transparent !important;
|
|
53
51
|
}
|
package/scss/list.component.scss
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use 'sass:selector';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
2
|
|
|
5
3
|
.odx-list {
|
|
6
4
|
display: block;
|
|
@@ -9,7 +7,7 @@
|
|
|
9
7
|
|
|
10
8
|
@for $i from 1 through 10 {
|
|
11
9
|
#{$self} .odx-list-item {
|
|
12
|
-
|
|
10
|
+
padding-inline-start: calc(var(--odx-spacing-50) + #{$i} * var(--odx-spacing-100) * 2);
|
|
13
11
|
|
|
14
12
|
&:first-child {
|
|
15
13
|
--separator-color: var(--odx-c-separator);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/motion';
|
|
3
1
|
@use '../abstract/utils';
|
|
4
2
|
|
|
5
3
|
:root {
|
|
@@ -27,14 +25,14 @@
|
|
|
27
25
|
scroll-behavior: contain;
|
|
28
26
|
top: 0;
|
|
29
27
|
width: 100%;
|
|
30
|
-
z-index: var(--odx-
|
|
28
|
+
z-index: var(--odx-z-level-overlay);
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
&__backdrop {
|
|
34
|
-
@include motion.transition(background-color);
|
|
35
|
-
|
|
36
32
|
background-color: transparent;
|
|
37
33
|
opacity: 0.8;
|
|
34
|
+
transition: var(--odx-motion-transition-default);
|
|
35
|
+
transition-property: background-color;
|
|
38
36
|
}
|
|
39
37
|
|
|
40
38
|
.odx-circular-progress {
|
|
@@ -44,7 +42,7 @@
|
|
|
44
42
|
position: absolute;
|
|
45
43
|
top: 50%;
|
|
46
44
|
transform: translate(-50%, -50%);
|
|
47
|
-
z-index: var(--odx-
|
|
45
|
+
z-index: var(--odx-z-level-topmost);
|
|
48
46
|
|
|
49
47
|
&__indicator {
|
|
50
48
|
stroke: var(--odx-c-primary);
|
package/scss/logo.component.scss
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
@use '../abstract/dimensions';
|
|
2
1
|
@use '../abstract/utils';
|
|
3
2
|
|
|
4
3
|
:root {
|
|
5
4
|
--odx-logo-color: var(--odx-c-primary);
|
|
6
|
-
--odx-logo-color-inverse: var(--odx-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@include utils.theme-selector(dark) {
|
|
10
|
-
--odx-logo-color: var(--odx-c-text-inverse);
|
|
5
|
+
--odx-logo-color-inverse: var(--odx-palette-white);
|
|
11
6
|
}
|
|
12
7
|
|
|
13
8
|
.odx-logo {
|
|
14
|
-
@include dimensions.height(1);
|
|
15
|
-
|
|
16
9
|
aspect-ratio: 2.5 / 1;
|
|
17
10
|
background-color: var(--odx-logo-color);
|
|
11
|
+
block-size: var(--odx-spacing-150);
|
|
18
12
|
display: inline-block;
|
|
19
13
|
mask-image: url('../assets/images/logo.svg');
|
|
20
14
|
mask-repeat: no-repeat;
|
|
@@ -24,10 +18,12 @@
|
|
|
24
18
|
}
|
|
25
19
|
|
|
26
20
|
&--medium {
|
|
27
|
-
|
|
21
|
+
block-size: var(--odx-control-height-md);
|
|
22
|
+
margin-block: var(--odx-spacing-37);
|
|
28
23
|
}
|
|
29
24
|
|
|
30
25
|
&--large {
|
|
31
|
-
|
|
26
|
+
block-size: calc(var(--odx-control-height-lg) + var(--odx-spacing-75));
|
|
27
|
+
margin-block: var(--odx-spacing-37);
|
|
32
28
|
}
|
|
33
29
|
}
|