@npm_leadtech/legal-lib-components 5.22.5 → 5.22.7
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/src/components/atoms/FixedFooter/FixedFooter.js +1 -1
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +197 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +197 -0
- package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +2 -2
- package/package.json +1 -1
|
@@ -69,5 +69,5 @@ export const FixedFooter = ({ config = {
|
|
|
69
69
|
show: false,
|
|
70
70
|
content: _jsx(_Fragment, {})
|
|
71
71
|
} }) => {
|
|
72
|
-
return (_jsxs(FixedFooterStyled, { children: [preFooter.show && (_jsx("section", { className: 'prefooter', children: _jsx("div", { className: 'wrapper', children: _jsxs("div", { className: 'prefooter-container', children: [_jsx("div", { className: 'serif --hero prefooter__title', children: preFooter.title }), _jsx("div", { className: 'prefooter--columns', children: preFooter.columns.map((column, index) => (_jsx("p", { className: 'prefooter--columns__text', children: column }, index))) }), preFooter.hasButton && (_jsx(Button, { label: preFooter.buttonLabel, onClick: preFooter.buttonClick, link: preFooter.buttonLink, dataQa: 'cta-footer', isExternal: true, hasNoFollow: true }))] }) }) })), config.isSEMPage && config.isMobile && (_jsx("footer", { className: 'sem-footer', children: _jsxs("section", { className: 'sem-footer__wrapper', children: [_jsx("ul", { className: 'sem-footer__legal-links', children: companyBlock.links }), _jsxs("div", { className: 'sem-footer__contact-info', children: [_jsxs("div", { className: 'sem-footer__contact-info__phone', children: [_jsx(PhoneIcon, { width: 20, height: 20, fill: 'white' }), _jsxs("b", { children: [config.sitePhone, " "] })] }), _jsx("div", { className: 'sem-footer__contact-info__schedule', children: config.siteSchedule })] }), _jsx("div", { className: 'fixed-container', children: footer.createDocumentBlock })] }) })), !config.isSEMPage && (_jsxs("footer", { children: [!config.hide && !config.noFooter ? (_jsxs(_Fragment, { children: [_jsx("div", { className: 'language-selector-mobile-container', children: languageSelector.show === true && languageSelector.content }), _jsxs("section", { className: 'footer__wrapper', children: [_jsxs("div", { className: 'footer__products', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: productsBlock.title }), productsBlock.productsCategories, _jsx("div", { className: 'sans-serif --extra-small product-categories', children: productsBlock.allProductsLink })] }), _jsxs("div", { className: 'footer__popular-documents', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: popularDocumentsBlock.title }), _jsx("ul", { children: popularDocumentsBlock.popularDocuments }), config.isTablet && (_jsxs("div", { className: 'footer__help__tablet', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: helpBlock.title }), _jsx("ul", { children: helpBlock.links })] }))] }), (config.isMobile || config.isDesktop) && (_jsxs("div", { className: 'footer__company', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: companyBlock.title }), _jsx("ul", { children: companyBlock.links })] })), _jsx("div", { className: 'footer__company__resources__findUs', children: config.isTablet && (_jsxs(_Fragment, { children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: companyBlock.title }), _jsx("ul", { children: companyBlock.links }), !config.isJonSnow && config.hasGrav && config.isTablet && (_jsxs("div", { className: 'footer__resources', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: resourcesBlock.title }), _jsx("ul", { children: resourcesBlock.links })] }))] })) }), !config.isTablet && (_jsx("div", { className: 'footer__help__resources', children: _jsxs("div", { children: [_jsxs("div", { className: 'footer__help', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: helpBlock.title }), _jsx("ul", { children: helpBlock.links })] }), !config.isJonSnow && config.hasGrav && (_jsxs("div", { className: 'footer__resources', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: resourcesBlock.title }), _jsx("ul", { children: resourcesBlock.links })] }))] }) })), _jsxs("div", { className: 'footer__findUs', children: [_jsxs("div", { className: 'find-us-container', children: [!config.isJonSnow && (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'find-us-content', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: "Find us" }), _jsxs("ul", { children: [_jsx("li", { children: _jsx("a", { href: 'https://www.facebook.com/lawdistrictlegal', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: facebook, alt: 'Facebook logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://twitter.com/district_law', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: x, alt: 'Twitter logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://www.linkedin.com/company/law-district/', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: linkedin, alt: 'Linkedin logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://www.pinterest.com/lawdistrict/', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: pinterest, alt: 'Pinterest logo', width: '32', height: '32' }) }) })] })] }), _jsxs("div", { className: 'footer-contact-box', children: [_jsx("span", { className: 'footer-contact-box_phone', children: config.sitePhone }), _jsx(Button, { centered: true, isExternal: true, link: `tel:${config.sitePhone}`, givenClass: 'footer-contact-
|
|
72
|
+
return (_jsxs(FixedFooterStyled, { children: [preFooter.show && (_jsx("section", { className: 'prefooter', children: _jsx("div", { className: 'wrapper', children: _jsxs("div", { className: 'prefooter-container', children: [_jsx("div", { className: 'serif --hero prefooter__title', children: preFooter.title }), _jsx("div", { className: 'prefooter--columns', children: preFooter.columns.map((column, index) => (_jsx("p", { className: 'prefooter--columns__text', children: column }, index))) }), preFooter.hasButton && (_jsx(Button, { label: preFooter.buttonLabel, onClick: preFooter.buttonClick, link: preFooter.buttonLink, dataQa: 'cta-footer', isExternal: true, hasNoFollow: true }))] }) }) })), config.isSEMPage && config.isMobile && (_jsx("footer", { className: 'sem-footer', children: _jsxs("section", { className: 'sem-footer__wrapper', children: [_jsx("ul", { className: 'sem-footer__legal-links', children: companyBlock.links }), _jsxs("div", { className: 'sem-footer__contact-info', children: [_jsxs("div", { className: 'sem-footer__contact-info__phone', children: [_jsx(PhoneIcon, { width: 20, height: 20, fill: 'white' }), _jsxs("b", { children: [config.sitePhone, " "] })] }), _jsx("div", { className: 'sem-footer__contact-info__schedule', children: config.siteSchedule })] }), _jsx("div", { className: 'fixed-container', children: footer.createDocumentBlock })] }) })), !config.isSEMPage && (_jsxs("footer", { children: [!config.hide && !config.noFooter ? (_jsxs(_Fragment, { children: [_jsx("div", { className: 'language-selector-mobile-container', children: languageSelector.show === true && languageSelector.content }), _jsxs("section", { className: 'footer__wrapper', children: [_jsxs("div", { className: 'footer__products', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: productsBlock.title }), productsBlock.productsCategories, _jsx("div", { className: 'sans-serif --extra-small product-categories', children: productsBlock.allProductsLink })] }), _jsxs("div", { className: 'footer__popular-documents', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: popularDocumentsBlock.title }), _jsx("ul", { children: popularDocumentsBlock.popularDocuments }), config.isTablet && (_jsxs("div", { className: 'footer__help__tablet', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: helpBlock.title }), _jsx("ul", { children: helpBlock.links })] }))] }), (config.isMobile || config.isDesktop) && (_jsxs("div", { className: 'footer__company', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: companyBlock.title }), _jsx("ul", { children: companyBlock.links })] })), _jsx("div", { className: 'footer__company__resources__findUs', children: config.isTablet && (_jsxs(_Fragment, { children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: companyBlock.title }), _jsx("ul", { children: companyBlock.links }), !config.isJonSnow && config.hasGrav && config.isTablet && (_jsxs("div", { className: 'footer__resources', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: resourcesBlock.title }), _jsx("ul", { children: resourcesBlock.links })] }))] })) }), !config.isTablet && (_jsx("div", { className: 'footer__help__resources', children: _jsxs("div", { children: [_jsxs("div", { className: 'footer__help', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: helpBlock.title }), _jsx("ul", { children: helpBlock.links })] }), !config.isJonSnow && config.hasGrav && (_jsxs("div", { className: 'footer__resources', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: resourcesBlock.title }), _jsx("ul", { children: resourcesBlock.links })] }))] }) })), _jsxs("div", { className: 'footer__findUs', children: [_jsxs("div", { className: 'find-us-container', children: [!config.isJonSnow && (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'find-us-content', children: [_jsx("p", { className: 'sans-serif --small footer-links__title', children: "Find us" }), _jsxs("ul", { children: [_jsx("li", { children: _jsx("a", { href: 'https://www.facebook.com/lawdistrictlegal', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: facebook, alt: 'Facebook logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://twitter.com/district_law', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: x, alt: 'Twitter logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://www.linkedin.com/company/law-district/', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: linkedin, alt: 'Linkedin logo', width: '32', height: '32' }) }) }), _jsx("li", { children: _jsx("a", { href: 'https://www.pinterest.com/lawdistrict/', rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: pinterest, alt: 'Pinterest logo', width: '32', height: '32' }) }) })] })] }), _jsxs("div", { className: 'footer-contact-box', children: [_jsx("span", { className: 'footer-contact-box_phone', children: config.sitePhone }), _jsx(Button, { centered: true, isExternal: true, link: `tel:${config.sitePhone}`, givenClass: 'footer-contact-box-button', label: config.sitePhone, dataQa: 'footer_contact_box' })] })] })), _jsx("div", { className: 'footer__logo', children: _jsx(Logo, { className: 'footer__lawdistrict', siteName: config.siteName, width: '138', height: '24', type: 'white' }) })] }), config.hasTrustPilot && footer.trustPilotWidget] }), !config.isJonSnow && (_jsx("div", { className: 'footer-mobile-contact-box', children: _jsx(ContactBox, { mobile: true, phone: config.sitePhone, schedule: config.siteSchedule, mobileGtmTag: 'clicked_phone_footer', dataQa: 'footer_contact_box', darkMode: true }) }))] })] })) : null, config.hasContactBar && (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs("div", { className: `contact-bar-wrapper ${(config.isJonSnow || config.isAnonymousPayment) && 'hidden'}`, children: [_jsx(IconWeb, {}), _jsxs("div", { className: 'contact-bar-wrapper__text', children: [_jsxs("div", { className: 'is-mobile', children: [_jsx("a", { className: 'phone', href: `tel:${config.sitePhone}`, children: _jsx("strong", { children: config.sitePhone }) }), ` - ${config.siteSchedule}`] }), _jsxs("div", { className: 'no-mobile', children: [_jsx("strong", { children: config.sitePhone }), " - ", config.siteSchedule] })] })] }), _jsxs("div", { className: 'contact-bar-wrapper', children: [_jsx("img", { src: securityIconBlack, alt: '' }), _jsx("p", { className: 'contact-bar-wrapper__text', children: footer.securityText })] }), _jsxs("div", { className: 'contact-bar-wrapper', children: [_jsx("img", { src: guaranteeIconGrey, alt: '' }), _jsx("p", { className: 'contact-bar-wrapper__text', children: footer.guaranteeText })] })] }) })), _jsx(Disclaimer, { text: footer.disclaimerText, siteUrl: config.siteUrl }), _jsx("div", { className: 'fixed-container', children: footer.createDocumentBlock })] })), footer.bottomFixedBlock] }));
|
|
73
73
|
};
|
|
@@ -591,4 +591,201 @@ export const FixedFooterStyled = styled.div `
|
|
|
591
591
|
display: none;
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
+
/* Diferencias en prefooter */
|
|
595
|
+
.prefooter {
|
|
596
|
+
background-color: var(--primary-main-light-5); /* Color diferente */
|
|
597
|
+
}
|
|
598
|
+
.prefooter--columns p {
|
|
599
|
+
color: var(--neutral-neutral-2); /* Color diferente */
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* Adiciones en footer */
|
|
603
|
+
footer {
|
|
604
|
+
/*LEG-5512: A/B*/
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
footer .desktop_view .bottom-text-link {
|
|
608
|
+
text-decoration: underline;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
footer .wide-info-bar.green {
|
|
612
|
+
background-color: var(--neutral-neutral-6);
|
|
613
|
+
color: var(--neutral-neutral-1);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
footer .footer__wrapper.hideMobile {
|
|
617
|
+
display: none;
|
|
618
|
+
}
|
|
619
|
+
@media (min-width: 720px) {
|
|
620
|
+
footer .footer__wrapper.hideMobile {
|
|
621
|
+
display: flex;
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
footer .footer__logo {
|
|
626
|
+
width: 45%;
|
|
627
|
+
max-width: 45%;
|
|
628
|
+
display: flex;
|
|
629
|
+
}
|
|
630
|
+
@media (min-width: 720px) {
|
|
631
|
+
footer .footer__logo {
|
|
632
|
+
width: 100%;
|
|
633
|
+
max-width: 100%;
|
|
634
|
+
margin-bottom: 2rem;
|
|
635
|
+
align-items: center;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
footer .footer__products .products__list,
|
|
640
|
+
footer .footer__popular-documents .products__list,
|
|
641
|
+
footer .footer__company .products__list {
|
|
642
|
+
top: 2.2rem;
|
|
643
|
+
right: 0;
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
footer .footer__products .products__list .icon-arrow,
|
|
647
|
+
footer .footer__popular-documents .products__list .icon-arrow,
|
|
648
|
+
footer .footer__company .products__list .icon-arrow {
|
|
649
|
+
width: 0.625rem;
|
|
650
|
+
height: 0.813rem;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
footer .footer__products .products__list .icon-arrow::before,
|
|
654
|
+
footer .footer__popular-documents .products__list .icon-arrow::before,
|
|
655
|
+
footer .footer__company .products__list .icon-arrow::before {
|
|
656
|
+
top: 0;
|
|
657
|
+
transform: rotate(-45deg);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
footer .footer__products .products__list .icon-arrow::after,
|
|
661
|
+
footer .footer__popular-documents .products__list .icon-arrow::after,
|
|
662
|
+
footer .footer__company .products__list .icon-arrow::after {
|
|
663
|
+
bottom: 0;
|
|
664
|
+
transform: rotate(45deg);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
footer .footer__products .products__list .icon-arrow::before,
|
|
668
|
+
footer .footer__products .products__list .icon-arrow::after,
|
|
669
|
+
footer .footer__popular-documents .products__list .icon-arrow::before,
|
|
670
|
+
footer .footer__popular-documents .products__list .icon-arrow::after,
|
|
671
|
+
footer .footer__company .products__list .icon-arrow::before,
|
|
672
|
+
footer .footer__company .products__list .icon-arrow::after {
|
|
673
|
+
height: 64%;
|
|
674
|
+
left: 50%;
|
|
675
|
+
content: '';
|
|
676
|
+
position: absolute;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
footer .footer__products .products__list::marker,
|
|
680
|
+
footer .footer__popular-documents .products__list::marker,
|
|
681
|
+
footer .footer__company .products__list::marker {
|
|
682
|
+
content: none;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
footer .footer__products .products__list:hover .icon-arrow:before,
|
|
686
|
+
footer .footer__products .products__list:hover .icon-arrow:after,
|
|
687
|
+
footer .footer__popular-documents .products__list:hover .icon-arrow:before,
|
|
688
|
+
footer .footer__popular-documents .products__list:hover .icon-arrow:after,
|
|
689
|
+
footer .footer__company .products__list:hover .icon-arrow:before,
|
|
690
|
+
footer .footer__company .products__list:hover .icon-arrow:after {
|
|
691
|
+
background-color: var(--others-white);
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
footer .separation-line {
|
|
695
|
+
width: 100%;
|
|
696
|
+
height: 1px;
|
|
697
|
+
background-color: var(--primary-main);
|
|
698
|
+
margin-bottom: 0.5rem;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
footer .footer__mobile-contact {
|
|
702
|
+
display: block;
|
|
703
|
+
width: 100%;
|
|
704
|
+
}
|
|
705
|
+
@media (min-width: 720px) {
|
|
706
|
+
footer .footer__mobile-contact {
|
|
707
|
+
display: none;
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
footer .footer__findus__mobile {
|
|
712
|
+
display: none;
|
|
713
|
+
}
|
|
714
|
+
@media (max-width: 720px) {
|
|
715
|
+
footer .footer__findus__mobile {
|
|
716
|
+
display: block;
|
|
717
|
+
}
|
|
718
|
+
footer .footer__findus__mobile ul {
|
|
719
|
+
display: flex;
|
|
720
|
+
}
|
|
721
|
+
footer .footer__findus__mobile ul li {
|
|
722
|
+
width: inherit;
|
|
723
|
+
margin-right: 1rem;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
footer .find-us-container .contact-box-container {
|
|
728
|
+
display: none;
|
|
729
|
+
}
|
|
730
|
+
@media (min-width: 720px) {
|
|
731
|
+
footer .find-us-container .contact-box-container {
|
|
732
|
+
display: block;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
footer .find-us-container .contact-box-container .contact-box__phone {
|
|
736
|
+
color: var(--others-white);
|
|
737
|
+
}
|
|
738
|
+
footer .find-us-container .contact-box-container .contact-box__schedule {
|
|
739
|
+
color: var(--neutral-neutral-3);
|
|
740
|
+
}
|
|
741
|
+
.contact-bar-wrapper {
|
|
742
|
+
display: flex;
|
|
743
|
+
align-items: center;
|
|
744
|
+
}
|
|
745
|
+
.contact-bar-wrapper.hidden {
|
|
746
|
+
display: none;
|
|
747
|
+
}
|
|
748
|
+
.contact-bar-wrapper__text {
|
|
749
|
+
width: -moz-max-content;
|
|
750
|
+
width: max-content;
|
|
751
|
+
margin: 0.25rem;
|
|
752
|
+
}
|
|
753
|
+
@media (min-width: 720px) {
|
|
754
|
+
.contact-bar-wrapper__text {
|
|
755
|
+
margin: 1rem 0.5rem;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
.contact-bar-wrapper__text .phone {
|
|
759
|
+
color: var(--neutral-neutral-1);
|
|
760
|
+
}
|
|
761
|
+
.contact-bar-wrapper__text .is-mobile {
|
|
762
|
+
display: inline;
|
|
763
|
+
}
|
|
764
|
+
@media (min-width: 720px) {
|
|
765
|
+
.contact-bar-wrapper__text .is-mobile {
|
|
766
|
+
display: none;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
.contact-bar-wrapper .is-mobile {
|
|
770
|
+
display: flex;
|
|
771
|
+
display: inline-table;
|
|
772
|
+
}
|
|
773
|
+
@media (min-width: 720px) {
|
|
774
|
+
.contact-bar-wrapper .is-mobile {
|
|
775
|
+
display: none;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
.contact-bar-wrapper .no-mobile {
|
|
779
|
+
display: none;
|
|
780
|
+
}
|
|
781
|
+
@media (min-width: 720px) {
|
|
782
|
+
.contact-bar-wrapper .no-mobile {
|
|
783
|
+
display: inline;
|
|
784
|
+
white-space: normal;
|
|
785
|
+
word-wrap: break-word;
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
.contact-bar-wrapper .no-mobile .phone {
|
|
789
|
+
color: var(--primary-main-dark-1);
|
|
790
|
+
}
|
|
594
791
|
`;
|
|
@@ -592,4 +592,201 @@ export const FixedFooterStyled = styled.div`
|
|
|
592
592
|
display: none;
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
+
/* Diferencias en prefooter */
|
|
596
|
+
.prefooter {
|
|
597
|
+
background-color: var(--primary-main-light-5); /* Color diferente */
|
|
598
|
+
}
|
|
599
|
+
.prefooter--columns p {
|
|
600
|
+
color: var(--neutral-neutral-2); /* Color diferente */
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/* Adiciones en footer */
|
|
604
|
+
footer {
|
|
605
|
+
/*LEG-5512: A/B*/
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
footer .desktop_view .bottom-text-link {
|
|
609
|
+
text-decoration: underline;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
footer .wide-info-bar.green {
|
|
613
|
+
background-color: var(--neutral-neutral-6);
|
|
614
|
+
color: var(--neutral-neutral-1);
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
footer .footer__wrapper.hideMobile {
|
|
618
|
+
display: none;
|
|
619
|
+
}
|
|
620
|
+
@media (min-width: 720px) {
|
|
621
|
+
footer .footer__wrapper.hideMobile {
|
|
622
|
+
display: flex;
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
footer .footer__logo {
|
|
627
|
+
width: 45%;
|
|
628
|
+
max-width: 45%;
|
|
629
|
+
display: flex;
|
|
630
|
+
}
|
|
631
|
+
@media (min-width: 720px) {
|
|
632
|
+
footer .footer__logo {
|
|
633
|
+
width: 100%;
|
|
634
|
+
max-width: 100%;
|
|
635
|
+
margin-bottom: 2rem;
|
|
636
|
+
align-items: center;
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
footer .footer__products .products__list,
|
|
641
|
+
footer .footer__popular-documents .products__list,
|
|
642
|
+
footer .footer__company .products__list {
|
|
643
|
+
top: 2.2rem;
|
|
644
|
+
right: 0;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
footer .footer__products .products__list .icon-arrow,
|
|
648
|
+
footer .footer__popular-documents .products__list .icon-arrow,
|
|
649
|
+
footer .footer__company .products__list .icon-arrow {
|
|
650
|
+
width: 0.625rem;
|
|
651
|
+
height: 0.813rem;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
footer .footer__products .products__list .icon-arrow::before,
|
|
655
|
+
footer .footer__popular-documents .products__list .icon-arrow::before,
|
|
656
|
+
footer .footer__company .products__list .icon-arrow::before {
|
|
657
|
+
top: 0;
|
|
658
|
+
transform: rotate(-45deg);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
footer .footer__products .products__list .icon-arrow::after,
|
|
662
|
+
footer .footer__popular-documents .products__list .icon-arrow::after,
|
|
663
|
+
footer .footer__company .products__list .icon-arrow::after {
|
|
664
|
+
bottom: 0;
|
|
665
|
+
transform: rotate(45deg);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
footer .footer__products .products__list .icon-arrow::before,
|
|
669
|
+
footer .footer__products .products__list .icon-arrow::after,
|
|
670
|
+
footer .footer__popular-documents .products__list .icon-arrow::before,
|
|
671
|
+
footer .footer__popular-documents .products__list .icon-arrow::after,
|
|
672
|
+
footer .footer__company .products__list .icon-arrow::before,
|
|
673
|
+
footer .footer__company .products__list .icon-arrow::after {
|
|
674
|
+
height: 64%;
|
|
675
|
+
left: 50%;
|
|
676
|
+
content: '';
|
|
677
|
+
position: absolute;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
footer .footer__products .products__list::marker,
|
|
681
|
+
footer .footer__popular-documents .products__list::marker,
|
|
682
|
+
footer .footer__company .products__list::marker {
|
|
683
|
+
content: none;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
footer .footer__products .products__list:hover .icon-arrow:before,
|
|
687
|
+
footer .footer__products .products__list:hover .icon-arrow:after,
|
|
688
|
+
footer .footer__popular-documents .products__list:hover .icon-arrow:before,
|
|
689
|
+
footer .footer__popular-documents .products__list:hover .icon-arrow:after,
|
|
690
|
+
footer .footer__company .products__list:hover .icon-arrow:before,
|
|
691
|
+
footer .footer__company .products__list:hover .icon-arrow:after {
|
|
692
|
+
background-color: var(--others-white);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
footer .separation-line {
|
|
696
|
+
width: 100%;
|
|
697
|
+
height: 1px;
|
|
698
|
+
background-color: var(--primary-main);
|
|
699
|
+
margin-bottom: 0.5rem;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
footer .footer__mobile-contact {
|
|
703
|
+
display: block;
|
|
704
|
+
width: 100%;
|
|
705
|
+
}
|
|
706
|
+
@media (min-width: 720px) {
|
|
707
|
+
footer .footer__mobile-contact {
|
|
708
|
+
display: none;
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
footer .footer__findus__mobile {
|
|
713
|
+
display: none;
|
|
714
|
+
}
|
|
715
|
+
@media (max-width: 720px) {
|
|
716
|
+
footer .footer__findus__mobile {
|
|
717
|
+
display: block;
|
|
718
|
+
}
|
|
719
|
+
footer .footer__findus__mobile ul {
|
|
720
|
+
display: flex;
|
|
721
|
+
}
|
|
722
|
+
footer .footer__findus__mobile ul li {
|
|
723
|
+
width: inherit;
|
|
724
|
+
margin-right: 1rem;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
footer .find-us-container .contact-box-container {
|
|
729
|
+
display: none;
|
|
730
|
+
}
|
|
731
|
+
@media (min-width: 720px) {
|
|
732
|
+
footer .find-us-container .contact-box-container {
|
|
733
|
+
display: block;
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
footer .find-us-container .contact-box-container .contact-box__phone {
|
|
737
|
+
color: var(--others-white);
|
|
738
|
+
}
|
|
739
|
+
footer .find-us-container .contact-box-container .contact-box__schedule {
|
|
740
|
+
color: var(--neutral-neutral-3);
|
|
741
|
+
}
|
|
742
|
+
.contact-bar-wrapper {
|
|
743
|
+
display: flex;
|
|
744
|
+
align-items: center;
|
|
745
|
+
}
|
|
746
|
+
.contact-bar-wrapper.hidden {
|
|
747
|
+
display: none;
|
|
748
|
+
}
|
|
749
|
+
.contact-bar-wrapper__text {
|
|
750
|
+
width: -moz-max-content;
|
|
751
|
+
width: max-content;
|
|
752
|
+
margin: 0.25rem;
|
|
753
|
+
}
|
|
754
|
+
@media (min-width: 720px) {
|
|
755
|
+
.contact-bar-wrapper__text {
|
|
756
|
+
margin: 1rem 0.5rem;
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
.contact-bar-wrapper__text .phone {
|
|
760
|
+
color: var(--neutral-neutral-1);
|
|
761
|
+
}
|
|
762
|
+
.contact-bar-wrapper__text .is-mobile {
|
|
763
|
+
display: inline;
|
|
764
|
+
}
|
|
765
|
+
@media (min-width: 720px) {
|
|
766
|
+
.contact-bar-wrapper__text .is-mobile {
|
|
767
|
+
display: none;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
.contact-bar-wrapper .is-mobile {
|
|
771
|
+
display: flex;
|
|
772
|
+
display: inline-table;
|
|
773
|
+
}
|
|
774
|
+
@media (min-width: 720px) {
|
|
775
|
+
.contact-bar-wrapper .is-mobile {
|
|
776
|
+
display: none;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
.contact-bar-wrapper .no-mobile {
|
|
780
|
+
display: none;
|
|
781
|
+
}
|
|
782
|
+
@media (min-width: 720px) {
|
|
783
|
+
.contact-bar-wrapper .no-mobile {
|
|
784
|
+
display: inline;
|
|
785
|
+
white-space: normal;
|
|
786
|
+
word-wrap: break-word;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
.contact-bar-wrapper .no-mobile .phone {
|
|
790
|
+
color: var(--primary-main-dark-1);
|
|
791
|
+
}
|
|
595
792
|
`
|
|
@@ -231,7 +231,7 @@ export const FixedFooter: React.FC<FixedFooterProps> = ({
|
|
|
231
231
|
centered
|
|
232
232
|
isExternal
|
|
233
233
|
link={`tel:${config.sitePhone}`}
|
|
234
|
-
givenClass={'footer-contact-
|
|
234
|
+
givenClass={'footer-contact-box-button'}
|
|
235
235
|
label={config.sitePhone}
|
|
236
236
|
dataQa={'footer_contact_box'}
|
|
237
237
|
/>
|
|
@@ -251,7 +251,7 @@ export const FixedFooter: React.FC<FixedFooterProps> = ({
|
|
|
251
251
|
{config.hasTrustPilot && footer.trustPilotWidget}
|
|
252
252
|
</div>
|
|
253
253
|
{!config.isJonSnow && (
|
|
254
|
-
<div className={'
|
|
254
|
+
<div className={'footer-mobile-contact-box'}>
|
|
255
255
|
<ContactBox
|
|
256
256
|
mobile={true}
|
|
257
257
|
phone={config.sitePhone}
|