diff --git a/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-desktop.css index c6e8e9b..9bb1341 100644 --- a/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-desktop.css +++ b/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-desktop.css @@ -255,3 +255,73 @@ gap: 24px; } +.footer-network a { + opacity: 1!important; +} + +.footer__address { + margin-top: 24px; + font-family: var(--font-family); + font-weight: 500; + font-size: 24px; + line-height: 133%; + color: var(--text-white); + font-style: normal; +} + +.footer-content__address { + margin-top: 24px; + font-family: var(--font-family); + font-weight: 500; + font-size: 24px; + line-height: 133%; + color: var(--text-white); + font-style: normal; +} + +.footer_ae .footer-content ul { + display: flex; + flex-direction: row; + gap: 0px!important; +} + +.footer_ae .footer-content .footer-network { + display: flex; + flex-direction: row; + gap: 24px!important; +} + +@media screen and (max-width: 768px) { + .footer_ae .footer__wrapper { + width: 100%; + display: flex; + flex-direction: column; + } + .footer_ae .footer-contact { + margin-left: 0!important; + width: 100%!important; + margin-top: 20px; + } + .discount_block_ae { + overflow-x: hidden; + } + .footer_ae .footer__about { + align-items: flex-start!important; + } + .footer-contact__title { + color: #121212!important; + } + .footer-network a { + opacity: 1; + } + .footer-content .logo { + font-size: 20px; + margin-bottom: 0px; + } + .footer-about__text { + padding-top: 18px; + display: block; + text-align: left; + } +} + diff --git a/wp-content/themes/cosmopet/modules/footer/module-controller.php b/wp-content/themes/cosmopet/modules/footer/module-controller.php index 84ea5a5..e27d22e 100644 --- a/wp-content/themes/cosmopet/modules/footer/module-controller.php +++ b/wp-content/themes/cosmopet/modules/footer/module-controller.php @@ -3,6 +3,7 @@ // Добавляем данные в контекст Timber add_filter('timber/context', function($context) { $context['email_list'] = get_field('email_list', 'options'); + $context['email_list_ae'] = get_field('email_list_ae', 'options'); $context['adres'] = get_field('adres', 'options'); $context['social'] = get_field('social', 'options'); $context['links'] = get_field('links', 'options'); diff --git a/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-core.css b/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-core.css index 66ee022..a6d7943 100644 --- a/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-core.css +++ b/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-core.css @@ -2372,23 +2372,4 @@ textarea{ .truth_ae .gift_line-img { display: flex !important; } - .footer_ae .footer__wrapper { - width: 100%; - display: flex; - flex-direction: column; - } - .footer_ae .footer-contact { - margin-left: 0!important; - width: 100%!important; - margin-top: 20px; - } - .discount_block_ae { - overflow-x: hidden; - } - .footer_ae .footer__about { - align-items: flex-start!important; - } - .footer-contact__title { - color: #121212!important; - } } diff --git a/wp-content/themes/cosmopet/templates/footer.twig b/wp-content/themes/cosmopet/templates/footer.twig index 9cee346..fa76b11 100644 --- a/wp-content/themes/cosmopet/templates/footer.twig +++ b/wp-content/themes/cosmopet/templates/footer.twig @@ -5,14 +5,13 @@
{% elseif site_region == 'ru' %} @@ -50,7 +49,7 @@