@odx/ui 1.0.0-rc.9 → 1.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/README.md +2 -1
- package/ag-grid-theme.css +1 -0
- package/core-theme.css +1 -1
- package/package.json +4 -1
- package/scss/3rdparty/ag-grid/theme.scss +220 -0
- package/scss/abstract/_breakpoints.scss +12 -6
- package/scss/abstract/_typography.scss +9 -5
- package/scss/abstract/_utils.scss +7 -0
- package/scss/assets/fonts/PangeaText-MediumWeb.woff2 +0 -0
- package/scss/assets/fonts/PangeaText-RegularWeb.woff2 +0 -0
- package/scss/assets/fonts/PangeaText-SemiBoldWeb.woff2 +0 -0
- package/scss/assets/icons.css.hbs +23 -0
- package/scss/assets/images/logo.svg +6 -0
- package/scss/cdk/active-indicator.scss +1 -1
- package/scss/cdk/connected-overlay.scss +2 -2
- package/scss/components/action-group.component.scss +1 -1
- package/scss/components/area-header.component.scss +15 -11
- package/scss/components/avatar.component.scss +5 -1
- package/scss/components/badge.component.scss +7 -16
- package/scss/components/bar.component.scss +8 -1
- package/scss/components/breadcrumbs.component.scss +4 -0
- package/scss/components/button-group.component.scss +13 -10
- package/scss/components/button.component.scss +20 -2
- package/scss/components/card.component.scss +174 -0
- package/scss/components/expandable-list-item.component.scss +66 -0
- package/scss/components/form-field.component.scss +30 -2
- package/scss/components/header.component.scss +9 -3
- package/scss/components/icon.component.scss +4 -9
- package/scss/components/launch-tile.component.scss +4 -3
- package/scss/components/link.component.scss +8 -0
- package/scss/components/loading-spinner.component.scss +14 -3
- package/scss/components/logo.component.scss +6 -1
- package/scss/components/main-menu-button.component.scss +4 -0
- package/scss/components/main-menu-item.component.scss +10 -1
- package/scss/components/main-menu.component.scss +14 -7
- package/scss/components/mainfilter-group.component.scss +141 -0
- package/scss/components/menu.component.scss +36 -0
- package/scss/components/modal.component.scss +25 -9
- package/scss/components/navigation-back.component.scss +23 -0
- package/scss/components/select.component.scss +9 -3
- package/scss/components/spinbox.component.scss +4 -0
- package/scss/components/tab-bar.component.scss +1 -1
- package/scss/components/toast-item.component.scss +0 -2
- package/scss/components/toast.component.scss +2 -2
- package/scss/components/toggle-button-group.component.scss +2 -1
- package/scss/components/toggle-button.component.scss +21 -13
- package/scss/components/tooltip.component.scss +3 -2
- package/scss/core.scss +9 -11
- package/scss/layout/_layout.scss +4 -0
- package/scss/reset.scss +1 -0
- package/scss/skeleton/_skeleton.scss +49 -0
- package/scss/variables/_color-palettes-dark.scss +53 -0
- package/scss/variables/_color-palettes.scss +1 -1
- package/scss/variables/_colors-dark.scss +43 -0
- package/scss/variables/_colors.scss +8 -2
- package/scss/variables/_controls.scss +11 -1
- package/scss/variables/_index.scss +2 -0
- package/scss/variables/_typography.scss +1 -1
- package/scss/variables/_visuals.scss +7 -1
- package/core-icons.css +0 -43
- package/core-icons.woff2 +0 -0
- package/scss/components/menu-item.component.scss +0 -8
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../abstract/dimensions';
|
|
2
|
+
@use 'sass:math';
|
|
2
3
|
|
|
3
4
|
.odx-menu {
|
|
4
5
|
display: block;
|
|
@@ -11,6 +12,41 @@
|
|
|
11
12
|
|
|
12
13
|
> .odx-button {
|
|
13
14
|
justify-content: flex-start;
|
|
15
|
+
margin: 0;
|
|
16
|
+
width: 100%;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__title:not(:empty) {
|
|
21
|
+
margin-bottom: dimensions.get-size(math.div(12, 24));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&--tile {
|
|
25
|
+
$avatar-size: dimensions.get-size(math.div(48, 24));
|
|
26
|
+
$grid-gap: dimensions.get-size(math.div(8, 24));
|
|
27
|
+
|
|
28
|
+
.odx-avatar {
|
|
29
|
+
height: $avatar-size;
|
|
30
|
+
margin-bottom: $grid-gap;
|
|
31
|
+
width: $avatar-size;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.odx-action-group {
|
|
35
|
+
align-items: flex-start;
|
|
36
|
+
display: grid;
|
|
37
|
+
grid-gap: $grid-gap;
|
|
38
|
+
grid-template-columns: repeat(3, 1fr);
|
|
39
|
+
|
|
40
|
+
.odx-button {
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
font-size: dimensions.get-size(math.div(13, 24));
|
|
43
|
+
font-weight: var(--odx-typography-font-weight-normal);
|
|
44
|
+
height: unset;
|
|
45
|
+
line-height: dimensions.get-size(math.div(20, 24));
|
|
46
|
+
padding: $grid-gap;
|
|
47
|
+
white-space: unset;
|
|
48
|
+
width: dimensions.get-size(math.div(100, 24));
|
|
49
|
+
}
|
|
14
50
|
}
|
|
15
51
|
}
|
|
16
52
|
}
|
|
@@ -10,23 +10,25 @@ $modal-padding: math.div(12, 24);
|
|
|
10
10
|
--odx-modal-margin-y: #{dimensions.get-size(2)};
|
|
11
11
|
--odx-modal-margin-x: #{dimensions.get-size(math.div(8, 24))};
|
|
12
12
|
--odx-modal-max-width: #{dimensions.get-size(20)};
|
|
13
|
+
--odx-modal-margin-bottom: #{dimensions.get-size(0.5)};
|
|
13
14
|
|
|
14
15
|
$root: &;
|
|
15
16
|
|
|
16
17
|
backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
17
18
|
background-color: var(--odx-c-backdrop-dark);
|
|
18
19
|
display: block;
|
|
19
|
-
height:
|
|
20
|
+
height: 100dvh;
|
|
20
21
|
left: 0;
|
|
21
22
|
overscroll-behavior: contain;
|
|
22
23
|
position: fixed;
|
|
23
24
|
top: 0;
|
|
24
|
-
width:
|
|
25
|
-
z-index:
|
|
25
|
+
width: 100dvw;
|
|
26
|
+
z-index: var(--odx-v-layer-4);
|
|
26
27
|
|
|
27
28
|
@include breakpoints.up(phone) {
|
|
28
29
|
--odx-modal-margin-y: #{dimensions.get-size(3)};
|
|
29
30
|
--odx-modal-margin-x: #{dimensions.get-size(1)};
|
|
31
|
+
--odx-modal-margin-bottom: #{dimensions.get-size(1)};
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
&--sidesheet {
|
|
@@ -43,9 +45,13 @@ $modal-padding: math.div(12, 24);
|
|
|
43
45
|
display: flex;
|
|
44
46
|
flex-direction: column;
|
|
45
47
|
margin: var(--odx-modal-margin-y) auto 0;
|
|
46
|
-
max-height: calc(
|
|
48
|
+
max-height: calc(100% - var(--odx-modal-margin-y) - var(--odx-modal-margin-bottom));
|
|
47
49
|
min-height: dimensions.get-size(7);
|
|
48
|
-
width: min(var(--odx-modal-max-width), calc(
|
|
50
|
+
width: min(var(--odx-modal-max-width), calc(100% - 2 * var(--odx-modal-margin-x)));
|
|
51
|
+
|
|
52
|
+
#{$root}--xsmall & {
|
|
53
|
+
--odx-modal-max-width: #{dimensions.get-size(15)};
|
|
54
|
+
}
|
|
49
55
|
|
|
50
56
|
#{$root}--medium & {
|
|
51
57
|
--odx-modal-max-width: #{dimensions.get-size(30)};
|
|
@@ -58,9 +64,16 @@ $modal-padding: math.div(12, 24);
|
|
|
58
64
|
#{$root}--sidesheet & {
|
|
59
65
|
height: 100%;
|
|
60
66
|
left: unset;
|
|
61
|
-
|
|
62
|
-
max-height: calc(100vh - var(--odx-modal-margin-y) - #{dimensions.get-size(1)});
|
|
67
|
+
max-height: calc(100% - var(--odx-modal-margin-y) - var(--odx-modal-margin-bottom));
|
|
63
68
|
right: 0;
|
|
69
|
+
|
|
70
|
+
@include breakpoints.up(phone) {
|
|
71
|
+
margin-right: dimensions.get-size(0.5);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@include breakpoints.down(phone) {
|
|
75
|
+
--odx-modal-max-width: 100dvw !important;
|
|
76
|
+
}
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
#{$root}--with-component & > * {
|
|
@@ -79,11 +92,14 @@ $modal-padding: math.div(12, 24);
|
|
|
79
92
|
@include dimensions.padding($modal-padding, top);
|
|
80
93
|
|
|
81
94
|
> .odx-area-header {
|
|
82
|
-
@include dimensions.margin(-
|
|
83
|
-
@include dimensions.margin(-0.5, right);
|
|
95
|
+
@include dimensions.margin-x(-0.5);
|
|
84
96
|
|
|
85
97
|
flex: 1 1 auto;
|
|
86
98
|
max-width: 100%;
|
|
99
|
+
|
|
100
|
+
@include breakpoints.up(phone) {
|
|
101
|
+
@include dimensions.margin(-1, left);
|
|
102
|
+
}
|
|
87
103
|
}
|
|
88
104
|
}
|
|
89
105
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
@use '../abstract/motion';
|
|
4
|
+
@use '../abstract/utils';
|
|
5
|
+
|
|
6
|
+
.odx-navigation-back {
|
|
7
|
+
border-radius: var(--odx-v-border-radius-controls);
|
|
8
|
+
height: dimensions.get-size(1.5);
|
|
9
|
+
width: dimensions.get-size(1.5);
|
|
10
|
+
|
|
11
|
+
@include motion.transition(background-color outline);
|
|
12
|
+
@include utils.center-content(true);
|
|
13
|
+
@include utils.interactive($with-background: true);
|
|
14
|
+
|
|
15
|
+
&:hover {
|
|
16
|
+
background-color: var(--blue-700-5);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&:active {
|
|
20
|
+
background-color: var(--cyan-500-15);
|
|
21
|
+
border: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@use '../abstract/typography';
|
|
5
5
|
@use '../abstract/utils';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
body {
|
|
8
8
|
--odx-select-max-height: 220px;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
width: 100%;
|
|
22
22
|
|
|
23
23
|
#{$root}.is-readonly & {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
#{$root}__value {
|
|
25
|
+
cursor: text;
|
|
26
|
+
user-select: unset;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
}
|
|
28
30
|
|
|
@@ -41,6 +43,10 @@
|
|
|
41
43
|
|
|
42
44
|
color: var(--odx-input-control-color);
|
|
43
45
|
opacity: 0.65;
|
|
46
|
+
|
|
47
|
+
#{$root}.is-disabled & {
|
|
48
|
+
color: inherit;
|
|
49
|
+
}
|
|
44
50
|
}
|
|
45
51
|
|
|
46
52
|
&__search {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
margin-top: dimensions.get-size(math.div(4, 24));
|
|
12
|
-
max-width: min(calc(
|
|
12
|
+
max-width: min(calc(100dvw - 2 * var(--odx-toast-outer-offset)), dimensions.get-size(20));
|
|
13
13
|
padding-top: var(--odx-toast-outer-offset);
|
|
14
14
|
position: fixed;
|
|
15
15
|
right: var(--odx-toast-outer-offset);
|
|
16
16
|
top: 0;
|
|
17
17
|
width: 100%;
|
|
18
|
-
z-index:
|
|
18
|
+
z-index: var(--odx-v-layer-5);
|
|
19
19
|
|
|
20
20
|
&__counter {
|
|
21
21
|
align-self: center;
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
@include utils.vertical-center-content();
|
|
15
15
|
|
|
16
16
|
color: currentcolor;
|
|
17
|
-
overflow: hidden;
|
|
18
17
|
user-select: none;
|
|
19
18
|
|
|
20
19
|
&.is-active {
|
|
@@ -38,32 +37,41 @@
|
|
|
38
37
|
pointer-events: none;
|
|
39
38
|
}
|
|
40
39
|
|
|
41
|
-
&
|
|
40
|
+
&__indicator {
|
|
41
|
+
border-radius: var(--odx-toggle-button-border-radius);
|
|
42
|
+
|
|
42
43
|
@include motion.transition(background-color outline-color);
|
|
43
44
|
@include dimensions.padding-x(math.div(1, 3));
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
#{$root}.is-readonly &,
|
|
47
|
+
#{$root}.is-disabled &,
|
|
48
|
+
#{$root}-group.is-active &,
|
|
49
|
+
#{$root}-group.has-error & {
|
|
50
|
+
background-color: transparent;
|
|
51
|
+
}
|
|
47
52
|
|
|
48
53
|
#{$root}-group:not(.is-active) & {
|
|
49
54
|
@include utils.interactive($focus-within: true);
|
|
50
55
|
|
|
51
56
|
background-color: var(--blue-700-5);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__label {
|
|
61
|
+
@include dimensions.padding-y(0.25);
|
|
52
62
|
|
|
53
|
-
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
text-align: center;
|
|
65
|
+
width: 100%;
|
|
66
|
+
|
|
67
|
+
#{$root}-group:not(.is-active) &:hover {
|
|
68
|
+
#{$root}__indicator {
|
|
54
69
|
background-color: var(--blue-700-10);
|
|
55
70
|
}
|
|
56
71
|
}
|
|
57
72
|
|
|
58
|
-
#{$root}-group.is-active &:hover {
|
|
73
|
+
#{$root}-group.is-active &:hover #{$root}__indicator {
|
|
59
74
|
background-color: var(--blue-700-5);
|
|
60
75
|
}
|
|
61
|
-
|
|
62
|
-
#{$root}.is-readonly &,
|
|
63
|
-
#{$root}.is-disabled &,
|
|
64
|
-
#{$root}-group.is-active &,
|
|
65
|
-
#{$root}-group.has-error & {
|
|
66
|
-
background-color: transparent;
|
|
67
|
-
}
|
|
68
76
|
}
|
|
69
77
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '../abstract/dimensions';
|
|
2
|
+
@use '../abstract/utils';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
body {
|
|
4
5
|
--odx-tooltip-background-color: var(--blue-800);
|
|
5
6
|
--odx-tooltip-color: var(--odx-c-text-inverse);
|
|
6
7
|
--odx-tooltip-size-small: #{dimensions.get-size(5)};
|
|
@@ -28,7 +29,7 @@
|
|
|
28
29
|
&-overlay {
|
|
29
30
|
.odx-cdk-connected-overlay-arrow {
|
|
30
31
|
background-color: var(--odx-tooltip-background-color);
|
|
31
|
-
z-index: -1;
|
|
32
|
+
z-index: var(--odx-v-layer-1);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
}
|
package/scss/core.scss
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
@use 'abstract/breakpoints' with (
|
|
2
|
-
$breakpoints: (
|
|
3
|
-
'phone-s': 360px,
|
|
4
|
-
'phone': 420px,
|
|
5
|
-
'tablet': 768px,
|
|
6
|
-
'desktop-s': 960px,
|
|
7
|
-
'desktop': 1200px,
|
|
8
|
-
)
|
|
9
|
-
);
|
|
10
1
|
@use 'variables';
|
|
11
2
|
@use 'reset';
|
|
12
3
|
|
|
@@ -28,6 +19,11 @@ Layout
|
|
|
28
19
|
@use 'cdk/active-indicator';
|
|
29
20
|
@use 'cdk/connected-overlay';
|
|
30
21
|
|
|
22
|
+
/*
|
|
23
|
+
Skeleton
|
|
24
|
+
*/
|
|
25
|
+
@use 'skeleton/skeleton';
|
|
26
|
+
|
|
31
27
|
/*
|
|
32
28
|
Components
|
|
33
29
|
*/
|
|
@@ -42,25 +38,27 @@ Layout
|
|
|
42
38
|
@use 'components/breadcrumbs.component';
|
|
43
39
|
@use 'components/button-group.component';
|
|
44
40
|
@use 'components/button.component';
|
|
41
|
+
@use 'components/card.component';
|
|
45
42
|
@use 'components/checkbox.component';
|
|
46
43
|
@use 'components/chip.component';
|
|
47
44
|
@use 'components/circular-progress.component';
|
|
48
45
|
@use 'components/content-box.component';
|
|
49
46
|
@use 'components/dropdown.component';
|
|
47
|
+
@use 'components/expandable-list-item.component';
|
|
50
48
|
@use 'components/form-field.component';
|
|
51
49
|
@use 'components/header.component';
|
|
52
50
|
@use 'components/icon.component';
|
|
53
51
|
@use 'components/inline-message.component';
|
|
54
|
-
@use 'components/launch-tile.component';
|
|
55
52
|
@use 'components/link.component';
|
|
56
53
|
@use 'components/list.component';
|
|
57
54
|
@use 'components/list-item.component';
|
|
58
55
|
@use 'components/loading-spinner.component';
|
|
59
56
|
@use 'components/logo.component';
|
|
57
|
+
@use 'components/mainfilter-group.component';
|
|
60
58
|
@use 'components/main-menu.component';
|
|
61
59
|
@use 'components/menu.component';
|
|
62
|
-
@use 'components/menu-item.component';
|
|
63
60
|
@use 'components/modal.component';
|
|
61
|
+
@use 'components/navigation-back.component';
|
|
64
62
|
@use 'components/progress.component';
|
|
65
63
|
@use 'components/radio-button.component';
|
|
66
64
|
@use 'components/radio-group.component';
|
package/scss/layout/_layout.scss
CHANGED
|
@@ -11,6 +11,10 @@ $columns: 12 !default;
|
|
|
11
11
|
:root {
|
|
12
12
|
--odx-grid-gutter: #{dimensions.get-size(1)};
|
|
13
13
|
--odx-grid-gutter-small: #{dimensions.get-size(math.div(8, 24))};
|
|
14
|
+
|
|
15
|
+
@include breakpoints.down(phone) {
|
|
16
|
+
--odx-grid-gutter: var(--odx-grid-gutter-small);
|
|
17
|
+
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
#{create-selector(grid)},
|
package/scss/reset.scss
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@keyframes skeleton-animation {
|
|
2
|
+
from {
|
|
3
|
+
opacity: 1;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
to {
|
|
7
|
+
opacity: 0.5;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.odx-skeleton {
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
color: transparent;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
position: relative;
|
|
16
|
+
user-select: none;
|
|
17
|
+
|
|
18
|
+
&::after {
|
|
19
|
+
animation: skeleton-animation ease-in-out 1s infinite alternate;
|
|
20
|
+
background-color: var(--gray-200);
|
|
21
|
+
border-radius: var(--odx-v-border-radius);
|
|
22
|
+
content: '';
|
|
23
|
+
height: 100%;
|
|
24
|
+
left: 0;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 0;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--text::before {
|
|
31
|
+
content: '\a0';
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--short::after {
|
|
35
|
+
width: 40%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--center::after {
|
|
39
|
+
left: 50%;
|
|
40
|
+
position: absolute;
|
|
41
|
+
transform: translate(-50%, 0);
|
|
42
|
+
width: 40%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
* {
|
|
46
|
+
opacity: 0;
|
|
47
|
+
visibility: hidden;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use '../abstract/utils';
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
@include utils.dark-theme-selector() {
|
|
5
|
+
--white: #293642;
|
|
6
|
+
--white-dark: #060a12;
|
|
7
|
+
--black: #ffffff;
|
|
8
|
+
|
|
9
|
+
--focus-bg: #284e68;
|
|
10
|
+
|
|
11
|
+
--white-60: #{rgba(var(--white), 0.6)};
|
|
12
|
+
|
|
13
|
+
--gray-50: #2e3d49;
|
|
14
|
+
--gray-100: #344351;
|
|
15
|
+
--gray-200: #3e5160;
|
|
16
|
+
--gray-300: #495e6e;
|
|
17
|
+
--gray-400: #556c7c;
|
|
18
|
+
--gray-500: #607a8a;
|
|
19
|
+
--gray-600: #6d8797;
|
|
20
|
+
--gray-700: #7d94a1;
|
|
21
|
+
--gray-800: #e9eef4;
|
|
22
|
+
--gray-900: #9cacb4;
|
|
23
|
+
|
|
24
|
+
--blue-50: #455e85;
|
|
25
|
+
--blue-100: #043c95;
|
|
26
|
+
--blue-600: #a8c4f0;
|
|
27
|
+
--blue-700: #cbe9ff;
|
|
28
|
+
--blue-700-5: #{rgba(#cbe9ff, 0.1)};
|
|
29
|
+
--blue-700-10: #{rgba(#cbe9ff, 0.2)};
|
|
30
|
+
--blue-900: #d5e2f6;
|
|
31
|
+
|
|
32
|
+
--cyan-50: #002766;
|
|
33
|
+
--cyan-100: #003c66;
|
|
34
|
+
--cyan-200: #00508a;
|
|
35
|
+
--cyan-300: #0065ad;
|
|
36
|
+
--cyan-400: #007ad1;
|
|
37
|
+
--cyan-600: #1fa2ff;
|
|
38
|
+
--cyan-700: #47b3ff;
|
|
39
|
+
--cyan-800: #70c4ff;
|
|
40
|
+
--cyan-900: #9dd7ff;
|
|
41
|
+
|
|
42
|
+
--red-00: #4b3138;
|
|
43
|
+
--red-50: #724956;
|
|
44
|
+
--red-100: #bc0000;
|
|
45
|
+
--red-700: #ff9898;
|
|
46
|
+
--red-800: #ffb4b4;
|
|
47
|
+
--red-900: #ffe0e3;
|
|
48
|
+
|
|
49
|
+
--yellow-50: #5f5439;
|
|
50
|
+
|
|
51
|
+
--green-00: #355e54;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@use '../abstract/utils';
|
|
2
|
+
|
|
3
|
+
body {
|
|
4
|
+
@include utils.dark-theme-selector() {
|
|
5
|
+
--odx-c-headline: var(--blue-900);
|
|
6
|
+
|
|
7
|
+
--odx-c-text: var(--blue-900);
|
|
8
|
+
--odx-c-text-inverse: var(--black);
|
|
9
|
+
|
|
10
|
+
--odx-c-link-disabled: var(--gray-400);
|
|
11
|
+
|
|
12
|
+
--odx-c-error: var(--red-00);
|
|
13
|
+
--odx-c-error-outline: var(--red-50);
|
|
14
|
+
--odx-c-error-outline-hover: var(--red-100);
|
|
15
|
+
--odx-c-error-text: var(--red-700);
|
|
16
|
+
|
|
17
|
+
--odx-c-focus: var(--focus-bg);
|
|
18
|
+
--odx-c-focus-outline: var(--cyan-200);
|
|
19
|
+
--odx-c-focus-outline-dark: var(--odx-c-focus-outline);
|
|
20
|
+
|
|
21
|
+
--odx-c-highlight-text: var(--black);
|
|
22
|
+
|
|
23
|
+
--odx-c-primary: var(--blue-900);
|
|
24
|
+
--odx-c-primary-hover: var(--blue-600);
|
|
25
|
+
--odx-c-primary-active: var(--blue-200);
|
|
26
|
+
--odx-c-primary-disabled: var(--odx-c-primary);
|
|
27
|
+
--odx-c-primary-text: var(--white);
|
|
28
|
+
--odx-c-primary-text-disabled: var(--blue-300);
|
|
29
|
+
|
|
30
|
+
--odx-c-secondary-text-disabled: var(--gray-100);
|
|
31
|
+
|
|
32
|
+
--odx-c-highlight-hover: var(--cyan-400);
|
|
33
|
+
--odx-c-highlight-active: var(--cyan-300);
|
|
34
|
+
--odx-c-highlight-text-disabled: var(--cyan-200);
|
|
35
|
+
|
|
36
|
+
--odx-c-danger-active: var(--red-100);
|
|
37
|
+
--odx-c-danger-text-disabled: var(--red-50);
|
|
38
|
+
|
|
39
|
+
--odx-c-success-text: var(--cyan-50);
|
|
40
|
+
|
|
41
|
+
--odx-c-confirmation-text: var(--cyan-50);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
body {
|
|
2
2
|
--odx-c-headline: var(--blue-700);
|
|
3
3
|
|
|
4
4
|
--odx-c-text: var(--blue-700);
|
|
@@ -16,8 +16,14 @@
|
|
|
16
16
|
--odx-c-error-outline-hover: var(--red-100);
|
|
17
17
|
--odx-c-error-text: var(--red-600);
|
|
18
18
|
|
|
19
|
+
--odx-c-error-warning: var(--orange-100);
|
|
20
|
+
--odx-c-error-warning-outline: var(--orange-200);
|
|
21
|
+
--odx-c-error-warning-outline-hover: var(--orange-300);
|
|
22
|
+
--odx-c-error-warning-text: var(--orange-500);
|
|
23
|
+
|
|
19
24
|
--odx-c-focus: var(--cyan-500-15);
|
|
20
|
-
--odx-c-focus-outline: var(--cyan-
|
|
25
|
+
--odx-c-focus-outline: var(--cyan-200);
|
|
26
|
+
--odx-c-focus-outline-dark: var(--cyan-400);
|
|
21
27
|
|
|
22
28
|
--odx-c-selected: var(--cyan-500-15);
|
|
23
29
|
--odx-c-selected-hover: var(--cyan-500-20);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
body {
|
|
2
2
|
--odx-control-color: var(--odx-c-text);
|
|
3
3
|
--odx-control-background-color: var(--gray-200);
|
|
4
4
|
--odx-control-outline-color: var(--gray-300);
|
|
@@ -24,6 +24,11 @@
|
|
|
24
24
|
--odx-control-outline-color-error: var(--odx-c-error-outline);
|
|
25
25
|
--odx-control-outline-color-error-hover: var(--odx-c-error-outline-hover);
|
|
26
26
|
|
|
27
|
+
--odx-control-color-warning: var(--odx-c-error-warning-text);
|
|
28
|
+
--odx-control-background-color-warning: var(--odx-c-error-warning);
|
|
29
|
+
--odx-control-outline-color-warning: var(--odx-c-error-warning-outline);
|
|
30
|
+
--odx-control-outline-color-warning-hover: var(--odx-c-error-warning-outline-hover);
|
|
31
|
+
|
|
27
32
|
--odx-input-control-color: var(--odx-c-text);
|
|
28
33
|
--odx-input-control-background-color: var(--gray-100);
|
|
29
34
|
--odx-input-control-outline-color: var(--gray-200);
|
|
@@ -44,4 +49,9 @@
|
|
|
44
49
|
--odx-input-control-background-color-error: var(--odx-c-error);
|
|
45
50
|
--odx-input-control-outline-color-error: var(--odx-c-error-outline);
|
|
46
51
|
--odx-input-control-outline-color-error-hover: var(--odx-c-error-outline-hover);
|
|
52
|
+
|
|
53
|
+
--odx-input-control-color-warning: var(--odx-c-error-warning-text);
|
|
54
|
+
--odx-input-control-background-color-warning: var(--odx-c-error-warning);
|
|
55
|
+
--odx-input-control-outline-color-warning: var(--odx-c-error-warning-outline);
|
|
56
|
+
--odx-input-control-outline-color-warning-hover: var(--odx-c-error-warning-outline-hover);
|
|
47
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
body {
|
|
2
2
|
--odx-v-border-radius: calc(var(--odx-typography-base-size) * 0.375);
|
|
3
3
|
--odx-v-border-radius-controls: calc(var(--odx-typography-base-size) * 0.19);
|
|
4
4
|
|
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
--odx-v-box-shadow-layer-1: 0 2px 6px 0 var(--odx-c-box-shadow);
|
|
8
8
|
--odx-v-box-shadow-layer-2: 0 4px 12px 0 var(--odx-c-box-shadow);
|
|
9
9
|
|
|
10
|
+
--odx-v-layer-1: 0;
|
|
11
|
+
--odx-v-layer-2: 10;
|
|
12
|
+
--odx-v-layer-3: 20;
|
|
13
|
+
--odx-v-layer-4: 9000;
|
|
14
|
+
--odx-v-layer-5: 9500;
|
|
15
|
+
|
|
10
16
|
--odx-v-transition-duration: 250ms;
|
|
11
17
|
--odx-v-transition-easing-fn: ease;
|
|
12
18
|
--odx-v-outline-width: 1px;
|
package/core-icons.css
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-display: block;
|
|
3
|
-
font-family: "core-icons";
|
|
4
|
-
src: url("./core-icons.woff2?2e34fa04b5d8933d0d0fd3cefa3aa4d5") format("woff2");
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.odx-icon::before,
|
|
8
|
-
[class^="odx-icon-"]::before,
|
|
9
|
-
[class*=" odx-icon-"]::before {
|
|
10
|
-
font-family: core-icons !important;
|
|
11
|
-
font-style: normal;
|
|
12
|
-
font-weight: normal !important;
|
|
13
|
-
font-variant: normal;
|
|
14
|
-
text-transform: none;
|
|
15
|
-
line-height: 1;
|
|
16
|
-
vertical-align: top;
|
|
17
|
-
-webkit-font-smoothing: antialiased;
|
|
18
|
-
-moz-osx-font-smoothing: grayscale;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.odx-icon-add::before { content: "\f101"; }
|
|
22
|
-
.odx-icon-arrow-left::before { content: "\f102"; }
|
|
23
|
-
.odx-icon-arrow-right::before { content: "\f103"; }
|
|
24
|
-
.odx-icon-attachment::before { content: "\f104"; }
|
|
25
|
-
.odx-icon-calendar::before { content: "\f105"; }
|
|
26
|
-
.odx-icon-check::before { content: "\f106"; }
|
|
27
|
-
.odx-icon-chevron-down::before { content: "\f107"; }
|
|
28
|
-
.odx-icon-chevron-left::before { content: "\f108"; }
|
|
29
|
-
.odx-icon-chevron-right::before { content: "\f109"; }
|
|
30
|
-
.odx-icon-chevron-up::before { content: "\f10a"; }
|
|
31
|
-
.odx-icon-close::before { content: "\f10b"; }
|
|
32
|
-
.odx-icon-danger::before { content: "\f10c"; }
|
|
33
|
-
.odx-icon-identify::before { content: "\f10d"; }
|
|
34
|
-
.odx-icon-indeterminate::before { content: "\f10e"; }
|
|
35
|
-
.odx-icon-info::before { content: "\f10f"; }
|
|
36
|
-
.odx-icon-menu::before { content: "\f110"; }
|
|
37
|
-
.odx-icon-minus::before { content: "\f111"; }
|
|
38
|
-
.odx-icon-more::before { content: "\f112"; }
|
|
39
|
-
.odx-icon-placeholder::before { content: "\f113"; }
|
|
40
|
-
.odx-icon-plus::before { content: "\f114"; }
|
|
41
|
-
.odx-icon-tile-menu::before { content: "\f115"; }
|
|
42
|
-
.odx-icon-user::before { content: "\f116"; }
|
|
43
|
-
.odx-icon-warning::before { content: "\f117"; }
|