From 2f8042ea607bab99f303aec3ac43c540ec6fc974 Mon Sep 17 00:00:00 2001 From: maksim Date: Sun, 15 Jun 2025 18:21:08 +0300 Subject: [PATCH 1/3] =?UTF-8?q?Task:6781=20|=20=D0=A1=D1=82=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=B8=20=D0=B2=D0=B5=D1=80=D1=81=D1=82=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../layout/assets/css/gp-style-core.css | 31 +++++++- .../layout/assets/css/gp-style-full.css | 2 +- .../themes/cosmopet/static/css/front-page.css | 70 ++++++++++++++++++- .../cosmopet/templates/_pages/front-page.twig | 4 +- .../themes/cosmopet/templates/footer.twig | 4 +- .../cosmopet/templates/forms/discount.twig | 15 ++-- .../themes/cosmopet/templates/header.twig | 19 ++--- .../cosmopet/templates/shop/bestsellers.twig | 6 +- 8 files changed, 125 insertions(+), 26 deletions(-) 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 7549415..01656a7 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 @@ -2031,7 +2031,7 @@ textarea{ /* breadcrumbs */ .home { - padding: 60px 0 68px; + padding: 0px 0 0px; } .wc-block-components-checkout-place-order-button{ @@ -2166,7 +2166,6 @@ textarea{ } .about_slider { - padding-top: 0px!important; position: relative; } @@ -2216,4 +2215,32 @@ textarea{ font-size: 0; color: transparent !important; position: relative; +} + +.home { + position: relative; + background: var(--Accent-1, radial-gradient(200.43% 141.42% at 100% 0%, #188892 0%, #1EA49C 45%, #76CE75 90%, #BBE38D 100%))!important; +} + +.discount__sale { + padding: 69px 0 80px; + border-radius: 60px; + background: var(--creme-white, #F4F1F0); + box-shadow: 6px 9px 20px 0px rgba(0, 0, 0, 0.15); +} + +.discount_block .discount_form { + position: relative; + z-index: 1; + display: flex; + align-items: center; + gap: 0px!important; + margin-bottom: 6px; +} + +@media only screen and (max-width: 1200px) { + .footer { + margin-top: 0; + padding: 24px 16px!important; + } } \ No newline at end of file diff --git a/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-full.css b/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-full.css index d95c63b..4c61b58 100644 --- a/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-full.css +++ b/wp-content/themes/cosmopet/modules/layout/assets/css/gp-style-full.css @@ -109,7 +109,7 @@ body.bg-white { } .container { - max-width: 1232px; + max-width: 1040px; margin: 0 auto; @media (max-width: 1264px) { diff --git a/wp-content/themes/cosmopet/static/css/front-page.css b/wp-content/themes/cosmopet/static/css/front-page.css index 37a2f22..1eddc7c 100644 --- a/wp-content/themes/cosmopet/static/css/front-page.css +++ b/wp-content/themes/cosmopet/static/css/front-page.css @@ -7,10 +7,14 @@ background: var(--radial); } .home .container{ - padding: 157px 30px 245px; + padding: 77px 30px 245px; position: relative; } +main { + padding-top: 0px; +} + @media (min-width: 1281px){ .home .container{ @@ -120,6 +124,7 @@ line-height: 28.8px; letter-spacing: -0.01em; color: var(--grey-black, #121212); + font-weight: 300; } @@ -902,9 +907,9 @@ } /* Blog end */ -.marketplace{ +/* .marketplace{ margin-top: 5rem; -} +} */ .truth-form{ display: flex; @@ -3499,3 +3504,62 @@ color: #f4f1f0; .carousel .carousel-item:not(.active) .materialboxed { pointer-events: none; } + +.about_card-text { + font-weight: 300!important; +} + +.about_card:nth-child(3) .about_card-title { + text-wrap: nowrap; +} + +@media(max-width:990px){ + .footer-top { + flex-direction: column; + } + .footer-bottom { + flex-direction: column; + } + .footer-content__wrap { + flex-direction: column; + } + .home__title.invisible { + font-size:28px; + } + .home .container { + padding: 0px 30px 180px!important; + } + .container { + max-width: 100%!important; + margin: 0!important; + } + .about_slider .carousel .carousel-item { + border-radius: 100% !important; + } + .about_slider .carousel .carousel-item img { + width: 99px!important; + height: 99px!important; + } + .reviews_block .reviews_items { + flex-wrap: unset; + gap: 20px!important; + } + .gift_line-img { + display: none!important; + } + .discount__sale .discount_text { + order: 1; + margin-top: 0; + font-size: 18px!important; + color: var(--interface-main_black, #121212); + font-family: "Craftwork Grotesk"; + font-style: normal; + font-weight: 500; + line-height: normal; + max-width: 100%; + } + .discount__sale .discount_form { + flex-direction: column; + gap: 21px!important; + } +} \ No newline at end of file diff --git a/wp-content/themes/cosmopet/templates/_pages/front-page.twig b/wp-content/themes/cosmopet/templates/_pages/front-page.twig index c2cc6c9..7ed5994 100644 --- a/wp-content/themes/cosmopet/templates/_pages/front-page.twig +++ b/wp-content/themes/cosmopet/templates/_pages/front-page.twig @@ -39,7 +39,7 @@ src="{{about_img}}" alt="">
@@ -52,7 +52,7 @@
{% for item in about_list %} -
+

{{ item.title }}

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