@odx/ui 5.5.0 → 6.0.1
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 +23 -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 +105 -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,55 +1,46 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
1
|
@use '../abstract/utils';
|
|
5
2
|
@use '../abstract/typography';
|
|
6
3
|
|
|
7
4
|
:root {
|
|
8
5
|
--odx-main-menu-item-background-color: transparent;
|
|
9
|
-
--odx-main-menu-item-background-color-hover: var(--white-5);
|
|
10
|
-
--odx-main-menu-item-background-color-active: var(--odx-c-focus);
|
|
11
6
|
--odx-main-menu-item-text-color: inherit;
|
|
12
|
-
--odx-main-menu-item-text-color-disabled: var(--odx-c-primary-text-disabled);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
@include utils.theme-selector(dark) {
|
|
16
|
-
--odx-main-menu-item-background-color-active: var(--cyan-500-15);
|
|
17
|
-
--odx-main-menu-item-text-color-disabled: var(--blue-500);
|
|
18
7
|
}
|
|
19
8
|
|
|
20
9
|
.odx-main-menu-item {
|
|
21
|
-
@include dimensions.padding(math.div(2, 3));
|
|
22
|
-
@include motion.transition(color background-color);
|
|
23
|
-
@include utils.interactive();
|
|
24
|
-
@include typography.font-weight(medium);
|
|
25
|
-
@include typography.prevent-text-overflow();
|
|
26
|
-
|
|
27
10
|
background-color: transparent;
|
|
28
|
-
border-radius: var(--odx-
|
|
11
|
+
border-radius: var(--odx-border-radius-md);
|
|
29
12
|
color: var(--odx-main-menu-item-text-color);
|
|
13
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
14
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
30
15
|
line-height: 1;
|
|
16
|
+
padding: var(--odx-spacing-100);
|
|
17
|
+
transition: var(--odx-motion-transition-default);
|
|
18
|
+
transition-property: color, background-color;
|
|
19
|
+
|
|
20
|
+
@include utils.interactive();
|
|
21
|
+
@include typography.prevent-text-overflow();
|
|
31
22
|
|
|
32
23
|
&:hover {
|
|
33
|
-
background-color: var(--odx-
|
|
24
|
+
background-color: var(--odx-color-background-transparent-hover);
|
|
34
25
|
}
|
|
35
26
|
|
|
36
27
|
&.is-selected,
|
|
37
28
|
&:active {
|
|
38
|
-
background-color: var(--odx-
|
|
29
|
+
background-color: var(--odx-color-background-transparent-selected);
|
|
39
30
|
}
|
|
40
31
|
|
|
41
32
|
&.is-disabled,
|
|
42
33
|
&:disabled {
|
|
43
34
|
background-color: transparent;
|
|
44
|
-
color: var(--odx-
|
|
35
|
+
color: var(--odx-c-link-disabled);
|
|
45
36
|
}
|
|
46
37
|
|
|
47
38
|
> .odx-icon {
|
|
48
|
-
|
|
49
|
-
|
|
39
|
+
margin-inline-end: var(--odx-spacing-50);
|
|
40
|
+
margin-inline-start: var(--odx-spacing-negative-50);
|
|
50
41
|
}
|
|
51
42
|
|
|
52
43
|
&:focus-visible {
|
|
53
|
-
background-color: var(--odx-
|
|
44
|
+
background-color: var(--odx-color-background-transparent-selected);
|
|
54
45
|
}
|
|
55
46
|
}
|
|
@@ -1,42 +1,25 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
2
|
@use '../abstract/utils';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../abstract/motion';
|
|
7
3
|
@use 'button.component';
|
|
8
4
|
@use 'main-menu-button.component';
|
|
9
5
|
@use 'main-menu-item.component';
|
|
10
6
|
|
|
11
7
|
:root {
|
|
12
8
|
--odx-main-menu-max-width: 100dvw;
|
|
13
|
-
--odx-main-menu-
|
|
14
|
-
--odx-main-menu-text-color: var(--odx-c-primary-text);
|
|
9
|
+
--odx-main-menu-text-color: var(--odx-color-foreground-inverse-static);
|
|
15
10
|
|
|
16
11
|
@include breakpoints.up(phone) {
|
|
17
12
|
--odx-main-menu-max-width: min(100dvw, 384px);
|
|
18
13
|
}
|
|
19
14
|
}
|
|
20
15
|
|
|
21
|
-
@include utils.theme-selector(dark) {
|
|
22
|
-
--odx-main-menu-background-color: var(--cyan-50);
|
|
23
|
-
--odx-main-menu-text-color: var(--black);
|
|
24
|
-
|
|
25
|
-
.odx-main-menu {
|
|
26
|
-
--odx-c-focus-inner: var(--cyan-50);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
16
|
.odx-main-menu {
|
|
31
|
-
--odx-c-
|
|
32
|
-
|
|
17
|
+
--odx-c-link-disabled: var(--odx-color-foreground-disabled-on-brand);
|
|
33
18
|
--odx-area-header-title-color: var(--odx-main-menu-text-color);
|
|
34
19
|
--odx-area-header-subtitle-color: var(--odx-main-menu-text-color);
|
|
35
20
|
|
|
36
21
|
&__inner {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
background-color: var(--odx-main-menu-background-color);
|
|
22
|
+
background-color: var(--odx-color-background-brand);
|
|
40
23
|
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
41
24
|
color: var(--odx-main-menu-text-color);
|
|
42
25
|
display: grid;
|
|
@@ -45,9 +28,11 @@
|
|
|
45
28
|
max-height: 100dvh;
|
|
46
29
|
max-width: var(--odx-main-menu-max-width);
|
|
47
30
|
transform: translateX(-100%);
|
|
31
|
+
transition: var(--odx-motion-transition-default);
|
|
48
32
|
transition-behavior: allow-discrete;
|
|
33
|
+
transition-property: transform, overlay;
|
|
49
34
|
width: 100%;
|
|
50
|
-
z-index: var(--odx-
|
|
35
|
+
z-index: var(--odx-z-level-topmost);
|
|
51
36
|
|
|
52
37
|
&::backdrop {
|
|
53
38
|
backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
@@ -66,8 +51,8 @@
|
|
|
66
51
|
}
|
|
67
52
|
|
|
68
53
|
&__actions {
|
|
69
|
-
|
|
70
|
-
|
|
54
|
+
block-size: var(--odx-control-height-lg);
|
|
55
|
+
margin-inline: var(--odx-spacing-75);
|
|
71
56
|
}
|
|
72
57
|
|
|
73
58
|
&__header,
|
|
@@ -86,15 +71,14 @@
|
|
|
86
71
|
--odx-v-scrollbar-thumb-color: var(--blue-400);
|
|
87
72
|
--odx-v-scrollbar-thumb-color-hover: var(--blue-500);
|
|
88
73
|
|
|
89
|
-
@include dimensions.padding-x(0.5);
|
|
90
|
-
@include dimensions.padding-y(math.div(2, 24));
|
|
91
|
-
@include dimensions.margin(1, top);
|
|
92
|
-
|
|
93
74
|
display: flex;
|
|
94
75
|
flex-direction: column;
|
|
95
|
-
|
|
96
|
-
|
|
76
|
+
margin-block-start: var(--odx-spacing-150);
|
|
77
|
+
max-width: calc(var(--odx-main-menu-max-width) + var(--odx-size-300));
|
|
78
|
+
min-block-size: calc(var(--odx-size-600) + var(--odx-spacing-150));
|
|
97
79
|
overflow: auto;
|
|
80
|
+
padding-block: var(--odx-spacing-12);
|
|
81
|
+
padding-inline: var(--odx-size-75);
|
|
98
82
|
|
|
99
83
|
> * {
|
|
100
84
|
flex: 0 0 auto;
|
|
@@ -103,42 +87,45 @@
|
|
|
103
87
|
|
|
104
88
|
&__info {
|
|
105
89
|
@extend .odx-text;
|
|
106
|
-
@include dimensions.padding-x(1);
|
|
107
|
-
@include dimensions.padding-y(0.5);
|
|
108
90
|
|
|
109
|
-
column-gap:
|
|
91
|
+
column-gap: var(--odx-spacing-150);
|
|
110
92
|
display: flex;
|
|
111
93
|
flex-wrap: wrap;
|
|
94
|
+
padding-block: var(--odx-size-75);
|
|
95
|
+
padding-inline: var(--odx-size-150);
|
|
112
96
|
|
|
113
97
|
@include breakpoints.up(tablet) {
|
|
114
|
-
|
|
98
|
+
padding-block: var(--odx-size-250);
|
|
115
99
|
}
|
|
116
100
|
}
|
|
117
101
|
|
|
118
102
|
&__footer {
|
|
119
|
-
@include dimensions.line-height(1);
|
|
120
|
-
@include dimensions.padding-x(1);
|
|
121
|
-
@include dimensions.padding(math.div(16, 24), top);
|
|
122
|
-
@include dimensions.padding(math.div(32, 24), bottom);
|
|
123
103
|
@include utils.center-content();
|
|
124
104
|
|
|
125
105
|
display: grid;
|
|
126
|
-
gap:
|
|
106
|
+
gap: var(--odx-spacing-75);
|
|
127
107
|
grid-template-columns: 1fr auto;
|
|
108
|
+
line-height: var(--odx-spacing-150);
|
|
109
|
+
padding-block-end: calc(var(--odx-spacing-100) * 2);
|
|
110
|
+
padding-block-start: var(--odx-spacing-100);
|
|
111
|
+
padding-inline: var(--odx-size-150);
|
|
128
112
|
user-select: none;
|
|
129
113
|
|
|
130
114
|
> .odx-text {
|
|
131
|
-
|
|
132
|
-
|
|
115
|
+
line-height: var(--odx-typography-line-height-text-sm);
|
|
133
116
|
opacity: 0.3;
|
|
134
117
|
word-wrap: break-word;
|
|
135
118
|
}
|
|
136
119
|
}
|
|
137
120
|
|
|
138
121
|
.odx-link {
|
|
122
|
+
&:hover {
|
|
123
|
+
text-decoration: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
139
126
|
&:visited,
|
|
140
127
|
&:hover {
|
|
141
|
-
color: var(--odx-
|
|
128
|
+
color: var(--odx-color-foreground-inverse-static);
|
|
142
129
|
}
|
|
143
130
|
}
|
|
144
131
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/typography';
|
|
4
2
|
@use '../abstract/utils';
|
|
5
|
-
@use '../abstract/motion';
|
|
6
3
|
|
|
7
4
|
@include utils.theme-selector(dark) {
|
|
8
5
|
.odx-mainfilter-group {
|
|
9
6
|
--odx-input-control-outline-color: var(--blue-900);
|
|
10
7
|
--odx-input-control-outline-color-hover: var(--blue-900);
|
|
11
8
|
--odx-c-highlight: var(--blue-900);
|
|
12
|
-
--odx-c-highlight-text: var(--
|
|
9
|
+
--odx-c-highlight-text: var(--odx-color-foreground-inverse-static);
|
|
13
10
|
--odx-c-focus-outline: var(--cyan-800);
|
|
14
11
|
--odx-c-focus: var(--focus-bg);
|
|
15
12
|
}
|
|
@@ -27,6 +24,7 @@
|
|
|
27
24
|
--odx-c-focus-outline: var(--cyan-700);
|
|
28
25
|
--odx-c-focus: var(--cyan-50);
|
|
29
26
|
--odx-c-highlight-active: var(--odx-c-focus-outline);
|
|
27
|
+
--main-filter-label-padding: 0 var(--odx-spacing-12) var(--odx-border-width-thin);
|
|
30
28
|
|
|
31
29
|
.odx-form-field {
|
|
32
30
|
flex: 0;
|
|
@@ -34,40 +32,38 @@
|
|
|
34
32
|
|
|
35
33
|
&__control {
|
|
36
34
|
.odx-form-field-control {
|
|
37
|
-
min-width:
|
|
35
|
+
min-width: var(--odx-size-1000);
|
|
38
36
|
|
|
39
37
|
&.odx-spinbox {
|
|
40
|
-
min-width:
|
|
38
|
+
min-width: var(--odx-size-1000);
|
|
41
39
|
}
|
|
42
40
|
}
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
&__label {
|
|
46
|
-
@include dimensions.padding-x(math.div(3, 24));
|
|
47
|
-
|
|
48
44
|
background-color: var(--odx-input-control-background-color);
|
|
49
|
-
line-height:
|
|
45
|
+
line-height: var(--odx-typography-line-height-text-xs);
|
|
50
46
|
margin-top: 0;
|
|
47
|
+
padding: 0;
|
|
51
48
|
position: absolute;
|
|
52
49
|
right: 0;
|
|
53
|
-
right:
|
|
54
|
-
top:
|
|
50
|
+
right: var(--odx-spacing-50);
|
|
51
|
+
top: var(--odx-spacing-75);
|
|
55
52
|
z-index: 1;
|
|
56
53
|
}
|
|
57
54
|
|
|
58
55
|
&:has(.odx-spinbox) {
|
|
59
56
|
.odx-form-field__label {
|
|
60
|
-
right:
|
|
57
|
+
right: var(--odx-size-225);
|
|
61
58
|
}
|
|
62
59
|
}
|
|
63
60
|
|
|
64
61
|
&-label {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
border-radius: var(--odx-v-border-radius-controls);
|
|
62
|
+
border-radius: var(--odx-border-radius-control);
|
|
68
63
|
display: inline-block;
|
|
69
|
-
font-size:
|
|
64
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
70
65
|
line-height: 1;
|
|
66
|
+
padding: var(--main-filter-label-padding);
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
&__hint {
|
|
@@ -77,31 +73,31 @@
|
|
|
77
73
|
|
|
78
74
|
.odx-button {
|
|
79
75
|
@include utils.interactive();
|
|
80
|
-
@include motion.transition(box-shadow);
|
|
81
76
|
|
|
82
|
-
margin-top:
|
|
77
|
+
margin-top: var(--odx-size-125);
|
|
83
78
|
outline-offset: -1px;
|
|
84
79
|
outline-width: var(--odx-v-outline-width);
|
|
85
80
|
overflow: visible;
|
|
86
81
|
position: relative;
|
|
82
|
+
transition: var(--odx-motion-transition-default);
|
|
83
|
+
transition-property: box-shadow;
|
|
87
84
|
|
|
88
85
|
&::before {
|
|
89
|
-
@include dimensions.padding-x(math.div(3, 24));
|
|
90
|
-
@include dimensions.padding-y(math.div(2, 24));
|
|
91
|
-
@include typography.prevent-text-overflow();
|
|
92
|
-
|
|
93
86
|
background-color: var(--odx-input-control-background-color);
|
|
94
|
-
border-radius: var(--odx-
|
|
87
|
+
border-radius: var(--odx-border-radius-control);
|
|
95
88
|
content: attr(label);
|
|
96
89
|
display: inline-block;
|
|
97
|
-
font-size:
|
|
90
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
98
91
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
99
92
|
line-height: 1;
|
|
100
93
|
margin-top: 0;
|
|
94
|
+
padding: var(--main-filter-label-padding);
|
|
101
95
|
position: absolute;
|
|
102
|
-
right:
|
|
103
|
-
top:
|
|
96
|
+
right: var(--odx-spacing-50);
|
|
97
|
+
top: var(--odx-spacing-negative-50);
|
|
104
98
|
z-index: 1;
|
|
99
|
+
|
|
100
|
+
@include typography.prevent-text-overflow();
|
|
105
101
|
}
|
|
106
102
|
}
|
|
107
103
|
|
|
@@ -143,7 +139,7 @@
|
|
|
143
139
|
}
|
|
144
140
|
|
|
145
141
|
.odx-button {
|
|
146
|
-
margin
|
|
142
|
+
margin: 0 !important;
|
|
147
143
|
outline: none;
|
|
148
144
|
|
|
149
145
|
&::before {
|
package/scss/menu.component.scss
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
@use '../abstract/dimensions';
|
|
2
|
-
@use 'sass:math';
|
|
3
|
-
|
|
4
1
|
.odx-menu {
|
|
5
2
|
display: block;
|
|
6
3
|
|
|
7
4
|
> .odx-action-group {
|
|
8
|
-
@include dimensions.padding-y(math.div(2, 24));
|
|
9
|
-
|
|
10
5
|
display: flex;
|
|
11
6
|
flex-direction: column;
|
|
12
7
|
height: auto;
|
|
13
8
|
margin: 0;
|
|
9
|
+
padding-block: var(--odx-spacing-12);
|
|
14
10
|
|
|
15
11
|
> .odx-button {
|
|
16
12
|
justify-content: flex-start;
|
|
@@ -20,12 +16,12 @@
|
|
|
20
16
|
}
|
|
21
17
|
|
|
22
18
|
&__title:not(:empty) {
|
|
23
|
-
margin-bottom:
|
|
19
|
+
margin-bottom: var(--odx-spacing-75);
|
|
24
20
|
}
|
|
25
21
|
|
|
26
22
|
&--tile {
|
|
27
|
-
$avatar-size:
|
|
28
|
-
$grid-gap:
|
|
23
|
+
$avatar-size: var(--odx-size-300);
|
|
24
|
+
$grid-gap: var(--odx-spacing-50);
|
|
29
25
|
|
|
30
26
|
.odx-avatar {
|
|
31
27
|
height: $avatar-size;
|
|
@@ -41,12 +37,12 @@
|
|
|
41
37
|
|
|
42
38
|
.odx-button {
|
|
43
39
|
flex-direction: column;
|
|
44
|
-
font-size:
|
|
40
|
+
font-size: calc(var(--odx-typography-base-size) * 0.8125);
|
|
45
41
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
46
42
|
height: unset;
|
|
47
|
-
line-height:
|
|
43
|
+
line-height: var(--odx-size-125);
|
|
48
44
|
padding: $grid-gap;
|
|
49
|
-
width:
|
|
45
|
+
width: calc(var(--odx-size-600) + var(--odx-spacing-25));
|
|
50
46
|
}
|
|
51
47
|
}
|
|
52
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.odx-mirror-bar-chart {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
gap:
|
|
4
|
+
gap: var(--odx-spacing-150);
|
|
5
5
|
width: 100%;
|
|
6
6
|
|
|
7
7
|
&__title {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
&__controls {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
|
-
gap:
|
|
28
|
+
gap: var(--odx-spacing-75);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,23 +1,18 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/breakpoints';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../abstract/utils';
|
|
7
2
|
|
|
8
|
-
$modal-padding:
|
|
3
|
+
$modal-padding: var(--odx-spacing-75);
|
|
9
4
|
|
|
10
5
|
.odx-modal {
|
|
11
|
-
--odx-modal-margin-y: #{
|
|
12
|
-
--odx-modal-margin-x:
|
|
13
|
-
--odx-modal-max-width:
|
|
14
|
-
--odx-modal-margin-bottom:
|
|
6
|
+
--odx-modal-margin-y: #{calc(var(--odx-vertical-rythm-base-size) * 2)};
|
|
7
|
+
--odx-modal-margin-x: var(--odx-spacing-50);
|
|
8
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 1.5);
|
|
9
|
+
--odx-modal-margin-bottom: var(--odx-spacing-75);
|
|
15
10
|
|
|
16
11
|
$root: &;
|
|
17
12
|
|
|
18
13
|
background: transparent;
|
|
19
14
|
border: 0;
|
|
20
|
-
border-radius: var(--odx-
|
|
15
|
+
border-radius: var(--odx-border-radius-md);
|
|
21
16
|
box-shadow: var(--odx-v-box-shadow-layer-2);
|
|
22
17
|
color: var(--odx-c-text);
|
|
23
18
|
margin-top: var(--odx-modal-margin-y);
|
|
@@ -27,10 +22,10 @@ $modal-padding: math.div(12, 24);
|
|
|
27
22
|
|
|
28
23
|
&::backdrop,
|
|
29
24
|
&:modal {
|
|
30
|
-
@include motion.transition(opacity visibility overlay transform);
|
|
31
|
-
|
|
32
25
|
opacity: 0;
|
|
26
|
+
transition: var(--odx-motion-transition-default);
|
|
33
27
|
transition-behavior: allow-discrete;
|
|
28
|
+
transition-property: opacity, visibility, overlay, transform;
|
|
34
29
|
}
|
|
35
30
|
|
|
36
31
|
&::backdrop {
|
|
@@ -55,11 +50,11 @@ $modal-padding: math.div(12, 24);
|
|
|
55
50
|
}
|
|
56
51
|
|
|
57
52
|
&[open]:modal:not(#{$root}--sidesheet) {
|
|
58
|
-
transform: translateY(
|
|
53
|
+
transform: translateY(var(--odx-spacing-50));
|
|
59
54
|
}
|
|
60
55
|
|
|
61
56
|
&[open]:modal#{$root}--sidesheet {
|
|
62
|
-
transform: translateX(
|
|
57
|
+
transform: translateX(var(--odx-size-300));
|
|
63
58
|
}
|
|
64
59
|
}
|
|
65
60
|
|
|
@@ -75,24 +70,28 @@ $modal-padding: math.div(12, 24);
|
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
&[open]:modal:not(#{$root}--sidesheet) {
|
|
78
|
-
transform: translateY(
|
|
73
|
+
transform: translateY(var(--odx-spacing-50));
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
&[open]:modal#{$root}--sidesheet {
|
|
82
|
-
transform: translateX(
|
|
77
|
+
transform: translateX(var(--odx-size-300));
|
|
83
78
|
}
|
|
84
79
|
}
|
|
85
80
|
|
|
86
81
|
&.odx-modal--xsmall {
|
|
87
|
-
--odx-modal-max-width:
|
|
82
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-xs) * 1.7);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&.odx-modal--small {
|
|
86
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-sm) * 2);
|
|
88
87
|
}
|
|
89
88
|
|
|
90
89
|
&.odx-modal--medium {
|
|
91
|
-
--odx-modal-max-width:
|
|
90
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-md) * 1.5);
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
&.odx-modal--large {
|
|
95
|
-
--odx-modal-max-width:
|
|
94
|
+
--odx-modal-max-width: calc(var(--odx-layout-width-lg) * 1.5);
|
|
96
95
|
}
|
|
97
96
|
|
|
98
97
|
&--sidesheet {
|
|
@@ -108,7 +107,7 @@ $modal-padding: math.div(12, 24);
|
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
@include breakpoints.up(phone) {
|
|
111
|
-
margin-right:
|
|
110
|
+
margin-right: var(--odx-spacing-75);
|
|
112
111
|
}
|
|
113
112
|
|
|
114
113
|
@include breakpoints.down(phone) {
|
|
@@ -117,19 +116,18 @@ $modal-padding: math.div(12, 24);
|
|
|
117
116
|
}
|
|
118
117
|
|
|
119
118
|
@include breakpoints.up(phone) {
|
|
120
|
-
--odx-modal-margin-y: #{
|
|
121
|
-
--odx-modal-margin-x:
|
|
122
|
-
--odx-modal-margin-bottom:
|
|
119
|
+
--odx-modal-margin-y: #{calc(var(--odx-vertical-rythm-base-size) * 3)};
|
|
120
|
+
--odx-modal-margin-x: var(--odx-spacing-150);
|
|
121
|
+
--odx-modal-margin-bottom: var(--odx-spacing-150);
|
|
123
122
|
}
|
|
124
123
|
|
|
125
124
|
&__container {
|
|
126
|
-
@include dimensions.padding-x(1);
|
|
127
|
-
|
|
128
125
|
background-color: var(--odx-c-background-content);
|
|
129
|
-
border-radius: var(--odx-
|
|
126
|
+
border-radius: var(--odx-border-radius-md);
|
|
130
127
|
display: flex;
|
|
131
128
|
flex-direction: column;
|
|
132
129
|
max-height: calc(100dvh - var(--odx-modal-margin-y) - var(--odx-modal-margin-bottom));
|
|
130
|
+
padding-inline: var(--odx-size-150);
|
|
133
131
|
|
|
134
132
|
#{$root}--with-component & > * {
|
|
135
133
|
display: contents;
|
|
@@ -143,26 +141,24 @@ $modal-padding: math.div(12, 24);
|
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
&__header {
|
|
146
|
-
|
|
147
|
-
|
|
144
|
+
min-block-size: calc(var(--odx-control-height-lg) + var(--odx-spacing-75));
|
|
145
|
+
padding-block-start: $modal-padding;
|
|
148
146
|
|
|
149
147
|
> .odx-area-header {
|
|
150
|
-
@include dimensions.margin-x(-0.5);
|
|
151
|
-
|
|
152
148
|
flex: 1 1 auto;
|
|
149
|
+
margin-inline: var(--odx-spacing-negative-75);
|
|
153
150
|
max-width: 100%;
|
|
154
151
|
|
|
155
152
|
@include breakpoints.up(phone) {
|
|
156
|
-
|
|
153
|
+
margin-inline-start: calc(var(--odx-spacing-negative-75) * 2);
|
|
157
154
|
}
|
|
158
155
|
}
|
|
159
156
|
}
|
|
160
157
|
|
|
161
158
|
&__content {
|
|
162
|
-
@include dimensions.padding-y($modal-padding);
|
|
163
|
-
|
|
164
159
|
display: block;
|
|
165
160
|
overflow: auto;
|
|
161
|
+
padding-block: $modal-padding;
|
|
166
162
|
|
|
167
163
|
#{$root}--sidesheet & {
|
|
168
164
|
flex: 1;
|
|
@@ -170,11 +166,10 @@ $modal-padding: math.div(12, 24);
|
|
|
170
166
|
}
|
|
171
167
|
|
|
172
168
|
&__footer {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
gap: dimensions.get-size(math.div(16, 24));
|
|
169
|
+
block-size: calc(var(--odx-control-height-lg) + var(--odx-spacing-75));
|
|
170
|
+
gap: var(--odx-spacing-100);
|
|
177
171
|
margin-left: auto;
|
|
172
|
+
padding-block-end: $modal-padding;
|
|
178
173
|
|
|
179
174
|
> .odx-button {
|
|
180
175
|
display: flex;
|
|
@@ -185,21 +180,20 @@ $modal-padding: math.div(12, 24);
|
|
|
185
180
|
.odx-modal-hero {
|
|
186
181
|
$variants: success, danger, confirmation;
|
|
187
182
|
|
|
188
|
-
@include dimensions.min-height(2.5);
|
|
189
|
-
@include dimensions.padding(0.5, top);
|
|
190
|
-
|
|
191
183
|
display: flex;
|
|
192
184
|
flex-direction: column;
|
|
185
|
+
min-block-size: calc(var(--odx-control-height-lg) + var(--odx-spacing-75));
|
|
186
|
+
padding-block-start: var(--odx-spacing-75);
|
|
193
187
|
position: relative;
|
|
194
188
|
|
|
195
189
|
&__dismiss {
|
|
196
190
|
position: absolute;
|
|
197
191
|
right: 0;
|
|
198
|
-
top:
|
|
192
|
+
top: var(--odx-spacing-75);
|
|
199
193
|
}
|
|
200
194
|
|
|
201
195
|
&__icon {
|
|
202
|
-
margin:
|
|
196
|
+
margin: var(--odx-spacing-75) auto auto;
|
|
203
197
|
}
|
|
204
198
|
|
|
205
199
|
&__title {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
&__title {
|
|
11
11
|
align-items: center;
|
|
12
12
|
display: flex;
|
|
13
|
-
gap:
|
|
13
|
+
gap: var(--odx-spacing-37);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
&__label {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
height: calc(var(--odx-vertical-rythm-base-size) * 2.0312);
|
|
26
26
|
margin: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
27
27
|
position: relative;
|
|
28
|
-
z-index: var(--odx-
|
|
28
|
+
z-index: var(--odx-z-level-base);
|
|
29
29
|
|
|
30
30
|
canvas {
|
|
31
31
|
height: 100% !important;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
2
|
@use '../abstract/utils';
|
|
5
3
|
|
|
6
4
|
.odx-navigation-back {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
block-size: var(--odx-control-height-md);
|
|
6
|
+
border-radius: var(--odx-border-radius-control);
|
|
7
|
+
inline-size: var(--odx-control-height-md);
|
|
8
|
+
transition: var(--odx-motion-transition-default);
|
|
9
|
+
transition-property: background-color;
|
|
10
10
|
|
|
11
|
-
@include motion.transition(background-color);
|
|
12
11
|
@include utils.center-content(true);
|
|
13
12
|
@include utils.interactive();
|
|
14
13
|
|