@scania/tegel-lite 0.1.0-dev-test-beta.0 → 0.1.0-focus-ring-beta.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/dist/assets/fonts/traton/TratonTypeDisplay-Bold.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeDisplay-Bold.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeDisplay-Medium.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeDisplay-Medium.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Bold.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Bold.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-BoldItalic.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-BoldItalic.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Italic.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Italic.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Medium.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Medium.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-MediumItalic.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-MediumItalic.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Regular.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-Regular.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-SemiBold.woff +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-SemiBold.woff2 +0 -0
- package/dist/assets/fonts/traton/TratonTypeText-SemiBoldItalic.woff2 +0 -0
- package/dist/assets/icons/traton/placeholder.svg +3 -0
- package/dist/components.css +620 -299
- package/dist/global.css +66 -0
- package/dist/scania-variables.css +185 -136
- package/dist/tl-accordion.css +5 -3
- package/dist/tl-banner.css +2 -2
- package/dist/tl-breadcrumbs.css +55 -6
- package/dist/tl-button.css +180 -156
- package/dist/tl-card.css +24 -11
- package/dist/tl-chip.css +14 -12
- package/dist/tl-divider.css +61 -3
- package/dist/tl-dropdown.css +9 -6
- package/dist/tl-folder-tabs.css +5 -4
- package/dist/tl-footer.css +86 -34
- package/dist/tl-header.css +16 -10
- package/dist/tl-inline-tabs.css +5 -2
- package/dist/tl-link.css +109 -14
- package/dist/tl-modal.css +2 -2
- package/dist/tl-navigation-tabs.css +5 -2
- package/dist/tl-side-menu.css +10 -6
- package/dist/tl-slider.css +180 -156
- package/dist/tl-table.css +11 -7
- package/dist/tl-toast.css +2 -2
- package/dist/tl-toggle.css +2 -2
- package/dist/tl-tooltip.css +17 -15
- package/dist/traton-variables.css +35 -23
- package/package.json +1 -1
package/dist/components.css
CHANGED
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
margin-bottom: -1px;
|
|
77
77
|
border-bottom: 1px solid var(--accordion-border);
|
|
78
78
|
}
|
|
79
|
-
.tl-accordion__item:hover:not(.tl-accordion__item--expanded
|
|
80
|
-
.tl-accordion__item:hover:not(.tl-accordion__item--expanded
|
|
79
|
+
.tl-accordion__item:hover:not(.tl-accordion__item--expanded, .tl-accordion__item--disabled) .tl-accordion__header-icon-start,
|
|
80
|
+
.tl-accordion__item:hover:not(.tl-accordion__item--expanded, .tl-accordion__item--disabled) .tl-accordion__header-icon-end {
|
|
81
81
|
background-color: var(--accordion-background-hover);
|
|
82
82
|
}
|
|
83
83
|
.tl-accordion__item:active:not(.tl-accordion__item--disabled) .tl-accordion__header-icon-start,
|
|
@@ -88,8 +88,10 @@
|
|
|
88
88
|
/* Focus state */
|
|
89
89
|
}
|
|
90
90
|
.tl-accordion__item:has(.tl-accordion__header-icon-start:focus-visible), .tl-accordion__item:has(.tl-accordion__header-icon-end:focus-visible) {
|
|
91
|
-
outline: 2px solid var(--
|
|
91
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
92
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
92
93
|
outline-offset: 1px;
|
|
94
|
+
z-index: 1;
|
|
93
95
|
background-color: var(--accordion-background-focus);
|
|
94
96
|
}
|
|
95
97
|
.tl-accordion__item--disabled:hover, .tl-accordion__item--disabled:active {
|
|
@@ -403,8 +405,8 @@
|
|
|
403
405
|
width: 20px;
|
|
404
406
|
}
|
|
405
407
|
.tl-banner__close:focus-visible {
|
|
406
|
-
outline: 2px solid var(--
|
|
407
|
-
box-shadow: 0 0 0 1px var(--
|
|
408
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
409
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
408
410
|
outline-offset: 1px;
|
|
409
411
|
z-index: 1;
|
|
410
412
|
}
|
|
@@ -531,15 +533,61 @@
|
|
|
531
533
|
text-transform: var(--detail-03-text-transform);
|
|
532
534
|
}
|
|
533
535
|
|
|
536
|
+
/**
|
|
537
|
+
* Do not edit directly, this file was auto-generated.
|
|
538
|
+
*/
|
|
539
|
+
:root,
|
|
540
|
+
.tds-mode-light,
|
|
541
|
+
.scania .tds-mode-light,
|
|
542
|
+
.scania.tds-mode-light,
|
|
543
|
+
.scania .tl-mode-light,
|
|
544
|
+
.scania.tl-mode-light {
|
|
545
|
+
--component-breadcrumbs-text-link-default: var(--color-text-strong);
|
|
546
|
+
--component-breadcrumbs-text-link-hover: var(--color-text-strong);
|
|
547
|
+
--component-breadcrumbs-text-current-default: var(--color-text-soft);
|
|
548
|
+
--component-breadcrumbs-text-separator-default: var(--color-text-strong);
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.traton .tds-mode-light,
|
|
552
|
+
.traton.tds-mode-light,
|
|
553
|
+
.traton .tl-mode-light,
|
|
554
|
+
.traton.tl-mode-light {
|
|
555
|
+
--component-breadcrumbs-text-link-default: var(--color-text-strong);
|
|
556
|
+
--component-breadcrumbs-text-link-hover: var(--color-text-strong);
|
|
557
|
+
--component-breadcrumbs-text-current-default: var(--color-text-soft);
|
|
558
|
+
--component-breadcrumbs-text-separator-default: var(--color-text-strong);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.tds-mode-dark,
|
|
562
|
+
.scania .tds-mode-dark,
|
|
563
|
+
.scania.tds-mode-dark,
|
|
564
|
+
.scania .tl-mode-dark,
|
|
565
|
+
.scania.tl-mode-dark {
|
|
566
|
+
--component-breadcrumbs-text-link-default: var(--color-text-strong);
|
|
567
|
+
--component-breadcrumbs-text-link-hover: var(--color-text-strong);
|
|
568
|
+
--component-breadcrumbs-text-current-default: var(--color-text-soft);
|
|
569
|
+
--component-breadcrumbs-text-separator-default: var(--color-text-strong);
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.traton .tds-mode-dark,
|
|
573
|
+
.traton.tds-mode-dark,
|
|
574
|
+
.traton .tl-mode-dark,
|
|
575
|
+
.traton.tl-mode-dark {
|
|
576
|
+
--component-breadcrumbs-text-link-default: var(--color-text-strong);
|
|
577
|
+
--component-breadcrumbs-text-link-hover: var(--color-text-strong);
|
|
578
|
+
--component-breadcrumbs-text-current-default: var(--color-text-soft);
|
|
579
|
+
--component-breadcrumbs-text-separator-default: var(--color-text-strong);
|
|
580
|
+
}
|
|
581
|
+
|
|
534
582
|
.tl-breadcrumbs {
|
|
535
|
-
--breadcrumb-label: var(--
|
|
536
|
-
--breadcrumb-hover: var(--
|
|
537
|
-
--breadcrumb-current: var(--
|
|
538
|
-
--breadcrumb-separator-color: var(--
|
|
583
|
+
--breadcrumb-label: var(--component-breadcrumbs-text-link-default);
|
|
584
|
+
--breadcrumb-hover: var(--component-breadcrumbs-text-link-hover);
|
|
585
|
+
--breadcrumb-current: var(--component-breadcrumbs-text-current-default);
|
|
586
|
+
--breadcrumb-separator-color: var(--component-breadcrumbs-text-separator-default);
|
|
539
587
|
--breadcrumb-separator-margin: 4px;
|
|
540
588
|
--breadcrumb-separator-width: 4px;
|
|
541
589
|
--breadcrumb-separator-height: 8px;
|
|
542
|
-
--breadcrumb-focus-outline-color: var(--color-
|
|
590
|
+
--breadcrumb-focus-outline-color: var(--color-system-info-default);
|
|
543
591
|
--breadcrumb-focus-outline-width: 2px;
|
|
544
592
|
}
|
|
545
593
|
|
|
@@ -593,7 +641,10 @@
|
|
|
593
641
|
text-decoration: underline;
|
|
594
642
|
}
|
|
595
643
|
.tl-breadcrumbs a:focus-visible {
|
|
596
|
-
outline:
|
|
644
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
645
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
646
|
+
outline-offset: 1px;
|
|
647
|
+
z-index: 1;
|
|
597
648
|
}
|
|
598
649
|
.tl-breadcrumbs a[aria-current=page] {
|
|
599
650
|
pointer-events: none;
|
|
@@ -616,14 +667,14 @@
|
|
|
616
667
|
.scania.tl-mode-light {
|
|
617
668
|
--component-button-background-standard-primary-default: var(--scania-color-blue-600);
|
|
618
669
|
--component-button-background-standard-primary-hover: var(--scania-color-blue-700);
|
|
619
|
-
--component-button-background-standard-primary-active: var(--scania-color-blue-
|
|
670
|
+
--component-button-background-standard-primary-active: var(--scania-color-blue-800);
|
|
620
671
|
--component-button-background-standard-secondary-default: var(--color-background-none);
|
|
621
672
|
--component-button-background-standard-secondary-hover: var(--color-background-none);
|
|
622
673
|
--component-button-background-standard-secondary-active: var(--color-background-none);
|
|
623
674
|
--component-button-background-standard-tertiary-default: var(--color-background-none);
|
|
624
675
|
--component-button-background-standard-tertiary-hover: var(--color-background-none);
|
|
625
676
|
--component-button-background-standard-tertiary-active: var(--color-background-none);
|
|
626
|
-
--component-button-background-danger-primary-default: var(--color-
|
|
677
|
+
--component-button-background-danger-primary-default: var(--scania-color-red-400);
|
|
627
678
|
--component-button-background-danger-primary-hover: var(--scania-color-red-500);
|
|
628
679
|
--component-button-background-danger-primary-active: var(--scania-color-red-600);
|
|
629
680
|
--component-button-background-danger-secondary-default: var(--color-background-none);
|
|
@@ -645,59 +696,68 @@
|
|
|
645
696
|
--component-button-border-danger-primary-default: var(--color-border-none);
|
|
646
697
|
--component-button-border-danger-primary-hover: var(--color-border-none);
|
|
647
698
|
--component-button-border-danger-primary-active: var(--color-border-none);
|
|
648
|
-
--component-button-border-danger-secondary-default: var(--color-
|
|
699
|
+
--component-button-border-danger-secondary-default: var(--scania-color-red-400);
|
|
649
700
|
--component-button-border-danger-secondary-hover: var(--scania-color-red-500);
|
|
650
701
|
--component-button-border-danger-secondary-active: var(--scania-color-red-600);
|
|
651
702
|
--component-button-border-danger-tertiary-default: var(--color-border-none);
|
|
652
703
|
--component-button-border-danger-tertiary-hover: var(--scania-color-red-500);
|
|
653
704
|
--component-button-border-danger-tertiary-active: var(--scania-color-red-600);
|
|
654
|
-
--component-button-
|
|
705
|
+
--component-button-focus-ring-radius-default: var(--component--focus-ring-radius-extra-large);
|
|
706
|
+
--component-button-icon-standard-primary-default: var(--scania-color-base-white);
|
|
655
707
|
--component-button-icon-standard-primary-hover: var(
|
|
656
|
-
--component-button-
|
|
708
|
+
--component-button-icon-standard-primary-default
|
|
657
709
|
);
|
|
658
710
|
--component-button-icon-standard-primary-active: var(
|
|
659
|
-
--component-button-
|
|
711
|
+
--component-button-icon-standard-primary-default
|
|
712
|
+
);
|
|
713
|
+
--component-button-icon-standard-secondary-default: var(--scania-color-base-black);
|
|
714
|
+
--component-button-icon-standard-secondary-hover: var(
|
|
715
|
+
--component-button-icon-standard-secondary-default
|
|
716
|
+
);
|
|
717
|
+
--component-button-icon-standard-secondary-active: var(
|
|
718
|
+
--component-button-icon-standard-secondary-default
|
|
719
|
+
);
|
|
720
|
+
--component-button-icon-standard-tertiary-default: var(--scania-color-base-black);
|
|
721
|
+
--component-button-icon-standard-tertiary-hover: var(
|
|
722
|
+
--component-button-icon-standard-tertiary-default
|
|
660
723
|
);
|
|
661
|
-
--component-button-icon-standard-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
--component-button-icon-
|
|
665
|
-
--component-button-icon-
|
|
666
|
-
--component-button-icon-standard-tertiary-active: var(--color-text-strong);
|
|
667
|
-
--component-button-icon-danger-primary-default: var(--color-text-inverse-strong);
|
|
668
|
-
--component-button-icon-danger-primary-hover: var(--component-button-text-danger-primary-default);
|
|
724
|
+
--component-button-icon-standard-tertiary-active: var(
|
|
725
|
+
--component-button-icon-standard-tertiary-default
|
|
726
|
+
);
|
|
727
|
+
--component-button-icon-danger-primary-default: var(--scania-color-base-white);
|
|
728
|
+
--component-button-icon-danger-primary-hover: var(--component-button-icon-danger-primary-default);
|
|
669
729
|
--component-button-icon-danger-primary-active: var(
|
|
670
|
-
--component-button-
|
|
730
|
+
--component-button-icon-danger-primary-default
|
|
671
731
|
);
|
|
672
|
-
--component-button-icon-danger-secondary-default: var(--color-
|
|
732
|
+
--component-button-icon-danger-secondary-default: var(--scania-color-red-400);
|
|
673
733
|
--component-button-icon-danger-secondary-hover: var(--scania-color-red-500);
|
|
674
734
|
--component-button-icon-danger-secondary-active: var(--scania-color-red-600);
|
|
675
|
-
--component-button-icon-danger-tertiary-default: var(--color-
|
|
735
|
+
--component-button-icon-danger-tertiary-default: var(--scania-color-red-400);
|
|
676
736
|
--component-button-icon-danger-tertiary-hover: var(--scania-color-red-500);
|
|
677
737
|
--component-button-icon-danger-tertiary-active: var(--scania-color-red-600);
|
|
678
738
|
--component-button-opacity-disabled: var(--scania-opacity-25);
|
|
679
|
-
--component-button-text-standard-primary-default: var(--color-
|
|
739
|
+
--component-button-text-standard-primary-default: var(--scania-color-base-white);
|
|
680
740
|
--component-button-text-standard-primary-hover: var(
|
|
681
741
|
--component-button-text-standard-primary-default
|
|
682
742
|
);
|
|
683
743
|
--component-button-text-standard-primary-active: var(
|
|
684
744
|
--component-button-text-standard-primary-default
|
|
685
745
|
);
|
|
686
|
-
--component-button-text-standard-secondary-default: var(--color-
|
|
687
|
-
--component-button-text-standard-secondary-hover: var(--color-
|
|
688
|
-
--component-button-text-standard-secondary-active: var(--color-
|
|
689
|
-
--component-button-text-standard-tertiary-default: var(--color-
|
|
690
|
-
--component-button-text-standard-tertiary-hover: var(--color-
|
|
691
|
-
--component-button-text-standard-tertiary-active: var(--color-
|
|
692
|
-
--component-button-text-danger-primary-default: var(--color-
|
|
746
|
+
--component-button-text-standard-secondary-default: var(--scania-color-base-black);
|
|
747
|
+
--component-button-text-standard-secondary-hover: var(--scania-color-base-black);
|
|
748
|
+
--component-button-text-standard-secondary-active: var(--scania-color-base-black);
|
|
749
|
+
--component-button-text-standard-tertiary-default: var(--scania-color-base-black);
|
|
750
|
+
--component-button-text-standard-tertiary-hover: var(--scania-color-base-black);
|
|
751
|
+
--component-button-text-standard-tertiary-active: var(--scania-color-base-black);
|
|
752
|
+
--component-button-text-danger-primary-default: var(--scania-color-base-white);
|
|
693
753
|
--component-button-text-danger-primary-hover: var(--component-button-text-danger-primary-default);
|
|
694
754
|
--component-button-text-danger-primary-active: var(
|
|
695
755
|
--component-button-text-danger-primary-default
|
|
696
756
|
);
|
|
697
|
-
--component-button-text-danger-secondary-default: var(--color-
|
|
757
|
+
--component-button-text-danger-secondary-default: var(--scania-color-red-400);
|
|
698
758
|
--component-button-text-danger-secondary-hover: var(--scania-color-red-500);
|
|
699
759
|
--component-button-text-danger-secondary-active: var(--scania-color-red-600);
|
|
700
|
-
--component-button-text-danger-tertiary-default: var(--color-
|
|
760
|
+
--component-button-text-danger-tertiary-default: var(--scania-color-red-400);
|
|
701
761
|
--component-button-text-danger-tertiary-hover: var(--scania-color-red-500);
|
|
702
762
|
--component-button-text-danger-tertiary-active: var(--scania-color-red-600);
|
|
703
763
|
}
|
|
@@ -706,9 +766,9 @@
|
|
|
706
766
|
.traton.tds-mode-light,
|
|
707
767
|
.traton .tl-mode-light,
|
|
708
768
|
.traton.tl-mode-light {
|
|
709
|
-
--component-button-background-standard-primary-default:
|
|
710
|
-
--component-button-background-standard-primary-hover:
|
|
711
|
-
--component-button-background-standard-primary-active:
|
|
769
|
+
--component-button-background-standard-primary-default: var(--traton-color-blue-800);
|
|
770
|
+
--component-button-background-standard-primary-hover: var(--traton-color-blue-850);
|
|
771
|
+
--component-button-background-standard-primary-active: var(--traton-color-blue-900);
|
|
712
772
|
--component-button-background-standard-secondary-default: var(--color-background-none);
|
|
713
773
|
--component-button-background-standard-secondary-hover: var(--color-background-none);
|
|
714
774
|
--component-button-background-standard-secondary-active: var(--color-background-none);
|
|
@@ -743,23 +803,32 @@
|
|
|
743
803
|
--component-button-border-danger-tertiary-default: var(--color-border-none);
|
|
744
804
|
--component-button-border-danger-tertiary-hover: var(--traton-color-red-400);
|
|
745
805
|
--component-button-border-danger-tertiary-active: var(--traton-color-red-500);
|
|
746
|
-
--component-button-
|
|
806
|
+
--component-button-focus-ring-radius-default: var(--component--focus-ring-radius-full);
|
|
807
|
+
--component-button-icon-standard-primary-default: var(--traton-color-base-white);
|
|
747
808
|
--component-button-icon-standard-primary-hover: var(
|
|
748
809
|
--component-button-text-standard-primary-default
|
|
749
810
|
);
|
|
750
811
|
--component-button-icon-standard-primary-active: var(
|
|
751
812
|
--component-button-text-standard-primary-default
|
|
752
813
|
);
|
|
753
|
-
--component-button-icon-standard-secondary-default: var(--color-
|
|
754
|
-
--component-button-icon-standard-secondary-hover: var(
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
--component-button-icon-standard-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
--component-button-icon-
|
|
814
|
+
--component-button-icon-standard-secondary-default: var(--traton-color-base-black);
|
|
815
|
+
--component-button-icon-standard-secondary-hover: var(
|
|
816
|
+
--component-button-icon-standard-secondary-default
|
|
817
|
+
);
|
|
818
|
+
--component-button-icon-standard-secondary-active: var(
|
|
819
|
+
--component-button-icon-standard-secondary-default
|
|
820
|
+
);
|
|
821
|
+
--component-button-icon-standard-tertiary-default: var(--traton-color-base-black);
|
|
822
|
+
--component-button-icon-standard-tertiary-hover: var(
|
|
823
|
+
--component-button-icon-standard-tertiary-default
|
|
824
|
+
);
|
|
825
|
+
--component-button-icon-standard-tertiary-active: var(
|
|
826
|
+
--component-button-icon-standard-tertiary-default
|
|
827
|
+
);
|
|
828
|
+
--component-button-icon-danger-primary-default: var(--traton-color-base-white);
|
|
829
|
+
--component-button-icon-danger-primary-hover: var(--component-button-icon-danger-primary-default);
|
|
761
830
|
--component-button-icon-danger-primary-active: var(
|
|
762
|
-
--component-button-
|
|
831
|
+
--component-button-icon-danger-primary-default
|
|
763
832
|
);
|
|
764
833
|
--component-button-icon-danger-secondary-default: var(--color-system-danger-default);
|
|
765
834
|
--component-button-icon-danger-secondary-hover: var(
|
|
@@ -776,7 +845,7 @@
|
|
|
776
845
|
--component-button-text-danger-tertiary-default
|
|
777
846
|
);
|
|
778
847
|
--component-button-opacity-disabled: var(--traton-opacity-25);
|
|
779
|
-
--component-button-text-standard-primary-default:
|
|
848
|
+
--component-button-text-standard-primary-default: var(--traton-color-base-white);
|
|
780
849
|
--component-button-text-standard-primary-hover: var(
|
|
781
850
|
--component-button-text-standard-primary-default
|
|
782
851
|
);
|
|
@@ -789,7 +858,7 @@
|
|
|
789
858
|
--component-button-text-standard-tertiary-default: var(--color-text-strong);
|
|
790
859
|
--component-button-text-standard-tertiary-hover: var(--color-text-strong);
|
|
791
860
|
--component-button-text-standard-tertiary-active: var(--color-text-strong);
|
|
792
|
-
--component-button-text-danger-primary-default: var(--color-
|
|
861
|
+
--component-button-text-danger-primary-default: var(--traton-color-base-white);
|
|
793
862
|
--component-button-text-danger-primary-hover: var(--component-button-text-danger-primary-default);
|
|
794
863
|
--component-button-text-danger-primary-active: var(
|
|
795
864
|
--component-button-text-danger-primary-default
|
|
@@ -824,7 +893,7 @@
|
|
|
824
893
|
--component-button-background-standard-tertiary-default: var(--color-background-none);
|
|
825
894
|
--component-button-background-standard-tertiary-hover: var(--color-background-none);
|
|
826
895
|
--component-button-background-standard-tertiary-active: var(--color-background-none);
|
|
827
|
-
--component-button-background-danger-primary-default: var(--color-
|
|
896
|
+
--component-button-background-danger-primary-default: var(--scania-color-red-400);
|
|
828
897
|
--component-button-background-danger-primary-hover: var(--scania-color-red-500);
|
|
829
898
|
--component-button-background-danger-primary-active: var(--scania-color-red-600);
|
|
830
899
|
--component-button-background-danger-secondary-default: var(--color-background-none);
|
|
@@ -846,59 +915,68 @@
|
|
|
846
915
|
--component-button-border-danger-primary-default: var(--color-border-none);
|
|
847
916
|
--component-button-border-danger-primary-hover: var(--color-border-none);
|
|
848
917
|
--component-button-border-danger-primary-active: var(--color-border-none);
|
|
849
|
-
--component-button-border-danger-secondary-default: var(--color-
|
|
918
|
+
--component-button-border-danger-secondary-default: var(--scania-color-red-400);
|
|
850
919
|
--component-button-border-danger-secondary-hover: var(--scania-color-red-500);
|
|
851
920
|
--component-button-border-danger-secondary-active: var(--scania-color-red-600);
|
|
852
921
|
--component-button-border-danger-tertiary-default: var(--color-border-none);
|
|
853
922
|
--component-button-border-danger-tertiary-hover: var(--scania-color-red-500);
|
|
854
923
|
--component-button-border-danger-tertiary-active: var(--scania-color-red-600);
|
|
855
|
-
--component-button-
|
|
924
|
+
--component-button-focus-ring-radius-default: var(--component--focus-ring-radius-extra-large);
|
|
925
|
+
--component-button-icon-standard-primary-default: var(--scania-color-base-white);
|
|
856
926
|
--component-button-icon-standard-primary-hover: var(
|
|
857
|
-
--component-button-
|
|
927
|
+
--component-button-icon-standard-primary-default
|
|
858
928
|
);
|
|
859
929
|
--component-button-icon-standard-primary-active: var(
|
|
860
|
-
--component-button-
|
|
930
|
+
--component-button-icon-standard-primary-default
|
|
931
|
+
);
|
|
932
|
+
--component-button-icon-standard-secondary-default: var(--scania-color-base-white);
|
|
933
|
+
--component-button-icon-standard-secondary-hover: var(
|
|
934
|
+
--component-button-icon-standard-secondary-default
|
|
935
|
+
);
|
|
936
|
+
--component-button-icon-standard-secondary-active: var(
|
|
937
|
+
--component-button-icon-standard-secondary-default
|
|
861
938
|
);
|
|
862
|
-
--component-button-icon-standard-
|
|
863
|
-
--component-button-icon-standard-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
--component-button-icon-standard-tertiary-
|
|
867
|
-
|
|
868
|
-
|
|
939
|
+
--component-button-icon-standard-tertiary-default: var(--scania-color-base-white);
|
|
940
|
+
--component-button-icon-standard-tertiary-hover: var(
|
|
941
|
+
--component-button-icon-standard-tertiary-default
|
|
942
|
+
);
|
|
943
|
+
--component-button-icon-standard-tertiary-active: var(
|
|
944
|
+
--component-button-icon-standard-tertiary-default
|
|
945
|
+
);
|
|
946
|
+
--component-button-icon-danger-primary-default: var(--scania-color-base-white);
|
|
869
947
|
--component-button-icon-danger-primary-hover: var(--component-button-icon-danger-primary-default);
|
|
870
948
|
--component-button-icon-danger-primary-active: var(
|
|
871
949
|
--component-button-icon-danger-primary-default
|
|
872
950
|
);
|
|
873
|
-
--component-button-icon-danger-secondary-default: var(--color-
|
|
951
|
+
--component-button-icon-danger-secondary-default: var(--scania-color-red-400);
|
|
874
952
|
--component-button-icon-danger-secondary-hover: var(--scania-color-red-500);
|
|
875
953
|
--component-button-icon-danger-secondary-active: var(--scania-color-red-600);
|
|
876
|
-
--component-button-icon-danger-tertiary-default: var(--color-
|
|
954
|
+
--component-button-icon-danger-tertiary-default: var(--scania-color-red-400);
|
|
877
955
|
--component-button-icon-danger-tertiary-hover: var(--scania-color-red-500);
|
|
878
956
|
--component-button-icon-danger-tertiary-active: var(--scania-color-red-600);
|
|
879
957
|
--component-button-opacity-disabled: var(--scania-opacity-25);
|
|
880
|
-
--component-button-text-standard-primary-default: var(--color-
|
|
958
|
+
--component-button-text-standard-primary-default: var(--scania-color-base-white);
|
|
881
959
|
--component-button-text-standard-primary-hover: var(
|
|
882
960
|
--component-button-text-standard-primary-default
|
|
883
961
|
);
|
|
884
962
|
--component-button-text-standard-primary-active: var(
|
|
885
963
|
--component-button-text-standard-primary-default
|
|
886
964
|
);
|
|
887
|
-
--component-button-text-standard-secondary-default: var(--color-
|
|
888
|
-
--component-button-text-standard-secondary-hover: var(--color-
|
|
889
|
-
--component-button-text-standard-secondary-active: var(--color-
|
|
890
|
-
--component-button-text-standard-tertiary-default: var(--color-
|
|
891
|
-
--component-button-text-standard-tertiary-hover: var(--color-
|
|
892
|
-
--component-button-text-standard-tertiary-active: var(--color-
|
|
893
|
-
--component-button-text-danger-primary-default: var(--color-
|
|
965
|
+
--component-button-text-standard-secondary-default: var(--scania-color-base-white);
|
|
966
|
+
--component-button-text-standard-secondary-hover: var(--scania-color-base-white);
|
|
967
|
+
--component-button-text-standard-secondary-active: var(--scania-color-base-white);
|
|
968
|
+
--component-button-text-standard-tertiary-default: var(--scania-color-base-white);
|
|
969
|
+
--component-button-text-standard-tertiary-hover: var(--scania-color-base-white);
|
|
970
|
+
--component-button-text-standard-tertiary-active: var(--scania-color-base-white);
|
|
971
|
+
--component-button-text-danger-primary-default: var(--scania-color-base-white);
|
|
894
972
|
--component-button-text-danger-primary-hover: var(--component-button-text-danger-primary-default);
|
|
895
973
|
--component-button-text-danger-primary-active: var(
|
|
896
974
|
--component-button-text-danger-primary-default
|
|
897
975
|
);
|
|
898
|
-
--component-button-text-danger-secondary-default: var(--color-
|
|
976
|
+
--component-button-text-danger-secondary-default: var(--scania-color-red-400);
|
|
899
977
|
--component-button-text-danger-secondary-hover: var(--scania-color-red-500);
|
|
900
978
|
--component-button-text-danger-secondary-active: var(--scania-color-red-600);
|
|
901
|
-
--component-button-text-danger-tertiary-default: var(--color-
|
|
979
|
+
--component-button-text-danger-tertiary-default: var(--scania-color-red-400);
|
|
902
980
|
--component-button-text-danger-tertiary-hover: var(--scania-color-red-500);
|
|
903
981
|
--component-button-text-danger-tertiary-active: var(--scania-color-red-600);
|
|
904
982
|
}
|
|
@@ -907,9 +985,9 @@
|
|
|
907
985
|
.traton.tds-mode-dark,
|
|
908
986
|
.traton .tl-mode-dark,
|
|
909
987
|
.traton.tl-mode-dark {
|
|
910
|
-
--component-button-background-standard-primary-default:
|
|
911
|
-
--component-button-background-standard-primary-hover:
|
|
912
|
-
--component-button-background-standard-primary-active:
|
|
988
|
+
--component-button-background-standard-primary-default: var(--traton-color-grey-300);
|
|
989
|
+
--component-button-background-standard-primary-hover: var(--traton-color-grey-200);
|
|
990
|
+
--component-button-background-standard-primary-active: var(--traton-color-grey-400);
|
|
913
991
|
--component-button-background-standard-secondary-default: var(--color-background-none);
|
|
914
992
|
--component-button-background-standard-secondary-hover: var(--color-background-none);
|
|
915
993
|
--component-button-background-standard-secondary-active: var(--color-background-none);
|
|
@@ -944,20 +1022,29 @@
|
|
|
944
1022
|
--component-button-border-danger-tertiary-default: var(--color-border-none);
|
|
945
1023
|
--component-button-border-danger-tertiary-hover: var(--traton-color-red-400);
|
|
946
1024
|
--component-button-border-danger-tertiary-active: var(--traton-color-red-500);
|
|
947
|
-
--component-button-
|
|
1025
|
+
--component-button-focus-ring-radius-default: var(--component--focus-ring-radius-full);
|
|
1026
|
+
--component-button-icon-standard-primary-default: var(--traton-color-base-black);
|
|
948
1027
|
--component-button-icon-standard-primary-hover: var(
|
|
949
1028
|
--component-button-text-standard-primary-default
|
|
950
1029
|
);
|
|
951
1030
|
--component-button-icon-standard-primary-active: var(
|
|
952
1031
|
--component-button-text-standard-primary-default
|
|
953
1032
|
);
|
|
954
|
-
--component-button-icon-standard-secondary-default: var(--color-
|
|
955
|
-
--component-button-icon-standard-secondary-hover: var(
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
--component-button-icon-standard-
|
|
959
|
-
|
|
960
|
-
|
|
1033
|
+
--component-button-icon-standard-secondary-default: var(--traton-color-base-white);
|
|
1034
|
+
--component-button-icon-standard-secondary-hover: var(
|
|
1035
|
+
--component-button-icon-standard-secondary-default
|
|
1036
|
+
);
|
|
1037
|
+
--component-button-icon-standard-secondary-active: var(
|
|
1038
|
+
--component-button-icon-standard-secondary-default
|
|
1039
|
+
);
|
|
1040
|
+
--component-button-icon-standard-tertiary-default: var(--traton-color-base-white);
|
|
1041
|
+
--component-button-icon-standard-tertiary-hover: var(
|
|
1042
|
+
--component-button-icon-standard-tertiary-default
|
|
1043
|
+
);
|
|
1044
|
+
--component-button-icon-standard-tertiary-active: var(
|
|
1045
|
+
--component-button-icon-standard-tertiary-default
|
|
1046
|
+
);
|
|
1047
|
+
--component-button-icon-danger-primary-default: var(--traton-color-base-white);
|
|
961
1048
|
--component-button-icon-danger-primary-hover: var(--component-button-icon-danger-primary-default);
|
|
962
1049
|
--component-button-icon-danger-primary-active: var(
|
|
963
1050
|
--component-button-icon-danger-primary-default
|
|
@@ -977,7 +1064,7 @@
|
|
|
977
1064
|
--component-button-text-danger-tertiary-default
|
|
978
1065
|
);
|
|
979
1066
|
--component-button-opacity-disabled: var(--traton-opacity-25);
|
|
980
|
-
--component-button-text-standard-primary-default:
|
|
1067
|
+
--component-button-text-standard-primary-default: var(--traton-color-base-black);
|
|
981
1068
|
--component-button-text-standard-primary-hover: var(
|
|
982
1069
|
--component-button-text-standard-primary-default
|
|
983
1070
|
);
|
|
@@ -990,7 +1077,7 @@
|
|
|
990
1077
|
--component-button-text-standard-tertiary-default: var(--color-text-strong);
|
|
991
1078
|
--component-button-text-standard-tertiary-hover: var(--color-text-strong);
|
|
992
1079
|
--component-button-text-standard-tertiary-active: var(--color-text-strong);
|
|
993
|
-
--component-button-text-danger-primary-default: var(--color-
|
|
1080
|
+
--component-button-text-danger-primary-default: var(--traton-color-base-white);
|
|
994
1081
|
--component-button-text-danger-primary-hover: var(--component-button-text-danger-primary-default);
|
|
995
1082
|
--component-button-text-danger-primary-active: var(
|
|
996
1083
|
--component-button-text-danger-primary-default
|
|
@@ -1012,69 +1099,54 @@
|
|
|
1012
1099
|
}
|
|
1013
1100
|
|
|
1014
1101
|
.tl-button {
|
|
1015
|
-
--button-
|
|
1016
|
-
--button-white: var(--color-brand-neutral-white);
|
|
1017
|
-
--button-black: var(--color-brand-neutral-black);
|
|
1018
|
-
--button-radius: var(--dimension-radius-for-surface-clickable);
|
|
1102
|
+
--button-radius: calc(var(--component-button-border-radius-default) * 1px);
|
|
1019
1103
|
--button-sm-only-icon-padding: 11px;
|
|
1020
1104
|
--button-md-only-icon-padding: 13px;
|
|
1021
1105
|
--button-lg-only-icon-padding: 17px;
|
|
1022
|
-
--button-
|
|
1023
|
-
--button-primary-background
|
|
1024
|
-
--button-primary-background-
|
|
1025
|
-
--button-primary-background-
|
|
1026
|
-
--button-primary-
|
|
1027
|
-
--button-primary-color
|
|
1028
|
-
--button-primary-
|
|
1029
|
-
--button-primary-border-color
|
|
1030
|
-
--button-primary-
|
|
1031
|
-
--button-primary-color-focus: var(--component-button-primary-text);
|
|
1032
|
-
--button-primary-border-color-focus: var(--color-foreground-border-accent-focus);
|
|
1106
|
+
--button-opacity-disabled: calc(var(--component-button-opacity-disabled) / 100);
|
|
1107
|
+
--button-primary-background: var(--component-button-background-standard-primary-default);
|
|
1108
|
+
--button-primary-background-hover: var(--component-button-background-standard-primary-hover);
|
|
1109
|
+
--button-primary-background-active: var(--component-button-background-standard-primary-active);
|
|
1110
|
+
--button-primary-background-focus: var(--component-button-background-standard-primary-default);
|
|
1111
|
+
--button-primary-color: var(--component-button-text-standard-primary-default);
|
|
1112
|
+
--button-primary-color-focus: var(--component-button-text-standard-primary-hover);
|
|
1113
|
+
--button-primary-border-color: var(--component-button-border-standard-primary-default);
|
|
1114
|
+
--button-primary-border-color-focus: var(--component-button-border-standard-primary-hover);
|
|
1033
1115
|
--button-primary-outline-color-focus: var(--color-foreground-border-accent-focus);
|
|
1034
|
-
--button-
|
|
1035
|
-
--button-secondary-
|
|
1036
|
-
--button-secondary-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
--button-secondary-
|
|
1040
|
-
--button-secondary-color-
|
|
1041
|
-
--button-secondary-border-color
|
|
1042
|
-
--button-secondary-
|
|
1043
|
-
--button-secondary-color-
|
|
1044
|
-
--button-secondary-border-color-focus: var(--
|
|
1116
|
+
--button-primary-icon-color: var(--component-button-icon-standard-primary-default);
|
|
1117
|
+
--button-secondary-background: var(--component-button-background-standard-secondary-default);
|
|
1118
|
+
--button-secondary-background-focus: var(
|
|
1119
|
+
--component-button-background-standard-secondary-default
|
|
1120
|
+
);
|
|
1121
|
+
--button-secondary-color: var(--component-button-text-standard-secondary-default);
|
|
1122
|
+
--button-secondary-color-focus: var(--component-button-text-standard-secondary-hover);
|
|
1123
|
+
--button-secondary-border-color: var(--component-button-border-standard-secondary-default);
|
|
1124
|
+
--button-secondary-border-color-hover: var(--component-button-border-standard-secondary-hover);
|
|
1125
|
+
--button-secondary-border-color-active: var(--component-button-border-standard-secondary-active);
|
|
1126
|
+
--button-secondary-border-color-focus: var(--component-button-border-standard-secondary-hover);
|
|
1045
1127
|
--button-secondary-outline-color-focus: var(--color-foreground-border-accent-focus);
|
|
1046
|
-
--button-
|
|
1047
|
-
--button-ghost-
|
|
1048
|
-
--button-ghost-
|
|
1049
|
-
--button-ghost-
|
|
1050
|
-
--button-ghost-
|
|
1051
|
-
--button-ghost-color
|
|
1052
|
-
--button-ghost-border-color-
|
|
1053
|
-
--button-ghost-
|
|
1054
|
-
--button-ghost-color-focus: var(--
|
|
1055
|
-
--button-ghost-border-color-focus: var(--color-foreground-border-accent-focus);
|
|
1128
|
+
--button-secondary-icon-color: var(--component-button-icon-standard-secondary-default);
|
|
1129
|
+
--button-ghost-background: var(--component-button-background-standard-tertiary-default);
|
|
1130
|
+
--button-ghost-background-focus: var(--component-button-background-standard-tertiary-default);
|
|
1131
|
+
--button-ghost-color: var(--component-button-text-standard-tertiary-default);
|
|
1132
|
+
--button-ghost-color-focus: var(--component-button-text-standard-tertiary-hover);
|
|
1133
|
+
--button-ghost-border-color: var(--component-button-border-standard-tertiary-default);
|
|
1134
|
+
--button-ghost-border-color-hover: var(--component-button-border-standard-tertiary-hover);
|
|
1135
|
+
--button-ghost-border-color-active: var(--component-button-border-standard-tertiary-active);
|
|
1136
|
+
--button-ghost-border-color-focus: var(--component-button-border-standard-tertiary-hover);
|
|
1056
1137
|
--button-ghost-outline-color-focus: var(--color-foreground-border-accent-focus);
|
|
1057
|
-
--button-
|
|
1058
|
-
--button-danger-
|
|
1059
|
-
--button-danger-
|
|
1060
|
-
--button-danger-background-
|
|
1061
|
-
--button-danger-background-
|
|
1062
|
-
--button-danger-
|
|
1063
|
-
--button-danger-color-
|
|
1064
|
-
--button-danger-border-color
|
|
1065
|
-
--button-danger-border-color-active: var(--
|
|
1066
|
-
--button-danger-
|
|
1067
|
-
--button-danger-color-focus: var(--button-white);
|
|
1068
|
-
--button-danger-border-color-focus: var(--button-transparent);
|
|
1138
|
+
--button-ghost-icon-color: var(--component-button-icon-standard-tertiary-default);
|
|
1139
|
+
--button-danger-background: var(--component-button-background-danger-primary-default);
|
|
1140
|
+
--button-danger-background-hover: var(--component-button-background-danger-primary-hover);
|
|
1141
|
+
--button-danger-background-active: var(--component-button-background-danger-primary-active);
|
|
1142
|
+
--button-danger-background-focus: var(--component-button-background-danger-primary-default);
|
|
1143
|
+
--button-danger-color: var(--component-button-text-danger-primary-default);
|
|
1144
|
+
--button-danger-color-focus: var(--component-button-text-danger-primary-hover);
|
|
1145
|
+
--button-danger-border-color: var(--component-button-border-danger-primary-default);
|
|
1146
|
+
--button-danger-border-color-active: var(--component-button-border-danger-primary-active);
|
|
1147
|
+
--button-danger-border-color-focus: var(--component-button-border-danger-primary-hover);
|
|
1069
1148
|
--button-danger-outline-color-focus: var(--color-foreground-border-accent-focus);
|
|
1070
|
-
|
|
1071
|
-
.tl-button .tl-button--primary {
|
|
1072
|
-
--button-primary-background-disabled: var(--color-background-accent-primary-disabled);
|
|
1073
|
-
--button-danger-background-disabled: var(--color-background-accent-danger-disabled);
|
|
1074
|
-
}
|
|
1075
|
-
.tl-button .tl-button--secondary {
|
|
1076
|
-
--button-primary-background-disabled: var(--button-white);
|
|
1077
|
-
--button-danger-background-disabled: var(--button-white);
|
|
1149
|
+
--button-danger-icon-color: var(--component-button-icon-danger-primary-default);
|
|
1078
1150
|
}
|
|
1079
1151
|
|
|
1080
1152
|
.scania .tl-button {
|
|
@@ -1111,8 +1183,10 @@
|
|
|
1111
1183
|
cursor: pointer;
|
|
1112
1184
|
}
|
|
1113
1185
|
.tl-button:focus-visible {
|
|
1114
|
-
outline:
|
|
1115
|
-
|
|
1186
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
1187
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
1188
|
+
outline-offset: 1px;
|
|
1189
|
+
z-index: 1;
|
|
1116
1190
|
}
|
|
1117
1191
|
.tl-button {
|
|
1118
1192
|
/* Variants */
|
|
@@ -1122,25 +1196,24 @@
|
|
|
1122
1196
|
color: var(--button-primary-color);
|
|
1123
1197
|
border-color: var(--button-primary-border-color);
|
|
1124
1198
|
}
|
|
1199
|
+
.tl-button--primary .tl-icon {
|
|
1200
|
+
color: var(--button-primary-icon-color);
|
|
1201
|
+
}
|
|
1125
1202
|
.tl-button--primary:hover:not(:disabled) {
|
|
1126
1203
|
background-color: var(--button-primary-background-hover);
|
|
1127
1204
|
}
|
|
1128
1205
|
.tl-button--primary:disabled {
|
|
1129
|
-
background-color: var(--button-primary-background-disabled);
|
|
1130
|
-
color: var(--button-primary-color-disabled);
|
|
1131
|
-
border-color: var(--button-primary-border-color-disabled);
|
|
1132
1206
|
cursor: not-allowed;
|
|
1133
|
-
opacity:
|
|
1207
|
+
opacity: var(--button-opacity-disabled);
|
|
1134
1208
|
}
|
|
1135
1209
|
.tl-button--primary:focus-visible:not(:disabled) {
|
|
1136
1210
|
background: var(--button-primary-background-focus);
|
|
1137
1211
|
border-color: var(--button-primary-border-color-focus);
|
|
1138
1212
|
color: var(--button-primary-color-focus);
|
|
1139
|
-
outline-color: var(--button-primary-outline-color-focus);
|
|
1140
1213
|
}
|
|
1141
1214
|
.tl-button--primary:active:not(:disabled):focus-visible {
|
|
1142
1215
|
outline: none;
|
|
1143
|
-
|
|
1216
|
+
box-shadow: none;
|
|
1144
1217
|
}
|
|
1145
1218
|
.tl-button--primary:active:not(:disabled) {
|
|
1146
1219
|
background-color: var(--button-primary-background-active);
|
|
@@ -1151,24 +1224,24 @@
|
|
|
1151
1224
|
color: var(--button-secondary-color);
|
|
1152
1225
|
border-color: var(--button-secondary-border-color);
|
|
1153
1226
|
}
|
|
1227
|
+
.tl-button--secondary .tl-icon {
|
|
1228
|
+
color: var(--button-secondary-icon-color);
|
|
1229
|
+
}
|
|
1154
1230
|
.tl-button--secondary:hover:not(:disabled) {
|
|
1155
1231
|
border-color: var(--button-secondary-border-color-hover);
|
|
1156
1232
|
}
|
|
1157
1233
|
.tl-button--secondary:disabled {
|
|
1158
|
-
background-color: var(--button-secondary-background-disabled);
|
|
1159
|
-
color: var(--button-secondary-color-disabled);
|
|
1160
|
-
border-color: var(--button-secondary-border-color-disabled);
|
|
1161
1234
|
cursor: not-allowed;
|
|
1162
|
-
opacity:
|
|
1235
|
+
opacity: var(--button-opacity-disabled);
|
|
1163
1236
|
}
|
|
1164
1237
|
.tl-button--secondary:focus-visible:not(:disabled) {
|
|
1165
1238
|
background: var(--button-secondary-background-focus);
|
|
1166
1239
|
border-color: var(--button-secondary-border-color-focus);
|
|
1167
1240
|
color: var(--button-secondary-color-focus);
|
|
1168
|
-
outline-color: var(--button-secondary-outline-color-focus);
|
|
1169
1241
|
}
|
|
1170
1242
|
.tl-button--secondary:active:not(:disabled):focus-visible {
|
|
1171
1243
|
outline: none;
|
|
1244
|
+
box-shadow: none;
|
|
1172
1245
|
}
|
|
1173
1246
|
.tl-button--secondary:active:not(:disabled) {
|
|
1174
1247
|
border-color: var(--button-secondary-border-color-active);
|
|
@@ -1178,22 +1251,24 @@
|
|
|
1178
1251
|
color: var(--button-ghost-color);
|
|
1179
1252
|
border-color: var(--button-ghost-border-color);
|
|
1180
1253
|
}
|
|
1254
|
+
.tl-button--ghost .tl-icon {
|
|
1255
|
+
color: var(--button-ghost-icon-color);
|
|
1256
|
+
}
|
|
1181
1257
|
.tl-button--ghost:hover:not(:disabled) {
|
|
1182
1258
|
border-color: var(--button-ghost-border-color-hover);
|
|
1183
1259
|
}
|
|
1184
1260
|
.tl-button--ghost:disabled {
|
|
1185
|
-
color: var(--button-ghost-color-disabled);
|
|
1186
1261
|
cursor: not-allowed;
|
|
1187
|
-
opacity:
|
|
1262
|
+
opacity: var(--button-opacity-disabled);
|
|
1188
1263
|
}
|
|
1189
1264
|
.tl-button--ghost:focus-visible:not(:disabled) {
|
|
1190
1265
|
background: var(--button-ghost-background-focus);
|
|
1191
1266
|
border-color: var(--button-ghost-border-color-focus);
|
|
1192
1267
|
color: var(--button-ghost-color-focus);
|
|
1193
|
-
outline-color: var(--button-ghost-outline-color-focus);
|
|
1194
1268
|
}
|
|
1195
1269
|
.tl-button--ghost:active:not(:disabled):focus-visible {
|
|
1196
1270
|
outline: none;
|
|
1271
|
+
box-shadow: none;
|
|
1197
1272
|
}
|
|
1198
1273
|
.tl-button--ghost:active:not(:disabled) {
|
|
1199
1274
|
border-color: var(--button-ghost-border-color-active);
|
|
@@ -1203,24 +1278,24 @@
|
|
|
1203
1278
|
color: var(--button-danger-color);
|
|
1204
1279
|
border-color: var(--button-danger-border-color);
|
|
1205
1280
|
}
|
|
1281
|
+
.tl-button--danger .tl-icon {
|
|
1282
|
+
color: var(--button-danger-icon-color);
|
|
1283
|
+
}
|
|
1206
1284
|
.tl-button--danger:hover:not(:disabled) {
|
|
1207
1285
|
background-color: var(--button-danger-background-hover);
|
|
1208
1286
|
}
|
|
1209
1287
|
.tl-button--danger:disabled {
|
|
1210
|
-
background-color: var(--button-danger-background-disabled);
|
|
1211
|
-
color: var(--button-danger-color-disabled);
|
|
1212
|
-
border-color: var(--button-danger-border-color-disabled);
|
|
1213
1288
|
cursor: not-allowed;
|
|
1214
|
-
opacity:
|
|
1289
|
+
opacity: var(--button-opacity-disabled);
|
|
1215
1290
|
}
|
|
1216
1291
|
.tl-button--danger:focus-visible:not(:disabled) {
|
|
1217
1292
|
background: var(--button-danger-background-focus);
|
|
1218
1293
|
border-color: var(--button-danger-border-color-focus);
|
|
1219
1294
|
color: var(--button-danger-color-focus);
|
|
1220
|
-
outline-color: var(--button-danger-outline-color-focus);
|
|
1221
1295
|
}
|
|
1222
1296
|
.tl-button--danger:active:not(:disabled):focus-visible {
|
|
1223
1297
|
outline: none;
|
|
1298
|
+
box-shadow: none;
|
|
1224
1299
|
}
|
|
1225
1300
|
.tl-button--danger:active:not(:disabled) {
|
|
1226
1301
|
background-color: var(--button-danger-background-active);
|
|
@@ -1303,20 +1378,26 @@
|
|
|
1303
1378
|
.scania.tds-mode-light,
|
|
1304
1379
|
.scania .tl-mode-light,
|
|
1305
1380
|
.scania.tl-mode-light {
|
|
1306
|
-
--component-card-background-primary:
|
|
1307
|
-
--component-card-background-secondary:
|
|
1381
|
+
--component-card-background-primary-default: var(--scania-color-base-white);
|
|
1382
|
+
--component-card-background-secondary-default: var(--scania-color-base-white);
|
|
1308
1383
|
--component-card-border-radius-default: var(--scania-unit-4);
|
|
1309
1384
|
--component-card-space-padding-default: var(--scania-unit-16);
|
|
1385
|
+
--component-card-text-title-default: var(--color-text-strong);
|
|
1386
|
+
--component-card-text-subtitle-default: var(--color-text-soft);
|
|
1387
|
+
--component-card-text-body-default: var(--color-text-defined);
|
|
1310
1388
|
}
|
|
1311
1389
|
|
|
1312
1390
|
.traton .tds-mode-light,
|
|
1313
1391
|
.traton.tds-mode-light,
|
|
1314
1392
|
.traton .tl-mode-light,
|
|
1315
1393
|
.traton.tl-mode-light {
|
|
1316
|
-
--component-card-background-primary: var(--traton-color-transparent-invisible-light);
|
|
1317
|
-
--component-card-background-secondary: var(--traton-color-transparent-invisible-light);
|
|
1394
|
+
--component-card-background-primary-default: var(--traton-color-transparent-invisible-light);
|
|
1395
|
+
--component-card-background-secondary-default: var(--traton-color-transparent-invisible-light);
|
|
1318
1396
|
--component-card-border-radius-default: var(--traton-unit-0);
|
|
1319
1397
|
--component-card-space-padding-default: var(--traton-unit-0);
|
|
1398
|
+
--component-card-text-title-default: var(--color-text-strong);
|
|
1399
|
+
--component-card-text-subtitle-default: var(--color-text-soft);
|
|
1400
|
+
--component-card-text-body-default: var(--color-text-defined);
|
|
1320
1401
|
}
|
|
1321
1402
|
|
|
1322
1403
|
.tds-mode-dark,
|
|
@@ -1324,20 +1405,26 @@
|
|
|
1324
1405
|
.scania.tds-mode-dark,
|
|
1325
1406
|
.scania .tl-mode-dark,
|
|
1326
1407
|
.scania.tl-mode-dark {
|
|
1327
|
-
--component-card-background-primary: var(--color-background-layer-01);
|
|
1328
|
-
--component-card-background-secondary: var(--color-background-layer-02);
|
|
1408
|
+
--component-card-background-primary-default: var(--color-background-layer-01);
|
|
1409
|
+
--component-card-background-secondary-default: var(--color-background-layer-02);
|
|
1329
1410
|
--component-card-border-radius-default: var(--scania-unit-4);
|
|
1330
1411
|
--component-card-space-padding-default: var(--scania-unit-16);
|
|
1412
|
+
--component-card-text-title-default: var(--color-text-strong);
|
|
1413
|
+
--component-card-text-subtitle-default: var(--color-text-soft);
|
|
1414
|
+
--component-card-text-body-default: var(--color-text-defined);
|
|
1331
1415
|
}
|
|
1332
1416
|
|
|
1333
1417
|
.traton .tds-mode-dark,
|
|
1334
1418
|
.traton.tds-mode-dark,
|
|
1335
1419
|
.traton .tl-mode-dark,
|
|
1336
1420
|
.traton.tl-mode-dark {
|
|
1337
|
-
--component-card-background-primary: var(--traton-color-transparent-invisible-dark);
|
|
1338
|
-
--component-card-background-secondary: var(--traton-color-transparent-invisible-dark);
|
|
1421
|
+
--component-card-background-primary-default: var(--traton-color-transparent-invisible-dark);
|
|
1422
|
+
--component-card-background-secondary-default: var(--traton-color-transparent-invisible-dark);
|
|
1339
1423
|
--component-card-border-radius-default: var(--traton-unit-0);
|
|
1340
1424
|
--component-card-space-padding-default: var(--traton-unit-0);
|
|
1425
|
+
--component-card-text-title-default: var(--color-text-strong);
|
|
1426
|
+
--component-card-text-subtitle-default: var(--color-text-soft);
|
|
1427
|
+
--component-card-text-body-default: var(--color-text-defined);
|
|
1341
1428
|
}
|
|
1342
1429
|
|
|
1343
1430
|
.tl-card {
|
|
@@ -1448,9 +1535,10 @@
|
|
|
1448
1535
|
padding: 0;
|
|
1449
1536
|
}
|
|
1450
1537
|
.tl-card--clickable:focus-visible {
|
|
1451
|
-
outline:
|
|
1452
|
-
box-shadow: 0 0 0 1px var(--
|
|
1538
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
1539
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
1453
1540
|
outline-offset: 1px;
|
|
1541
|
+
z-index: 1;
|
|
1454
1542
|
}
|
|
1455
1543
|
.tl-card--clickable:active {
|
|
1456
1544
|
box-shadow: var(--card-box-pressed);
|
|
@@ -1516,7 +1604,7 @@
|
|
|
1516
1604
|
|
|
1517
1605
|
.tl-card__body {
|
|
1518
1606
|
display: block;
|
|
1519
|
-
|
|
1607
|
+
overflow-wrap: break-word;
|
|
1520
1608
|
}
|
|
1521
1609
|
.tl-card--stretch .tl-card__body {
|
|
1522
1610
|
display: flex;
|
|
@@ -1766,21 +1854,21 @@
|
|
|
1766
1854
|
}
|
|
1767
1855
|
|
|
1768
1856
|
.tl-chip {
|
|
1769
|
-
--chip-text: var(--component-chip-text-default);
|
|
1857
|
+
--chip-text: var(--component-chip-text-standard-default);
|
|
1770
1858
|
--chip-text-active: var(--component-chip-text-selected-default);
|
|
1771
|
-
--chip-background: var(--component-chip-background-default);
|
|
1772
|
-
--chip-background-hover: var(--component-chip-background-hover);
|
|
1773
|
-
--chip-background-focus: var(--component-chip-background-hover);
|
|
1859
|
+
--chip-background: var(--component-chip-background-standard-default);
|
|
1860
|
+
--chip-background-hover: var(--component-chip-background-standard-hover);
|
|
1861
|
+
--chip-background-focus: var(--component-chip-background-standard-hover);
|
|
1774
1862
|
--chip-background-active: var(--component-chip-background-selected-default);
|
|
1775
1863
|
--chip-background-active-hover: var(--component-chip-background-selected-hover);
|
|
1776
1864
|
--chip-focused-on-selected: var(--component-chip-background-selected-default);
|
|
1777
|
-
--chip-border: var(--component-chip-border-default);
|
|
1778
|
-
--chip-border-hover: var(--component-chip-border-hover);
|
|
1865
|
+
--chip-border: var(--component-chip-border-standard-default);
|
|
1866
|
+
--chip-border-hover: var(--component-chip-border-standard-hover);
|
|
1779
1867
|
--chip-border-selected: var(--component-chip-border-selected-default);
|
|
1780
1868
|
--chip-border-selected-hover: var(--component-chip-border-selected-hover);
|
|
1781
1869
|
--chip-border-radius: calc(var(--component-chip-border-radius-default) * 1px);
|
|
1782
|
-
--chip-opacity-disabled: var(--component-chip-opacity-disabled);
|
|
1783
|
-
--chip-icon-fill: var(--component-chip-text-default);
|
|
1870
|
+
--chip-opacity-disabled: calc(var(--component-chip-opacity-disabled) / 100);
|
|
1871
|
+
--chip-icon-fill: var(--component-chip-text-standard-default);
|
|
1784
1872
|
--chip-icon-fill-active: var(--component-chip-text-selected-default);
|
|
1785
1873
|
}
|
|
1786
1874
|
|
|
@@ -1810,9 +1898,10 @@
|
|
|
1810
1898
|
border-color: var(--chip-border-hover);
|
|
1811
1899
|
}
|
|
1812
1900
|
.tl-chip:focus-visible {
|
|
1813
|
-
outline:
|
|
1814
|
-
box-shadow: 0 0 0 1px var(--
|
|
1901
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
1902
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
1815
1903
|
outline-offset: 1px;
|
|
1904
|
+
z-index: 1;
|
|
1816
1905
|
background-color: var(--chip-background-focus);
|
|
1817
1906
|
}
|
|
1818
1907
|
.tl-chip--sm {
|
|
@@ -1835,9 +1924,10 @@
|
|
|
1835
1924
|
border-color: var(--chip-border-selected-hover);
|
|
1836
1925
|
}
|
|
1837
1926
|
.tl-chip--selected:focus-visible {
|
|
1838
|
-
outline:
|
|
1839
|
-
box-shadow: 0 0 0 1px var(--
|
|
1927
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
1928
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
1840
1929
|
outline-offset: 1px;
|
|
1930
|
+
z-index: 1;
|
|
1841
1931
|
background-color: var(--chip-focused-on-selected);
|
|
1842
1932
|
}
|
|
1843
1933
|
.tl-chip:disabled {
|
|
@@ -2280,10 +2370,68 @@
|
|
|
2280
2370
|
color: var(--color-foreground-text-disabled);
|
|
2281
2371
|
}
|
|
2282
2372
|
|
|
2373
|
+
/**
|
|
2374
|
+
* Do not edit directly, this file was auto-generated.
|
|
2375
|
+
*/
|
|
2376
|
+
:root,
|
|
2377
|
+
.tds-mode-light,
|
|
2378
|
+
.scania .tds-mode-light,
|
|
2379
|
+
.scania.tds-mode-light,
|
|
2380
|
+
.scania .tl-mode-light,
|
|
2381
|
+
.scania.tl-mode-light {
|
|
2382
|
+
--component-divider-border-discrete-default: var(--scania-color-grey-200);
|
|
2383
|
+
--component-divider-border-subtle-default: var(--scania-color-grey-350);
|
|
2384
|
+
--component-divider-border-soft-default: var(--scania-color-grey-500);
|
|
2385
|
+
--component-divider-border-defined-default: var(--scania-color-grey-650);
|
|
2386
|
+
--component-divider-border-strong-default: var(--color-border-strong);
|
|
2387
|
+
--component-divider-border-expressive-default: var(--scania-color-blue-700);
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
.traton .tds-mode-light,
|
|
2391
|
+
.traton.tds-mode-light,
|
|
2392
|
+
.traton .tl-mode-light,
|
|
2393
|
+
.traton.tl-mode-light {
|
|
2394
|
+
--component-divider-border-discrete-default: var(--color-border-discrete);
|
|
2395
|
+
--component-divider-border-subtle-default: var(--color-border-subtle);
|
|
2396
|
+
--component-divider-border-soft-default: var(--color-border-soft);
|
|
2397
|
+
--component-divider-border-defined-default: var(--color-border-defined);
|
|
2398
|
+
--component-divider-border-strong-default: var(--color-border-strong);
|
|
2399
|
+
--component-divider-border-expressive-default: var(--component-divider-border-strong-default);
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
.tds-mode-dark,
|
|
2403
|
+
.scania .tds-mode-dark,
|
|
2404
|
+
.scania.tds-mode-dark,
|
|
2405
|
+
.scania .tl-mode-dark,
|
|
2406
|
+
.scania.tl-mode-dark {
|
|
2407
|
+
--component-divider-border-discrete-default: var(--color-border-discrete);
|
|
2408
|
+
--component-divider-border-subtle-default: var(--color-border-subtle);
|
|
2409
|
+
--component-divider-border-soft-default: var(--color-border-soft);
|
|
2410
|
+
--component-divider-border-defined-default: var(--color-border-defined);
|
|
2411
|
+
--component-divider-border-strong-default: var(--color-border-strong);
|
|
2412
|
+
--component-divider-border-expressive-default: var(--scania-color-blue-800);
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
.traton .tds-mode-dark,
|
|
2416
|
+
.traton.tds-mode-dark,
|
|
2417
|
+
.traton .tl-mode-dark,
|
|
2418
|
+
.traton.tl-mode-dark {
|
|
2419
|
+
--component-divider-border-discrete-default: var(--color-border-discrete);
|
|
2420
|
+
--component-divider-border-subtle-default: var(--color-border-subtle);
|
|
2421
|
+
--component-divider-border-soft-default: var(--color-border-soft);
|
|
2422
|
+
--component-divider-border-defined-default: var(--color-border-defined);
|
|
2423
|
+
--component-divider-border-strong-default: var(--color-border-strong);
|
|
2424
|
+
--component-divider-border-expressive-default: var(--component-divider-border-strong-default);
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2283
2427
|
.tl-divider {
|
|
2284
|
-
--divider-background: var(--
|
|
2285
|
-
--divider-background-
|
|
2286
|
-
--divider-background-
|
|
2428
|
+
--divider-background: var(--component-divider-border-discrete-default);
|
|
2429
|
+
--divider-background-discrete: var(--component-divider-border-discrete-default);
|
|
2430
|
+
--divider-background-subtle: var(--component-divider-border-subtle-default);
|
|
2431
|
+
--divider-background-soft: var(--component-divider-border-soft-default);
|
|
2432
|
+
--divider-background-defined: var(--component-divider-border-defined-default);
|
|
2433
|
+
--divider-background-strong: var(--component-divider-border-strong-default);
|
|
2434
|
+
--divider-background-expressive: var(--component-divider-border-expressive-default);
|
|
2287
2435
|
}
|
|
2288
2436
|
|
|
2289
2437
|
.tl-divider {
|
|
@@ -2591,8 +2739,10 @@ body {
|
|
|
2591
2739
|
display: block;
|
|
2592
2740
|
}
|
|
2593
2741
|
.tl-dropdown__input-clear:focus, .tl-dropdown__input-clear:focus-visible {
|
|
2594
|
-
outline: 2px solid var(--
|
|
2595
|
-
|
|
2742
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
2743
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
2744
|
+
outline-offset: 1px;
|
|
2745
|
+
z-index: 1;
|
|
2596
2746
|
}
|
|
2597
2747
|
|
|
2598
2748
|
.tl-dropdown__input-wrapper:has(.tl-dropdown__input[aria-expanded=true]:not(:placeholder-shown)) .tl-dropdown__input-clear {
|
|
@@ -2899,12 +3049,12 @@ body {
|
|
|
2899
3049
|
display: none;
|
|
2900
3050
|
}
|
|
2901
3051
|
|
|
2902
|
-
.tl-dropdown--label-inside:not(:has(.tl-dropdown__text:not(:empty))
|
|
3052
|
+
.tl-dropdown--label-inside:not(:has(.tl-dropdown__text:not(:empty)), :has(.tl-dropdown__input:focus), :has(.tl-dropdown__input:not(:placeholder-shown)), :has(.tl-dropdown__select option:not([value=""]):checked)) .tl-dropdown__label {
|
|
2903
3053
|
top: 50%;
|
|
2904
3054
|
transform: translateY(-50%);
|
|
2905
3055
|
}
|
|
2906
3056
|
|
|
2907
|
-
.tl-dropdown--label-inside:has(.tl-dropdown__helper):not(:has(.tl-dropdown__text:not(:empty))
|
|
3057
|
+
.tl-dropdown--label-inside:has(.tl-dropdown__helper):not(:has(.tl-dropdown__text:not(:empty)), :has(.tl-dropdown__input:focus), :has(.tl-dropdown__input:not(:placeholder-shown)), :has(.tl-dropdown__select option:not([value=""]):checked)) .tl-dropdown__label {
|
|
2908
3058
|
top: calc(50% - 9.5px);
|
|
2909
3059
|
}
|
|
2910
3060
|
|
|
@@ -3048,8 +3198,9 @@ body {
|
|
|
3048
3198
|
background: var(--dropdown-option-background-hover);
|
|
3049
3199
|
}
|
|
3050
3200
|
.tl-dropdown__option:focus-visible {
|
|
3051
|
-
|
|
3052
|
-
|
|
3201
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
3202
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
3203
|
+
outline-offset: -2px;
|
|
3053
3204
|
}
|
|
3054
3205
|
.tl-dropdown__option--selected {
|
|
3055
3206
|
background: var(--dropdown-option-background-selected);
|
|
@@ -3240,20 +3391,36 @@ body {
|
|
|
3240
3391
|
.scania.tds-mode-light,
|
|
3241
3392
|
.scania .tl-mode-light,
|
|
3242
3393
|
.scania.tl-mode-light {
|
|
3243
|
-
--component-footer-border: var(--scania-color-blue-700);
|
|
3244
|
-
--component-footer-
|
|
3245
|
-
--component-footer-
|
|
3246
|
-
--component-footer-
|
|
3394
|
+
--component-footer-border-divider-default: var(--scania-color-blue-700);
|
|
3395
|
+
--component-footer-background-main-default: var(--scania-color-blue-800);
|
|
3396
|
+
--component-footer-background-top-default: var(--color-background-layer-01);
|
|
3397
|
+
--component-footer-background-top-secondary: var(--color-background-base);
|
|
3398
|
+
--component-footer-background-list-item-default: var(--component-footer-background-top-default);
|
|
3399
|
+
--component-footer-background-list-item-active: var(--scania-color-grey-150);
|
|
3400
|
+
--component-footer-text-copyright-default: var(--color-text-inverse-soft);
|
|
3401
|
+
--component-footer-text-link-default: var(--color-text-strong);
|
|
3402
|
+
--component-footer-text-title-default: var(--color-text-strong);
|
|
3403
|
+
--component-footer-text-inverse-link-default: var(--scania-color-base-white);
|
|
3404
|
+
--component-footer-icon-link-default: var(--color-icon-strong);
|
|
3405
|
+
--component-footer-icon-social-default: var(--color-icon-inverse-strong);
|
|
3247
3406
|
}
|
|
3248
3407
|
|
|
3249
3408
|
.traton .tds-mode-light,
|
|
3250
3409
|
.traton.tds-mode-light,
|
|
3251
3410
|
.traton .tl-mode-light,
|
|
3252
3411
|
.traton.tl-mode-light {
|
|
3253
|
-
--component-footer-border: var(--traton-color-transparent-invisible-light);
|
|
3254
|
-
--component-footer-
|
|
3255
|
-
--component-footer-
|
|
3256
|
-
--component-footer-
|
|
3412
|
+
--component-footer-border-divider-default: var(--traton-color-transparent-invisible-light);
|
|
3413
|
+
--component-footer-background-main-default: var(--traton-color-grey-50);
|
|
3414
|
+
--component-footer-background-top-default: var(--color-background-layer-01);
|
|
3415
|
+
--component-footer-background-top-secondary: var(--color-background-layer-01);
|
|
3416
|
+
--component-footer-background-list-item-default: var(--component-footer-background-top-default);
|
|
3417
|
+
--component-footer-background-list-item-active: var(--traton-color-grey-300);
|
|
3418
|
+
--component-footer-text-copyright-default: var(--color-text-soft);
|
|
3419
|
+
--component-footer-text-link-default: var(--color-text-strong);
|
|
3420
|
+
--component-footer-text-title-default: var(--color-text-strong);
|
|
3421
|
+
--component-footer-text-inverse-link-default: var(--component-footer-text-link-default);
|
|
3422
|
+
--component-footer-icon-link-default: var(--color-icon-strong);
|
|
3423
|
+
--component-footer-icon-social-default: var(--color-icon-strong);
|
|
3257
3424
|
}
|
|
3258
3425
|
|
|
3259
3426
|
.tds-mode-dark,
|
|
@@ -3261,35 +3428,51 @@ body {
|
|
|
3261
3428
|
.scania.tds-mode-dark,
|
|
3262
3429
|
.scania .tl-mode-dark,
|
|
3263
3430
|
.scania.tl-mode-dark {
|
|
3264
|
-
--component-footer-border: var(--scania-color-blue-800);
|
|
3265
|
-
--component-footer-
|
|
3266
|
-
--component-footer-
|
|
3267
|
-
--component-footer-
|
|
3431
|
+
--component-footer-border-divider-default: var(--scania-color-blue-800);
|
|
3432
|
+
--component-footer-background-main-default: var(--scania-color-blue-900);
|
|
3433
|
+
--component-footer-background-top-default: var(--color-background-layer-01);
|
|
3434
|
+
--component-footer-background-top-secondary: var(--color-background-layer-02);
|
|
3435
|
+
--component-footer-background-list-item-default: var(--component-footer-background-top-default);
|
|
3436
|
+
--component-footer-background-list-item-active: var(--scania-color-grey-800);
|
|
3437
|
+
--component-footer-text-copyright-default: var(--color-text-soft);
|
|
3438
|
+
--component-footer-text-link-default: var(--color-text-strong);
|
|
3439
|
+
--component-footer-text-title-default: var(--color-text-strong);
|
|
3440
|
+
--component-footer-text-inverse-link-default: var(--scania-color-base-white);
|
|
3441
|
+
--component-footer-icon-link-default: var(--color-icon-strong);
|
|
3442
|
+
--component-footer-icon-social-default: var(--color-icon-strong);
|
|
3268
3443
|
}
|
|
3269
3444
|
|
|
3270
3445
|
.traton .tds-mode-dark,
|
|
3271
3446
|
.traton.tds-mode-dark,
|
|
3272
3447
|
.traton .tl-mode-dark,
|
|
3273
3448
|
.traton.tl-mode-dark {
|
|
3274
|
-
--component-footer-border: var(--traton-color-transparent-invisible-light);
|
|
3275
|
-
--component-footer-
|
|
3276
|
-
--component-footer-
|
|
3277
|
-
--component-footer-
|
|
3449
|
+
--component-footer-border-divider-default: var(--traton-color-transparent-invisible-light);
|
|
3450
|
+
--component-footer-background-main-default: var(--traton-color-blue-1000);
|
|
3451
|
+
--component-footer-background-top-default: var(--color-background-layer-01);
|
|
3452
|
+
--component-footer-background-top-secondary: var(--color-background-layer-01);
|
|
3453
|
+
--component-footer-background-list-item-default: var(--component-footer-background-top-default);
|
|
3454
|
+
--component-footer-background-list-item-active: var(--traton-color-blue-800);
|
|
3455
|
+
--component-footer-text-copyright-default: var(--color-text-soft);
|
|
3456
|
+
--component-footer-text-link-default: var(--color-text-strong);
|
|
3457
|
+
--component-footer-text-title-default: var(--color-text-strong);
|
|
3458
|
+
--component-footer-text-inverse-link-default: var(--component-footer-text-link-default);
|
|
3459
|
+
--component-footer-icon-link-default: var(--color-icon-strong);
|
|
3460
|
+
--component-footer-icon-social-default: var(--color-icon-strong);
|
|
3278
3461
|
}
|
|
3279
3462
|
|
|
3280
3463
|
.tl-footer {
|
|
3281
|
-
--footer-top-background-primary: var(--
|
|
3282
|
-
--footer-top-background-secondary: var(--
|
|
3283
|
-
--footer-top-background: var(--
|
|
3284
|
-
--footer-top-divider: var(--color-
|
|
3285
|
-
--footer-top-links-desktop: var(--
|
|
3286
|
-
--footer-top-links: var(--component-footer-text-
|
|
3287
|
-
--footer-top-links-background-hover: var(--
|
|
3288
|
-
--footer-top-button-active: var(--
|
|
3289
|
-
--footer-main-background: var(--component-footer-
|
|
3290
|
-
--footer-main-links: var(--
|
|
3291
|
-
--footer-main-divider: var(--component-footer-border);
|
|
3292
|
-
--footer-main-copyright: var(--component-footer-text-
|
|
3464
|
+
--footer-top-background-primary: var(--component-footer-background-top-default);
|
|
3465
|
+
--footer-top-background-secondary: var(--component-footer-background-top-secondary);
|
|
3466
|
+
--footer-top-background: var(--component-footer-background-top-default);
|
|
3467
|
+
--footer-top-divider: var(--color-border-discrete);
|
|
3468
|
+
--footer-top-links-desktop: var(--component-footer-text-title-default);
|
|
3469
|
+
--footer-top-links: var(--component-footer-text-link-default);
|
|
3470
|
+
--footer-top-links-background-hover: var(--component-footer-background-list-item-active);
|
|
3471
|
+
--footer-top-button-active: var(--component-footer-background-list-item-active);
|
|
3472
|
+
--footer-main-background: var(--component-footer-background-main-default);
|
|
3473
|
+
--footer-main-links: var(--component-footer-text-inverse-link-default);
|
|
3474
|
+
--footer-main-divider: var(--component-footer-border-divider-default);
|
|
3475
|
+
--footer-main-copyright: var(--component-footer-text-copyright-default);
|
|
3293
3476
|
}
|
|
3294
3477
|
.tl-footer.tl-footer--primary {
|
|
3295
3478
|
--footer-top-background: var(--footer-top-background-primary);
|
|
@@ -3298,6 +3481,26 @@ body {
|
|
|
3298
3481
|
--footer-top-background: var(--footer-top-background-secondary);
|
|
3299
3482
|
}
|
|
3300
3483
|
|
|
3484
|
+
.scania .tl-footer {
|
|
3485
|
+
--component-footer-logotype-local: var(--tds-background-image-scania-wordmark-white-svg-local);
|
|
3486
|
+
--component-footer-logotype-cdn: var(--tds-background-image-scania-wordmark-white-svg);
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
.traton .tl-mode-dark .tl-footer {
|
|
3490
|
+
--component-footer-logotype-local: var(--traton-logotype-white-svg-local);
|
|
3491
|
+
--component-footer-logotype-cdn: var(--traton-logotype-white-svg);
|
|
3492
|
+
}
|
|
3493
|
+
|
|
3494
|
+
.traton .tl-mode-light .tl-footer {
|
|
3495
|
+
--component-footer-logotype-local: var(--traton-logotype-black-svg-local);
|
|
3496
|
+
--component-footer-logotype-cdn: var(--traton-logotype-black-svg);
|
|
3497
|
+
}
|
|
3498
|
+
|
|
3499
|
+
.traton .tl-footer {
|
|
3500
|
+
--component-footer-logotype-local: var(--traton-logotype-black-svg-local);
|
|
3501
|
+
--component-footer-logotype-cdn: var(--traton-logotype-black-svg);
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3301
3504
|
.tl-footer__group {
|
|
3302
3505
|
display: block;
|
|
3303
3506
|
}
|
|
@@ -3339,8 +3542,8 @@ body {
|
|
|
3339
3542
|
text-decoration: underline;
|
|
3340
3543
|
}
|
|
3341
3544
|
.tl-footer__link:focus-visible {
|
|
3342
|
-
outline:
|
|
3343
|
-
box-shadow: 0 0 0 1px var(--
|
|
3545
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
3546
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
3344
3547
|
outline-offset: 1px;
|
|
3345
3548
|
z-index: 1;
|
|
3346
3549
|
}
|
|
@@ -3399,8 +3602,8 @@ body {
|
|
|
3399
3602
|
background-color: var(--footer-top-button-active);
|
|
3400
3603
|
}
|
|
3401
3604
|
.tl-footer__top-title:focus-visible {
|
|
3402
|
-
outline:
|
|
3403
|
-
box-shadow: 0 0 0
|
|
3605
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
3606
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
3404
3607
|
outline-offset: -2px;
|
|
3405
3608
|
z-index: 1;
|
|
3406
3609
|
}
|
|
@@ -3420,8 +3623,8 @@ body {
|
|
|
3420
3623
|
text-decoration: none;
|
|
3421
3624
|
}
|
|
3422
3625
|
.tl-footer__main .tl-footer__link:focus-visible {
|
|
3423
|
-
outline:
|
|
3424
|
-
box-shadow: 0 0 0 1px var(--
|
|
3626
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
3627
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
3425
3628
|
outline-offset: 1px;
|
|
3426
3629
|
z-index: 1;
|
|
3427
3630
|
}
|
|
@@ -3894,8 +4097,9 @@ body {
|
|
|
3894
4097
|
background-color: var(--header-item-hover);
|
|
3895
4098
|
}
|
|
3896
4099
|
.tl-header__item-wrapper:focus-visible {
|
|
3897
|
-
outline:
|
|
3898
|
-
box-shadow: inset 0 0 0
|
|
4100
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
4101
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
4102
|
+
outline-offset: -2px;
|
|
3899
4103
|
}
|
|
3900
4104
|
.tl-header__item-wrapper:active {
|
|
3901
4105
|
padding-top: 2px;
|
|
@@ -3935,8 +4139,9 @@ body {
|
|
|
3935
4139
|
background-color: var(--header-item-hover);
|
|
3936
4140
|
}
|
|
3937
4141
|
.tl-header__dropdown-wrapper:focus-visible {
|
|
3938
|
-
outline:
|
|
3939
|
-
box-shadow: inset 0 0 0
|
|
4142
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
4143
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
4144
|
+
outline-offset: -2px;
|
|
3940
4145
|
}
|
|
3941
4146
|
.tl-header__dropdown-wrapper:active {
|
|
3942
4147
|
background-color: var(--header-basic-element-background-selected);
|
|
@@ -3981,8 +4186,9 @@ body {
|
|
|
3981
4186
|
background-color: var(--header-item-hover);
|
|
3982
4187
|
}
|
|
3983
4188
|
.tl-header__dropdown-wrapper-user:focus-visible {
|
|
3984
|
-
outline:
|
|
3985
|
-
box-shadow: inset 0 0 0
|
|
4189
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
4190
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
4191
|
+
outline-offset: -2px;
|
|
3986
4192
|
}
|
|
3987
4193
|
.tl-header__dropdown-wrapper-user:active {
|
|
3988
4194
|
background-color: var(--header-basic-element-background-selected);
|
|
@@ -4322,8 +4528,9 @@ body {
|
|
|
4322
4528
|
}
|
|
4323
4529
|
.tl-header__dropdown-menu-item a:focus-visible,
|
|
4324
4530
|
.tl-header__dropdown-menu-item button:focus-visible {
|
|
4325
|
-
outline:
|
|
4326
|
-
box-shadow: inset 0 0 0
|
|
4531
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
4532
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
4533
|
+
outline-offset: -2px;
|
|
4327
4534
|
}
|
|
4328
4535
|
.tl-header__dropdown-menu-item--selected a,
|
|
4329
4536
|
.tl-header__dropdown-menu-item--selected button {
|
|
@@ -4360,8 +4567,10 @@ body {
|
|
|
4360
4567
|
}
|
|
4361
4568
|
.tl-header__launcher-menu-item a:focus-visible,
|
|
4362
4569
|
.tl-header__launcher-menu-item button:focus-visible {
|
|
4363
|
-
outline:
|
|
4364
|
-
box-shadow:
|
|
4570
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
4571
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
4572
|
+
outline-offset: 1px;
|
|
4573
|
+
z-index: 1;
|
|
4365
4574
|
}
|
|
4366
4575
|
|
|
4367
4576
|
.tl-header__user-menu-image img {
|
|
@@ -5670,14 +5879,112 @@ body {
|
|
|
5670
5879
|
height: 96px;
|
|
5671
5880
|
}
|
|
5672
5881
|
|
|
5882
|
+
/**
|
|
5883
|
+
* Do not edit directly, this file was auto-generated.
|
|
5884
|
+
*/
|
|
5885
|
+
:root,
|
|
5886
|
+
.tds-mode-light,
|
|
5887
|
+
.scania .tds-mode-light,
|
|
5888
|
+
.scania.tds-mode-light,
|
|
5889
|
+
.scania .tl-mode-light,
|
|
5890
|
+
.scania.tl-mode-light {
|
|
5891
|
+
--component-link-icon-accent-default: var(--scania-color-blue-400);
|
|
5892
|
+
--component-link-icon-accent-hover: var(--scania-color-blue-400);
|
|
5893
|
+
--component-link-icon-accent-active: var(--scania-color-blue-600);
|
|
5894
|
+
--component-link-icon-accent-visited: var(--scania-color-blue-600);
|
|
5895
|
+
--component-link-icon-standard-default: var(--color-text-strong);
|
|
5896
|
+
--component-link-icon-standard-hover: var(--color-text-defined);
|
|
5897
|
+
--component-link-icon-standard-active: var(--color-text-soft);
|
|
5898
|
+
--component-link-icon-standard-visited: var(--color-text-strong);
|
|
5899
|
+
--component-link-opacity-disabled: var(--scania-opacity-25);
|
|
5900
|
+
--component-link-text-accent-default: var(--scania-color-blue-400);
|
|
5901
|
+
--component-link-text-accent-hover: var(--scania-color-blue-400);
|
|
5902
|
+
--component-link-text-accent-active: var(--scania-color-blue-600);
|
|
5903
|
+
--component-link-text-accent-visited: var(--scania-color-blue-600);
|
|
5904
|
+
--component-link-text-standard-default: var(--color-text-strong);
|
|
5905
|
+
--component-link-text-standard-hover: var(--color-text-defined);
|
|
5906
|
+
--component-link-text-standard-active: var(--color-text-soft);
|
|
5907
|
+
--component-link-text-standard-visited: var(--color-text-strong);
|
|
5908
|
+
}
|
|
5909
|
+
|
|
5910
|
+
.traton .tds-mode-light,
|
|
5911
|
+
.traton.tds-mode-light,
|
|
5912
|
+
.traton .tl-mode-light,
|
|
5913
|
+
.traton.tl-mode-light {
|
|
5914
|
+
--component-link-icon-accent-default: var(--traton-color-blue-700);
|
|
5915
|
+
--component-link-icon-accent-hover: var(--traton-color-blue-700);
|
|
5916
|
+
--component-link-icon-accent-active: var(--traton-color-blue-950);
|
|
5917
|
+
--component-link-icon-accent-visited: var(--traton-color-blue-950);
|
|
5918
|
+
--component-link-icon-standard-default: var(--color-text-strong);
|
|
5919
|
+
--component-link-icon-standard-hover: var(--color-text-defined);
|
|
5920
|
+
--component-link-icon-standard-active: var(--color-text-soft);
|
|
5921
|
+
--component-link-icon-standard-visited: var(--color-text-strong);
|
|
5922
|
+
--component-link-opacity-disabled: var(--traton-opacity-25);
|
|
5923
|
+
--component-link-text-accent-default: var(--traton-color-blue-700);
|
|
5924
|
+
--component-link-text-accent-hover: var(--traton-color-blue-700);
|
|
5925
|
+
--component-link-text-accent-active: var(--traton-color-blue-950);
|
|
5926
|
+
--component-link-text-accent-visited: var(--traton-color-blue-950);
|
|
5927
|
+
--component-link-text-standard-default: var(--color-text-strong);
|
|
5928
|
+
--component-link-text-standard-hover: var(--color-text-defined);
|
|
5929
|
+
--component-link-text-standard-active: var(--color-text-soft);
|
|
5930
|
+
--component-link-text-standard-visited: var(--color-text-strong);
|
|
5931
|
+
}
|
|
5932
|
+
|
|
5933
|
+
.tds-mode-dark,
|
|
5934
|
+
.scania .tds-mode-dark,
|
|
5935
|
+
.scania.tds-mode-dark,
|
|
5936
|
+
.scania .tl-mode-dark,
|
|
5937
|
+
.scania.tl-mode-dark {
|
|
5938
|
+
--component-link-icon-accent-default: var(--scania-color-blue-300);
|
|
5939
|
+
--component-link-icon-accent-hover: var(--scania-color-blue-300);
|
|
5940
|
+
--component-link-icon-accent-active: var(--scania-color-blue-100);
|
|
5941
|
+
--component-link-icon-accent-visited: var(--scania-color-blue-100);
|
|
5942
|
+
--component-link-icon-standard-default: var(--color-text-strong);
|
|
5943
|
+
--component-link-icon-standard-hover: var(--color-text-defined);
|
|
5944
|
+
--component-link-icon-standard-active: var(--color-text-soft);
|
|
5945
|
+
--component-link-icon-standard-visited: var(--color-text-strong);
|
|
5946
|
+
--component-link-opacity-disabled: var(--scania-opacity-25);
|
|
5947
|
+
--component-link-text-accent-default: var(--scania-color-blue-300);
|
|
5948
|
+
--component-link-text-accent-hover: var(--scania-color-blue-300);
|
|
5949
|
+
--component-link-text-accent-active: var(--scania-color-blue-100);
|
|
5950
|
+
--component-link-text-accent-visited: var(--scania-color-blue-100);
|
|
5951
|
+
--component-link-text-standard-default: var(--color-text-strong);
|
|
5952
|
+
--component-link-text-standard-hover: var(--color-text-defined);
|
|
5953
|
+
--component-link-text-standard-active: var(--color-text-soft);
|
|
5954
|
+
--component-link-text-standard-visited: var(--color-text-strong);
|
|
5955
|
+
}
|
|
5956
|
+
|
|
5957
|
+
.traton .tds-mode-dark,
|
|
5958
|
+
.traton.tds-mode-dark,
|
|
5959
|
+
.traton .tl-mode-dark,
|
|
5960
|
+
.traton.tl-mode-dark {
|
|
5961
|
+
--component-link-icon-accent-default: var(--traton-color-blue-400);
|
|
5962
|
+
--component-link-icon-accent-hover: var(--traton-color-blue-400);
|
|
5963
|
+
--component-link-icon-accent-active: var(--traton-color-blue-150);
|
|
5964
|
+
--component-link-icon-accent-visited: var(--traton-color-blue-150);
|
|
5965
|
+
--component-link-icon-standard-default: var(--color-text-strong);
|
|
5966
|
+
--component-link-icon-standard-hover: var(--color-text-defined);
|
|
5967
|
+
--component-link-icon-standard-active: var(--color-text-soft);
|
|
5968
|
+
--component-link-icon-standard-visited: var(--color-text-strong);
|
|
5969
|
+
--component-link-opacity-disabled: var(--traton-opacity-25);
|
|
5970
|
+
--component-link-text-accent-default: var(--traton-color-blue-400);
|
|
5971
|
+
--component-link-text-accent-hover: var(--traton-color-blue-400);
|
|
5972
|
+
--component-link-text-accent-active: var(--traton-color-blue-150);
|
|
5973
|
+
--component-link-text-accent-visited: var(--traton-color-blue-150);
|
|
5974
|
+
--component-link-text-standard-default: var(--color-text-strong);
|
|
5975
|
+
--component-link-text-standard-hover: var(--color-text-defined);
|
|
5976
|
+
--component-link-text-standard-active: var(--color-text-soft);
|
|
5977
|
+
--component-link-text-standard-visited: var(--color-text-strong);
|
|
5978
|
+
}
|
|
5979
|
+
|
|
5673
5980
|
/* Component variables */
|
|
5674
5981
|
.tl-link {
|
|
5675
|
-
--link: var(--
|
|
5676
|
-
--link-hover: var(--
|
|
5982
|
+
--link: var(--component-link-text-accent-default);
|
|
5983
|
+
--link-hover: var(--component-link-text-accent-hover);
|
|
5677
5984
|
--link-focus-outline-width: 2px;
|
|
5678
|
-
--link-visited: var(--
|
|
5679
|
-
--link-disabled: var(--
|
|
5680
|
-
--link-focus-outline-color: var(--color-
|
|
5985
|
+
--link-visited: var(--component-link-text-accent-visited);
|
|
5986
|
+
--link-opacity-disabled: calc(var(--component-link-opacity-disabled) / 100);
|
|
5987
|
+
--link-focus-outline-color: var(--color-system-info-default);
|
|
5681
5988
|
}
|
|
5682
5989
|
|
|
5683
5990
|
.tl-banner .tl-link {
|
|
@@ -5686,11 +5993,11 @@ body {
|
|
|
5686
5993
|
|
|
5687
5994
|
.tl-toast .tl-link {
|
|
5688
5995
|
--link: var(--color-system-info-default);
|
|
5689
|
-
--link-hover: var(--color-
|
|
5996
|
+
--link-hover: var(--color-system-info-default);
|
|
5690
5997
|
}
|
|
5691
5998
|
|
|
5692
5999
|
.traton .tl-link {
|
|
5693
|
-
--link-focus-outline-width:
|
|
6000
|
+
--link-focus-outline-width: 2px;
|
|
5694
6001
|
}
|
|
5695
6002
|
|
|
5696
6003
|
.tl-link-text {
|
|
@@ -5715,8 +6022,10 @@ body {
|
|
|
5715
6022
|
font: inherit;
|
|
5716
6023
|
}
|
|
5717
6024
|
.tl-link:focus-visible {
|
|
5718
|
-
outline:
|
|
6025
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
6026
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
5719
6027
|
outline-offset: 1px;
|
|
6028
|
+
z-index: 1;
|
|
5720
6029
|
text-decoration: none;
|
|
5721
6030
|
}
|
|
5722
6031
|
.tl-link:active {
|
|
@@ -5731,15 +6040,10 @@ body {
|
|
|
5731
6040
|
text-decoration-color: var(--link-visited);
|
|
5732
6041
|
}
|
|
5733
6042
|
.tl-link--disabled {
|
|
5734
|
-
|
|
5735
|
-
text-decoration-color: var(--link-disabled);
|
|
6043
|
+
opacity: var(--link-opacity-disabled);
|
|
5736
6044
|
pointer-events: none;
|
|
5737
6045
|
cursor: not-allowed;
|
|
5738
6046
|
}
|
|
5739
|
-
.tl-link--disabled:visited {
|
|
5740
|
-
color: var(--link-disabled);
|
|
5741
|
-
text-decoration-color: var(--link-disabled);
|
|
5742
|
-
}
|
|
5743
6047
|
.tl-link--underline {
|
|
5744
6048
|
text-decoration: underline;
|
|
5745
6049
|
}
|
|
@@ -6189,8 +6493,8 @@ body {
|
|
|
6189
6493
|
cursor: pointer;
|
|
6190
6494
|
}
|
|
6191
6495
|
.tl-modal__close:focus {
|
|
6192
|
-
outline: 2px solid var(--
|
|
6193
|
-
box-shadow: 0 0 0 1px var(--
|
|
6496
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
6497
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
6194
6498
|
outline-offset: 1px;
|
|
6195
6499
|
z-index: 1;
|
|
6196
6500
|
}
|
|
@@ -6608,7 +6912,7 @@ body {
|
|
|
6608
6912
|
--component-side-menu-space-sub-page-selected-marker-width: var(--scania-unit-4);
|
|
6609
6913
|
--component-side-menu-space-collapsed-item-inner-icon-left-and-right-padding: 22;
|
|
6610
6914
|
--component-side-menu-space-collapsed-item-inner-icon-top-and-bottom-padding: 22;
|
|
6611
|
-
--component-side-menu-radius-default: var(--scania-unit-0);
|
|
6915
|
+
--component-side-menu-radius-radius-default: var(--scania-unit-0);
|
|
6612
6916
|
--component-side-menu-text-items-font-family: var(--scania-font-family-semi-condensed);
|
|
6613
6917
|
--component-side-menu-text-items-font-weight: var(--scania-font-weight-bold);
|
|
6614
6918
|
--component-side-menu-text-items-font-size: 14;
|
|
@@ -6649,7 +6953,7 @@ body {
|
|
|
6649
6953
|
--component-side-menu-space-collapsed-item-inner-icon-top-and-bottom-padding: var(
|
|
6650
6954
|
--traton-unit-12
|
|
6651
6955
|
);
|
|
6652
|
-
--component-side-menu-radius-default: var(--traton-unit-8);
|
|
6956
|
+
--component-side-menu-radius-radius-default: var(--traton-unit-8);
|
|
6653
6957
|
--component-side-menu-text-items-font-family: var(--traton-font-family-default);
|
|
6654
6958
|
--component-side-menu-text-items-font-weight: var(--traton-font-weight-medium);
|
|
6655
6959
|
--component-side-menu-text-items-font-size: 14;
|
|
@@ -6686,7 +6990,7 @@ body {
|
|
|
6686
6990
|
--component-side-menu-space-sub-page-selected-marker-width: var(--scania-unit-4);
|
|
6687
6991
|
--component-side-menu-space-collapsed-item-inner-icon-left-and-right-padding: 22;
|
|
6688
6992
|
--component-side-menu-space-collapsed-item-inner-icon-top-and-bottom-padding: 22;
|
|
6689
|
-
--component-side-menu-radius-default: var(--scania-unit-0);
|
|
6993
|
+
--component-side-menu-radius-radius-default: var(--scania-unit-0);
|
|
6690
6994
|
--component-side-menu-text-items-font-family: var(--scania-font-family-semi-condensed);
|
|
6691
6995
|
--component-side-menu-text-items-font-weight: var(--scania-font-weight-bold);
|
|
6692
6996
|
--component-side-menu-text-items-font-size: 14;
|
|
@@ -6727,7 +7031,7 @@ body {
|
|
|
6727
7031
|
--component-side-menu-space-collapsed-item-inner-icon-top-and-bottom-padding: var(
|
|
6728
7032
|
--traton-unit-12
|
|
6729
7033
|
);
|
|
6730
|
-
--component-side-menu-radius-default: var(--traton-unit-8);
|
|
7034
|
+
--component-side-menu-radius-radius-default: var(--traton-unit-8);
|
|
6731
7035
|
--component-side-menu-text-items-font-family: var(--traton-font-family-default);
|
|
6732
7036
|
--component-side-menu-text-items-font-weight: var(--traton-font-weight-medium);
|
|
6733
7037
|
--component-side-menu-text-items-font-size: 14;
|
|
@@ -6835,8 +7139,10 @@ body {
|
|
|
6835
7139
|
letter-spacing: var(--side-menu-text-item-letter-spacing);
|
|
6836
7140
|
}
|
|
6837
7141
|
.tl-side-menu__item:focus-visible {
|
|
6838
|
-
outline: 2px solid var(--
|
|
7142
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7143
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
6839
7144
|
outline-offset: -2px;
|
|
7145
|
+
z-index: 1;
|
|
6840
7146
|
}
|
|
6841
7147
|
.tl-side-menu__item:hover {
|
|
6842
7148
|
background-color: var(--side-menu-item-state-hover);
|
|
@@ -6949,8 +7255,10 @@ body {
|
|
|
6949
7255
|
background-color: var(--side-menu-dropdown-list-item-custom-background-active);
|
|
6950
7256
|
}
|
|
6951
7257
|
.tl-side-menu__dropdown-item:focus {
|
|
6952
|
-
outline: 2px solid var(--
|
|
7258
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
7259
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
6953
7260
|
outline-offset: -2px;
|
|
7261
|
+
z-index: 1;
|
|
6954
7262
|
}
|
|
6955
7263
|
.tl-side-menu__dropdown-item--selected {
|
|
6956
7264
|
background-color: var(--side-menu-dropdown-list-item-custom-background-selected);
|
|
@@ -8313,8 +8621,10 @@ body {
|
|
|
8313
8621
|
cursor: pointer;
|
|
8314
8622
|
}
|
|
8315
8623
|
.tl-table__row--clickable:focus-visible {
|
|
8316
|
-
outline: 2px solid var(--
|
|
8624
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
8625
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
8317
8626
|
outline-offset: -2px;
|
|
8627
|
+
z-index: 1;
|
|
8318
8628
|
}
|
|
8319
8629
|
.tl-table--zebra-rows-odd .tl-table__body .tl-table__row:nth-child(odd) {
|
|
8320
8630
|
background-color: var(--table-zebra-mode);
|
|
@@ -8339,7 +8649,7 @@ body {
|
|
|
8339
8649
|
transition: background-color 200ms ease;
|
|
8340
8650
|
min-width: 192px;
|
|
8341
8651
|
}
|
|
8342
|
-
.tl-table__header-cell:hover:not(.tl-table__header-cell--checkbox
|
|
8652
|
+
.tl-table__header-cell:hover:not(.tl-table__header-cell--checkbox, .tl-table__header-cell--expand) {
|
|
8343
8653
|
background-color: var(--table-header-hover);
|
|
8344
8654
|
}
|
|
8345
8655
|
.tl-table__header-cell:first-of-type {
|
|
@@ -8413,8 +8723,10 @@ body {
|
|
|
8413
8723
|
text-align: left;
|
|
8414
8724
|
}
|
|
8415
8725
|
.tl-table__header-button:focus-visible, .tl-table__header-button:focus, .tl-table__header-button:active {
|
|
8416
|
-
outline: 2px solid var(--
|
|
8726
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
8727
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
8417
8728
|
outline-offset: -2px;
|
|
8729
|
+
z-index: 1;
|
|
8418
8730
|
}
|
|
8419
8731
|
.tl-table--compact .tl-table__header-button {
|
|
8420
8732
|
padding: 0;
|
|
@@ -8498,7 +8810,7 @@ body {
|
|
|
8498
8810
|
.tl-table--no-min-width .tl-table__body-cell {
|
|
8499
8811
|
min-width: unset;
|
|
8500
8812
|
}
|
|
8501
|
-
.tl-table--vertical-dividers .tl-table__body-cell:not(:last-child
|
|
8813
|
+
.tl-table--vertical-dividers .tl-table__body-cell:not(:last-child, .tl-table__body-cell--expand) {
|
|
8502
8814
|
border-right: 1px solid var(--table-divider);
|
|
8503
8815
|
}
|
|
8504
8816
|
.tl-table--zebra-columns-odd .tl-table__body-cell:nth-child(odd) {
|
|
@@ -8724,9 +9036,9 @@ body {
|
|
|
8724
9036
|
padding: 0;
|
|
8725
9037
|
}
|
|
8726
9038
|
.tl-table__body-cell--expand:has(.tl-table__expand-input:focus), .tl-table__body-cell--expand:has(.tl-table__expand-input:focus-visible), .tl-table__body-cell--expand:has(.tl-table__expand-input:active) {
|
|
8727
|
-
outline: 2px solid var(--
|
|
8728
|
-
box-shadow: 0 0 0
|
|
8729
|
-
outline-offset: -
|
|
9039
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
9040
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
9041
|
+
outline-offset: -2px;
|
|
8730
9042
|
z-index: 1;
|
|
8731
9043
|
}
|
|
8732
9044
|
|
|
@@ -8901,11 +9213,12 @@ body {
|
|
|
8901
9213
|
border-left-color: var(--folder-tab-divider);
|
|
8902
9214
|
}
|
|
8903
9215
|
.tl-folder-tabs__tab:focus-visible {
|
|
8904
|
-
outline: 2px solid
|
|
8905
|
-
|
|
8906
|
-
|
|
9216
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
9217
|
+
box-shadow: inset 0 0 0 3px var(--component--focus-ring-color-discrete);
|
|
9218
|
+
outline-offset: -2px;
|
|
9219
|
+
z-index: 1;
|
|
8907
9220
|
}
|
|
8908
|
-
.tl-folder-tabs__tab:hover:not(.tl-folder-tabs__tab--disabled
|
|
9221
|
+
.tl-folder-tabs__tab:hover:not(.tl-folder-tabs__tab--disabled, .tl-folder-tabs__tab--selected) {
|
|
8909
9222
|
background-color: var(--folder-tab-surface-hover);
|
|
8910
9223
|
border-top-color: var(--folder-tab-surface-hover);
|
|
8911
9224
|
color: var(--folder-tab-text);
|
|
@@ -9050,12 +9363,14 @@ body {
|
|
|
9050
9363
|
outline: none;
|
|
9051
9364
|
}
|
|
9052
9365
|
.tl-inline-tabs__tab:focus-visible::before {
|
|
9366
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
9367
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
9368
|
+
outline-offset: 1px;
|
|
9369
|
+
z-index: 1;
|
|
9053
9370
|
content: "";
|
|
9054
9371
|
position: absolute;
|
|
9055
9372
|
inset: 18px 0;
|
|
9056
9373
|
border-radius: 2px;
|
|
9057
|
-
box-shadow: 0 0 0 2px var(--inline-tabs-tab-focus) inset;
|
|
9058
|
-
z-index: 2;
|
|
9059
9374
|
pointer-events: none;
|
|
9060
9375
|
}
|
|
9061
9376
|
.tl-inline-tabs__tab::after {
|
|
@@ -9098,6 +9413,7 @@ body {
|
|
|
9098
9413
|
content: none;
|
|
9099
9414
|
}
|
|
9100
9415
|
.tl-inline-tabs__tab--disabled:focus-visible::before {
|
|
9416
|
+
outline: none;
|
|
9101
9417
|
box-shadow: none;
|
|
9102
9418
|
}
|
|
9103
9419
|
|
|
@@ -9221,12 +9537,14 @@ body {
|
|
|
9221
9537
|
outline: none;
|
|
9222
9538
|
}
|
|
9223
9539
|
.tl-navigation-tabs__tab:focus-visible::before {
|
|
9540
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
9541
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
9542
|
+
outline-offset: 1px;
|
|
9543
|
+
z-index: 1;
|
|
9224
9544
|
content: "";
|
|
9225
9545
|
position: absolute;
|
|
9226
9546
|
inset: 18px 0;
|
|
9227
9547
|
border-radius: 2px;
|
|
9228
|
-
box-shadow: 0 0 0 2px var(--navigation-tabs-tab-focus) inset;
|
|
9229
|
-
z-index: 2;
|
|
9230
9548
|
pointer-events: none;
|
|
9231
9549
|
}
|
|
9232
9550
|
.tl-navigation-tabs__tab::after {
|
|
@@ -9269,6 +9587,7 @@ body {
|
|
|
9269
9587
|
content: none;
|
|
9270
9588
|
}
|
|
9271
9589
|
.tl-navigation-tabs__tab--disabled:focus-visible::before {
|
|
9590
|
+
outline: none;
|
|
9272
9591
|
box-shadow: none;
|
|
9273
9592
|
}
|
|
9274
9593
|
|
|
@@ -10232,8 +10551,8 @@ body {
|
|
|
10232
10551
|
cursor: pointer;
|
|
10233
10552
|
}
|
|
10234
10553
|
.tl-toast__close:focus-visible {
|
|
10235
|
-
outline: 2px solid var(--
|
|
10236
|
-
box-shadow: 0 0 0 1px var(--
|
|
10554
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
10555
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
10237
10556
|
outline-offset: 1px;
|
|
10238
10557
|
z-index: 1;
|
|
10239
10558
|
}
|
|
@@ -10298,8 +10617,8 @@ body {
|
|
|
10298
10617
|
height: 16px;
|
|
10299
10618
|
}
|
|
10300
10619
|
.tl-toggle__input:focus-visible {
|
|
10301
|
-
outline: 2px solid var(--
|
|
10302
|
-
box-shadow: 0 0 0 1px var(--
|
|
10620
|
+
outline: 2px solid var(--component--focus-ring-color-strong);
|
|
10621
|
+
box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
|
|
10303
10622
|
outline-offset: 1px;
|
|
10304
10623
|
z-index: 1;
|
|
10305
10624
|
border-radius: 16px;
|
|
@@ -10394,8 +10713,10 @@ input[type=checkbox]:disabled ~ .tl-toggle__label {
|
|
|
10394
10713
|
}
|
|
10395
10714
|
|
|
10396
10715
|
.tl-tooltip {
|
|
10397
|
-
--tooltip-
|
|
10398
|
-
--tooltip-background: var(--
|
|
10716
|
+
--tooltip-color: var(--component-tooltip-text-default);
|
|
10717
|
+
--tooltip-background: var(--component-tooltip-background-default);
|
|
10718
|
+
--tooltip-border-radius: calc(var(--component-tooltip-border-radius-default) * 1px);
|
|
10719
|
+
--tooltip-border-radius-none: calc(var(--component-tooltip-border-radius-none) * 1px);
|
|
10399
10720
|
}
|
|
10400
10721
|
|
|
10401
10722
|
.scania {
|
|
@@ -10416,19 +10737,19 @@ input[type=checkbox]:disabled ~ .tl-toggle__label {
|
|
|
10416
10737
|
position: fixed;
|
|
10417
10738
|
z-index: var(--tds-z-index-tooltip, 1000);
|
|
10418
10739
|
padding: 8px;
|
|
10419
|
-
max-width:
|
|
10740
|
+
max-width: 208px;
|
|
10420
10741
|
width: max-content;
|
|
10421
10742
|
white-space: normal;
|
|
10422
|
-
|
|
10423
|
-
background-color: var(--tooltip-background
|
|
10424
|
-
color: var(--tooltip-
|
|
10743
|
+
overflow-wrap: break-word;
|
|
10744
|
+
background-color: var(--tooltip-background);
|
|
10745
|
+
color: var(--tooltip-color);
|
|
10425
10746
|
box-sizing: border-box;
|
|
10426
10747
|
line-height: var(--tl-tooltip-line-height);
|
|
10427
10748
|
opacity: 0;
|
|
10428
10749
|
visibility: hidden;
|
|
10429
10750
|
pointer-events: none;
|
|
10430
10751
|
transition: opacity 0.2s ease, visibility 0.2s ease;
|
|
10431
|
-
border-radius:
|
|
10752
|
+
border-radius: var(--tooltip-border-radius);
|
|
10432
10753
|
}
|
|
10433
10754
|
.tl-tooltip--visible {
|
|
10434
10755
|
opacity: 1;
|
|
@@ -10436,26 +10757,26 @@ input[type=checkbox]:disabled ~ .tl-toggle__label {
|
|
|
10436
10757
|
pointer-events: auto;
|
|
10437
10758
|
}
|
|
10438
10759
|
.tl-tooltip--top-start {
|
|
10439
|
-
border-radius:
|
|
10760
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius-none);
|
|
10440
10761
|
}
|
|
10441
10762
|
.tl-tooltip--top-end {
|
|
10442
|
-
border-radius:
|
|
10763
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius-none) var(--tooltip-border-radius);
|
|
10443
10764
|
}
|
|
10444
10765
|
.tl-tooltip--bottom-start {
|
|
10445
|
-
border-radius:
|
|
10766
|
+
border-radius: var(--tooltip-border-radius-none) var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius);
|
|
10446
10767
|
}
|
|
10447
10768
|
.tl-tooltip--bottom-end {
|
|
10448
|
-
border-radius:
|
|
10769
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius-none) var(--tooltip-border-radius) var(--tooltip-border-radius);
|
|
10449
10770
|
}
|
|
10450
10771
|
.tl-tooltip--left-start {
|
|
10451
|
-
border-radius:
|
|
10772
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius-none) var(--tooltip-border-radius) var(--tooltip-border-radius);
|
|
10452
10773
|
}
|
|
10453
10774
|
.tl-tooltip--left-end {
|
|
10454
|
-
border-radius:
|
|
10775
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius-none) var(--tooltip-border-radius);
|
|
10455
10776
|
}
|
|
10456
10777
|
.tl-tooltip--right-start {
|
|
10457
|
-
border-radius:
|
|
10778
|
+
border-radius: var(--tooltip-border-radius-none) var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius);
|
|
10458
10779
|
}
|
|
10459
10780
|
.tl-tooltip--right-end {
|
|
10460
|
-
border-radius:
|
|
10781
|
+
border-radius: var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius) var(--tooltip-border-radius-none);
|
|
10461
10782
|
}
|