@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,23 +1,19 @@
|
|
|
1
|
-
@use '../abstract/dimensions';
|
|
2
|
-
@use '../abstract/typography';
|
|
3
|
-
|
|
4
1
|
.odx-notification-center-overlay {
|
|
5
|
-
--odx-cdk-connected-overlay-min-height-modified: #{
|
|
6
|
-
--odx-cdk-connected-overlay-max-height-modified: min(var(--odx-cdk-connected-overlay-max-height), #{
|
|
2
|
+
--odx-cdk-connected-overlay-min-height-modified: #{calc(var(--odx-vertical-rythm-base-size) * 9)};
|
|
3
|
+
--odx-cdk-connected-overlay-max-height-modified: min(var(--odx-cdk-connected-overlay-max-height), #{calc(var(--odx-vertical-rythm-base-size) * 15)});
|
|
7
4
|
}
|
|
8
5
|
|
|
9
6
|
.odx-notification-center {
|
|
10
|
-
--odx-notification-center-padding-x:
|
|
11
|
-
--odx-notification-center-padding-y:
|
|
12
|
-
--odx-notification-center-header-height: #{
|
|
13
|
-
--odx-notification-center-footer-height: #{
|
|
7
|
+
--odx-notification-center-padding-x: var(--odx-spacing-75);
|
|
8
|
+
--odx-notification-center-padding-y: var(--odx-spacing-75);
|
|
9
|
+
--odx-notification-center-header-height: #{calc(var(--odx-vertical-rythm-base-size) * 2)};
|
|
10
|
+
--odx-notification-center-footer-height: #{calc(var(--odx-vertical-rythm-base-size) * 2.5)};
|
|
14
11
|
|
|
15
12
|
background-color: var(--odx-c-background-content);
|
|
16
13
|
|
|
17
14
|
&__header,
|
|
18
15
|
&__footer {
|
|
19
16
|
background-color: inherit;
|
|
20
|
-
border-radius: var(--odx-v-border-radius);
|
|
21
17
|
left: 0;
|
|
22
18
|
margin-right: var(--odx-notification-center-padding-x);
|
|
23
19
|
padding-left: var(--odx-notification-center-padding-x);
|
|
@@ -29,13 +25,13 @@
|
|
|
29
25
|
&__header {
|
|
30
26
|
border-bottom-left-radius: 0;
|
|
31
27
|
border-bottom-right-radius: 0;
|
|
28
|
+
font-size: var(--odx-typography-font-size-text-md);
|
|
29
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
32
30
|
height: var(--odx-notification-center-header-height);
|
|
31
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
33
32
|
line-height: var(--odx-notification-center-header-height);
|
|
34
33
|
top: 0;
|
|
35
34
|
user-select: none;
|
|
36
|
-
|
|
37
|
-
@include typography.font-size(0);
|
|
38
|
-
@include typography.font-weight(semibold);
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
&__content {
|
|
@@ -44,16 +40,16 @@
|
|
|
44
40
|
padding-top: calc(var(--odx-notification-center-header-height) - var(--odx-notification-center-padding-y));
|
|
45
41
|
|
|
46
42
|
> .odx-list-item {
|
|
47
|
-
border-radius:
|
|
43
|
+
border-radius: var(--odx-border-radius-none);
|
|
48
44
|
|
|
49
45
|
&:first-child {
|
|
50
|
-
border-top-left-radius: var(--odx-
|
|
51
|
-
border-top-right-radius: var(--odx-
|
|
46
|
+
border-top-left-radius: var(--odx-border-radius-control);
|
|
47
|
+
border-top-right-radius: var(--odx-border-radius-control);
|
|
52
48
|
}
|
|
53
49
|
|
|
54
50
|
&:last-child {
|
|
55
|
-
border-bottom-left-radius: var(--odx-
|
|
56
|
-
border-bottom-right-radius: var(--odx-
|
|
51
|
+
border-bottom-left-radius: var(--odx-border-radius-control);
|
|
52
|
+
border-bottom-right-radius: var(--odx-border-radius-control);
|
|
57
53
|
}
|
|
58
54
|
}
|
|
59
55
|
}
|
|
@@ -1,27 +1,23 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
2
|
|
|
6
3
|
.odx-notification-item {
|
|
7
4
|
$root: &;
|
|
8
5
|
|
|
9
|
-
column-gap:
|
|
6
|
+
column-gap: var(--odx-spacing-100);
|
|
10
7
|
display: grid;
|
|
11
8
|
grid-template-areas: 'avatar title actions' '. description .';
|
|
12
9
|
grid-template-columns: auto 1fr auto;
|
|
13
10
|
grid-template-rows: auto auto;
|
|
14
|
-
min-width:
|
|
15
|
-
|
|
16
|
-
@include dimensions.padding-x(0.25);
|
|
11
|
+
min-width: calc(var(--odx-vertical-rythm-base-size) * 10);
|
|
12
|
+
padding-inline: var(--odx-control-spacing-inline-md);
|
|
17
13
|
|
|
18
14
|
@include breakpoints.up(phone) {
|
|
19
|
-
max-width:
|
|
15
|
+
max-width: calc(var(--odx-vertical-rythm-base-size) * 16);
|
|
20
16
|
}
|
|
21
17
|
|
|
22
18
|
&__title,
|
|
23
19
|
&__description {
|
|
24
|
-
|
|
20
|
+
line-height: var(--odx-typography-line-height-text-md);
|
|
25
21
|
}
|
|
26
22
|
|
|
27
23
|
&__title {
|
|
@@ -30,9 +26,8 @@
|
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
&__description {
|
|
29
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
33
30
|
grid-area: description;
|
|
34
|
-
|
|
35
|
-
@include typography.font-size(-2);
|
|
36
31
|
}
|
|
37
32
|
|
|
38
33
|
&__actions {
|
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
|
|
6
1
|
.odx-option {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
border-radius: var(--odx-border-radius-control);
|
|
3
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
4
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
5
|
+
line-height: var(--odx-typography-line-height-text-lg);
|
|
6
|
+
margin-block-end: var(--odx-spacing-25);
|
|
7
|
+
padding: calc(var(--odx-spacing-12) * 3) var(--odx-spacing-75);
|
|
8
|
+
transition: var(--odx-motion-transition-default);
|
|
9
|
+
transition-property: background-color, color;
|
|
14
10
|
user-select: none;
|
|
15
11
|
|
|
16
12
|
&:not(.is-disabled) {
|
|
@@ -23,7 +19,7 @@
|
|
|
23
19
|
|
|
24
20
|
&.is-active,
|
|
25
21
|
&:hover:not(.is-disabled) {
|
|
26
|
-
background-color: var(--
|
|
22
|
+
background-color: var(--odx-color-background-transparent-hover);
|
|
27
23
|
}
|
|
28
24
|
|
|
29
25
|
&.is-selected {
|
|
@@ -35,7 +31,7 @@
|
|
|
35
31
|
}
|
|
36
32
|
|
|
37
33
|
> .odx-checkbox {
|
|
38
|
-
|
|
34
|
+
margin-inline-end: var(--odx-spacing-50);
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
&--select-all {
|
|
@@ -48,7 +44,7 @@
|
|
|
48
44
|
height: 0;
|
|
49
45
|
left: 0;
|
|
50
46
|
position: absolute;
|
|
51
|
-
top: calc(100% +
|
|
47
|
+
top: calc(100% + var(--odx-spacing-25));
|
|
52
48
|
width: 100%;
|
|
53
49
|
}
|
|
54
50
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
2
|
|
|
4
3
|
.odx-paginator {
|
|
5
4
|
align-items: center;
|
|
@@ -7,21 +6,19 @@
|
|
|
7
6
|
justify-content: flex-end;
|
|
8
7
|
|
|
9
8
|
&:has(.odx-paginator__summary) {
|
|
10
|
-
grid-gap:
|
|
9
|
+
grid-gap: var(--odx-size-225);
|
|
11
10
|
grid-template-columns: auto auto;
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
&__navigation {
|
|
15
14
|
align-items: center;
|
|
16
15
|
display: flex;
|
|
17
|
-
|
|
18
|
-
@include dimensions.margin-y(math.div(8, 24));
|
|
16
|
+
margin-block: var(--odx-spacing-50);
|
|
19
17
|
}
|
|
20
18
|
|
|
21
19
|
.odx-action-group {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
grid-gap: dimensions.get-size(0.5);
|
|
20
|
+
grid-gap: var(--odx-spacing-75);
|
|
21
|
+
min-block-size: var(--odx-spacing-150);
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
.odx-button {
|
|
@@ -29,6 +26,6 @@
|
|
|
29
26
|
}
|
|
30
27
|
|
|
31
28
|
&__range {
|
|
32
|
-
|
|
29
|
+
margin-inline: var(--odx-spacing-100);
|
|
33
30
|
}
|
|
34
31
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/motion';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
|
|
5
1
|
@keyframes progress-indeterminate-animation {
|
|
6
2
|
from {
|
|
7
3
|
transform: translateX(-100%);
|
|
@@ -13,18 +9,16 @@
|
|
|
13
9
|
}
|
|
14
10
|
|
|
15
11
|
.odx-progress {
|
|
16
|
-
@include dimensions.height(1, math.div(4, 24));
|
|
17
|
-
|
|
18
12
|
background: var(--gray-100);
|
|
13
|
+
block-size: var(--odx-spacing-25);
|
|
19
14
|
display: block;
|
|
15
|
+
margin-block: calc(var(--odx-spacing-75) - var(--odx-spacing-12));
|
|
20
16
|
outline: 1px solid var(--gray-200);
|
|
21
17
|
outline-offset: -1px;
|
|
22
18
|
overflow: hidden;
|
|
23
19
|
position: relative;
|
|
24
20
|
|
|
25
21
|
&__indicator {
|
|
26
|
-
@include motion.transition(transform);
|
|
27
|
-
|
|
28
22
|
background-color: var(--odx-c-highlight);
|
|
29
23
|
display: block;
|
|
30
24
|
height: 100%;
|
|
@@ -32,6 +26,8 @@
|
|
|
32
26
|
position: absolute;
|
|
33
27
|
top: 0;
|
|
34
28
|
transform-origin: 0 0;
|
|
29
|
+
transition: var(--odx-motion-transition-default);
|
|
30
|
+
transition-property: transform;
|
|
35
31
|
width: 100%;
|
|
36
32
|
}
|
|
37
33
|
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/typography';
|
|
4
1
|
@use '../abstract/utils';
|
|
5
|
-
@use '../abstract/motion';
|
|
6
2
|
@use '../layout/typography' as *;
|
|
7
3
|
|
|
8
4
|
.odx-radio-button {
|
|
@@ -20,21 +16,22 @@
|
|
|
20
16
|
}
|
|
21
17
|
|
|
22
18
|
&__label {
|
|
23
|
-
|
|
24
|
-
@include motion.transition(background-color color);
|
|
25
|
-
@include typography.font-size(0);
|
|
26
|
-
|
|
27
|
-
border-radius: dimensions.get-size(1);
|
|
19
|
+
border-radius: var(--odx-spacing-150);
|
|
28
20
|
color: inherit;
|
|
21
|
+
cursor: pointer;
|
|
29
22
|
display: inline-flex;
|
|
30
|
-
|
|
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);
|
|
31
26
|
padding: 0 2px;
|
|
27
|
+
transition: var(--odx-motion-transition-default);
|
|
28
|
+
transition-property: background-color, color;
|
|
32
29
|
user-select: auto;
|
|
33
30
|
vertical-align: top;
|
|
34
31
|
|
|
35
32
|
#{$root}--with-label & {
|
|
36
|
-
border-bottom-right-radius: calc(2 * var(--odx-
|
|
37
|
-
border-top-right-radius: calc(2 * var(--odx-
|
|
33
|
+
border-bottom-right-radius: calc(2 * var(--odx-border-radius-control));
|
|
34
|
+
border-top-right-radius: calc(2 * var(--odx-border-radius-control));
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
#{$root}.is-disabled & {
|
|
@@ -60,27 +57,31 @@
|
|
|
60
57
|
}
|
|
61
58
|
|
|
62
59
|
&__indicator {
|
|
63
|
-
@include dimensions.container(1, math.div(20, 24));
|
|
64
|
-
@include motion.transition(background-color color border-color);
|
|
65
|
-
@include utils.center-content();
|
|
66
|
-
|
|
67
60
|
background-color: var(--odx-control-background-color);
|
|
68
61
|
border: transparent solid var(--odx-v-outline-width);
|
|
69
|
-
border-radius:
|
|
62
|
+
border-radius: var(--odx-border-radius-circle);
|
|
70
63
|
box-shadow: inset 0 0 0 0 var(--odx-c-focus-inner);
|
|
71
64
|
color: var(--odx-control-color-selected);
|
|
72
65
|
flex: 0 0 auto;
|
|
66
|
+
height: var(--odx-size-125);
|
|
67
|
+
margin-block: var(--odx-spacing-12);
|
|
73
68
|
outline: var(--odx-v-outline-width-bold) solid transparent;
|
|
74
69
|
padding: 1px;
|
|
70
|
+
transition: var(--odx-motion-transition-default);
|
|
71
|
+
transition-property: background-color, color, border-color;
|
|
72
|
+
width: var(--odx-size-125);
|
|
75
73
|
|
|
76
|
-
|
|
77
|
-
@include dimensions.container(math.div(4, 24));
|
|
78
|
-
@include motion.transition(transform);
|
|
74
|
+
@include utils.center-content();
|
|
79
75
|
|
|
76
|
+
&::before {
|
|
80
77
|
background-color: currentcolor;
|
|
81
|
-
border-radius:
|
|
78
|
+
border-radius: var(--odx-border-radius-circle);
|
|
82
79
|
content: '';
|
|
80
|
+
height: var(--odx-size-25);
|
|
83
81
|
transform: scale(0);
|
|
82
|
+
transition: var(--odx-motion-transition-default);
|
|
83
|
+
transition-property: transform;
|
|
84
|
+
width: var(--odx-size-25);
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
#{$root}:hover & {
|
|
@@ -127,10 +128,9 @@
|
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
&__content {
|
|
130
|
-
@include dimensions.margin(0.5, left);
|
|
131
|
-
|
|
132
131
|
display: flex;
|
|
133
132
|
flex-direction: column;
|
|
133
|
+
margin-inline-start: var(--odx-spacing-75);
|
|
134
134
|
padding-left: 2px;
|
|
135
135
|
|
|
136
136
|
&:empty {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
@use '../abstract/dimensions';
|
|
2
1
|
|
|
3
2
|
.odx-radio-group {
|
|
4
|
-
@include dimensions.padding-y(0.5);
|
|
5
|
-
|
|
6
3
|
align-items: flex-start;
|
|
7
4
|
display: flex;
|
|
8
5
|
flex-direction: column;
|
|
6
|
+
padding-block: var(--odx-size-125);
|
|
9
7
|
|
|
10
8
|
&--horizontal {
|
|
11
|
-
column-gap:
|
|
9
|
+
column-gap: var(--odx-spacing-75);
|
|
12
10
|
flex-flow: row wrap;
|
|
13
11
|
}
|
|
14
12
|
}
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
1
|
@use '../abstract/breakpoints';
|
|
3
|
-
@use '../abstract/dimensions';
|
|
4
|
-
@use '../abstract/motion';
|
|
5
2
|
@use '../abstract/typography';
|
|
6
3
|
@use '../abstract/utils';
|
|
7
4
|
@use './icon.component';
|
|
8
5
|
|
|
9
6
|
.odx-rail-navigation-item {
|
|
10
|
-
$root: &;
|
|
11
|
-
|
|
12
|
-
@include motion.transition(background-color color);
|
|
13
|
-
@include dimensions.padding(math.div(8, 24));
|
|
14
7
|
@include utils.interactive();
|
|
15
8
|
|
|
9
|
+
$root: &;
|
|
10
|
+
|
|
16
11
|
align-items: center;
|
|
17
12
|
background-color: unset;
|
|
18
|
-
border-radius:
|
|
13
|
+
border-radius: var(--odx-border-radius-control);
|
|
19
14
|
box-sizing: border-box;
|
|
20
15
|
display: flex;
|
|
21
16
|
justify-content: center;
|
|
17
|
+
padding: var(--odx-spacing-50);
|
|
22
18
|
text-align: left;
|
|
19
|
+
transition: var(--odx-motion-transition-default);
|
|
20
|
+
transition-property: background-color, color;
|
|
23
21
|
|
|
24
22
|
&:hover {
|
|
25
|
-
background-color: var(--
|
|
23
|
+
background-color: var(--odx-color-background-transparent-hover);
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
&.is-selected {
|
|
@@ -41,33 +39,33 @@
|
|
|
41
39
|
|
|
42
40
|
&__container {
|
|
43
41
|
@include typography.prevent-text-overflow();
|
|
44
|
-
@include motion.transition(width padding-left opacity);
|
|
45
42
|
|
|
46
43
|
opacity: 0;
|
|
44
|
+
transition: var(--odx-motion-transition-default);
|
|
45
|
+
transition-property: width, padding-left, opacity;
|
|
47
46
|
width: 0;
|
|
48
47
|
|
|
49
48
|
.odx-rail-navigation--bar & {
|
|
49
|
+
@include typography.line-clamp(2);
|
|
50
|
+
|
|
51
|
+
font-size: var(--odx-typography-font-size-text-xs);
|
|
52
|
+
line-height: calc(var(--odx-vertical-rythm-base-size) * 2 / 3);
|
|
50
53
|
margin: auto 0;
|
|
51
54
|
opacity: unset;
|
|
52
55
|
padding: 0 !important;
|
|
53
56
|
white-space: unset;
|
|
54
57
|
width: unset !important;
|
|
55
58
|
|
|
56
|
-
@include typography.line-clamp(2);
|
|
57
|
-
@include typography.font-size(-2);
|
|
58
|
-
@include dimensions.line-height(math.div(2, 3));
|
|
59
|
-
|
|
60
59
|
@include breakpoints.up(phone) {
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
61
|
+
line-height: var(--odx-size-150);
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
|
|
66
65
|
.odx-rail-navigation.is-open &:not(:empty) {
|
|
67
|
-
@include dimensions.padding(math.div(8, 24), left);
|
|
68
|
-
|
|
69
66
|
opacity: 1;
|
|
70
|
-
|
|
67
|
+
padding-inline-start: var(--odx-spacing-50);
|
|
68
|
+
width: calc(var(--odx-rail-navigation-max-width) - var(--odx-size-400));
|
|
71
69
|
}
|
|
72
70
|
}
|
|
73
71
|
|
|
@@ -78,16 +76,15 @@
|
|
|
78
76
|
.odx-rail-navigation--bar & {
|
|
79
77
|
flex: 1;
|
|
80
78
|
flex-direction: column;
|
|
79
|
+
padding-inline: var(--odx-spacing-25);
|
|
81
80
|
text-align: center;
|
|
82
81
|
|
|
83
|
-
@include dimensions.padding-x(math.div(4, 24));
|
|
84
|
-
|
|
85
82
|
> .odx-icon {
|
|
86
83
|
@extend .odx-icon;
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
@include breakpoints.up(phone) {
|
|
90
|
-
|
|
87
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
91
88
|
}
|
|
92
89
|
|
|
93
90
|
&:has(#{$root}__container:empty) {
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
1
|
@use '../abstract/breakpoints';
|
|
5
2
|
|
|
6
3
|
.odx-rail-navigation {
|
|
@@ -13,17 +10,15 @@
|
|
|
13
10
|
flex-direction: column;
|
|
14
11
|
height: 100%;
|
|
15
12
|
justify-content: space-between;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
@include dimensions.padding-y(1);
|
|
13
|
+
padding-block: var(--odx-size-250);
|
|
14
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
19
15
|
|
|
20
16
|
&__content {
|
|
21
|
-
@include dimensions.padding(math.div(2, 24));
|
|
22
|
-
|
|
23
17
|
display: flex;
|
|
24
18
|
flex-direction: column;
|
|
25
|
-
gap:
|
|
19
|
+
gap: var(--odx-spacing-75);
|
|
26
20
|
overflow: auto;
|
|
21
|
+
padding: var(--odx-spacing-12);
|
|
27
22
|
|
|
28
23
|
#{$root}--bar & {
|
|
29
24
|
flex-direction: row;
|
|
@@ -34,7 +29,8 @@
|
|
|
34
29
|
|
|
35
30
|
&__expand {
|
|
36
31
|
> .odx-icon {
|
|
37
|
-
|
|
32
|
+
transition: var(--odx-motion-transition-default);
|
|
33
|
+
transition-property: transform;
|
|
38
34
|
|
|
39
35
|
#{$root}.is-open & {
|
|
40
36
|
transform: rotateY(180deg);
|
|
@@ -49,7 +45,6 @@
|
|
|
49
45
|
&--bar {
|
|
50
46
|
background-color: var(--odx-c-background-content);
|
|
51
47
|
display: flex;
|
|
52
|
-
|
|
53
|
-
@include dimensions.padding(math.div(4, 24), top bottom);
|
|
48
|
+
padding-block: var(--odx-control-spacing-sm);
|
|
54
49
|
}
|
|
55
50
|
}
|
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
1
|
@use '../abstract/utils';
|
|
6
2
|
|
|
7
3
|
.odx-rich-list-item-header {
|
|
8
4
|
$root: &;
|
|
9
5
|
|
|
10
6
|
align-items: center;
|
|
11
|
-
column-gap:
|
|
7
|
+
column-gap: var(--odx-spacing-100);
|
|
12
8
|
display: flex;
|
|
13
9
|
flex: 1;
|
|
14
10
|
user-select: none;
|
|
15
11
|
|
|
16
12
|
&__title {
|
|
17
|
-
@include typography.font-size(-1);
|
|
18
|
-
@include dimensions.line-height(math.div(20, 24));
|
|
19
|
-
|
|
20
13
|
flex: 1;
|
|
21
|
-
|
|
14
|
+
font-size: var(--odx-typography-font-size-text-sm);
|
|
15
|
+
line-height: calc(var(--odx-vertical-rythm-base-size) * 5 / 6);
|
|
16
|
+
max-block-size: var(--odx-control-height-md);
|
|
22
17
|
overflow: hidden;
|
|
23
18
|
text-align: center;
|
|
24
19
|
}
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
|
-
@use '../abstract/motion';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
@use '../abstract/utils';
|
|
6
|
-
|
|
7
1
|
.odx-rich-list-item {
|
|
8
2
|
$root: &;
|
|
9
3
|
$parent: odx-rich-list;
|
|
10
4
|
|
|
11
|
-
|
|
5
|
+
border-bottom: 1px solid var(--odx-input-control-outline-color);
|
|
6
|
+
display: block;
|
|
7
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
12
8
|
|
|
13
9
|
.#{$parent}:not(.#{$parent}--condensed) > & {
|
|
14
|
-
|
|
10
|
+
padding-block: var(--odx-control-spacing-lg);
|
|
15
11
|
}
|
|
16
12
|
|
|
17
|
-
border-bottom: 1px solid var(--odx-input-control-outline-color);
|
|
18
|
-
display: block;
|
|
19
|
-
|
|
20
13
|
&.is-disabled {
|
|
21
14
|
.odx-rich-list-item-header {
|
|
22
15
|
color: var(--odx-c-text-disabled);
|
|
@@ -29,15 +22,14 @@
|
|
|
29
22
|
}
|
|
30
23
|
|
|
31
24
|
&__header {
|
|
32
|
-
column-gap:
|
|
25
|
+
column-gap: var(--odx-spacing-100);
|
|
33
26
|
display: flex;
|
|
34
27
|
}
|
|
35
28
|
|
|
36
29
|
&__slot {
|
|
37
|
-
|
|
38
|
-
@include dimensions.padding(math.div(16, 24));
|
|
39
|
-
|
|
30
|
+
margin-block-start: var(--odx-spacing-50);
|
|
40
31
|
overflow: hidden;
|
|
32
|
+
padding: var(--odx-spacing-100);
|
|
41
33
|
}
|
|
42
34
|
|
|
43
35
|
&--empty {
|
|
@@ -47,10 +39,10 @@
|
|
|
47
39
|
}
|
|
48
40
|
|
|
49
41
|
&__icon {
|
|
50
|
-
@include motion.transition(transform);
|
|
51
|
-
|
|
52
42
|
position: relative;
|
|
53
43
|
transform: rotate(0);
|
|
44
|
+
transition: var(--odx-motion-transition-default);
|
|
45
|
+
transition-property: transform;
|
|
54
46
|
|
|
55
47
|
#{$root}--expanded & {
|
|
56
48
|
transform: rotateX(180deg);
|
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../abstract/dimensions';
|
|
3
1
|
@use '../abstract/utils';
|
|
4
|
-
@use '../abstract/typography';
|
|
5
|
-
@use '../abstract/motion';
|
|
6
2
|
|
|
7
3
|
.odx-search-bar {
|
|
8
|
-
@include dimensions.min-height(1.5);
|
|
9
|
-
@include motion.transition(background-color color);
|
|
10
4
|
@include utils.focus-state($focus-within: true, $focus-within-selector: 'input');
|
|
11
5
|
|
|
12
6
|
background-color: var(--odx-input-control-background-color);
|
|
13
|
-
border-radius: var(--odx-
|
|
7
|
+
border-radius: var(--odx-border-radius-control);
|
|
14
8
|
display: flex;
|
|
9
|
+
min-block-size: var(--odx-control-height-md);
|
|
15
10
|
outline-color: var(--odx-input-control-outline-color);
|
|
16
11
|
outline-offset: calc(-1 * var(--odx-v-outline-width));
|
|
17
12
|
outline-width: var(--odx-v-outline-width);
|
|
18
13
|
overflow: hidden;
|
|
19
14
|
position: relative;
|
|
15
|
+
transition: var(--odx-motion-transition-default);
|
|
16
|
+
transition-property: background-color, color;
|
|
20
17
|
|
|
21
18
|
&:not(:has(input[odxSearchBarControl])) {
|
|
22
19
|
display: none;
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
&__prefix {
|
|
26
|
-
@include dimensions.height(1.5);
|
|
27
|
-
@include motion.transition(color);
|
|
28
23
|
@include utils.vertical-center-content(true);
|
|
29
|
-
@include dimensions.padding(math.div(8, 24), 'inline-start');
|
|
30
24
|
|
|
31
25
|
flex: 0 0 auto;
|
|
26
|
+
min-block-size: var(--odx-control-height-md);
|
|
27
|
+
padding-inline-start: var(--odx-spacing-50);
|
|
28
|
+
transition: var(--odx-motion-transition-default);
|
|
29
|
+
transition-property: color;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
32
|
&__input {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
34
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
35
|
+
padding-inline: var(--odx-control-spacing-inline-lg);
|
|
38
36
|
vertical-align: middle;
|
|
39
37
|
width: 100%;
|
|
40
38
|
|
|
41
39
|
&::placeholder {
|
|
42
|
-
@include typography.font-weight(normal);
|
|
43
|
-
|
|
44
40
|
color: var(--odx-input-control-color);
|
|
41
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
42
|
+
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
45
43
|
opacity: 0.65;
|
|
46
44
|
}
|
|
47
45
|
}
|