From fb9a459246e67b69c6efa4d7c89ce6df2906efd5 Mon Sep 17 00:00:00 2001 From: Andrei Date: Mon, 16 Jun 2025 10:54:22 +0300 Subject: [PATCH] =?UTF-8?q?Andrei=20|=20fix=20=D0=BF=D0=BE=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D0=BB=20=D1=84=D1=83=D1=82=D0=B5=D1=80=20?= =?UTF-8?q?=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D0=B5?= =?UTF-8?q?=20=D0=BA=D0=B0=D1=82=D0=B0=D0=BB=D0=BE=D0=B3=D0=B0=20(=D1=83?= =?UTF-8?q?=D0=B4=D0=B0=D0=BB=D0=B8=D0=BB=20=D0=BB=D0=B8=D1=88=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB=D0=B8=20+=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=B5=D1=81=20=D0=BD=D0=B5=D0=BE=D0=B1=D1=85?= =?UTF-8?q?=D0=BE=D0=B4=D0=B8=D0=BC=D1=8B=D0=B5=20=D1=81=D1=82=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D0=B8=D0=B7=20fron-page.css=20=D0=B2=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D1=83=D0=BB=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../footer/assets/css/gp-style-tablet.css | 34 +++++- .../modules/forms/assets/css/forms.css | 0 .../themes/cosmopet/static/css/forms.css | 5 + .../themes/cosmopet/static/css/front-page.css | 27 ----- .../woocommerce/assets/css/gp-style-core.css | 5 + .../assets/css/gp-style-desktop.css | 101 ------------------ 6 files changed, 42 insertions(+), 130 deletions(-) create mode 100644 wp-content/themes/cosmopet/modules/forms/assets/css/forms.css diff --git a/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-tablet.css b/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-tablet.css index ffc5b2e..ebaef37 100644 --- a/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-tablet.css +++ b/wp-content/themes/cosmopet/modules/footer/assets/css/gp-style-tablet.css @@ -1,4 +1,34 @@ /* Стили для планшетов */ -@media only screen and (max-width: 992px) { - +@media (min-width: 769px) and (max-width: 1200px) { + .footer__wrapper { + width: 100%!important; + display: flex; + flex-direction: column; } + .footer-bottom { + flex-direction: column; + } + .footer-content__wrap { + flex-direction: column; + } + .footer-content__wrap { + display: flex; + align-items: flex-start; + justify-content: space-between; + gap: 20px; + width: 100%; + } +} + + +@media(max-width:768px){ + .footer-top { + flex-direction: column; + } + .footer-bottom { + flex-direction: column; + } + .footer-content__wrap { + flex-direction: column; + } +} \ No newline at end of file diff --git a/wp-content/themes/cosmopet/modules/forms/assets/css/forms.css b/wp-content/themes/cosmopet/modules/forms/assets/css/forms.css new file mode 100644 index 0000000..e69de29 diff --git a/wp-content/themes/cosmopet/static/css/forms.css b/wp-content/themes/cosmopet/static/css/forms.css index 0e45f10..e724500 100644 --- a/wp-content/themes/cosmopet/static/css/forms.css +++ b/wp-content/themes/cosmopet/static/css/forms.css @@ -438,3 +438,8 @@ .discount_block{ padding-bottom: 80px; } + + +.form-textarea{ + font-family: inherit; +} \ No newline at end of file diff --git a/wp-content/themes/cosmopet/static/css/front-page.css b/wp-content/themes/cosmopet/static/css/front-page.css index 8ca2a0c..db029f5 100644 --- a/wp-content/themes/cosmopet/static/css/front-page.css +++ b/wp-content/themes/cosmopet/static/css/front-page.css @@ -3520,24 +3520,6 @@ color: #f4f1f0; .reviews_item .swiper-fade .swiper-slide { width:100%!important; } - .footer__wrapper { - width: 100%!important; - display: flex; - flex-direction: column; - } - .footer-bottom { - flex-direction: column; - } - .footer-content__wrap { - flex-direction: column; - } - .footer-content__wrap { - display: flex; - align-items: flex-start; - justify-content: space-between; - gap: 20px; - width: 100%; - } .reviews_item.reviews_item2 { position: absolute; max-width: 500px; @@ -3553,15 +3535,6 @@ color: #f4f1f0; } @media(max-width:768px){ - .footer-top { - flex-direction: column; - } - .footer-bottom { - flex-direction: column; - } - .footer-content__wrap { - flex-direction: column; - } .home__title.invisible { font-size:28px; } diff --git a/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-core.css b/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-core.css index e786963..cec068e 100644 --- a/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-core.css +++ b/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-core.css @@ -1262,3 +1262,8 @@ button{ background-repeat: no-repeat; background-position: center; } + + +.wpfFilterWrapper ul:not(.wpfButtonsFilter) li{ + min-width: 50%; +} \ No newline at end of file diff --git a/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-desktop.css b/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-desktop.css index 128bdef..5a3192c 100644 --- a/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-desktop.css +++ b/wp-content/themes/cosmopet/woocommerce/assets/css/gp-style-desktop.css @@ -704,107 +704,6 @@ main{ } */ /* modal */ -/* footer */ -.footer{ - margin-top: 80px; - - padding: 40px 24px; - - background: var(--background-black); -} -.footer__wrapper{ - width: 100%; - - display: flex; -} -.footer__content{ - width: calc(100% - 364px); -} -.footer__logo{ - width: 187px; - height: 43px; -} -.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__list{ - margin: 28px -12px -12px -12px; - - display: flex; - justify-content: space-between; - flex-wrap: wrap; -} -.footer-list__item{ - margin: 12px; - - width: calc(50% - 24px); - - display: flex; - flex-direction: column; -} -.footer-list__item:nth-child(even){ - width: 322px; -} -.footer-list__item .button{ - border-radius: 24px; -} -.footer-list__title{ - font-family: var(--font-family); - font-weight: 700; - font-size: 16px; - line-height: 125%; - color: var(--text-white); -} -.footer-list__link{ - margin-top: 4px; - - font-family: var(--font-family); - font-weight: 500; - font-size: 24px; - line-height: 133%; - color: var(--text-white); - - text-decoration: none; -} -.footer__form{ - margin-left: 48px; - - width: 364px; -} -.footer__about{ - margin-top: 16px; - - padding-top: 15px; - - display: flex; - justify-content: space-between; - align-items: center; - - border-top: 1px solid var(--text-white); -} -.footer-about__text{ - font-family: var(--font-family); - font-weight: 500; - font-size: 20px; - line-height: 120%; - text-align: right; - color: var(--text-white); - opacity: 0.6; - - text-decoration: none; -} -.footer__social-media{ - display: none; -} -/* footer */ - /* detail */ .detail{ margin: 48px 24px 24px 24px;