@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,21 @@
|
|
|
1
|
-
.odx-chart-footer {
|
|
2
|
-
align-items: center;
|
|
3
|
-
display: flex;
|
|
4
|
-
gap:
|
|
5
|
-
justify-content: flex-end;
|
|
6
|
-
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
|
|
9
|
-
.legend-item {
|
|
10
|
-
align-items: center;
|
|
11
|
-
display: flex;
|
|
12
|
-
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
13
|
-
gap:
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.legend-dot {
|
|
17
|
-
border-radius: 50%;
|
|
18
|
-
height: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
19
|
-
width: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
.odx-chart-footer {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: var(--odx-spacing-100);
|
|
5
|
+
justify-content: flex-end;
|
|
6
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
.legend-item {
|
|
10
|
+
align-items: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
font-size: calc(var(--odx-typography-base-size) * 0.875);
|
|
13
|
+
gap: var(--odx-control-spacing-inline-md);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.legend-dot {
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
19
|
+
width: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
.odx-chart-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
4
|
-
width: 100%;
|
|
5
|
-
|
|
6
|
-
.odx-chart-header__actions {
|
|
7
|
-
display: none;
|
|
8
|
-
gap:
|
|
9
|
-
margin-left: auto;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.odx-chart-header--center {
|
|
14
|
-
align-items: center;
|
|
15
|
-
display: flex;
|
|
16
|
-
gap:
|
|
17
|
-
justify-content: center;
|
|
18
|
-
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
19
|
-
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.odx-chart-header--split,
|
|
23
|
-
.odx-chart-header--controls,
|
|
24
|
-
.odx-chart-header--toggle,
|
|
25
|
-
.odx-chart-header--textlink {
|
|
26
|
-
align-items: center;
|
|
27
|
-
display: flex;
|
|
28
|
-
gap:
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
31
|
-
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
32
|
-
|
|
33
|
-
.odx-chart-header__actions {
|
|
34
|
-
align-items: center;
|
|
35
|
-
display: flex;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.odx-chart-header--controls {
|
|
40
|
-
.odx-chart-header__actions form {
|
|
41
|
-
align-items: center;
|
|
42
|
-
display: flex;
|
|
43
|
-
gap:
|
|
44
|
-
|
|
45
|
-
.odx-select__trigger {
|
|
46
|
-
padding: 0 calc(var(--odx-vertical-rythm-base-size) * 0.3);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
1
|
+
.odx-chart-header {
|
|
2
|
+
display: flex;
|
|
3
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
4
|
+
width: 100%;
|
|
5
|
+
|
|
6
|
+
.odx-chart-header__actions {
|
|
7
|
+
display: none;
|
|
8
|
+
gap: var(--odx-spacing-75);
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.odx-chart-header--center {
|
|
14
|
+
align-items: center;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: var(--odx-spacing-75);
|
|
17
|
+
justify-content: center;
|
|
18
|
+
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
19
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.odx-chart-header--split,
|
|
23
|
+
.odx-chart-header--controls,
|
|
24
|
+
.odx-chart-header--toggle,
|
|
25
|
+
.odx-chart-header--textlink {
|
|
26
|
+
align-items: center;
|
|
27
|
+
display: flex;
|
|
28
|
+
gap: var(--odx-spacing-75);
|
|
29
|
+
justify-content: space-between;
|
|
30
|
+
min-height: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
31
|
+
padding: calc(var(--odx-vertical-rythm-base-size) * 0.5) 0;
|
|
32
|
+
|
|
33
|
+
.odx-chart-header__actions {
|
|
34
|
+
align-items: center;
|
|
35
|
+
display: flex;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.odx-chart-header--controls {
|
|
40
|
+
.odx-chart-header__actions form {
|
|
41
|
+
align-items: center;
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: var(--odx-spacing-75);
|
|
44
|
+
|
|
45
|
+
.odx-select__trigger {
|
|
46
|
+
padding: 0 calc(var(--odx-vertical-rythm-base-size) * 0.3);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../layout/helpers';
|
|
3
1
|
@use '../layout/typography' as *;
|
|
4
|
-
@use '../abstract/dimensions';
|
|
5
|
-
@use '../abstract/typography';
|
|
6
2
|
@use '../abstract/utils';
|
|
7
|
-
@use '../abstract/motion';
|
|
8
3
|
|
|
9
4
|
.odx-checkbox {
|
|
10
5
|
$root: &;
|
|
@@ -21,15 +16,16 @@
|
|
|
21
16
|
}
|
|
22
17
|
|
|
23
18
|
&__label {
|
|
24
|
-
|
|
25
|
-
@include motion.transition(background-color color);
|
|
26
|
-
@include typography.font-size(0);
|
|
27
|
-
|
|
28
|
-
border-radius: var(--odx-v-border-radius-controls);
|
|
19
|
+
border-radius: var(--odx-border-radius-control);
|
|
29
20
|
color: inherit;
|
|
21
|
+
cursor: pointer;
|
|
30
22
|
display: inline-flex;
|
|
31
|
-
|
|
23
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
24
|
+
line-height: var(--odx-typography-line-height-text-md);
|
|
25
|
+
min-block-size: var(--odx-spacing-150);
|
|
32
26
|
padding: 0 2px;
|
|
27
|
+
transition: var(--odx-motion-transition-default);
|
|
28
|
+
transition-property: background-color, color;
|
|
33
29
|
user-select: auto;
|
|
34
30
|
vertical-align: top;
|
|
35
31
|
|
|
@@ -47,30 +43,31 @@
|
|
|
47
43
|
}
|
|
48
44
|
|
|
49
45
|
&__indicator {
|
|
50
|
-
@include dimensions.container(1, math.div(20, 24));
|
|
51
|
-
@include motion.transition(background-color color);
|
|
52
|
-
@include utils.center-content(true);
|
|
53
|
-
|
|
54
|
-
@include utils.with-outline() {
|
|
55
|
-
outline-offset: var(--odx-v-outline-width-bold);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
46
|
background-color: var(--odx-control-background-color);
|
|
59
47
|
border: var(--odx-v-outline-width) solid var(--odx-control-outline-color);
|
|
60
|
-
border-radius: var(--odx-
|
|
48
|
+
border-radius: var(--odx-border-radius-control);
|
|
61
49
|
box-shadow: 0 0 0 var(--odx-v-outline-width-bold) transparent;
|
|
62
|
-
color: var(--odx-
|
|
50
|
+
color: var(--odx-color-foreground-inverse-static);
|
|
63
51
|
flex: 0 0 auto;
|
|
52
|
+
height: var(--odx-size-125);
|
|
53
|
+
margin-block: var(--odx-spacing-12);
|
|
64
54
|
padding: 1px;
|
|
55
|
+
transition: var(--odx-motion-transition-default);
|
|
56
|
+
transition-property: background-color, color;
|
|
57
|
+
width: var(--odx-size-125);
|
|
65
58
|
|
|
66
|
-
|
|
67
|
-
$checkmark-size: math.div(18, 24);
|
|
59
|
+
@include utils.center-content(true);
|
|
68
60
|
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
@include utils.with-outline() {
|
|
62
|
+
outline-offset: var(--odx-v-outline-width-bold);
|
|
63
|
+
}
|
|
71
64
|
|
|
72
|
-
|
|
65
|
+
> .odx-icon {
|
|
66
|
+
font-size: calc(var(--odx-control-addon-size-xs) + 2px);
|
|
67
|
+
height: calc(var(--odx-vertical-rythm-base-size) * 3 / 4);
|
|
73
68
|
opacity: 0;
|
|
69
|
+
transition: var(--odx-motion-transition-default);
|
|
70
|
+
transition-property: opacity;
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
#{$root}:hover & {
|
|
@@ -94,6 +91,10 @@
|
|
|
94
91
|
color: var(--odx-control-color-disabled-selected);
|
|
95
92
|
}
|
|
96
93
|
|
|
94
|
+
#{$root}.is-active:not(.is-disabled):hover & {
|
|
95
|
+
background-color: var(--odx-color-background-control-selected-hover);
|
|
96
|
+
}
|
|
97
|
+
|
|
97
98
|
#{$root}.has-error & {
|
|
98
99
|
background-color: var(--odx-control-background-color-error);
|
|
99
100
|
color: var(--odx-control-color-error);
|
|
@@ -123,10 +124,9 @@
|
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
&__content {
|
|
126
|
-
@include dimensions.margin(0.5, left);
|
|
127
|
-
|
|
128
127
|
display: flex;
|
|
129
128
|
flex-direction: column;
|
|
129
|
+
margin-inline-start: var(--odx-spacing-75);
|
|
130
130
|
padding-left: 2px;
|
|
131
131
|
|
|
132
132
|
&:empty {
|
|
@@ -136,9 +136,8 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&__required {
|
|
139
|
-
@include typography.font-size(0);
|
|
140
|
-
|
|
141
139
|
color: var(--odx-c-error-text);
|
|
140
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
142
141
|
margin-left: 2px;
|
|
143
142
|
vertical-align: top;
|
|
144
143
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
2
|
|
|
4
|
-
$form-field-inner-padding:
|
|
3
|
+
$form-field-inner-padding: var(--odx-spacing-50);
|
|
5
4
|
|
|
6
5
|
.odx-chip-list {
|
|
7
6
|
$root: &;
|
|
@@ -12,12 +11,12 @@ $form-field-inner-padding: math.div(8, 24);
|
|
|
12
11
|
|
|
13
12
|
&-row {
|
|
14
13
|
&:has(.odx-chip) {
|
|
15
|
-
@include dimensions.padding($form-field-inner-padding, ('top', 'left', 'right'));
|
|
16
|
-
@include dimensions.padding(math.div(4, 24), ('bottom'));
|
|
17
|
-
|
|
18
14
|
display: flex;
|
|
19
15
|
flex-wrap: wrap;
|
|
20
|
-
gap:
|
|
16
|
+
gap: var(--odx-spacing-50);
|
|
17
|
+
padding-block-end: var(--odx-spacing-25);
|
|
18
|
+
padding-block-start: $form-field-inner-padding;
|
|
19
|
+
padding-inline: $form-field-inner-padding;
|
|
21
20
|
}
|
|
22
21
|
}
|
|
23
22
|
}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/utils';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
2
|
@use '../abstract/typography';
|
|
6
3
|
|
|
7
|
-
$sizes: (small 1 -1
|
|
4
|
+
$sizes: (small 1 -1 var(--odx-size-100), medium 1.5 0 var(--odx-size-150));
|
|
8
5
|
$variants: secondary, highlight, success, danger, warning, confirmation;
|
|
9
6
|
|
|
10
7
|
.odx-chip {
|
|
11
|
-
|
|
8
|
+
--odx-c-warning-text: var(--odx-color-foreground-rest-static);
|
|
9
|
+
--odx-c-confirmation-text: var(--odx-color-foreground-rest-static);
|
|
10
|
+
--odx-c-success-text: var(--odx-color-foreground-rest-static);
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
@include motion.transition(background-color color);
|
|
12
|
+
$root: &;
|
|
15
13
|
|
|
16
14
|
display: inline-flex;
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
16
|
+
gap: var(--odx-spacing-25);
|
|
17
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
18
|
+
min-width: var(--odx-size-200);
|
|
19
|
+
transition: var(--odx-motion-transition-default);
|
|
20
|
+
transition-property: background-color, color;
|
|
19
21
|
user-select: none;
|
|
20
22
|
|
|
21
23
|
&:not(#{$root}--secondary) {
|
|
@@ -28,10 +30,11 @@ $variants: secondary, highlight, success, danger, warning, confirmation;
|
|
|
28
30
|
|
|
29
31
|
&__action {
|
|
30
32
|
@include utils.center-content();
|
|
31
|
-
@include motion.transition(background-color color);
|
|
32
33
|
|
|
33
|
-
border-radius:
|
|
34
|
+
border-radius: var(--odx-border-radius-circle);
|
|
34
35
|
margin: 0;
|
|
36
|
+
transition: var(--odx-motion-transition-default);
|
|
37
|
+
transition-property: background-color, color;
|
|
35
38
|
|
|
36
39
|
&:focus-visible {
|
|
37
40
|
box-shadow: 0 0 0 var(--odx-v-outline-box-shadow-width) var(--odx-c-focus-inner);
|
|
@@ -55,18 +58,28 @@ $variants: secondary, highlight, success, danger, warning, confirmation;
|
|
|
55
58
|
|
|
56
59
|
@each $size, $size-factor, $font-size-factor, $icon-size in $sizes {
|
|
57
60
|
&--#{$size} {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
$font-size-token: var(--odx-typography-font-size-text-md);
|
|
62
|
+
$action-margin-token: var(--odx-spacing-negative-50);
|
|
63
|
+
|
|
64
|
+
@if $font-size-factor == -1 {
|
|
65
|
+
$font-size-token: var(--odx-typography-font-size-text-sm);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@if $size-factor == 1.5 {
|
|
69
|
+
$action-margin-token: var(--odx-spacing-negative-75);
|
|
70
|
+
}
|
|
61
71
|
|
|
62
|
-
border-radius:
|
|
72
|
+
border-radius: var(--odx-border-radius-circle);
|
|
73
|
+
font-size: $font-size-token;
|
|
74
|
+
line-height: calc(var(--odx-vertical-rythm-base-size) * #{$size-factor});
|
|
75
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
63
76
|
|
|
64
77
|
#{$root}__action {
|
|
65
|
-
|
|
78
|
+
margin-inline-end: $action-margin-token;
|
|
66
79
|
}
|
|
67
80
|
|
|
68
81
|
> .odx-icon {
|
|
69
|
-
font-size:
|
|
82
|
+
font-size: $icon-size;
|
|
70
83
|
}
|
|
71
84
|
}
|
|
72
85
|
}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use '../abstract/motion';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
|
|
4
1
|
@keyframes odx-circular-progress-indicator-animation {
|
|
5
2
|
0% {
|
|
6
3
|
stroke-dashoffset: 100;
|
|
@@ -44,11 +41,11 @@
|
|
|
44
41
|
}
|
|
45
42
|
|
|
46
43
|
&__indicator {
|
|
47
|
-
@include motion.transition(stroke-dashoffset);
|
|
48
|
-
|
|
49
44
|
stroke: var(--odx-c-highlight);
|
|
50
45
|
transform: rotate(-90deg);
|
|
51
46
|
transform-origin: 50% 50%;
|
|
47
|
+
transition: var(--odx-motion-transition-default);
|
|
48
|
+
transition-property: stroke-dashoffset;
|
|
52
49
|
}
|
|
53
50
|
|
|
54
51
|
&--indeterminate {
|
|
@@ -62,14 +59,16 @@
|
|
|
62
59
|
}
|
|
63
60
|
|
|
64
61
|
&--small {
|
|
65
|
-
|
|
62
|
+
block-size: var(--odx-control-height-md);
|
|
63
|
+
margin-block: var(--odx-spacing-37);
|
|
66
64
|
}
|
|
67
65
|
|
|
68
66
|
&--medium {
|
|
69
|
-
|
|
67
|
+
block-size: calc(var(--odx-control-height-lg) + var(--odx-spacing-75));
|
|
68
|
+
margin-block: var(--odx-spacing-37);
|
|
70
69
|
}
|
|
71
70
|
|
|
72
71
|
&--large {
|
|
73
|
-
|
|
72
|
+
block-size: var(--odx-size-600);
|
|
74
73
|
}
|
|
75
74
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use '../abstract/breakpoints';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
2
|
|
|
4
3
|
.odx-content-box {
|
|
5
4
|
background-color: var(--odx-c-background-content);
|
|
@@ -17,26 +16,30 @@
|
|
|
17
16
|
}
|
|
18
17
|
|
|
19
18
|
&__header {
|
|
20
|
-
|
|
19
|
+
padding-block-start: var(--odx-spacing-75);
|
|
20
|
+
padding-inline: var(--odx-spacing-75);
|
|
21
21
|
|
|
22
22
|
@include breakpoints.up(phone) {
|
|
23
|
-
|
|
23
|
+
padding-block-start: var(--odx-spacing-150);
|
|
24
|
+
padding-inline: var(--odx-spacing-150);
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
&__footer {
|
|
28
|
-
|
|
29
|
+
padding-block-end: var(--odx-spacing-75);
|
|
30
|
+
padding-inline: var(--odx-spacing-75);
|
|
29
31
|
|
|
30
32
|
@include breakpoints.up(phone) {
|
|
31
|
-
|
|
33
|
+
padding-block-end: var(--odx-spacing-150);
|
|
34
|
+
padding-inline: var(--odx-spacing-150);
|
|
32
35
|
}
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
&__content {
|
|
36
|
-
|
|
39
|
+
padding: var(--odx-spacing-75);
|
|
37
40
|
|
|
38
41
|
@include breakpoints.up(phone) {
|
|
39
|
-
|
|
42
|
+
padding: var(--odx-spacing-150);
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/utils';
|
|
4
2
|
|
|
5
3
|
.odx-datepicker {
|
|
@@ -8,7 +6,7 @@
|
|
|
8
6
|
@include utils.vertical-center-content();
|
|
9
7
|
|
|
10
8
|
&__trigger-wrapper {
|
|
11
|
-
gap:
|
|
9
|
+
gap: var(--odx-spacing-50);
|
|
12
10
|
margin: 0 0 0 auto;
|
|
13
11
|
|
|
14
12
|
> .odx-button {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
2
|
@use '../abstract/utils';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
3
|
|
|
5
4
|
.odx-daterangepicker {
|
|
6
5
|
$root: &;
|
|
@@ -8,7 +7,7 @@
|
|
|
8
7
|
@include utils.vertical-center-content();
|
|
9
8
|
|
|
10
9
|
&__trigger-wrapper {
|
|
11
|
-
gap:
|
|
10
|
+
gap: var(--odx-spacing-50);
|
|
12
11
|
margin: 0 0 0 auto;
|
|
13
12
|
|
|
14
13
|
> .odx-button {
|
|
@@ -36,7 +35,11 @@
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
&__separator {
|
|
39
|
-
|
|
38
|
+
margin-inline: var(--odx-spacing-37);
|
|
39
|
+
|
|
40
|
+
#{$root}.is-disabled & {
|
|
41
|
+
color: var(--odx-input-control-color-disabled);
|
|
42
|
+
}
|
|
40
43
|
}
|
|
41
44
|
|
|
42
45
|
.odx-dropdown {
|
|
@@ -1,32 +1,28 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
|
|
4
1
|
$dropdown-open-selector: '.odx-dropdown-host[aria-expanded="true"]';
|
|
5
2
|
|
|
6
3
|
.odx-dropdown {
|
|
7
4
|
background-color: var(--odx-c-background-content);
|
|
8
|
-
border-radius: var(--odx-
|
|
5
|
+
border-radius: var(--odx-border-radius-md);
|
|
9
6
|
box-shadow: var(--odx-v-box-shadow-layer-1);
|
|
10
7
|
display: block;
|
|
11
8
|
max-width: var(--odx-select-max-width);
|
|
12
9
|
min-height: inherit;
|
|
13
10
|
|
|
14
11
|
&__inner {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
border-bottom: dimensions.get-size(0.5) solid transparent;
|
|
18
|
-
border-top: dimensions.get-size(0.5) solid transparent;
|
|
12
|
+
border-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.5) solid transparent;
|
|
13
|
+
border-top: calc(var(--odx-vertical-rythm-base-size) * 0.5) solid transparent;
|
|
19
14
|
max-height: inherit;
|
|
20
15
|
min-height: inherit;
|
|
21
16
|
overflow: auto;
|
|
22
17
|
overscroll-behavior: contain;
|
|
18
|
+
padding-inline: calc(var(--odx-spacing-100) - var(--odx-spacing-12));
|
|
23
19
|
}
|
|
24
20
|
|
|
25
21
|
&__option-list {
|
|
26
22
|
display: flex;
|
|
27
23
|
flex-direction: column;
|
|
28
24
|
max-height: var(--odx-select-max-height);
|
|
29
|
-
min-
|
|
25
|
+
min-block-size: var(--odx-control-height-md);
|
|
30
26
|
}
|
|
31
27
|
}
|
|
32
28
|
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/utils';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/dimensions';
|
|
5
1
|
@use '../layout/typography';
|
|
6
2
|
|
|
7
3
|
.odx-error-page {
|
|
8
|
-
@include dimensions.margin-x(1);
|
|
9
|
-
|
|
10
4
|
display: flex;
|
|
11
5
|
flex: 1;
|
|
12
6
|
flex-direction: column;
|
|
7
|
+
margin-inline: var(--odx-spacing-150);
|
|
13
8
|
|
|
14
9
|
&__title {
|
|
15
|
-
@extend .odx-heading-
|
|
10
|
+
@extend .odx-heading-3;
|
|
16
11
|
}
|
|
17
12
|
|
|
18
13
|
&__container {
|
|
@@ -25,22 +20,20 @@
|
|
|
25
20
|
}
|
|
26
21
|
|
|
27
22
|
&__icon-container {
|
|
28
|
-
|
|
23
|
+
margin-block-end: var(--odx-spacing-150);
|
|
29
24
|
}
|
|
30
25
|
|
|
31
26
|
&__actions {
|
|
32
|
-
@include dimensions.margin(1, top);
|
|
33
|
-
|
|
34
27
|
display: flex;
|
|
35
28
|
flex-wrap: wrap;
|
|
36
29
|
gap: var(--odx-grid-gutter);
|
|
37
30
|
justify-content: center;
|
|
31
|
+
margin-block-start: var(--odx-spacing-150);
|
|
38
32
|
width: 100%;
|
|
39
33
|
}
|
|
40
34
|
|
|
41
35
|
&__footer {
|
|
42
|
-
|
|
43
|
-
|
|
36
|
+
padding-block-end: var(--odx-spacing-150);
|
|
44
37
|
text-align: center;
|
|
45
38
|
}
|
|
46
39
|
}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/utils';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/dimensions';
|
|
5
2
|
|
|
6
3
|
.odx-expandable-list-item {
|
|
7
4
|
$root: &;
|
|
@@ -10,21 +7,24 @@
|
|
|
10
7
|
&__header {
|
|
11
8
|
display: block;
|
|
12
9
|
position: relative;
|
|
10
|
+
z-index: var(--odx-z-level-base);
|
|
13
11
|
|
|
14
12
|
> .odx-list-item {
|
|
15
|
-
|
|
13
|
+
padding-inline-end: calc(var(--odx-spacing-100) * 2 + var(--odx-size-125));
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
&__action {
|
|
20
18
|
margin: 0;
|
|
21
19
|
position: absolute;
|
|
22
|
-
right:
|
|
20
|
+
right: var(--odx-spacing-50);
|
|
23
21
|
top: 50%;
|
|
24
22
|
transform: translateY(-50%);
|
|
23
|
+
z-index: var(--odx-z-level-interactive);
|
|
25
24
|
|
|
26
25
|
.odx-icon {
|
|
27
|
-
|
|
26
|
+
transition: var(--odx-motion-transition-default);
|
|
27
|
+
transition-property: transform;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
@use '../abstract/breakpoints';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
2
|
@use '../abstract/typography';
|
|
4
3
|
@use '../abstract/utils';
|
|
5
4
|
|
|
6
5
|
:root {
|
|
7
|
-
--odx-footer-min-height: #{
|
|
6
|
+
--odx-footer-min-height: #{calc(var(--odx-vertical-rythm-base-size) * 10)};
|
|
8
7
|
--odx-footer-background-color: var(--odx-c-background-content);
|
|
9
8
|
--odx-footer-text-color: var(--odx-c-text);
|
|
10
9
|
--odx-footer-description-color: var(--odx-c-text-disabled);
|
|
@@ -31,12 +30,11 @@
|
|
|
31
30
|
display: flex;
|
|
32
31
|
margin-block-start: auto;
|
|
33
32
|
min-height: var(--odx-footer-min-height);
|
|
34
|
-
|
|
35
|
-
@include dimensions.padding(1);
|
|
33
|
+
padding: var(--odx-spacing-150);
|
|
36
34
|
|
|
37
35
|
&__inner,
|
|
38
36
|
&__navigation {
|
|
39
|
-
row-gap:
|
|
37
|
+
row-gap: var(--odx-spacing-37);
|
|
40
38
|
}
|
|
41
39
|
|
|
42
40
|
&__content {
|
|
@@ -55,7 +53,7 @@
|
|
|
55
53
|
|
|
56
54
|
&__navigation {
|
|
57
55
|
align-items: center;
|
|
58
|
-
column-gap:
|
|
56
|
+
column-gap: var(--odx-spacing-150);
|
|
59
57
|
display: flex;
|
|
60
58
|
flex-wrap: wrap;
|
|
61
59
|
grid-area: navigation;
|
|
@@ -73,11 +71,11 @@
|
|
|
73
71
|
|
|
74
72
|
&__description {
|
|
75
73
|
color: var(--odx-footer-description-color);
|
|
74
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
76
75
|
grid-area: meta;
|
|
77
76
|
user-select: none;
|
|
78
77
|
|
|
79
78
|
@include utils.non-interactive();
|
|
80
|
-
@include typography.font-size(-1);
|
|
81
79
|
|
|
82
80
|
@include breakpoints.up(phone) {
|
|
83
81
|
text-align: right;
|