From 8f0fb7814b4f012cc8377cb92c13cb7cb0c7e8e7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 17 Jun 2025 01:20:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D0=B8=D0=BB=D0=B8=20=D0=B8=20?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D0=B0=20=D0=B3=D0=BB=D0=B0?= =?UTF-8?q?=D0=B2=D0=BD=D0=BE=D0=B9=20ae?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../footer/assets/css/gp-style-desktop.css | 50 +++++++ .../layout/assets/css/gp-style-core.css | 38 ++++++ .../themes/cosmopet/static/css/forms.css | 127 ++++++++++++++++++ .../themes/cosmopet/static/css/front-page.css | 20 +++ .../cosmopet/templates/_pages/front-page.twig | 16 ++- .../themes/cosmopet/templates/footer.twig | 51 ++++++- .../cosmopet/templates/forms/discount.twig | 16 ++- .../themes/cosmopet/templates/header.twig | 11 +- .../cosmopet/templates/shop/bestsellers.twig | 4 + 9 files changed, 319 insertions(+), 14 deletions(-) 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 b3a5d3c..c6e8e9b 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 @@ -205,3 +205,53 @@ .login_btn { margin-bottom: 24px; } + +.footer_ae .footer__wrapper { + width: 100%; + display: flex; +} + +.footer_ae .footer__content { + width: calc(100% - 364px); +} + +.footer_ae .footer-contact { + margin-left: 48px; + width: 364px; +} + +.footer_ae .footer__list { + margin: 28px -12px -12px -12px; + display: flex; + justify-content: space-between; + flex-wrap: wrap; + flex-direction: row; +} + +.footer_ae .footer-list__item:nth-child(even) { + width: 322px; +} + +.footer_ae .footer-list__item { + margin: 12px; + width: calc(50% - 24px); + display: flex; + flex-direction: column; +} + +.footer_ae .footer__about { + margin-top: 16px; + padding-top: 15px; + display: flex; + justify-content: space-between; + align-items: center; + border-top: 1px solid var(--text-white); + flex-wrap: wrap; +} + +.footer_ae .footer-content ul { + display: flex; + flex-direction: row; + gap: 24px; +} + 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 62b9e3a..66ee022 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 @@ -2242,6 +2242,10 @@ textarea{ background: radial-gradient(250% 285% at 120% -27.98%, #0F5881 0%, #1EA49C 36.98%, #76CE75 66.67%, #ECF39F 91.15%)!important; } +.discount_block_ae { + background: none!important; +} + .section_wrap { margin-top: -70px; padding: 178px 0 90px; @@ -2354,3 +2358,37 @@ textarea{ content: "\e016"; color: #b81c23 } + +@media screen and (max-width: 768px) { + .home_ae { + background: radial-gradient(346.57% 244.17% at 149.73% -58.39%, #0F5881 0%, #1EA49C 36.98%, #76CE75 66.67%, #ECF39F 91.15%)!important; + } + .truth_ae .truth_top .gift_img { + width: 64vw; + margin: unset; + transform: translateX(-22%) rotate(-45deg); + margin-left: 24px!important; + } + .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/static/css/forms.css b/wp-content/themes/cosmopet/static/css/forms.css index e724500..74e6ff7 100644 --- a/wp-content/themes/cosmopet/static/css/forms.css +++ b/wp-content/themes/cosmopet/static/css/forms.css @@ -22,6 +22,12 @@ top: 55px; right: -80px; } +.discount_block_ae .discount_top .discount_top-imgs{ + position: absolute; + top: 55px; + right: -27%; +} + .discount_block .discount_form{ position: relative; z-index: 1; @@ -85,6 +91,9 @@ overflow: hidden; cursor: pointer; } +.discount_block_ae .discount_cosmodog { + margin-top: -8rem!important; +} .discount_cosmodog .discount_cosmodog-img{ width: 100%; @@ -143,6 +152,14 @@ margin-bottom: 6rem; } +.discount_block_ae .discount__sale { + padding: 69px 0 80px; + border-radius: 60px; + background: none; + box-shadow: none; + margin-bottom: 6rem; +} + .discount__sale .discount_title { color: var(--interface-main_black, #121212); font-family: "Craftwork Grotesk"; @@ -153,6 +170,14 @@ text-transform: uppercase; } +.discount_block_ae .discount__sale .discount_title { + font-size: 82px; + font-weight: 700; + line-height: 98.4px; + color: var(--creme-white, #F4F1F0); + text-transform: uppercase; +} + .discount__sale .discount_title span { background: var(--Accent-1, radial-gradient(200.43% 141.42% at 100% 0%, #76CE75 90%, #BBE38D 100%)); background-clip: text; @@ -169,6 +194,36 @@ border: 2px solid var(--interface-main_black, #121212); } +.discount_block_ae .discount__sale .discount_form .discount_form-inp { + width: 280px; + height: 50px; + border: 2px solid var(--creme-white, #F4F1F0); + padding: 10px 18px; + font-size: 24px; + font-weight: 500; + line-height: 28.8px; + color: var(--creme-white, #F4F1F0); + border-radius: 28px; + opacity: .6; +} + +.discount_block_ae .discount__sale .discount_form .discount_form-btn { + font-size: 24px; + font-weight: 500; + line-height: 28.8px; + color: var(--creme-white, #F4F1F0); + width: 221px; + height: 50px; + padding: 10px; + white-space: nowrap; + display: flex; + align-items: center; + justify-content: center; + border-radius: 48px; + border: 2px solid var(--creme-white, #F4F1F0); + transition: .3s ease all; +} + .discount__sale .discount_form .discount_form-btn { color: var(--interface-main_black, #121212); border: 2px solid var(--interface-main_black, #121212); @@ -178,6 +233,15 @@ color: #FFF; } +.discount_block_ae .discount__sale .discount_form-text { + font-size: 14px; + line-height: 16.8px; + color: var(--creme-white, #F4F1F0); + opacity: .6; + max-width: 778px; + margin-bottom: 27px; +} + .discount__sale .discount_form-text { color: var(--interface-main_black, #121212); font-family: "Craftwork Grotesk"; @@ -200,6 +264,12 @@ line-height: normal; } +.discount_block_ae .discount__sale .discount_text { + font-size: 20px; + line-height: 24px; + color: var(--creme-white, #F4F1F0); +} + .discount__sale .discount_form .discount_form-inp::placeholder { color: var(--interface-main_black, #121212); } @@ -296,6 +366,10 @@ -webkit-text-fill-color: transparent; } +.discount_block_ae .discount_form .discount_form-inp::placeholder { + color: var(--creme-white, #F4F1F0); + } + @media only screen and (max-width: 1170px) { .discount_top .discount_title { font-size: 60px; @@ -432,6 +506,59 @@ width: 100%; } + .discount_block_ae .discount__sale .discount_top .discount_top-imgs { + right: -27%!important; + top: 0!important; + transform: scale(1.8)!important; + z-index: 0!important; + margin-bottom: -91%!important; + margin-top: 20%!important; + position: relative!important; + } + .discount_block_ae .discount__sale .discount_top .discount_top-imgs .dicount_dog-img { + width: 110vw!important; + height: auto; + } + .discount_block_ae .discount__sale .discount_title { + font-size: 30px!important; + line-height: 36px!important; + } + .discount_block_ae .discount__sale .discount_text { + max-width: 260px!important; + font-size: 12px!important; + line-height: 14.2px!important; + } + .discount_block_ae .dicsount__body { + margin-top: 120px!important; + } + .discount_block_ae .discount_form .discount_form-inp, .discount_block_ae .discount_form .discount_form-btn { + width: 100%!important; + height: 29px!important; + padding: 6px 13px!important; + font-size: 12px!important; + line-height: 14.4px!important; + text-align: left!important; + } + .discount_block_ae .discount_form .discount_form-inp::placeholder { + font-size: 12px!important; + line-height: 14.4px!important; + color: var(--creme-white, #F4F1F0); + } + .discount_block_ae .form-process { + width: 100%; + } + .discount_block_ae .discount__sale .discount_form { + flex-direction: column; + gap: 10px !important; + } + .discount_block_ae .discount_form .discount_form-btn { + justify-content: start; + padding: 5px 15px; + background: var(--creme-white, #F4F1F0); + color: #62c57e!important; + opacity: 0.6; + text-align: left!important; + } /* Узнайте о нас больше и получите скидку! - конец */ } diff --git a/wp-content/themes/cosmopet/static/css/front-page.css b/wp-content/themes/cosmopet/static/css/front-page.css index db029f5..0f835ad 100644 --- a/wp-content/themes/cosmopet/static/css/front-page.css +++ b/wp-content/themes/cosmopet/static/css/front-page.css @@ -204,6 +204,9 @@ main { .about_slider{ padding-top: 110px; } +.about_slider_ae{ + padding-top: 0px; +} .about_slider .slider-container { position: relative; /* max-width: 636px; */ @@ -316,6 +319,19 @@ main { /* GP | fix */ } +.seller_buy { + font-family: "Craftwork Grotesk"; + font-weight: 700; + text-transform: capitalize; + width: 100%; + height: 48px; + padding: 12px 24px 12px 24px; + gap: 8px; + border-radius: 20px; + color: #fff; + background: var(--interface-main_black, #121212); +} + /* Reviews start */ @@ -478,6 +494,10 @@ main { /* Reviews end */ +.truth_ae .truth_top .gift_img { + margin-left: -180px; +} + /* About us start */ .about_us{ padding-bottom: 54px; diff --git a/wp-content/themes/cosmopet/templates/_pages/front-page.twig b/wp-content/themes/cosmopet/templates/_pages/front-page.twig index 577e40f..88a4790 100644 --- a/wp-content/themes/cosmopet/templates/_pages/front-page.twig +++ b/wp-content/themes/cosmopet/templates/_pages/front-page.twig @@ -5,7 +5,7 @@ {% block content %} -
+

{{ function('pll_e', 'Заголовок (скрытый) H1 на главной') }}

@@ -95,7 +95,7 @@ {% endif %}
-
+
@@ -363,15 +363,25 @@ } {% endif %} -
+
+ {% if site_region == 'ae' %} + + + + + {% elseif site_region == 'ru' %} + + + {% endif %} +

{{ q_title }}

diff --git a/wp-content/themes/cosmopet/templates/footer.twig b/wp-content/themes/cosmopet/templates/footer.twig index b05e53b..9cee346 100644 --- a/wp-content/themes/cosmopet/templates/footer.twig +++ b/wp-content/themes/cosmopet/templates/footer.twig @@ -1,6 +1,51 @@ {% set current_path = template_path ~ '/modules/footer' %} -