@odx/ui 2.12.1 → 2.13.0
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 +6 -0
- package/core-theme.css +38 -13
- package/package.json +1 -1
- package/scss/components/error-page.component.scss +46 -0
- package/scss/core.scss +1 -0
- package/scss/layout/_application.scss +0 -21
package/CHANGELOG.md
CHANGED
package/core-theme.css
CHANGED
|
@@ -563,7 +563,7 @@ html body {
|
|
|
563
563
|
font-family: var(--odx-typography-font-family);
|
|
564
564
|
}
|
|
565
565
|
|
|
566
|
-
.odx-title, .odx-header__title, .odx-area-header__title, .odx-
|
|
566
|
+
.odx-title, .odx-header__title, .odx-area-header__title, .odx-content h1, .odx-content h2, .odx-content h3, .odx-content h4, .odx-content h5, .odx-content h6, .odx-subtitle, .odx-area-header__subtitle,
|
|
567
567
|
[class*=odx-subtitle-],
|
|
568
568
|
[class*=odx-title-] {
|
|
569
569
|
font-weight: var(--odx-typography-font-weight-bold);
|
|
@@ -571,7 +571,7 @@ html body {
|
|
|
571
571
|
color: var(--odx-c-headline);
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
.odx-subtitle, .odx-area-header__subtitle,
|
|
574
|
+
.odx-subtitle, .odx-area-header__subtitle,
|
|
575
575
|
[class*=odx-subtitle-] {
|
|
576
576
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
577
577
|
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
@@ -609,7 +609,7 @@ html body {
|
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
-
.odx-title-3, .odx-
|
|
612
|
+
.odx-title-3, .odx-content h3,
|
|
613
613
|
.odx-subtitle-3 {
|
|
614
614
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
615
615
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
@@ -617,7 +617,7 @@ html body {
|
|
|
617
617
|
font-size: calc(var(--odx-typography-base-size) * (1*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
618
618
|
}
|
|
619
619
|
@media (min-width: 768px) {
|
|
620
|
-
.odx-title-3, .odx-
|
|
620
|
+
.odx-title-3, .odx-content h3,
|
|
621
621
|
.odx-subtitle-3 {
|
|
622
622
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
623
623
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
@@ -625,7 +625,7 @@ html body {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
.odx-title-4, .odx-area-header--large .odx-area-header__title, .odx-content h4,
|
|
628
|
+
.odx-title-4, .odx-error-page__title, .odx-area-header--large .odx-area-header__title, .odx-content h4,
|
|
629
629
|
.odx-subtitle-4 {
|
|
630
630
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
631
631
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
@@ -635,8 +635,7 @@ html body {
|
|
|
635
635
|
|
|
636
636
|
.odx-title-5, .odx-area-header--medium .odx-area-header__title, .odx-content h5,
|
|
637
637
|
.odx-subtitle-5,
|
|
638
|
-
.odx-area-header--xlarge .odx-area-header__subtitle
|
|
639
|
-
.odx-error-page__description {
|
|
638
|
+
.odx-area-header--xlarge .odx-area-header__subtitle {
|
|
640
639
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
641
640
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
642
641
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
@@ -1957,7 +1956,7 @@ html body .odx-fs-italic {
|
|
|
1957
1956
|
.odx-icon--large {
|
|
1958
1957
|
font-size: calc(var(--odx-vertical-rythm-base-size) * 1.3334);
|
|
1959
1958
|
}
|
|
1960
|
-
.odx-icon--xlarge
|
|
1959
|
+
.odx-icon--xlarge {
|
|
1961
1960
|
font-size: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
1962
1961
|
}
|
|
1963
1962
|
.odx-icon--inline {
|
|
@@ -2022,11 +2021,6 @@ html body .odx-fs-italic {
|
|
|
2022
2021
|
margin-left: 0;
|
|
2023
2022
|
}
|
|
2024
2023
|
|
|
2025
|
-
.odx-error-page {
|
|
2026
|
-
align-self: center;
|
|
2027
|
-
text-align: center;
|
|
2028
|
-
padding-top: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
2029
|
-
}
|
|
2030
2024
|
/*
|
|
2031
2025
|
CDK
|
|
2032
2026
|
*/
|
|
@@ -3722,6 +3716,37 @@ body {
|
|
|
3722
3716
|
max-height: 359px;
|
|
3723
3717
|
}
|
|
3724
3718
|
|
|
3719
|
+
.odx-error-page {
|
|
3720
|
+
margin-right: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3721
|
+
margin-left: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3722
|
+
display: flex;
|
|
3723
|
+
flex: 1;
|
|
3724
|
+
flex-direction: column;
|
|
3725
|
+
}
|
|
3726
|
+
.odx-error-page__container {
|
|
3727
|
+
align-items: center;
|
|
3728
|
+
display: flex;
|
|
3729
|
+
flex: 1;
|
|
3730
|
+
flex-direction: column;
|
|
3731
|
+
justify-content: center;
|
|
3732
|
+
text-align: center;
|
|
3733
|
+
}
|
|
3734
|
+
.odx-error-page__icon-container {
|
|
3735
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
3736
|
+
}
|
|
3737
|
+
.odx-error-page__actions {
|
|
3738
|
+
margin-top: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
3739
|
+
display: flex;
|
|
3740
|
+
flex-wrap: wrap;
|
|
3741
|
+
gap: var(--odx-grid-gutter);
|
|
3742
|
+
justify-content: center;
|
|
3743
|
+
width: 100%;
|
|
3744
|
+
}
|
|
3745
|
+
.odx-error-page__footer {
|
|
3746
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
3747
|
+
text-align: center;
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3725
3750
|
.odx-expandable-list-item__header {
|
|
3726
3751
|
display: block;
|
|
3727
3752
|
position: relative;
|
package/package.json
CHANGED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/utils';
|
|
3
|
+
@use '../abstract/motion';
|
|
4
|
+
@use '../abstract/dimensions';
|
|
5
|
+
@use '../layout/typography';
|
|
6
|
+
|
|
7
|
+
.odx-error-page {
|
|
8
|
+
@include dimensions.margin-x(1);
|
|
9
|
+
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
|
|
14
|
+
&__title {
|
|
15
|
+
@extend .odx-title-4;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__container {
|
|
19
|
+
align-items: center;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex: 1;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
text-align: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__icon-container {
|
|
28
|
+
@include dimensions.margin(2, bottom);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__actions {
|
|
32
|
+
@include dimensions.margin(2, top);
|
|
33
|
+
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
gap: var(--odx-grid-gutter);
|
|
37
|
+
justify-content: center;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__footer {
|
|
42
|
+
@include dimensions.padding(2, bottom);
|
|
43
|
+
|
|
44
|
+
text-align: center;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/scss/core.scss
CHANGED
|
@@ -49,6 +49,7 @@ Layout
|
|
|
49
49
|
@use 'components/content-box.component';
|
|
50
50
|
@use 'components/datepicker.component';
|
|
51
51
|
@use 'components/dropdown.component';
|
|
52
|
+
@use 'components/error-page.component';
|
|
52
53
|
@use 'components/expandable-list-item.component';
|
|
53
54
|
@use 'components/form-field.component';
|
|
54
55
|
@use 'components/header.component';
|
|
@@ -57,24 +57,3 @@
|
|
|
57
57
|
margin-left: 0;
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
.odx-error-page {
|
|
62
|
-
align-self: center;
|
|
63
|
-
text-align: center;
|
|
64
|
-
|
|
65
|
-
@include dimensions.padding(2, top);
|
|
66
|
-
|
|
67
|
-
&__icon {
|
|
68
|
-
@extend .odx-icon--xlarge;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__title {
|
|
72
|
-
@extend .odx-title;
|
|
73
|
-
@extend .odx-title-3;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&__description {
|
|
77
|
-
@extend .odx-subtitle;
|
|
78
|
-
@extend .odx-subtitle-5;
|
|
79
|
-
}
|
|
80
|
-
}
|