@odx/ui 1.0.0-rc.1 → 1.0.0-rc.11
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/323d385340fb9fee6450.svg +6 -0
- package/LICENSE +1 -0
- package/README.md +32 -0
- package/core-icons.css +39 -9
- package/core-icons.woff2 +0 -0
- package/core-theme.css +1 -1
- package/package.json +7 -8
- package/scss/{modules → abstract}/_breakpoints.scss +11 -11
- package/scss/{modules/_vertical-rythm.scss → abstract/_dimensions.scss} +29 -26
- package/scss/abstract/_index.scss +5 -0
- package/scss/abstract/_motion.scss +12 -0
- package/scss/abstract/_typography.scss +25 -0
- package/scss/abstract/_utils.scss +124 -0
- package/scss/cdk/active-indicator.scss +25 -0
- package/scss/cdk/connected-overlay.scss +36 -0
- package/scss/components/accordion-item.component.scss +56 -0
- package/scss/components/accordion.component.scss +3 -0
- package/scss/components/{action-group/action-group.component.scss → action-group.component.scss} +11 -7
- package/scss/components/{area-header/area-header.component.scss → area-header.component.scss} +33 -39
- package/scss/components/{avatar/avatar.component.scss → avatar.component.scss} +18 -13
- package/scss/components/{badge/badge.component.scss → badge.component.scss} +15 -24
- package/scss/components/bar.component.scss +86 -0
- package/scss/components/breadcrumbs.component.scss +26 -0
- package/scss/components/button-group.component.scss +99 -0
- package/scss/components/button.component.scss +129 -0
- package/scss/components/checkbox.component.scss +117 -0
- package/scss/components/chip.component.scss +52 -0
- package/scss/components/circular-progress.component.scss +75 -0
- package/scss/components/content-box.component.scss +54 -0
- package/scss/components/dropdown.component.scss +28 -0
- package/scss/components/form-field.component.scss +208 -0
- package/scss/components/header.component.scss +40 -0
- package/scss/components/icon.component.scss +35 -0
- package/scss/components/inline-message.component.scss +33 -0
- package/scss/components/launch-tile.component.scss +118 -0
- package/scss/components/{link/link.component.scss → link.component.scss} +6 -4
- package/scss/components/list-item.component.scss +107 -0
- package/scss/components/list.component.scss +3 -0
- package/scss/components/loading-spinner.component.scss +54 -0
- package/scss/components/{logo/logo.component.scss → logo.component.scss} +5 -4
- package/scss/components/main-menu-button.component.scss +7 -0
- package/scss/components/{main-menu/components/main-menu-item.component.scss → main-menu-item.component.scss} +14 -12
- package/scss/components/{main-menu/main-menu.component.scss → main-menu.component.scss} +37 -29
- package/scss/components/menu-item.component.scss +8 -0
- package/scss/components/menu.component.scss +48 -0
- package/scss/components/modal.component.scss +144 -0
- package/scss/components/progress.component.scss +41 -0
- package/scss/components/radio-button.component.scss +120 -0
- package/scss/components/radio-group.component.scss +14 -0
- package/scss/components/rail-navigation-item.component.scss +60 -0
- package/scss/components/rail-navigation.component.scss +32 -0
- package/scss/components/select.component.scss +103 -0
- package/scss/components/slider.component.scss +131 -0
- package/scss/components/spinbox.component.scss +124 -0
- package/scss/components/switch.component.scss +163 -0
- package/scss/components/tab-bar-item.component.scss +53 -0
- package/scss/components/tab-bar.component.scss +124 -0
- package/scss/components/toast-item.component.scss +79 -0
- package/scss/components/toast.component.scss +33 -0
- package/scss/components/toggle-button-group.component.scss +63 -0
- package/scss/components/toggle-button.component.scss +69 -0
- package/scss/components/tooltip.component.scss +34 -0
- package/scss/core.scss +66 -30
- package/scss/layout/_base.scss +35 -0
- package/scss/layout/_content.scss +25 -0
- package/scss/layout/_description-list.scss +30 -0
- package/scss/layout/_helpers.scss +85 -0
- package/scss/{modules → layout}/_layout.scss +96 -46
- package/scss/layout/_text-list.scss +18 -0
- package/scss/layout/_typography.scss +114 -0
- package/scss/{base/_reset.scss → reset.scss} +30 -5
- package/scss/variables/_color-palettes.scss +59 -55
- package/scss/variables/_colors.scss +15 -15
- package/scss/variables/_controls.scss +47 -0
- package/scss/variables/_index.scss +6 -0
- package/scss/variables/_typography.scss +18 -0
- package/scss/variables/_vertical-rythm.scss +3 -0
- package/scss/variables/_visuals.scss +15 -8
- package/scss/_helpers.scss +0 -15
- package/scss/base/_mixins.scss +0 -3
- package/scss/base/_utils.scss +0 -19
- package/scss/base/mixins/_container.scss +0 -31
- package/scss/base/mixins/_control.scss +0 -50
- package/scss/base/mixins/_transition.scss +0 -10
- package/scss/components/button/button.component.scss +0 -94
- package/scss/components/checkbox/checkbox.component.scss +0 -130
- package/scss/components/content-box/content-box.component.scss +0 -50
- package/scss/components/header/header.component.scss +0 -39
- package/scss/components/icon/icon.component.scss +0 -38
- package/scss/components/main-menu/components/main-menu-button.component.scss +0 -7
- package/scss/components/radio-group/_radio-group.component.scss +0 -145
- package/scss/modules/_typography.scss +0 -161
package/scss/core.scss
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use 'helpers';
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
Variables
|
|
6
|
-
*/
|
|
7
|
-
@use 'variables/color-palettes';
|
|
8
|
-
@use 'variables/colors';
|
|
9
|
-
@use 'variables/visuals';
|
|
10
|
-
|
|
11
|
-
/*
|
|
12
|
-
Modules
|
|
13
|
-
*/
|
|
14
|
-
@use 'modules/breakpoints' with (
|
|
1
|
+
@use 'abstract/breakpoints' with (
|
|
15
2
|
$breakpoints: (
|
|
16
3
|
'phone-s': 360px,
|
|
17
4
|
'phone': 420px,
|
|
@@ -20,24 +7,73 @@
|
|
|
20
7
|
'desktop': 1200px,
|
|
21
8
|
)
|
|
22
9
|
);
|
|
23
|
-
@use '
|
|
24
|
-
@use '
|
|
25
|
-
|
|
10
|
+
@use 'variables';
|
|
11
|
+
@use 'reset';
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
Layout
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
@use 'layout/base';
|
|
18
|
+
@use 'layout/description-list';
|
|
19
|
+
@use 'layout/layout';
|
|
20
|
+
@use 'layout/helpers';
|
|
21
|
+
@use 'layout/typography';
|
|
22
|
+
@use 'layout/text-list';
|
|
23
|
+
@use 'layout/content';
|
|
24
|
+
|
|
25
|
+
/*
|
|
26
|
+
CDK
|
|
27
|
+
*/
|
|
28
|
+
@use 'cdk/active-indicator';
|
|
29
|
+
@use 'cdk/connected-overlay';
|
|
26
30
|
|
|
27
31
|
/*
|
|
28
32
|
Components
|
|
29
33
|
*/
|
|
30
34
|
|
|
31
|
-
@use 'components/
|
|
32
|
-
@use 'components/
|
|
33
|
-
@use 'components/
|
|
34
|
-
@use 'components/
|
|
35
|
-
@use 'components/
|
|
36
|
-
@use 'components/
|
|
37
|
-
@use 'components/
|
|
38
|
-
@use 'components/
|
|
39
|
-
@use 'components/
|
|
40
|
-
@use 'components/
|
|
41
|
-
@use 'components/
|
|
42
|
-
@use 'components/
|
|
43
|
-
@use 'components/
|
|
35
|
+
@use 'components/accordion.component';
|
|
36
|
+
@use 'components/accordion-item.component';
|
|
37
|
+
@use 'components/action-group.component';
|
|
38
|
+
@use 'components/area-header.component';
|
|
39
|
+
@use 'components/avatar.component';
|
|
40
|
+
@use 'components/badge.component';
|
|
41
|
+
@use 'components/bar.component';
|
|
42
|
+
@use 'components/breadcrumbs.component';
|
|
43
|
+
@use 'components/button-group.component';
|
|
44
|
+
@use 'components/button.component';
|
|
45
|
+
@use 'components/checkbox.component';
|
|
46
|
+
@use 'components/chip.component';
|
|
47
|
+
@use 'components/circular-progress.component';
|
|
48
|
+
@use 'components/content-box.component';
|
|
49
|
+
@use 'components/dropdown.component';
|
|
50
|
+
@use 'components/form-field.component';
|
|
51
|
+
@use 'components/header.component';
|
|
52
|
+
@use 'components/icon.component';
|
|
53
|
+
@use 'components/inline-message.component';
|
|
54
|
+
@use 'components/launch-tile.component';
|
|
55
|
+
@use 'components/link.component';
|
|
56
|
+
@use 'components/list.component';
|
|
57
|
+
@use 'components/list-item.component';
|
|
58
|
+
@use 'components/loading-spinner.component';
|
|
59
|
+
@use 'components/logo.component';
|
|
60
|
+
@use 'components/main-menu.component';
|
|
61
|
+
@use 'components/menu.component';
|
|
62
|
+
@use 'components/menu-item.component';
|
|
63
|
+
@use 'components/modal.component';
|
|
64
|
+
@use 'components/progress.component';
|
|
65
|
+
@use 'components/radio-button.component';
|
|
66
|
+
@use 'components/radio-group.component';
|
|
67
|
+
@use 'components/rail-navigation.component';
|
|
68
|
+
@use 'components/rail-navigation-item.component';
|
|
69
|
+
@use 'components/select.component';
|
|
70
|
+
@use 'components/slider.component';
|
|
71
|
+
@use 'components/spinbox.component';
|
|
72
|
+
@use 'components/switch.component';
|
|
73
|
+
@use 'components/tab-bar-item.component';
|
|
74
|
+
@use 'components/tab-bar.component';
|
|
75
|
+
@use 'components/toast.component';
|
|
76
|
+
@use 'components/toast-item.component';
|
|
77
|
+
@use 'components/toggle-button.component';
|
|
78
|
+
@use 'components/toggle-button-group.component';
|
|
79
|
+
@use 'components/tooltip.component';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use '../abstract/utils';
|
|
2
|
+
|
|
3
|
+
html,
|
|
4
|
+
body,
|
|
5
|
+
.odx-root {
|
|
6
|
+
background-color: var(--odx-c-background);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
* {
|
|
10
|
+
scrollbar-color: var(--odx-v-scrollbar-thumb-color) var(--odx-v-scrollbar-track-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
::-webkit-scrollbar {
|
|
14
|
+
appearance: none;
|
|
15
|
+
width: 12px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
::-webkit-scrollbar-track,
|
|
19
|
+
::-webkit-scrollbar-thumb {
|
|
20
|
+
border: 3px solid transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
::-webkit-scrollbar-track {
|
|
24
|
+
background-color: var(--odx-v-scrollbar-track-color);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::-webkit-scrollbar-thumb {
|
|
28
|
+
background-clip: content-box;
|
|
29
|
+
background-color: var(--odx-v-scrollbar-thumb-color);
|
|
30
|
+
border-radius: var(--odx-v-border-radius);
|
|
31
|
+
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: var(--odx-v-scrollbar-thumb-color-hover);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use './typography' as *;
|
|
2
|
+
@use './text-list' as *;
|
|
3
|
+
@use './description-list' as *;
|
|
4
|
+
|
|
5
|
+
.odx-content {
|
|
6
|
+
@for $i from 1 through 6 {
|
|
7
|
+
h#{$i} {
|
|
8
|
+
@extend .odx-title;
|
|
9
|
+
@extend .odx-title-#{$i};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
p {
|
|
14
|
+
@extend .odx-text;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
ol,
|
|
18
|
+
ul {
|
|
19
|
+
@extend .odx-text-list;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
dl {
|
|
23
|
+
@extend .odx-description-list;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
@use '../abstract/typography';
|
|
4
|
+
|
|
5
|
+
.odx-description-list {
|
|
6
|
+
$gap: dimensions.get-size(math.div(8, 24));
|
|
7
|
+
|
|
8
|
+
@include dimensions.margin-y(0.5);
|
|
9
|
+
|
|
10
|
+
column-gap: $gap;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex: 0 0 100%;
|
|
13
|
+
flex-wrap: wrap;
|
|
14
|
+
row-gap: calc(#{$gap} / 2);
|
|
15
|
+
|
|
16
|
+
dt,
|
|
17
|
+
dd {
|
|
18
|
+
align-items: flex-end;
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
flex: 0 0 calc(50% - #{$gap} / 2);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
dt {
|
|
24
|
+
@include typography.font-size(-1);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
dd {
|
|
28
|
+
@include typography.font-weight(medium);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
@use '../abstract/typography';
|
|
4
|
+
@use '../abstract/utils';
|
|
5
|
+
|
|
6
|
+
html body {
|
|
7
|
+
.odx-no-margin {
|
|
8
|
+
margin: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@each $size in (4, 8, 12, 16, 24, 36, 48) {
|
|
12
|
+
$factor: math.div($size, 24);
|
|
13
|
+
|
|
14
|
+
@each $direction in (top, right, bottom, left) {
|
|
15
|
+
.odx-margin-#{$direction}-#{$size} {
|
|
16
|
+
@include dimensions.margin($factor, $direction);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.odx-margin-x-#{$size} {
|
|
21
|
+
@include dimensions.margin-x($factor);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.odx-margin-y-#{$size} {
|
|
25
|
+
@include dimensions.margin-y($factor);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.odx-margin-#{$size} {
|
|
29
|
+
@include dimensions.margin($factor);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@each $size in (4, 8, 12, 16, 24, 36, 48) {
|
|
34
|
+
$factor: math.div($size, 24);
|
|
35
|
+
|
|
36
|
+
@each $direction in (top, right, bottom, left) {
|
|
37
|
+
.odx-padding-#{$direction}-#{$size} {
|
|
38
|
+
@include dimensions.padding($factor, $direction);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.odx-padding-x-#{$size} {
|
|
43
|
+
@include dimensions.padding-x($factor);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.odx-padding-y-#{$size} {
|
|
47
|
+
@include dimensions.padding-y($factor);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.odx-padding-#{$size} {
|
|
51
|
+
@include dimensions.padding($factor);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.odx-visually-hidden {
|
|
56
|
+
@include utils.visually-hidden();
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
hr,
|
|
60
|
+
.odx-seperator {
|
|
61
|
+
@include dimensions.height(1, math.div(1, 24));
|
|
62
|
+
|
|
63
|
+
background-color: var(--odx-c-seperator);
|
|
64
|
+
border: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.odx-fs-normal {
|
|
68
|
+
@include typography.font-weight(normal);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.odx-fs-medium {
|
|
72
|
+
@include typography.font-weight(medium);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
b,
|
|
76
|
+
strong,
|
|
77
|
+
.odx-fs-bold {
|
|
78
|
+
@include typography.font-weight(bold);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
em,
|
|
82
|
+
.odx-fs-italic {
|
|
83
|
+
font-style: italic;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
@use '
|
|
2
|
-
@use '
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/breakpoints';
|
|
3
|
+
@use '../abstract/dimensions';
|
|
3
4
|
|
|
4
5
|
$columns: 12 !default;
|
|
5
6
|
|
|
@@ -8,14 +9,101 @@ $columns: 12 !default;
|
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
:root {
|
|
11
|
-
--odx-grid-gutter: #{
|
|
12
|
+
--odx-grid-gutter: #{dimensions.get-size(1)};
|
|
13
|
+
--odx-grid-gutter-small: #{dimensions.get-size(math.div(8, 24))};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
#{create-selector(grid)},
|
|
17
|
+
#{create-selector(flex)} {
|
|
18
|
+
gap: var(--odx-grid-gutter);
|
|
19
|
+
|
|
20
|
+
&#{create-selector(gap-small)} {
|
|
21
|
+
gap: var(--odx-grid-gutter-small);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&#{create-selector(gap-none)} {
|
|
25
|
+
gap: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&#{create-selector(gap-row-none)} {
|
|
29
|
+
row-gap: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&#{create-selector(gap-column-none)} {
|
|
33
|
+
column-gap: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&#{create-selector(vertical-center)} {
|
|
37
|
+
align-items: center;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&#{create-selector(vertical-start)} {
|
|
41
|
+
align-items: flex-start;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&#{create-selector(vertical-end)} {
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&#{create-selector(horizontal-center)} {
|
|
49
|
+
justify-items: center;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&#{create-selector(horizontal-start)} {
|
|
53
|
+
justify-items: flex-start;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&#{create-selector(horizontal-end)} {
|
|
57
|
+
justify-items: flex-end;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
#{create-selector(first)} {
|
|
61
|
+
order: -1;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#{create-selector(last)} {
|
|
65
|
+
order: $columns;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
#{create-selector(seperator)} {
|
|
69
|
+
background-clip: content-box;
|
|
70
|
+
border-color: var(--odx-c-seperator);
|
|
71
|
+
border-style: solid;
|
|
72
|
+
|
|
73
|
+
@each $side in (right, left) {
|
|
74
|
+
&#{create-selector($side)} {
|
|
75
|
+
border-#{$side}-width: 1px;
|
|
76
|
+
margin-#{$side}: calc(-0.5 * var(--odx-grid-gutter));
|
|
77
|
+
padding-#{$side}: calc(0.5 * var(--odx-grid-gutter));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
#{create-selector(flex)} {
|
|
84
|
+
display: flex;
|
|
85
|
+
|
|
86
|
+
&#{create-selector(inline)} {
|
|
87
|
+
display: inline-flex;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&#{create-selector(wrap)} {
|
|
91
|
+
flex-wrap: wrap;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#{create-selector(auto)} {
|
|
95
|
+
flex: 1 1 auto;
|
|
96
|
+
}
|
|
12
97
|
}
|
|
13
98
|
|
|
14
99
|
#{create-selector(grid)} {
|
|
15
100
|
display: grid;
|
|
16
|
-
gap: var(--odx-grid-gutter);
|
|
17
101
|
grid-template-columns: repeat(12, 1fr);
|
|
18
102
|
|
|
103
|
+
&#{create-selector(inline)} {
|
|
104
|
+
display: inline-grid;
|
|
105
|
+
}
|
|
106
|
+
|
|
19
107
|
@each $breakpoint in breakpoints.get-breakpoint-names() {
|
|
20
108
|
&#{create-selector(\@#{$breakpoint}, '*')} {
|
|
21
109
|
grid-template-columns: 12fr;
|
|
@@ -62,47 +150,9 @@ $columns: 12 !default;
|
|
|
62
150
|
}
|
|
63
151
|
}
|
|
64
152
|
|
|
65
|
-
&#{create-selector(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
&#{create-selector(gap-row-none)} {
|
|
70
|
-
row-gap: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&#{create-selector(gap-column-none)} {
|
|
74
|
-
column-gap: 0;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&#{create-selector(vertical-center)} {
|
|
78
|
-
align-items: center;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&#{create-selector(vertical-start)} {
|
|
82
|
-
align-items: flex-start;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&#{create-selector(vertical-end)} {
|
|
86
|
-
align-items: flex-end;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&#{create-selector(horizontal-center)} {
|
|
90
|
-
justify-items: center;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&#{create-selector(horizontal-start)} {
|
|
94
|
-
justify-items: flex-start;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&#{create-selector(horizontal-end)} {
|
|
98
|
-
justify-items: flex-end;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
#{create-selector(first)} {
|
|
102
|
-
order: -1;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
#{create-selector(last)} {
|
|
106
|
-
order: $columns;
|
|
153
|
+
&#{create-selector(auto)} {
|
|
154
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
155
|
+
grid-auto-flow: column;
|
|
156
|
+
grid-template-columns: unset;
|
|
107
157
|
}
|
|
108
158
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
|
|
4
|
+
.odx-text-list,
|
|
5
|
+
.odx-text-list ol,
|
|
6
|
+
.odx-text-list ul {
|
|
7
|
+
@include dimensions.margin-y(0.5);
|
|
8
|
+
@include dimensions.padding(1, left);
|
|
9
|
+
|
|
10
|
+
ul,
|
|
11
|
+
ol {
|
|
12
|
+
@include dimensions.margin(0);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
li {
|
|
16
|
+
@include dimensions.margin(math.div(-1, 24), left);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/breakpoints';
|
|
3
|
+
@use '../abstract/dimensions';
|
|
4
|
+
@use '../abstract/typography';
|
|
5
|
+
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: Pangea;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
font-weight: normal;
|
|
10
|
+
src: url('../assets/fonts/PangeaText-RegularWeb.woff2') format('woff2');
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: Pangea;
|
|
15
|
+
font-style: normal;
|
|
16
|
+
font-weight: 500;
|
|
17
|
+
src: url('../assets/fonts/PangeaText-MediumWeb.woff2') format('woff2');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@font-face {
|
|
21
|
+
font-family: Pangea;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
src: url('../assets/fonts/PangeaText-SemiBoldWeb.woff2') format('woff2');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
html {
|
|
28
|
+
font-size: 62.5%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
html body {
|
|
32
|
+
@include dimensions.line-height(1);
|
|
33
|
+
@include typography.font-size(0);
|
|
34
|
+
@include typography.font-weight(normal);
|
|
35
|
+
|
|
36
|
+
color: var(--odx-c-text);
|
|
37
|
+
font-family: Pangea, sans-serif;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.odx-title,
|
|
41
|
+
[class*='odx-title-'] {
|
|
42
|
+
@include typography.font-weight(bold);
|
|
43
|
+
|
|
44
|
+
color: var(--odx-c-headline);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.odx-subtitle,
|
|
48
|
+
[class*='odx-subtitle-'] {
|
|
49
|
+
@extend .odx-title;
|
|
50
|
+
@include typography.font-weight(normal);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.odx-title-1,
|
|
54
|
+
.odx-subtitle-1 {
|
|
55
|
+
@include dimensions.line-height(2, math.div(40, 24));
|
|
56
|
+
@include typography.font-size(5);
|
|
57
|
+
|
|
58
|
+
@include breakpoints.up(tablet) {
|
|
59
|
+
@include dimensions.line-height(3, math.div(64, 24));
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.odx-title-2,
|
|
64
|
+
.odx-subtitle-2 {
|
|
65
|
+
@include dimensions.line-height(2, 1.5);
|
|
66
|
+
@include typography.font-size(4);
|
|
67
|
+
|
|
68
|
+
@include breakpoints.up(tablet) {
|
|
69
|
+
@include dimensions.line-height(3, math.div(54, 24));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.odx-title-3,
|
|
74
|
+
.odx-subtitle-3 {
|
|
75
|
+
@include dimensions.line-height(2, math.div(32, 24));
|
|
76
|
+
@include typography.font-size(3);
|
|
77
|
+
|
|
78
|
+
@include breakpoints.up(tablet) {
|
|
79
|
+
@include dimensions.line-height(2, math.div(42, 24));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.odx-title-4,
|
|
84
|
+
.odx-subtitle-4 {
|
|
85
|
+
@include dimensions.line-height(2, math.div(30, 24));
|
|
86
|
+
@include typography.font-size(2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.odx-title-5,
|
|
90
|
+
.odx-subtitle-5 {
|
|
91
|
+
@include dimensions.line-height(1);
|
|
92
|
+
@include typography.font-size(1);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.odx-title-6,
|
|
96
|
+
.odx-subtitle-6 {
|
|
97
|
+
@include dimensions.line-height(1);
|
|
98
|
+
@include typography.font-size(0);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.odx-text {
|
|
102
|
+
@include dimensions.line-height(1);
|
|
103
|
+
@include typography.font-weight(normal);
|
|
104
|
+
|
|
105
|
+
&--small {
|
|
106
|
+
@include dimensions.line-height(1, math.div(20, 24));
|
|
107
|
+
@include typography.font-size(-1);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&--xsmall {
|
|
111
|
+
@include dimensions.line-height(1, math.div(16, 24));
|
|
112
|
+
@include typography.font-size(-2);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
License: none (public domain)
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
* {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
|
|
9
|
+
&:focus-visible {
|
|
10
|
+
outline: none;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
6
14
|
html,
|
|
7
15
|
body,
|
|
8
16
|
div,
|
|
@@ -18,6 +26,9 @@ h5,
|
|
|
18
26
|
h6,
|
|
19
27
|
p,
|
|
20
28
|
button,
|
|
29
|
+
input,
|
|
30
|
+
textarea,
|
|
31
|
+
select,
|
|
21
32
|
blockquote,
|
|
22
33
|
pre,
|
|
23
34
|
a,
|
|
@@ -108,11 +119,6 @@ section {
|
|
|
108
119
|
display: block;
|
|
109
120
|
}
|
|
110
121
|
|
|
111
|
-
ol,
|
|
112
|
-
ul {
|
|
113
|
-
list-style: none;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
122
|
blockquote,
|
|
117
123
|
q {
|
|
118
124
|
quotes: none;
|
|
@@ -134,3 +140,22 @@ table {
|
|
|
134
140
|
a {
|
|
135
141
|
text-decoration: none;
|
|
136
142
|
}
|
|
143
|
+
|
|
144
|
+
button,
|
|
145
|
+
select,
|
|
146
|
+
input,
|
|
147
|
+
textarea {
|
|
148
|
+
background-color: transparent;
|
|
149
|
+
line-height: inherit;
|
|
150
|
+
min-height: inherit;
|
|
151
|
+
outline: none;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
select,
|
|
155
|
+
button {
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
::selection {
|
|
160
|
+
background-color: var(--odx-c-selection);
|
|
161
|
+
}
|