@odx/ui 4.7.1 → 4.9.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 +14 -0
- package/ag-grid-theme.css +1 -1
- package/core-theme.css +85 -47
- package/package.json +1 -1
- package/scss/3rdparty/ag-grid/theme.scss +1 -1
- package/scss/cdk/connected-overlay.scss +4 -0
- package/scss/components/area-header.component.scss +9 -11
- package/scss/components/brand-logo.component.scss +1 -1
- package/scss/components/breadcrumbs.component.scss +1 -1
- package/scss/components/calendar.component.scss +1 -1
- package/scss/components/error-page.component.scss +1 -1
- package/scss/components/header.component.scss +3 -3
- package/scss/components/notification-center.component.scss +1 -1
- package/scss/components/toast-item.component.scss +1 -1
- package/scss/components/wizard-step.component.scss +1 -1
- package/scss/layout/_content.scss +2 -2
- package/scss/layout/_helpers.scss +1 -1
- package/scss/layout/_typography.scss +33 -6
- package/scss/variables/_colors-dark.scss +2 -1
- package/scss/variables/_colors.scss +2 -1
- package/scss/variables/_typography.scss +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @odx/ui
|
|
2
2
|
|
|
3
|
+
## 4.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ffcffff: Tooltips are cleared properly and they are no longer misplaced when being abruptly removed by ngIf from the DOM.
|
|
8
|
+
|
|
9
|
+
## 4.8.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- da36d27: - Font weights of Display (former Headlines) are now adjusted to follow Figma guidelines
|
|
14
|
+
- It is now more clear that maximum font weight we use is the semibold of Pangea (600)
|
|
15
|
+
- Changed headlines, headings, paragraphs (plural) to display, heading, paragraph (singular)
|
|
16
|
+
|
|
3
17
|
## 4.7.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/ag-grid-theme.css
CHANGED
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
}
|
|
210
210
|
.ag-theme-odx .ag-paging-panel .ag-paging-row-summary-panel-number,
|
|
211
211
|
.ag-theme-odx .ag-paging-panel .ag-paging-number {
|
|
212
|
-
font-weight: var(--odx-typography-font-weight-
|
|
212
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
213
213
|
}
|
|
214
214
|
.ag-theme-odx .ag-checkbox-input {
|
|
215
215
|
background-color: var(--odx-control-background-color);
|
package/core-theme.css
CHANGED
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
:root {
|
|
138
|
+
--odx-c-display: var(--blue-700);
|
|
138
139
|
--odx-c-headline: var(--blue-700);
|
|
139
140
|
--odx-c-text: var(--blue-700);
|
|
140
141
|
--odx-c-text-inverse: var(--white);
|
|
@@ -215,6 +216,7 @@
|
|
|
215
216
|
|
|
216
217
|
:root:has([odxTheme=dark]),
|
|
217
218
|
:root:has(.odx-theme-dark) {
|
|
219
|
+
--odx-c-display: var(--blue-900);
|
|
218
220
|
--odx-c-headline: var(--blue-900);
|
|
219
221
|
--odx-c-text: var(--blue-900);
|
|
220
222
|
--odx-c-text-inverse: var(--black);
|
|
@@ -301,12 +303,14 @@
|
|
|
301
303
|
--odx-typography-font-family: "PangeaText", "Arial", sans-serif;
|
|
302
304
|
--odx-typography-base-size: 1.6rem;
|
|
303
305
|
--odx-typography-base-line-height: 1.5;
|
|
304
|
-
--odx-typography-font-weight-normal:
|
|
306
|
+
--odx-typography-font-weight-normal: 400;
|
|
305
307
|
--odx-typography-font-weight-normal-letter-spacing: 0;
|
|
306
308
|
--odx-typography-font-weight-medium: 500;
|
|
307
309
|
--odx-typography-font-weight-medium-letter-spacing: -0.19px;
|
|
308
|
-
--odx-typography-font-weight-
|
|
309
|
-
--odx-typography-font-weight-
|
|
310
|
+
--odx-typography-font-weight-semibold: 600;
|
|
311
|
+
--odx-typography-font-weight-semibold-letter-spacing: 0;
|
|
312
|
+
--odx-typography-font-weight-bold: var(--odx-typography-font-weight-semibold);
|
|
313
|
+
--odx-typography-font-weight-bold-letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
310
314
|
--odx-typography-positive-font-scaling-factor: 1.125;
|
|
311
315
|
--odx-typography-negative-font-scaling-factor: 1.2;
|
|
312
316
|
}
|
|
@@ -546,7 +550,7 @@ body,
|
|
|
546
550
|
@font-face {
|
|
547
551
|
font-family: PangeaText;
|
|
548
552
|
font-style: normal;
|
|
549
|
-
font-weight:
|
|
553
|
+
font-weight: 400;
|
|
550
554
|
src: url(5eabf29514e9649c8c73.woff2) format("woff2");
|
|
551
555
|
}
|
|
552
556
|
@font-face {
|
|
@@ -558,7 +562,7 @@ body,
|
|
|
558
562
|
@font-face {
|
|
559
563
|
font-family: PangeaText;
|
|
560
564
|
font-style: normal;
|
|
561
|
-
font-weight:
|
|
565
|
+
font-weight: 600;
|
|
562
566
|
src: url(eb2051d1f9da906e0b3e.woff2) format("woff2");
|
|
563
567
|
}
|
|
564
568
|
html {
|
|
@@ -576,29 +580,38 @@ html body {
|
|
|
576
580
|
font-family: var(--odx-typography-font-family);
|
|
577
581
|
}
|
|
578
582
|
|
|
579
|
-
|
|
583
|
+
/* Deprecated .odx-title. Use .odx-heading instead. Keeping the old classes for compatibility. */
|
|
584
|
+
.odx-heading, .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,
|
|
585
|
+
.odx-title,
|
|
586
|
+
.odx-subtitle,
|
|
580
587
|
[class*=odx-subtitle-],
|
|
588
|
+
[class*=odx-heading-],
|
|
581
589
|
[class*=odx-title-] {
|
|
582
|
-
font-weight: var(--odx-typography-font-weight-
|
|
583
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
584
|
-
color: var(--odx-c-
|
|
590
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
591
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
592
|
+
color: var(--odx-c-display);
|
|
585
593
|
}
|
|
586
594
|
|
|
587
|
-
|
|
595
|
+
/* Deprecated odx-subtitle. Subtitles were removed from figma. Keeping the old classes for compatibility. */
|
|
596
|
+
.odx-subtitle,
|
|
588
597
|
[class*=odx-subtitle-] {
|
|
589
598
|
font-weight: var(--odx-typography-font-weight-normal);
|
|
590
599
|
letter-spacing: var(--odx-typography-font-weight-normal-letter-spacing);
|
|
591
600
|
}
|
|
592
601
|
|
|
593
|
-
.odx-
|
|
602
|
+
.odx-heading-1, .odx-content h1,
|
|
603
|
+
.odx-title-1,
|
|
594
604
|
.odx-subtitle-1 {
|
|
595
605
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
596
606
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
597
607
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1.6667);
|
|
598
608
|
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)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
609
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
610
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
599
611
|
}
|
|
600
612
|
@media (min-width: 768px) {
|
|
601
|
-
.odx-
|
|
613
|
+
.odx-heading-1, .odx-content h1,
|
|
614
|
+
.odx-title-1,
|
|
602
615
|
.odx-subtitle-1 {
|
|
603
616
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
604
617
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
@@ -606,7 +619,14 @@ html body {
|
|
|
606
619
|
}
|
|
607
620
|
}
|
|
608
621
|
|
|
609
|
-
.odx-
|
|
622
|
+
.odx-heading-2, .odx-area-header--xlarge .odx-area-header__title, .odx-content h2,
|
|
623
|
+
.odx-title-2 {
|
|
624
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
625
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
.odx-heading-2, .odx-area-header--xlarge .odx-area-header__title, .odx-content h2,
|
|
629
|
+
.odx-title-2,
|
|
610
630
|
.odx-subtitle-2 {
|
|
611
631
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
612
632
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.25);
|
|
@@ -614,7 +634,8 @@ html body {
|
|
|
614
634
|
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)*var(--odx-typography-positive-font-scaling-factor)));
|
|
615
635
|
}
|
|
616
636
|
@media (min-width: 768px) {
|
|
617
|
-
.odx-
|
|
637
|
+
.odx-heading-2, .odx-area-header--xlarge .odx-area-header__title, .odx-content h2,
|
|
638
|
+
.odx-title-2,
|
|
618
639
|
.odx-subtitle-2 {
|
|
619
640
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
620
641
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
@@ -622,7 +643,8 @@ html body {
|
|
|
622
643
|
}
|
|
623
644
|
}
|
|
624
645
|
|
|
625
|
-
.odx-
|
|
646
|
+
.odx-heading-3, .odx-content h3,
|
|
647
|
+
.odx-title-3,
|
|
626
648
|
.odx-subtitle-3 {
|
|
627
649
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
628
650
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
@@ -630,7 +652,8 @@ html body {
|
|
|
630
652
|
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)));
|
|
631
653
|
}
|
|
632
654
|
@media (min-width: 768px) {
|
|
633
|
-
.odx-
|
|
655
|
+
.odx-heading-3, .odx-content h3,
|
|
656
|
+
.odx-title-3,
|
|
634
657
|
.odx-subtitle-3 {
|
|
635
658
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
636
659
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
@@ -638,7 +661,8 @@ html body {
|
|
|
638
661
|
}
|
|
639
662
|
}
|
|
640
663
|
|
|
641
|
-
.odx-
|
|
664
|
+
.odx-heading-4, .odx-error-page__title, .odx-area-header--large .odx-area-header__title, .odx-content h4,
|
|
665
|
+
.odx-title-4,
|
|
642
666
|
.odx-subtitle-4 {
|
|
643
667
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
644
668
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.375);
|
|
@@ -646,25 +670,25 @@ html body {
|
|
|
646
670
|
font-size: calc(var(--odx-typography-base-size) * (1*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
647
671
|
}
|
|
648
672
|
|
|
649
|
-
.odx-
|
|
650
|
-
.odx-
|
|
651
|
-
.odx-
|
|
673
|
+
.odx-heading-5, .odx-area-header--medium .odx-area-header__title, .odx-area-header--xlarge .odx-area-header__subtitle, .odx-content h5,
|
|
674
|
+
.odx-title-5,
|
|
675
|
+
.odx-subtitle-5 {
|
|
652
676
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
653
677
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
654
678
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
655
679
|
font-size: calc(var(--odx-typography-base-size) * (1*var(--odx-typography-positive-font-scaling-factor)));
|
|
656
680
|
}
|
|
657
681
|
|
|
658
|
-
.odx-
|
|
659
|
-
.odx-
|
|
660
|
-
.odx-
|
|
682
|
+
.odx-heading-6, .odx-header__title, .odx-area-header__title, .odx-content h6,
|
|
683
|
+
.odx-title-6,
|
|
684
|
+
.odx-subtitle-6 {
|
|
661
685
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
662
686
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
663
687
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
664
688
|
font-size: calc(var(--odx-typography-base-size) * 1);
|
|
665
689
|
}
|
|
666
690
|
|
|
667
|
-
.odx-text, .odx-content p {
|
|
691
|
+
.odx-text, .odx-area-header__subtitle, .odx-content p {
|
|
668
692
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
669
693
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
670
694
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
@@ -683,14 +707,22 @@ html body {
|
|
|
683
707
|
line-height: calc(var(--odx-vertical-rythm-base-size) * 0.6667);
|
|
684
708
|
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)));
|
|
685
709
|
}
|
|
710
|
+
.odx-text--emphasized {
|
|
711
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
712
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
713
|
+
}
|
|
686
714
|
|
|
715
|
+
/* .odx-headline is deprecated, use .odx-display instead */
|
|
716
|
+
.odx-display,
|
|
687
717
|
.odx-headline,
|
|
718
|
+
[class*=odx-display-],
|
|
688
719
|
[class*=odx-headline-] {
|
|
689
|
-
color: var(--odx-c-
|
|
690
|
-
font-weight: var(--odx-typography-font-weight-
|
|
691
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
720
|
+
color: var(--odx-c-display);
|
|
721
|
+
font-weight: var(--odx-typography-font-weight-medium);
|
|
722
|
+
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
692
723
|
}
|
|
693
724
|
|
|
725
|
+
.odx-display-sm,
|
|
694
726
|
.odx-headline-sm {
|
|
695
727
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
696
728
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
@@ -698,6 +730,7 @@ html body {
|
|
|
698
730
|
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)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
699
731
|
}
|
|
700
732
|
@media (min-width: 480px) {
|
|
733
|
+
.odx-display-sm,
|
|
701
734
|
.odx-headline-sm {
|
|
702
735
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
703
736
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.1667);
|
|
@@ -705,6 +738,7 @@ html body {
|
|
|
705
738
|
}
|
|
706
739
|
}
|
|
707
740
|
|
|
741
|
+
.odx-display-md,
|
|
708
742
|
.odx-headline-md {
|
|
709
743
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
710
744
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.125);
|
|
@@ -712,6 +746,7 @@ html body {
|
|
|
712
746
|
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)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
713
747
|
}
|
|
714
748
|
@media (min-width: 480px) {
|
|
749
|
+
.odx-display-md,
|
|
715
750
|
.odx-headline-md {
|
|
716
751
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
717
752
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.3334);
|
|
@@ -719,6 +754,7 @@ html body {
|
|
|
719
754
|
}
|
|
720
755
|
}
|
|
721
756
|
|
|
757
|
+
.odx-display-lg,
|
|
722
758
|
.odx-headline-lg {
|
|
723
759
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.0417);
|
|
724
760
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.0417);
|
|
@@ -726,6 +762,7 @@ html body {
|
|
|
726
762
|
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)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
727
763
|
}
|
|
728
764
|
@media (min-width: 480px) {
|
|
765
|
+
.odx-display-lg,
|
|
729
766
|
.odx-headline-lg {
|
|
730
767
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.4584);
|
|
731
768
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.4584);
|
|
@@ -733,6 +770,7 @@ html body {
|
|
|
733
770
|
}
|
|
734
771
|
}
|
|
735
772
|
|
|
773
|
+
.odx-display-xl,
|
|
736
774
|
.odx-headline-xl {
|
|
737
775
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
738
776
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0);
|
|
@@ -740,6 +778,7 @@ html body {
|
|
|
740
778
|
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)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)*var(--odx-typography-positive-font-scaling-factor)));
|
|
741
779
|
}
|
|
742
780
|
@media (min-width: 480px) {
|
|
781
|
+
.odx-display-xl,
|
|
743
782
|
.odx-headline-xl {
|
|
744
783
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 0.4584);
|
|
745
784
|
padding-bottom: calc(var(--odx-vertical-rythm-base-size) * 0.4584);
|
|
@@ -2014,8 +2053,8 @@ html body .odx-fs-medium {
|
|
|
2014
2053
|
html body b,
|
|
2015
2054
|
html body strong,
|
|
2016
2055
|
html body .odx-fs-bold {
|
|
2017
|
-
font-weight: var(--odx-typography-font-weight-
|
|
2018
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
2056
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
2057
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
2019
2058
|
}
|
|
2020
2059
|
html body em,
|
|
2021
2060
|
html body .odx-fs-italic {
|
|
@@ -2139,6 +2178,9 @@ html body .odx-fs-italic {
|
|
|
2139
2178
|
transform: translate(var(--odx-cdk-connected-overlay-position-x, 0), var(--odx-cdk-connected-overlay-position-y, 0));
|
|
2140
2179
|
transition-behavior: allow-discrete;
|
|
2141
2180
|
}
|
|
2181
|
+
.odx-cdk-connected-overlay.force-hidden {
|
|
2182
|
+
display: none;
|
|
2183
|
+
}
|
|
2142
2184
|
.odx-cdk-connected-overlay__content {
|
|
2143
2185
|
left: 0 !important;
|
|
2144
2186
|
max-height: var(--odx-cdk-connected-overlay-max-height-modified, var(--odx-cdk-connected-overlay-max-height, unset));
|
|
@@ -2744,8 +2786,8 @@ html body .odx-fs-italic {
|
|
|
2744
2786
|
}
|
|
2745
2787
|
|
|
2746
2788
|
:root {
|
|
2747
|
-
--odx-area-header-title-color: var(--odx-c-
|
|
2748
|
-
--odx-area-header-subtitle-color: var(--odx-c-
|
|
2789
|
+
--odx-area-header-title-color: var(--odx-c-display);
|
|
2790
|
+
--odx-area-header-subtitle-color: var(--odx-c-display);
|
|
2749
2791
|
}
|
|
2750
2792
|
|
|
2751
2793
|
.odx-area-header {
|
|
@@ -2843,10 +2885,6 @@ html body .odx-fs-italic {
|
|
|
2843
2885
|
padding-top: calc(var(--odx-vertical-rythm-base-size) * 1);
|
|
2844
2886
|
}
|
|
2845
2887
|
}
|
|
2846
|
-
.odx-area-header--xlarge .odx-area-header__title {
|
|
2847
|
-
font-weight: var(--odx-typography-font-weight-medium);
|
|
2848
|
-
letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
|
|
2849
|
-
}
|
|
2850
2888
|
@media (min-width: 768px) {
|
|
2851
2889
|
.odx-area-header--xlarge .odx-avatar {
|
|
2852
2890
|
margin-top: calc(var(--odx-vertical-rythm-base-size) * -0.5);
|
|
@@ -3028,8 +3066,8 @@ html body .odx-fs-italic {
|
|
|
3028
3066
|
color: var(--odx-c-link);
|
|
3029
3067
|
}
|
|
3030
3068
|
.odx-breadcrumbs .odx-link:last-child, .odx-breadcrumbs .odx-link:last-child:visited {
|
|
3031
|
-
font-weight: var(--odx-typography-font-weight-
|
|
3032
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
3069
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
3070
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
3033
3071
|
color: var(--odx-c-text);
|
|
3034
3072
|
}
|
|
3035
3073
|
|
|
@@ -3123,8 +3161,8 @@ html body .odx-fs-italic {
|
|
|
3123
3161
|
.odx-brand-logo {
|
|
3124
3162
|
color: inherit;
|
|
3125
3163
|
display: inline-block;
|
|
3126
|
-
font-weight: var(--odx-typography-font-weight-
|
|
3127
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
3164
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
3165
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
3128
3166
|
}
|
|
3129
3167
|
.odx-brand-logo::before {
|
|
3130
3168
|
color: var(--odx-c-highlight);
|
|
@@ -3429,8 +3467,8 @@ html body .odx-fs-italic {
|
|
|
3429
3467
|
margin-left: calc(var(--odx-vertical-rythm-base-size) * -0.1666);
|
|
3430
3468
|
}
|
|
3431
3469
|
.odx-calendar-month .odx-calendar__weekdays {
|
|
3432
|
-
font-weight: var(--odx-typography-font-weight-
|
|
3433
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
3470
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
3471
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
3434
3472
|
font-size: calc(var(--odx-typography-base-size) * (1*1/var(--odx-typography-negative-font-scaling-factor)));
|
|
3435
3473
|
outline-color: transparent;
|
|
3436
3474
|
pointer-events: none;
|
|
@@ -4475,12 +4513,12 @@ html body .odx-fs-italic {
|
|
|
4475
4513
|
margin-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4476
4514
|
padding-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4477
4515
|
}
|
|
4478
|
-
.odx-header:has(> .odx-
|
|
4516
|
+
.odx-header:has(> .odx-heading, > .odx-header__title) > .odx-logo {
|
|
4479
4517
|
display: none;
|
|
4480
4518
|
margin-inline-end: calc(var(--odx-vertical-rythm-base-size) * 0.5);
|
|
4481
4519
|
}
|
|
4482
4520
|
@media (min-width: 768px) {
|
|
4483
|
-
.odx-header:has(> .odx-
|
|
4521
|
+
.odx-header:has(> .odx-heading, > .odx-header__title) > .odx-logo {
|
|
4484
4522
|
display: block;
|
|
4485
4523
|
}
|
|
4486
4524
|
}
|
|
@@ -5546,8 +5584,8 @@ html body .odx-fs-italic {
|
|
|
5546
5584
|
-moz-user-select: none;
|
|
5547
5585
|
user-select: none;
|
|
5548
5586
|
font-size: calc(var(--odx-typography-base-size) * 1);
|
|
5549
|
-
font-weight: var(--odx-typography-font-weight-
|
|
5550
|
-
letter-spacing: var(--odx-typography-font-weight-
|
|
5587
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
5588
|
+
letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
5551
5589
|
}
|
|
5552
5590
|
.odx-notification-center__content {
|
|
5553
5591
|
display: grid;
|
|
@@ -6950,7 +6988,7 @@ html body .odx-fs-italic {
|
|
|
6950
6988
|
overflow: auto;
|
|
6951
6989
|
}
|
|
6952
6990
|
.odx-toast-item__title {
|
|
6953
|
-
font-weight: var(--odx-typography-font-weight-
|
|
6991
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
6954
6992
|
}
|
|
6955
6993
|
.odx-toast-item__description {
|
|
6956
6994
|
max-height: calc(var(--odx-vertical-rythm-base-size) * 5);
|
|
@@ -7391,7 +7429,7 @@ html body .odx-fs-italic {
|
|
|
7391
7429
|
}
|
|
7392
7430
|
.odx-wizard-step__icon {
|
|
7393
7431
|
font-size: calc(var(--odx-vertical-rythm-base-size) * 0.5417);
|
|
7394
|
-
font-weight: var(--odx-typography-font-weight-
|
|
7432
|
+
font-weight: var(--odx-typography-font-weight-semibold);
|
|
7395
7433
|
height: calc(var(--odx-vertical-rythm-base-size) * 0.5417);
|
|
7396
7434
|
visibility: hidden;
|
|
7397
7435
|
width: calc(var(--odx-vertical-rythm-base-size) * 0.5417);
|
package/package.json
CHANGED
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
transform: translate(var(--odx-cdk-connected-overlay-position-x, 0), var(--odx-cdk-connected-overlay-position-y, 0));
|
|
19
19
|
transition-behavior: allow-discrete;
|
|
20
20
|
|
|
21
|
+
&.force-hidden {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
21
25
|
&__content {
|
|
22
26
|
left: 0 !important;
|
|
23
27
|
max-height: var(--odx-cdk-connected-overlay-max-height-modified, var(--odx-cdk-connected-overlay-max-height, unset));
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
@use '../layout/typography' as *;
|
|
8
8
|
|
|
9
9
|
:root {
|
|
10
|
-
--odx-area-header-title-color: var(--odx-c-
|
|
11
|
-
--odx-area-header-subtitle-color: var(--odx-c-
|
|
10
|
+
--odx-area-header-title-color: var(--odx-c-display);
|
|
11
|
+
--odx-area-header-subtitle-color: var(--odx-c-display);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.odx-area-header {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
&__title {
|
|
54
|
-
@extend .odx-
|
|
55
|
-
@extend .odx-
|
|
54
|
+
@extend .odx-heading;
|
|
55
|
+
@extend .odx-heading-6;
|
|
56
56
|
|
|
57
57
|
color: var(--odx-area-header-title-color);
|
|
58
58
|
font-weight: 600;
|
|
@@ -60,8 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
&__subtitle {
|
|
62
62
|
@include typography.prevent-text-overflow();
|
|
63
|
-
@extend .odx-
|
|
64
|
-
@extend .odx-subtitle-6;
|
|
63
|
+
@extend .odx-text;
|
|
65
64
|
|
|
66
65
|
color: var(--odx-area-header-subtitle-color);
|
|
67
66
|
}
|
|
@@ -104,7 +103,7 @@
|
|
|
104
103
|
}
|
|
105
104
|
|
|
106
105
|
.odx-area-header__title {
|
|
107
|
-
@extend .odx-
|
|
106
|
+
@extend .odx-heading-5;
|
|
108
107
|
}
|
|
109
108
|
}
|
|
110
109
|
|
|
@@ -112,7 +111,7 @@
|
|
|
112
111
|
@include dimensions.padding-y(0.5);
|
|
113
112
|
|
|
114
113
|
.odx-area-header__title {
|
|
115
|
-
@extend .odx-
|
|
114
|
+
@extend .odx-heading-4;
|
|
116
115
|
|
|
117
116
|
@include breakpoints.down(tablet) {
|
|
118
117
|
@include dimensions.line-height(1);
|
|
@@ -138,12 +137,11 @@
|
|
|
138
137
|
}
|
|
139
138
|
|
|
140
139
|
.odx-area-header__title {
|
|
141
|
-
@extend .odx-
|
|
142
|
-
@include typography.font-weight(medium);
|
|
140
|
+
@extend .odx-heading-2;
|
|
143
141
|
}
|
|
144
142
|
|
|
145
143
|
.odx-area-header__subtitle {
|
|
146
|
-
@extend .odx-
|
|
144
|
+
@extend .odx-heading-5;
|
|
147
145
|
}
|
|
148
146
|
|
|
149
147
|
.odx-avatar {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&__title {
|
|
46
|
-
@extend .odx-
|
|
47
|
-
@extend .odx-
|
|
46
|
+
@extend .odx-heading;
|
|
47
|
+
@extend .odx-heading-6;
|
|
48
48
|
@include typography.prevent-text-overflow();
|
|
49
49
|
|
|
50
50
|
overflow: hidden;
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
padding-inline-end: dimensions.get-size(0.5);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
&:has(> .odx-
|
|
59
|
+
&:has(> .odx-heading) > .odx-logo {
|
|
60
60
|
display: none;
|
|
61
61
|
margin-inline-end: dimensions.get-size(0.5);
|
|
62
62
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@font-face {
|
|
7
7
|
font-family: PangeaText;
|
|
8
8
|
font-style: normal;
|
|
9
|
-
font-weight:
|
|
9
|
+
font-weight: 400;
|
|
10
10
|
src: url('../assets/fonts/PangeaText-RegularWeb.woff2') format('woff2');
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
@font-face {
|
|
21
21
|
font-family: PangeaText;
|
|
22
22
|
font-style: normal;
|
|
23
|
-
font-weight:
|
|
23
|
+
font-weight: 600;
|
|
24
24
|
src: url('../assets/fonts/PangeaText-SemiBoldWeb.woff2') format('woff2');
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -37,29 +37,41 @@ html body {
|
|
|
37
37
|
font-family: var(--odx-typography-font-family);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
/* Deprecated .odx-title. Use .odx-heading instead. Keeping the old classes for compatibility. */
|
|
41
|
+
.odx-heading,
|
|
40
42
|
.odx-title,
|
|
43
|
+
[class*='odx-heading-'],
|
|
41
44
|
[class*='odx-title-'] {
|
|
42
|
-
@include typography.font-weight(
|
|
45
|
+
@include typography.font-weight(semibold);
|
|
43
46
|
|
|
44
|
-
color: var(--odx-c-
|
|
47
|
+
color: var(--odx-c-display);
|
|
45
48
|
}
|
|
46
49
|
|
|
50
|
+
/* Deprecated odx-subtitle. Subtitles were removed from figma. Keeping the old classes for compatibility. */
|
|
47
51
|
.odx-subtitle,
|
|
48
52
|
[class*='odx-subtitle-'] {
|
|
49
53
|
@extend .odx-title;
|
|
50
54
|
@include typography.font-weight(normal);
|
|
51
55
|
}
|
|
52
56
|
|
|
57
|
+
.odx-heading-1,
|
|
53
58
|
.odx-title-1,
|
|
54
59
|
.odx-subtitle-1 {
|
|
55
60
|
@include dimensions.line-height(2, math.div(40, 24));
|
|
56
61
|
@include typography.font-size(5);
|
|
62
|
+
@include typography.font-weight(medium);
|
|
57
63
|
|
|
58
64
|
@include breakpoints.up(tablet) {
|
|
59
65
|
@include dimensions.line-height(3, math.div(64, 24));
|
|
60
66
|
}
|
|
61
67
|
}
|
|
62
68
|
|
|
69
|
+
.odx-heading-2,
|
|
70
|
+
.odx-title-2 {
|
|
71
|
+
@include typography.font-weight(medium);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.odx-heading-2,
|
|
63
75
|
.odx-title-2,
|
|
64
76
|
.odx-subtitle-2 {
|
|
65
77
|
@include dimensions.line-height(2, 1.5);
|
|
@@ -70,6 +82,7 @@ html body {
|
|
|
70
82
|
}
|
|
71
83
|
}
|
|
72
84
|
|
|
85
|
+
.odx-heading-3,
|
|
73
86
|
.odx-title-3,
|
|
74
87
|
.odx-subtitle-3 {
|
|
75
88
|
@include dimensions.line-height(2, math.div(32, 24));
|
|
@@ -80,18 +93,21 @@ html body {
|
|
|
80
93
|
}
|
|
81
94
|
}
|
|
82
95
|
|
|
96
|
+
.odx-heading-4,
|
|
83
97
|
.odx-title-4,
|
|
84
98
|
.odx-subtitle-4 {
|
|
85
99
|
@include dimensions.line-height(2, math.div(30, 24));
|
|
86
100
|
@include typography.font-size(2);
|
|
87
101
|
}
|
|
88
102
|
|
|
103
|
+
.odx-heading-5,
|
|
89
104
|
.odx-title-5,
|
|
90
105
|
.odx-subtitle-5 {
|
|
91
106
|
@include dimensions.line-height(1);
|
|
92
107
|
@include typography.font-size(1);
|
|
93
108
|
}
|
|
94
109
|
|
|
110
|
+
.odx-heading-6,
|
|
95
111
|
.odx-title-6,
|
|
96
112
|
.odx-subtitle-6 {
|
|
97
113
|
@include dimensions.line-height(1);
|
|
@@ -111,15 +127,23 @@ html body {
|
|
|
111
127
|
@include dimensions.line-height(1, math.div(16, 24));
|
|
112
128
|
@include typography.font-size(-2);
|
|
113
129
|
}
|
|
130
|
+
|
|
131
|
+
&--emphasized {
|
|
132
|
+
@include typography.font-weight(semibold);
|
|
133
|
+
}
|
|
114
134
|
}
|
|
115
135
|
|
|
136
|
+
/* .odx-headline is deprecated, use .odx-display instead */
|
|
137
|
+
.odx-display,
|
|
116
138
|
.odx-headline,
|
|
139
|
+
[class*='odx-display-'],
|
|
117
140
|
[class*='odx-headline-'] {
|
|
118
|
-
color: var(--odx-c-
|
|
141
|
+
color: var(--odx-c-display);
|
|
119
142
|
|
|
120
|
-
@include typography.font-weight(
|
|
143
|
+
@include typography.font-weight(medium);
|
|
121
144
|
}
|
|
122
145
|
|
|
146
|
+
.odx-display-sm,
|
|
123
147
|
.odx-headline-sm {
|
|
124
148
|
@include dimensions.line-height(2, math.div(40, 24));
|
|
125
149
|
@include typography.font-size(5);
|
|
@@ -129,6 +153,7 @@ html body {
|
|
|
129
153
|
}
|
|
130
154
|
}
|
|
131
155
|
|
|
156
|
+
.odx-display-md,
|
|
132
157
|
.odx-headline-md {
|
|
133
158
|
@include dimensions.line-height(2, math.div(42, 24));
|
|
134
159
|
@include typography.font-size(6);
|
|
@@ -138,6 +163,7 @@ html body {
|
|
|
138
163
|
}
|
|
139
164
|
}
|
|
140
165
|
|
|
166
|
+
.odx-display-lg,
|
|
141
167
|
.odx-headline-lg {
|
|
142
168
|
@include dimensions.line-height(2, math.div(46, 24));
|
|
143
169
|
@include typography.font-size(7);
|
|
@@ -147,6 +173,7 @@ html body {
|
|
|
147
173
|
}
|
|
148
174
|
}
|
|
149
175
|
|
|
176
|
+
.odx-display-xl,
|
|
150
177
|
.odx-headline-xl {
|
|
151
178
|
@include dimensions.line-height(2);
|
|
152
179
|
@include typography.font-size(8);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use '../abstract/utils';
|
|
2
2
|
|
|
3
3
|
@include utils.theme-selector(dark) {
|
|
4
|
-
--odx-c-
|
|
4
|
+
--odx-c-display: var(--blue-900);
|
|
5
|
+
--odx-c-headline: var(--blue-900); // deprecated. Use --odx-c-display instead
|
|
5
6
|
|
|
6
7
|
--odx-c-text: var(--blue-900);
|
|
7
8
|
--odx-c-text-inverse: var(--black);
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
--odx-typography-font-family: 'PangeaText', 'Arial', sans-serif;
|
|
5
5
|
--odx-typography-base-size: 1.6rem; // clamp(1.4rem, 0.667vw + 1rem, 1.6rem);
|
|
6
6
|
--odx-typography-base-line-height: 1.5;
|
|
7
|
-
--odx-typography-font-weight-normal:
|
|
7
|
+
--odx-typography-font-weight-normal: 400;
|
|
8
8
|
--odx-typography-font-weight-normal-letter-spacing: 0;
|
|
9
9
|
--odx-typography-font-weight-medium: 500;
|
|
10
10
|
--odx-typography-font-weight-medium-letter-spacing: -0.19px;
|
|
11
|
-
--odx-typography-font-weight-
|
|
12
|
-
--odx-typography-font-weight-
|
|
11
|
+
--odx-typography-font-weight-semibold: 600;
|
|
12
|
+
--odx-typography-font-weight-semibold-letter-spacing: 0;
|
|
13
|
+
--odx-typography-font-weight-bold: var(--odx-typography-font-weight-semibold);
|
|
14
|
+
--odx-typography-font-weight-bold-letter-spacing: var(--odx-typography-font-weight-semibold-letter-spacing);
|
|
13
15
|
--odx-typography-positive-font-scaling-factor: 1.125;
|
|
14
16
|
--odx-typography-negative-font-scaling-factor: 1.2;
|
|
15
17
|
|