@odx/ui 3.3.0 → 3.4.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 +19 -0
- package/core-theme.css +158 -35
- package/package.json +1 -1
- package/scss/abstract/_typography.scss +8 -1
- package/scss/components/brand-logo.component.scss +1 -1
- package/scss/components/button.component.scss +2 -0
- package/scss/components/card.component.scss +3 -3
- package/scss/components/error-page.component.scss +3 -3
- package/scss/components/footer.component.scss +86 -0
- package/scss/components/header-navigation.component.scss +35 -0
- package/scss/components/header.component.scss +20 -10
- package/scss/components/main-menu.component.scss +4 -4
- package/scss/components/menu.component.scss +0 -1
- package/scss/components/modal.component.scss +1 -1
- package/scss/components/rail-navigation-item.component.scss +1 -3
- package/scss/core.scss +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @odx/ui
|
|
2
2
|
|
|
3
|
+
## 3.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 523fde7: Fix z-index layer position of tooltips
|
|
8
|
+
- 8348bdb: Fix text overflow for tile menu items and card titles
|
|
9
|
+
|
|
10
|
+
## 3.4.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- 40bef6d: Added header navigation component
|
|
15
|
+
- b18ae5a: Allow any content in header. The content is projected into it's own area inside the header
|
|
16
|
+
- 49f971d: Add footer component
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 17bed8a: Align main menu title with corperate guidelines
|
|
21
|
+
|
|
3
22
|
## 3.3.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/core-theme.css
CHANGED
|
@@ -2226,7 +2226,7 @@ html body .odx-fs-italic {
|
|
|
2226
2226
|
justify-content: center;
|
|
2227
2227
|
font-weight: var(--odx-typography-font-weight-medium);
|
|
2228
2228
|
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
2229
|
-
overflow:
|
|
2229
|
+
overflow-x: clip;
|
|
2230
2230
|
text-overflow: ellipsis;
|
|
2231
2231
|
white-space: nowrap;
|
|
2232
2232
|
background-color: var(--blue-700-10);
|
|
@@ -2388,6 +2388,8 @@ html body .odx-fs-italic {
|
|
|
2388
2388
|
appearance: none;
|
|
2389
2389
|
border-radius: var(--odx-v-border-radius-controls);
|
|
2390
2390
|
min-width: calc(var(--odx-vertical-rythm-base-size) * 1.5);
|
|
2391
|
+
overflow-wrap: anywhere;
|
|
2392
|
+
overflow-y: clip;
|
|
2391
2393
|
vertical-align: middle;
|
|
2392
2394
|
}
|
|
2393
2395
|
.odx-button:focus-visible {
|
|
@@ -2722,7 +2724,7 @@ html body .odx-fs-italic {
|
|
|
2722
2724
|
color: var(--odx-area-header-title-color);
|
|
2723
2725
|
}
|
|
2724
2726
|
.odx-area-header__subtitle {
|
|
2725
|
-
overflow:
|
|
2727
|
+
overflow-x: clip;
|
|
2726
2728
|
text-overflow: ellipsis;
|
|
2727
2729
|
white-space: nowrap;
|
|
2728
2730
|
color: var(--odx-area-header-subtitle-color);
|
|
@@ -3054,7 +3056,7 @@ html body .odx-fs-italic {
|
|
|
3054
3056
|
}
|
|
3055
3057
|
|
|
3056
3058
|
.odx-brand-logo {
|
|
3057
|
-
color:
|
|
3059
|
+
color: inherit;
|
|
3058
3060
|
display: inline-block;
|
|
3059
3061
|
font-weight: var(--odx-typography-font-weight-bold);
|
|
3060
3062
|
letter-spacing: var(--odx-typography-font-weight-bold-letter-spacing);
|
|
@@ -3151,11 +3153,14 @@ html body .odx-fs-italic {
|
|
|
3151
3153
|
}
|
|
3152
3154
|
}
|
|
3153
3155
|
.odx-card--launch-tile .odx-card__title, .odx-card--launch-tile-centered .odx-card__title {
|
|
3154
|
-
font-weight: var(--odx-typography-font-weight-medium);
|
|
3155
|
-
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
3156
|
-
display: block;
|
|
3157
3156
|
font-size: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
3158
3157
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1.25);
|
|
3158
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
3159
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
3160
|
+
-webkit-box-orient: block-axis;
|
|
3161
|
+
display: -webkit-box;
|
|
3162
|
+
-webkit-line-clamp: 3;
|
|
3163
|
+
overflow-y: clip;
|
|
3159
3164
|
}
|
|
3160
3165
|
@media (min-width: 480px) {
|
|
3161
3166
|
.odx-card--launch-tile .odx-card__title, .odx-card--launch-tile-centered .odx-card__title {
|
|
@@ -3554,7 +3559,7 @@ html body .odx-fs-italic {
|
|
|
3554
3559
|
user-select: none;
|
|
3555
3560
|
}
|
|
3556
3561
|
.odx-chip__content {
|
|
3557
|
-
overflow:
|
|
3562
|
+
overflow-x: clip;
|
|
3558
3563
|
text-overflow: ellipsis;
|
|
3559
3564
|
white-space: nowrap;
|
|
3560
3565
|
}
|
|
@@ -3787,10 +3792,10 @@ html body .odx-fs-italic {
|
|
|
3787
3792
|
text-align: center;
|
|
3788
3793
|
}
|
|
3789
3794
|
.odx-error-page__icon-container {
|
|
3790
|
-
margin-bottom: calc(var(--odx-vertical-rythm-base-size) *
|
|
3795
|
+
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3791
3796
|
}
|
|
3792
3797
|
.odx-error-page__actions {
|
|
3793
|
-
margin-top: calc(var(--odx-vertical-rythm-base-size) *
|
|
3798
|
+
margin-top: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3794
3799
|
display: flex;
|
|
3795
3800
|
flex-wrap: wrap;
|
|
3796
3801
|
gap: var(--odx-grid-gutter);
|
|
@@ -3798,7 +3803,7 @@ html body .odx-fs-italic {
|
|
|
3798
3803
|
width: 100%;
|
|
3799
3804
|
}
|
|
3800
3805
|
.odx-error-page__footer {
|
|
3801
|
-
padding-bottom: calc(var(--odx-vertical-rythm-base-size) *
|
|
3806
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3802
3807
|
text-align: center;
|
|
3803
3808
|
}
|
|
3804
3809
|
|
|
@@ -3836,6 +3841,87 @@ html body .odx-fs-italic {
|
|
|
3836
3841
|
transform: scaleY(-1);
|
|
3837
3842
|
}
|
|
3838
3843
|
|
|
3844
|
+
:root {
|
|
3845
|
+
--odx-footer-min-height: calc(var(--odx-vertical-rythm-base-size) * 10);
|
|
3846
|
+
--odx-footer-background-color: var(--odx-c-background-content);
|
|
3847
|
+
--odx-footer-text-color: var(--odx-c-text);
|
|
3848
|
+
--odx-footer-description-color: var(--odx-c-text-disabled);
|
|
3849
|
+
}
|
|
3850
|
+
:root .odx-footer--dark {
|
|
3851
|
+
--odx-footer-background-color: var(--odx-c-primary);
|
|
3852
|
+
--odx-footer-text-color: var(--odx-c-primary-text);
|
|
3853
|
+
--odx-footer-description-color: var(--odx-footer-text-color);
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
:root:has([odxTheme=dark]) .odx-footer--dark,
|
|
3857
|
+
:root:has(.odx-theme-dark) .odx-footer--dark {
|
|
3858
|
+
--odx-footer-background-color: var(--blue-800);
|
|
3859
|
+
--odx-footer-text-color: var(--black);
|
|
3860
|
+
--odx-footer-description-color: var(--black);
|
|
3861
|
+
}
|
|
3862
|
+
|
|
3863
|
+
.odx-footer {
|
|
3864
|
+
background-color: var(--odx-footer-background-color);
|
|
3865
|
+
box-sizing: border-box;
|
|
3866
|
+
color: var(--odx-footer-text-color);
|
|
3867
|
+
display: flex;
|
|
3868
|
+
margin-block-start: auto;
|
|
3869
|
+
min-height: var(--odx-footer-min-height);
|
|
3870
|
+
padding-top: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3871
|
+
padding-right: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3872
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3873
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3874
|
+
}
|
|
3875
|
+
.odx-footer__inner, .odx-footer__navigation {
|
|
3876
|
+
row-gap: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
3877
|
+
}
|
|
3878
|
+
.odx-footer__content {
|
|
3879
|
+
grid-area: content;
|
|
3880
|
+
}
|
|
3881
|
+
.odx-footer__inner {
|
|
3882
|
+
-moz-column-gap: var(--odx-grid-gutter);
|
|
3883
|
+
column-gap: var(--odx-grid-gutter);
|
|
3884
|
+
display: grid;
|
|
3885
|
+
grid-template-areas: "content" "navigation" "meta";
|
|
3886
|
+
grid-template-rows: 1fr repeat(2, auto);
|
|
3887
|
+
margin-inline: auto;
|
|
3888
|
+
max-width: var(--odx-v-max-page-width, 100%);
|
|
3889
|
+
width: 100%;
|
|
3890
|
+
}
|
|
3891
|
+
.odx-footer__navigation {
|
|
3892
|
+
align-items: center;
|
|
3893
|
+
-moz-column-gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3894
|
+
column-gap: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
3895
|
+
display: flex;
|
|
3896
|
+
flex-wrap: wrap;
|
|
3897
|
+
grid-area: navigation;
|
|
3898
|
+
grid-template-rows: 1fr auto;
|
|
3899
|
+
}
|
|
3900
|
+
.odx-footer__navigation > .odx-link {
|
|
3901
|
+
color: var(--odx-footer-text-color);
|
|
3902
|
+
}
|
|
3903
|
+
@media (min-width: 480px) {
|
|
3904
|
+
.odx-footer__navigation {
|
|
3905
|
+
justify-content: flex-end;
|
|
3906
|
+
text-align: right;
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
.odx-footer__description {
|
|
3910
|
+
color: var(--odx-footer-description-color);
|
|
3911
|
+
grid-area: meta;
|
|
3912
|
+
-webkit-user-select: none;
|
|
3913
|
+
-moz-user-select: none;
|
|
3914
|
+
user-select: none;
|
|
3915
|
+
outline-color: transparent;
|
|
3916
|
+
pointer-events: none;
|
|
3917
|
+
font-size: calc(var(--odx-typography-base-size) * (1*1/var(--odx-typography-negative-font-scaling-factor)));
|
|
3918
|
+
}
|
|
3919
|
+
@media (min-width: 480px) {
|
|
3920
|
+
.odx-footer__description {
|
|
3921
|
+
text-align: right;
|
|
3922
|
+
}
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3839
3925
|
:root {
|
|
3840
3926
|
--odx-form-field-hint-color: var(--gray-500);
|
|
3841
3927
|
}
|
|
@@ -3882,7 +3968,7 @@ html body .odx-fs-italic {
|
|
|
3882
3968
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
3883
3969
|
}
|
|
3884
3970
|
.odx-form-field:not(.odx-form-field--horizontal) .odx-form-field-label {
|
|
3885
|
-
overflow:
|
|
3971
|
+
overflow-x: clip;
|
|
3886
3972
|
text-overflow: ellipsis;
|
|
3887
3973
|
white-space: nowrap;
|
|
3888
3974
|
}
|
|
@@ -4112,31 +4198,43 @@ html body .odx-fs-italic {
|
|
|
4112
4198
|
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4113
4199
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
4114
4200
|
margin-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
4115
|
-
height: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
4201
|
+
min-height: calc(var(--odx-vertical-rythm-base-size) * 2);
|
|
4116
4202
|
display: flex;
|
|
4117
4203
|
align-items: center;
|
|
4118
4204
|
background-color: var(--odx-c-background-content);
|
|
4119
4205
|
}
|
|
4120
4206
|
.odx-header .odx-main-menu-button {
|
|
4121
|
-
margin-
|
|
4122
|
-
margin-
|
|
4207
|
+
margin-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4208
|
+
margin-inline-start: calc(var(--odx-vertical-rythm-base-size) * -0.3333);
|
|
4209
|
+
}
|
|
4210
|
+
.odx-header > * {
|
|
4211
|
+
margin-block: 0;
|
|
4212
|
+
min-height: auto;
|
|
4213
|
+
}
|
|
4214
|
+
.odx-header__content {
|
|
4215
|
+
margin-inline-end: auto;
|
|
4216
|
+
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4217
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4123
4218
|
}
|
|
4124
|
-
|
|
4125
|
-
|
|
4219
|
+
@media (min-width: 768px) {
|
|
4220
|
+
.odx-header__content {
|
|
4221
|
+
padding-right: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
4222
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
4223
|
+
}
|
|
4126
4224
|
}
|
|
4127
4225
|
.odx-header__title {
|
|
4128
|
-
overflow:
|
|
4226
|
+
overflow-x: clip;
|
|
4129
4227
|
text-overflow: ellipsis;
|
|
4130
4228
|
white-space: nowrap;
|
|
4131
4229
|
}
|
|
4132
4230
|
.odx-header .odx-action-group:not(:last-child) {
|
|
4133
|
-
border-
|
|
4134
|
-
margin-
|
|
4135
|
-
padding-
|
|
4231
|
+
border-inline-end: 1px solid var(--odx-c-separator);
|
|
4232
|
+
margin-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4233
|
+
padding-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4136
4234
|
}
|
|
4137
4235
|
.odx-header:has(> .odx-title, > .odx-header__title) > .odx-logo {
|
|
4138
4236
|
display: none;
|
|
4139
|
-
margin-
|
|
4237
|
+
margin-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4140
4238
|
}
|
|
4141
4239
|
@media (min-width: 768px) {
|
|
4142
4240
|
.odx-header:has(> .odx-title, > .odx-header__title) > .odx-logo {
|
|
@@ -4144,6 +4242,31 @@ html body .odx-fs-italic {
|
|
|
4144
4242
|
}
|
|
4145
4243
|
}
|
|
4146
4244
|
|
|
4245
|
+
.odx-header-navigation {
|
|
4246
|
+
background-color: var(--odx-c-background-content);
|
|
4247
|
+
border-block-start: 1px solid var(--odx-c-separator);
|
|
4248
|
+
display: block;
|
|
4249
|
+
margin-block-start: -1px;
|
|
4250
|
+
padding-right: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4251
|
+
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4252
|
+
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
4253
|
+
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
4254
|
+
}
|
|
4255
|
+
.odx-header-navigation__inner {
|
|
4256
|
+
flex-wrap: wrap;
|
|
4257
|
+
height: auto;
|
|
4258
|
+
margin: 0;
|
|
4259
|
+
}
|
|
4260
|
+
.odx-header-navigation--centered .odx-header-navigation__inner {
|
|
4261
|
+
display: flex;
|
|
4262
|
+
justify-content: center;
|
|
4263
|
+
margin-inline: auto;
|
|
4264
|
+
max-width: var(--odx-v-max-page-width);
|
|
4265
|
+
}
|
|
4266
|
+
.odx-header-navigation__inner > .odx-button {
|
|
4267
|
+
margin-block: 0;
|
|
4268
|
+
}
|
|
4269
|
+
|
|
4147
4270
|
.odx-inline-message {
|
|
4148
4271
|
--odx-c-default: var(--blue-50);
|
|
4149
4272
|
--odx-c-warning: var(--yellow-50);
|
|
@@ -4599,7 +4722,7 @@ html body .odx-fs-italic {
|
|
|
4599
4722
|
padding-left: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
4600
4723
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
|
|
4601
4724
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0834);
|
|
4602
|
-
overflow:
|
|
4725
|
+
overflow-x: clip;
|
|
4603
4726
|
text-overflow: ellipsis;
|
|
4604
4727
|
white-space: nowrap;
|
|
4605
4728
|
background-color: var(--odx-input-control-background-color);
|
|
@@ -4684,7 +4807,7 @@ html body .odx-fs-italic {
|
|
|
4684
4807
|
align-items: center;
|
|
4685
4808
|
font-weight: var(--odx-typography-font-weight-medium);
|
|
4686
4809
|
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
4687
|
-
overflow:
|
|
4810
|
+
overflow-x: clip;
|
|
4688
4811
|
text-overflow: ellipsis;
|
|
4689
4812
|
white-space: nowrap;
|
|
4690
4813
|
background-color: transparent;
|
|
@@ -4738,8 +4861,8 @@ html body .odx-fs-italic {
|
|
|
4738
4861
|
}
|
|
4739
4862
|
|
|
4740
4863
|
.odx-main-menu {
|
|
4741
|
-
--odx-area-header-title-color: var(--odx-main-menu-
|
|
4742
|
-
--odx-area-header-subtitle-color: var(--odx-
|
|
4864
|
+
--odx-area-header-title-color: var(--odx-main-menu-text-color);
|
|
4865
|
+
--odx-area-header-subtitle-color: var(--odx-main-menu-text-color);
|
|
4743
4866
|
z-index: var(--odx-v-layer-6);
|
|
4744
4867
|
}
|
|
4745
4868
|
.odx-main-menu__inner {
|
|
@@ -4754,7 +4877,7 @@ html body .odx-fs-italic {
|
|
|
4754
4877
|
position: fixed;
|
|
4755
4878
|
top: 0;
|
|
4756
4879
|
width: 100%;
|
|
4757
|
-
z-index: var(--odx-v-layer-
|
|
4880
|
+
z-index: var(--odx-v-layer-6);
|
|
4758
4881
|
}
|
|
4759
4882
|
.odx-main-menu__overlay {
|
|
4760
4883
|
-webkit-backdrop-filter: blur(var(--odx-v-backdrop-blur));
|
|
@@ -4765,7 +4888,7 @@ html body .odx-fs-italic {
|
|
|
4765
4888
|
position: fixed;
|
|
4766
4889
|
top: 0;
|
|
4767
4890
|
width: 100%;
|
|
4768
|
-
z-index: calc(var(--odx-v-layer-
|
|
4891
|
+
z-index: calc(var(--odx-v-layer-6) - 1);
|
|
4769
4892
|
}
|
|
4770
4893
|
.odx-main-menu__actions {
|
|
4771
4894
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
@@ -4881,7 +5004,6 @@ html body .odx-fs-italic {
|
|
|
4881
5004
|
height: unset;
|
|
4882
5005
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
|
|
4883
5006
|
padding: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
4884
|
-
white-space: unset;
|
|
4885
5007
|
width: calc(var(--odx-vertical-rythm-base-size) * 4.1667);
|
|
4886
5008
|
}
|
|
4887
5009
|
|
|
@@ -4900,7 +5022,7 @@ html body .odx-fs-italic {
|
|
|
4900
5022
|
position: fixed;
|
|
4901
5023
|
top: 0;
|
|
4902
5024
|
width: 100dvw;
|
|
4903
|
-
z-index: var(--odx-v-layer-
|
|
5025
|
+
z-index: var(--odx-v-layer-4);
|
|
4904
5026
|
}
|
|
4905
5027
|
@media (min-width: 480px) {
|
|
4906
5028
|
.odx-modal {
|
|
@@ -5508,7 +5630,7 @@ html body .odx-fs-italic {
|
|
|
5508
5630
|
pointer-events: none;
|
|
5509
5631
|
}
|
|
5510
5632
|
.odx-rail-navigation-item__container {
|
|
5511
|
-
overflow:
|
|
5633
|
+
overflow-x: clip;
|
|
5512
5634
|
text-overflow: ellipsis;
|
|
5513
5635
|
white-space: nowrap;
|
|
5514
5636
|
transition-delay: 0ms;
|
|
@@ -5519,14 +5641,15 @@ html body .odx-fs-italic {
|
|
|
5519
5641
|
width: 0;
|
|
5520
5642
|
}
|
|
5521
5643
|
.odx-rail-navigation--bar .odx-rail-navigation-item__container {
|
|
5522
|
-
-webkit-box-orient: vertical;
|
|
5523
|
-
display: -webkit-box;
|
|
5524
|
-
-webkit-line-clamp: 2;
|
|
5525
5644
|
margin: auto 0;
|
|
5526
5645
|
opacity: unset;
|
|
5527
5646
|
padding: 0 !important;
|
|
5528
5647
|
white-space: unset;
|
|
5529
5648
|
width: unset !important;
|
|
5649
|
+
-webkit-box-orient: block-axis;
|
|
5650
|
+
display: -webkit-box;
|
|
5651
|
+
-webkit-line-clamp: 2;
|
|
5652
|
+
overflow-y: clip;
|
|
5530
5653
|
font-size: calc(var(--odx-typography-base-size) * (1*1/var(--odx-typography-negative-font-scaling-factor)*1/var(--odx-typography-negative-font-scaling-factor)));
|
|
5531
5654
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
5532
5655
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
@@ -5652,7 +5775,7 @@ html body .odx-fs-italic {
|
|
|
5652
5775
|
.odx-select__placeholder, .odx-select__value {
|
|
5653
5776
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
5654
5777
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
5655
|
-
overflow:
|
|
5778
|
+
overflow-x: clip;
|
|
5656
5779
|
text-overflow: ellipsis;
|
|
5657
5780
|
white-space: nowrap;
|
|
5658
5781
|
flex: 1 1 auto;
|
|
@@ -6659,7 +6782,7 @@ html body .odx-fs-italic {
|
|
|
6659
6782
|
display: inline-flex;
|
|
6660
6783
|
}
|
|
6661
6784
|
.odx-wizard-step__label {
|
|
6662
|
-
overflow:
|
|
6785
|
+
overflow-x: clip;
|
|
6663
6786
|
text-overflow: ellipsis;
|
|
6664
6787
|
white-space: nowrap;
|
|
6665
6788
|
outline: var(--odx-v-outline-width) solid transparent;
|
package/package.json
CHANGED
|
@@ -22,8 +22,15 @@
|
|
|
22
22
|
letter-spacing: var(--odx-typography-font-weight-#{$value}-letter-spacing);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
@mixin line-clamp($value) {
|
|
26
|
+
-webkit-box-orient: block-axis;
|
|
27
|
+
display: -webkit-box;
|
|
28
|
+
-webkit-line-clamp: $value;
|
|
29
|
+
overflow-y: clip;
|
|
30
|
+
}
|
|
31
|
+
|
|
25
32
|
@mixin prevent-text-overflow() {
|
|
26
|
-
overflow:
|
|
33
|
+
overflow-x: clip;
|
|
27
34
|
text-overflow: ellipsis;
|
|
28
35
|
white-space: nowrap;
|
|
29
36
|
}
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
#{$root}__title {
|
|
87
|
-
@include typography.font-weight(medium);
|
|
88
|
-
|
|
89
|
-
display: block;
|
|
90
87
|
font-size: dimensions.get-size(math.div(20, 24));
|
|
91
88
|
line-height: dimensions.get-size(math.div(30, 24));
|
|
92
89
|
|
|
90
|
+
@include typography.font-weight(medium);
|
|
91
|
+
@include typography.line-clamp(3);
|
|
92
|
+
|
|
93
93
|
@include breakpoints.up(phone) {
|
|
94
94
|
@include dimensions.margin-y(math.div(9, 24));
|
|
95
95
|
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&__icon-container {
|
|
28
|
-
@include dimensions.margin(
|
|
28
|
+
@include dimensions.margin(1, bottom);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&__actions {
|
|
32
|
-
@include dimensions.margin(
|
|
32
|
+
@include dimensions.margin(1, top);
|
|
33
33
|
|
|
34
34
|
display: flex;
|
|
35
35
|
flex-wrap: wrap;
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
&__footer {
|
|
42
|
-
@include dimensions.padding(
|
|
42
|
+
@include dimensions.padding(1, bottom);
|
|
43
43
|
|
|
44
44
|
text-align: center;
|
|
45
45
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
@use '../abstract/breakpoints';
|
|
2
|
+
@use '../abstract/dimensions';
|
|
3
|
+
@use '../abstract/typography';
|
|
4
|
+
@use '../abstract/utils';
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--odx-footer-min-height: #{dimensions.get-size(10)};
|
|
8
|
+
--odx-footer-background-color: var(--odx-c-background-content);
|
|
9
|
+
--odx-footer-text-color: var(--odx-c-text);
|
|
10
|
+
--odx-footer-description-color: var(--odx-c-text-disabled);
|
|
11
|
+
|
|
12
|
+
.odx-footer--dark {
|
|
13
|
+
--odx-footer-background-color: var(--odx-c-primary);
|
|
14
|
+
--odx-footer-text-color: var(--odx-c-primary-text);
|
|
15
|
+
--odx-footer-description-color: var(--odx-footer-text-color);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@include utils.theme-selector(dark) {
|
|
20
|
+
.odx-footer--dark {
|
|
21
|
+
--odx-footer-background-color: var(--blue-800);
|
|
22
|
+
--odx-footer-text-color: var(--black);
|
|
23
|
+
--odx-footer-description-color: var(--black);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.odx-footer {
|
|
28
|
+
background-color: var(--odx-footer-background-color);
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
color: var(--odx-footer-text-color);
|
|
31
|
+
display: flex;
|
|
32
|
+
margin-block-start: auto;
|
|
33
|
+
min-height: var(--odx-footer-min-height);
|
|
34
|
+
|
|
35
|
+
@include dimensions.padding(1);
|
|
36
|
+
|
|
37
|
+
&__inner,
|
|
38
|
+
&__navigation {
|
|
39
|
+
row-gap: #{dimensions.get-size(0.25)};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__content {
|
|
43
|
+
grid-area: content;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__inner {
|
|
47
|
+
column-gap: var(--odx-grid-gutter);
|
|
48
|
+
display: grid;
|
|
49
|
+
grid-template-areas: 'content' 'navigation' 'meta';
|
|
50
|
+
grid-template-rows: 1fr repeat(2, auto);
|
|
51
|
+
margin-inline: auto;
|
|
52
|
+
max-width: var(--odx-v-max-page-width, 100%);
|
|
53
|
+
width: 100%;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__navigation {
|
|
57
|
+
align-items: center;
|
|
58
|
+
column-gap: #{dimensions.get-size(1)};
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-wrap: wrap;
|
|
61
|
+
grid-area: navigation;
|
|
62
|
+
grid-template-rows: 1fr auto;
|
|
63
|
+
|
|
64
|
+
> .odx-link {
|
|
65
|
+
color: var(--odx-footer-text-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@include breakpoints.up(phone) {
|
|
69
|
+
justify-content: flex-end;
|
|
70
|
+
text-align: right;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__description {
|
|
75
|
+
color: var(--odx-footer-description-color);
|
|
76
|
+
grid-area: meta;
|
|
77
|
+
user-select: none;
|
|
78
|
+
|
|
79
|
+
@include utils.non-interactive();
|
|
80
|
+
@include typography.font-size(-1);
|
|
81
|
+
|
|
82
|
+
@include breakpoints.up(phone) {
|
|
83
|
+
text-align: right;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../abstract/breakpoints';
|
|
3
|
+
@use '../abstract/dimensions';
|
|
4
|
+
@use '../abstract/utils';
|
|
5
|
+
@use '../abstract/typography';
|
|
6
|
+
@use '../layout/typography' as *;
|
|
7
|
+
|
|
8
|
+
.odx-header-navigation {
|
|
9
|
+
$root: &;
|
|
10
|
+
|
|
11
|
+
background-color: var(--odx-c-background-content);
|
|
12
|
+
border-block-start: 1px solid var(--odx-c-separator);
|
|
13
|
+
display: block;
|
|
14
|
+
margin-block-start: -1px;
|
|
15
|
+
|
|
16
|
+
@include dimensions.padding-x(0.5);
|
|
17
|
+
@include dimensions.padding-y(0.25);
|
|
18
|
+
|
|
19
|
+
&__inner {
|
|
20
|
+
flex-wrap: wrap;
|
|
21
|
+
height: auto;
|
|
22
|
+
margin: 0;
|
|
23
|
+
|
|
24
|
+
#{$root}--centered & {
|
|
25
|
+
display: flex;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
margin-inline: auto;
|
|
28
|
+
max-width: var(--odx-v-max-page-width);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
> .odx-button {
|
|
32
|
+
margin-block: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -8,19 +8,29 @@
|
|
|
8
8
|
.odx-header {
|
|
9
9
|
@include dimensions.padding(math.div(20, 24), 'left');
|
|
10
10
|
@include dimensions.padding(0.5, 'right');
|
|
11
|
-
@include dimensions.height(2);
|
|
11
|
+
@include dimensions.min-height(2);
|
|
12
12
|
@include utils.vertical-center-content();
|
|
13
13
|
|
|
14
14
|
background-color: var(--odx-c-background-content);
|
|
15
15
|
|
|
16
16
|
.odx-main-menu-button {
|
|
17
|
-
margin-
|
|
18
|
-
margin-
|
|
17
|
+
margin-inline-end: dimensions.get-size(0.5);
|
|
18
|
+
margin-inline-start: dimensions.get-size(-1 * math.div(1, 3));
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
>
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
> * {
|
|
22
|
+
margin-block: 0;
|
|
23
|
+
min-height: auto;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__content {
|
|
27
|
+
margin-inline-end: auto;
|
|
28
|
+
|
|
29
|
+
@include dimensions.padding-x(0.5);
|
|
30
|
+
|
|
31
|
+
@include breakpoints.up(tablet) {
|
|
32
|
+
@include dimensions.padding-x(1);
|
|
33
|
+
}
|
|
24
34
|
}
|
|
25
35
|
|
|
26
36
|
&__title {
|
|
@@ -30,14 +40,14 @@
|
|
|
30
40
|
}
|
|
31
41
|
|
|
32
42
|
.odx-action-group:not(:last-child) {
|
|
33
|
-
border-
|
|
34
|
-
margin-
|
|
35
|
-
padding-
|
|
43
|
+
border-inline-end: 1px solid var(--odx-c-separator);
|
|
44
|
+
margin-inline-end: dimensions.get-size(0.5);
|
|
45
|
+
padding-inline-end: dimensions.get-size(0.5);
|
|
36
46
|
}
|
|
37
47
|
|
|
38
48
|
&:has(> .odx-title) > .odx-logo {
|
|
39
49
|
display: none;
|
|
40
|
-
margin-
|
|
50
|
+
margin-inline-end: dimensions.get-size(0.5);
|
|
41
51
|
|
|
42
52
|
@include breakpoints.up(tablet) {
|
|
43
53
|
display: block;
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.odx-main-menu {
|
|
28
|
-
--odx-area-header-title-color: var(--odx-main-menu-
|
|
29
|
-
--odx-area-header-subtitle-color: var(--odx-
|
|
28
|
+
--odx-area-header-title-color: var(--odx-main-menu-text-color);
|
|
29
|
+
--odx-area-header-subtitle-color: var(--odx-main-menu-text-color);
|
|
30
30
|
|
|
31
31
|
z-index: var(--odx-v-layer-6);
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
position: fixed;
|
|
43
43
|
top: 0;
|
|
44
44
|
width: 100%;
|
|
45
|
-
z-index: var(--odx-v-layer-
|
|
45
|
+
z-index: var(--odx-v-layer-6);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&__overlay {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
position: fixed;
|
|
54
54
|
top: 0;
|
|
55
55
|
width: 100%;
|
|
56
|
-
z-index: calc(var(--odx-v-layer-
|
|
56
|
+
z-index: calc(var(--odx-v-layer-6) - 1);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&__actions {
|
|
@@ -47,15 +47,13 @@
|
|
|
47
47
|
width: 0;
|
|
48
48
|
|
|
49
49
|
.odx-rail-navigation--bar & {
|
|
50
|
-
-webkit-box-orient: vertical;
|
|
51
|
-
display: -webkit-box;
|
|
52
|
-
-webkit-line-clamp: 2;
|
|
53
50
|
margin: auto 0;
|
|
54
51
|
opacity: unset;
|
|
55
52
|
padding: 0 !important;
|
|
56
53
|
white-space: unset;
|
|
57
54
|
width: unset !important;
|
|
58
55
|
|
|
56
|
+
@include typography.line-clamp(2);
|
|
59
57
|
@include typography.font-size(-2);
|
|
60
58
|
@include dimensions.line-height(math.div(2, 3));
|
|
61
59
|
|
package/scss/core.scss
CHANGED
|
@@ -52,8 +52,10 @@ Layout
|
|
|
52
52
|
@use 'components/dropdown.component';
|
|
53
53
|
@use 'components/error-page.component';
|
|
54
54
|
@use 'components/expandable-list-item.component';
|
|
55
|
+
@use 'components/footer.component';
|
|
55
56
|
@use 'components/form-field.component';
|
|
56
57
|
@use 'components/header.component';
|
|
58
|
+
@use 'components/header-navigation.component';
|
|
57
59
|
@use 'components/icon.component';
|
|
58
60
|
@use 'components/inline-message.component';
|
|
59
61
|
@use 'components/link.component';
|