@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,21 +1,15 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
2
|
@use '../abstract/typography';
|
|
5
3
|
@use '../abstract/utils';
|
|
6
4
|
|
|
7
|
-
$form-field-label-height: math.div(20, 24);
|
|
8
|
-
$form-field-hint-height: math.div(16, 24);
|
|
9
|
-
$form-field-inner-padding: math.div(8, 24);
|
|
10
|
-
|
|
11
5
|
:root {
|
|
12
6
|
--odx-form-field-hint-color: var(--gray-500);
|
|
13
7
|
}
|
|
14
8
|
|
|
15
9
|
.odx-form,
|
|
16
10
|
.odx-form-group {
|
|
17
|
-
--odx-grid-gutter:
|
|
18
|
-
--odx-form-field-horizontal-label-width:
|
|
11
|
+
--odx-grid-gutter: var(--odx-spacing-75);
|
|
12
|
+
--odx-form-field-horizontal-label-width: var(--odx-size-150);
|
|
19
13
|
|
|
20
14
|
row-gap: 0;
|
|
21
15
|
}
|
|
@@ -24,40 +18,41 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
24
18
|
$root: &;
|
|
25
19
|
$control-selector: '.odx-form-field-control';
|
|
26
20
|
|
|
27
|
-
@include dimensions.padding($form-field-label-height, top);
|
|
28
|
-
|
|
29
21
|
color: var(--odx-input-control-color);
|
|
30
22
|
display: flex;
|
|
31
23
|
flex-direction: column;
|
|
24
|
+
padding-block-start: var(--odx-size-125);
|
|
32
25
|
vertical-align: top;
|
|
33
26
|
|
|
27
|
+
--form-field-after-bg: transparent;
|
|
28
|
+
|
|
34
29
|
&__label,
|
|
35
30
|
&__info {
|
|
36
|
-
@include dimensions.padding-x($form-field-inner-padding);
|
|
37
|
-
|
|
38
31
|
display: block;
|
|
39
32
|
flex: 1 1 auto;
|
|
33
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
&__prefix,
|
|
43
37
|
&__suffix {
|
|
44
|
-
@include dimensions.height(1.5);
|
|
45
|
-
@include motion.transition(color);
|
|
46
38
|
@include utils.vertical-center-content(true);
|
|
47
39
|
|
|
40
|
+
block-size: var(--odx-control-height-md);
|
|
48
41
|
flex: 0 0 auto;
|
|
42
|
+
transition: var(--odx-motion-transition-default);
|
|
43
|
+
transition-property: color;
|
|
49
44
|
|
|
50
45
|
#{$root}.is-disabled & {
|
|
51
|
-
color: var(--odx-
|
|
46
|
+
color: var(--odx-color-foreground-disabled-rest);
|
|
52
47
|
}
|
|
53
48
|
}
|
|
54
49
|
|
|
55
50
|
&__prefix:not(:empty) {
|
|
56
|
-
|
|
51
|
+
padding-inline-start: var(--odx-spacing-50);
|
|
57
52
|
}
|
|
58
53
|
|
|
59
54
|
&__suffix:not(:empty) {
|
|
60
|
-
|
|
55
|
+
padding-inline-end: var(--odx-spacing-50);
|
|
61
56
|
}
|
|
62
57
|
|
|
63
58
|
&-label {
|
|
@@ -67,10 +62,9 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
67
62
|
}
|
|
68
63
|
|
|
69
64
|
&__label {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
font-size: var(--odx-control-font-size-sm);
|
|
66
|
+
line-height: var(--odx-size-125);
|
|
67
|
+
margin-block-start: calc(var(--odx-spacing-negative-50) * 2 - var(--odx-spacing-25));
|
|
74
68
|
user-select: none;
|
|
75
69
|
|
|
76
70
|
#{$root}:not(#{$root}--horizontal, #{$root}--simple) & {
|
|
@@ -78,8 +72,7 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
78
72
|
}
|
|
79
73
|
|
|
80
74
|
&-is-required {
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
font-size: var(--odx-control-font-size-md);
|
|
83
76
|
margin-left: 2px;
|
|
84
77
|
vertical-align: top;
|
|
85
78
|
|
|
@@ -90,62 +83,77 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
90
83
|
}
|
|
91
84
|
|
|
92
85
|
&__control {
|
|
93
|
-
@include
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
@include utils.focus-state(
|
|
87
|
+
$focus-within: true,
|
|
88
|
+
$focus-within-selector: (
|
|
89
|
+
'input',
|
|
90
|
+
'textarea',
|
|
91
|
+
'.odx-select',
|
|
92
|
+
)
|
|
93
|
+
) {
|
|
94
|
+
&::after {
|
|
95
|
+
--form-field-after-bg: transparent;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
98
|
|
|
99
99
|
background-color: var(--odx-input-control-background-color);
|
|
100
|
-
border-radius: var(--odx-
|
|
100
|
+
border-radius: var(--odx-border-radius-control);
|
|
101
101
|
display: flex;
|
|
102
|
+
min-block-size: var(--odx-control-height-md);
|
|
102
103
|
outline-color: var(--odx-input-control-outline-color);
|
|
103
104
|
outline-offset: calc(-1 * var(--odx-v-outline-width));
|
|
104
105
|
outline-width: var(--odx-v-outline-width);
|
|
105
106
|
overflow: hidden;
|
|
106
107
|
position: relative;
|
|
108
|
+
transition: var(--odx-motion-transition-default);
|
|
109
|
+
transition-property: background-color, color;
|
|
107
110
|
|
|
108
111
|
&::after {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
background-color: transparent;
|
|
112
|
+
background-color: var(--form-field-after-bg);
|
|
112
113
|
bottom: 0;
|
|
113
114
|
content: '';
|
|
114
115
|
display: block;
|
|
115
116
|
height: 1px;
|
|
116
117
|
left: 0;
|
|
117
118
|
position: absolute;
|
|
119
|
+
transition: var(--odx-motion-transition-default);
|
|
120
|
+
transition-property: background-color;
|
|
118
121
|
width: 100%;
|
|
119
|
-
z-index: var(--odx-
|
|
122
|
+
z-index: var(--odx-z-level-foreground);
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
#{$control-selector} {
|
|
126
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
127
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
128
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
123
129
|
vertical-align: middle;
|
|
124
130
|
width: 100%;
|
|
125
|
-
|
|
126
|
-
@include dimensions.padding-x($form-field-inner-padding);
|
|
127
|
-
@include typography.font-weight(medium);
|
|
128
131
|
}
|
|
129
132
|
|
|
130
133
|
#{$control-selector},
|
|
131
134
|
input {
|
|
132
135
|
&::placeholder {
|
|
133
|
-
@include typography.font-weight(normal);
|
|
134
|
-
|
|
135
136
|
color: var(--odx-input-control-color);
|
|
137
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
138
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
136
139
|
opacity: 0.65;
|
|
137
140
|
}
|
|
138
141
|
}
|
|
139
142
|
|
|
140
|
-
|
|
141
|
-
|
|
143
|
+
.is-disabled & {
|
|
144
|
+
input::placeholder {
|
|
145
|
+
color: var(--odx-input-control-color-disabled);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
142
148
|
|
|
143
|
-
|
|
149
|
+
> textarea {
|
|
150
|
+
block-size: calc(var(--odx-size-300) + var(--odx-spacing-150));
|
|
151
|
+
padding-block: var(--odx-control-spacing-md);
|
|
144
152
|
resize: vertical;
|
|
145
153
|
}
|
|
146
154
|
|
|
147
155
|
> select {
|
|
148
|
-
border-right:
|
|
156
|
+
border-right: var(--odx-spacing-37) solid transparent;
|
|
149
157
|
}
|
|
150
158
|
|
|
151
159
|
&:hover {
|
|
@@ -155,14 +163,14 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
155
163
|
|
|
156
164
|
#{$root}.has-error & {
|
|
157
165
|
background-color: var(--odx-input-control-background-color-error);
|
|
158
|
-
outline-color: var(--odx-
|
|
166
|
+
outline-color: var(--odx-palette-red-20);
|
|
159
167
|
|
|
160
168
|
&:hover {
|
|
161
169
|
background-color: var(--odx-input-control-background-color);
|
|
162
170
|
}
|
|
163
171
|
|
|
164
172
|
&::after {
|
|
165
|
-
|
|
173
|
+
--form-field-after-bg: var(--odx-input-control-color-error);
|
|
166
174
|
}
|
|
167
175
|
}
|
|
168
176
|
|
|
@@ -188,7 +196,7 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
188
196
|
|
|
189
197
|
#{$root}.is-disabled & {
|
|
190
198
|
background-color: var(--odx-input-control-background-color-disabled);
|
|
191
|
-
color: var(--odx-
|
|
199
|
+
color: var(--odx-color-foreground-disabled-rest);
|
|
192
200
|
outline-color: var(--odx-input-control-outline-color-disabled);
|
|
193
201
|
|
|
194
202
|
#{$control-selector} {
|
|
@@ -208,20 +216,21 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
208
216
|
}
|
|
209
217
|
|
|
210
218
|
&__info {
|
|
211
|
-
@include dimensions.min-height($form-field-hint-height);
|
|
212
|
-
@include dimensions.line-height($form-field-hint-height);
|
|
213
|
-
@include motion.transition(opacity);
|
|
214
|
-
@include typography.font-size(-2);
|
|
215
|
-
|
|
216
219
|
color: var(--odx-form-field-hint-color);
|
|
220
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
221
|
+
line-height: var(--odx-spacing-100);
|
|
222
|
+
margin: 0;
|
|
223
|
+
min-height: var(--odx-spacing-100);
|
|
224
|
+
padding: 0;
|
|
217
225
|
text-align: right;
|
|
226
|
+
transition: var(--odx-motion-transition-default);
|
|
227
|
+
transition-property: opacity;
|
|
218
228
|
}
|
|
219
229
|
|
|
220
230
|
&--simple {
|
|
231
|
+
margin-block: var(--odx-spacing-37);
|
|
221
232
|
padding: 0;
|
|
222
233
|
|
|
223
|
-
@include dimensions.margin-y(0.25);
|
|
224
|
-
|
|
225
234
|
#{$root}__label,
|
|
226
235
|
#{$root}__info {
|
|
227
236
|
display: none;
|
|
@@ -229,15 +238,13 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
229
238
|
}
|
|
230
239
|
|
|
231
240
|
&--horizontal {
|
|
232
|
-
@include dimensions.padding(math.div(8, 24), top);
|
|
233
|
-
|
|
234
241
|
flex-direction: row;
|
|
242
|
+
padding-block-start: var(--odx-spacing-50);
|
|
235
243
|
|
|
236
244
|
#{$root}__label {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
max-width: var(--odx-form-field-horizontal-label-width);
|
|
245
|
+
flex: 0 0 var(--odx-size-900);
|
|
246
|
+
margin-block-start: var(--odx-spacing-37);
|
|
247
|
+
max-width: var(--odx-size-900);
|
|
241
248
|
padding-left: 0;
|
|
242
249
|
}
|
|
243
250
|
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/utils';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
|
-
@use '../layout/typography' as *;
|
|
7
|
-
|
|
8
1
|
.odx-header-navigation {
|
|
9
2
|
$root: &;
|
|
10
3
|
|
|
@@ -12,9 +5,8 @@
|
|
|
12
5
|
border-block-start: 1px solid var(--odx-c-separator);
|
|
13
6
|
display: block;
|
|
14
7
|
margin-block-start: -1px;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
@include dimensions.padding-y(0.25);
|
|
8
|
+
padding-block: var(--odx-control-spacing-md);
|
|
9
|
+
padding-inline: var(--odx-size-125);
|
|
18
10
|
|
|
19
11
|
&__inner {
|
|
20
12
|
flex-wrap: wrap;
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
2
|
@use '../abstract/utils';
|
|
5
3
|
@use '../abstract/typography';
|
|
6
4
|
@use '../layout/typography' as *;
|
|
7
5
|
|
|
8
6
|
.odx-header {
|
|
9
|
-
@include dimensions.padding(math.div(20, 24), 'inline-start');
|
|
10
|
-
@include dimensions.padding(0.5, 'inline-end');
|
|
11
|
-
@include dimensions.min-height(2);
|
|
12
7
|
@include utils.vertical-center-content();
|
|
13
8
|
|
|
14
9
|
background-color: var(--odx-c-background-content);
|
|
10
|
+
min-block-size: var(--odx-control-height-lg);
|
|
11
|
+
padding-inline-end: var(--odx-spacing-75);
|
|
12
|
+
padding-inline-start: var(--odx-size-125);
|
|
15
13
|
|
|
16
14
|
.odx-main-menu-button {
|
|
17
|
-
margin-inline-end:
|
|
18
|
-
margin-inline-start:
|
|
15
|
+
margin-inline-end: var(--odx-spacing-75);
|
|
16
|
+
margin-inline-start: var(--odx-spacing-negative-50);
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
> * {
|
|
@@ -25,7 +23,7 @@
|
|
|
25
23
|
|
|
26
24
|
&__content {
|
|
27
25
|
&:has(&-container:not(:empty)) {
|
|
28
|
-
|
|
26
|
+
padding-inline: var(--odx-size-125);
|
|
29
27
|
}
|
|
30
28
|
|
|
31
29
|
margin-inline-end: auto;
|
|
@@ -44,7 +42,7 @@
|
|
|
44
42
|
|
|
45
43
|
&__title {
|
|
46
44
|
@extend .odx-heading;
|
|
47
|
-
@extend .odx-heading-
|
|
45
|
+
@extend .odx-heading-5;
|
|
48
46
|
@include typography.prevent-text-overflow();
|
|
49
47
|
|
|
50
48
|
overflow: hidden;
|
|
@@ -52,13 +50,13 @@
|
|
|
52
50
|
|
|
53
51
|
.odx-action-group:not(:last-child) {
|
|
54
52
|
border-inline-end: 1px solid var(--odx-c-separator);
|
|
55
|
-
margin-inline-end:
|
|
56
|
-
padding-inline-end:
|
|
53
|
+
margin-inline-end: var(--odx-spacing-75);
|
|
54
|
+
padding-inline-end: var(--odx-spacing-75);
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
&:has(> .odx-heading) > .odx-logo {
|
|
60
58
|
display: none;
|
|
61
|
-
margin-inline-end:
|
|
59
|
+
margin-inline-end: var(--odx-spacing-75);
|
|
62
60
|
|
|
63
61
|
@include breakpoints.up(tablet) {
|
|
64
62
|
display: block;
|
|
@@ -67,7 +65,7 @@
|
|
|
67
65
|
|
|
68
66
|
.odx-search-bar {
|
|
69
67
|
&:not(:last-child) {
|
|
70
|
-
margin-inline-end:
|
|
68
|
+
margin-inline-end: var(--odx-spacing-75);
|
|
71
69
|
}
|
|
72
70
|
}
|
|
73
71
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
$icon-sizes: (
|
|
2
|
+
small: var(--odx-size-100),
|
|
3
|
+
large: var(--odx-size-200),
|
|
4
|
+
xlarge: var(--odx-size-300),
|
|
5
|
+
);
|
|
6
6
|
|
|
7
7
|
.odx-icon {
|
|
8
8
|
flex: 0 0 auto;
|
|
9
|
-
font-size:
|
|
9
|
+
font-size: var(--odx-size-150);
|
|
10
10
|
|
|
11
|
-
@each $size, $
|
|
11
|
+
@each $size, $font-size in $icon-sizes {
|
|
12
12
|
&--#{$size} {
|
|
13
|
-
font-size:
|
|
13
|
+
font-size: $font-size;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/typography';
|
|
4
|
-
|
|
5
1
|
.odx-inline-message {
|
|
6
|
-
--odx-c-default: var(--
|
|
7
|
-
--odx-c-warning: var(--
|
|
8
|
-
--odx-c-danger: var(--
|
|
9
|
-
--odx-c-success: var(--
|
|
2
|
+
--odx-c-default: var(--odx-color-background-primary-subtle);
|
|
3
|
+
--odx-c-warning: var(--odx-color-background-warning-subtle);
|
|
4
|
+
--odx-c-danger: var(--odx-color-background-danger-subtle);
|
|
5
|
+
--odx-c-success: var(--odx-color-background-success-subtle);
|
|
10
6
|
|
|
11
7
|
$variants: default, warning, danger, success;
|
|
12
8
|
|
|
13
|
-
@include dimensions.padding-x(math.div(10, 24));
|
|
14
|
-
@include dimensions.padding-y(math.div(12, 24));
|
|
15
|
-
|
|
16
9
|
display: flex;
|
|
17
|
-
gap:
|
|
10
|
+
gap: var(--odx-spacing-75);
|
|
11
|
+
padding-block: var(--odx-spacing-75);
|
|
12
|
+
padding-inline: calc(var(--odx-spacing-50) + var(--odx-spacing-12));
|
|
18
13
|
|
|
19
14
|
@each $variant in $variants {
|
|
20
15
|
&--#{$variant} {
|
|
@@ -23,12 +18,11 @@
|
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
&--danger {
|
|
26
|
-
color: var(--
|
|
21
|
+
color: var(--odx-color-foreground-danger-rest);
|
|
27
22
|
}
|
|
28
23
|
|
|
29
24
|
&__content {
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
32
26
|
overflow: hidden;
|
|
33
27
|
}
|
|
34
28
|
}
|
|
@@ -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 {
|
|
@@ -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
|
}
|
|
@@ -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);
|
|
@@ -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
|
}
|