From c5078b4327efb529aeae239b4a29167f0fbded4a Mon Sep 17 00:00:00 2001 From: bj-anas <93322743+bj-anas@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:22:29 +0100 Subject: [PATCH 1/3] fixing aura theme --- themes/aura/assets/desktop-slider.css | 12 +++++++----- themes/aura/assets/main.css | 3 --- themes/aura/assets/mobile-slider.css | 6 +++--- themes/aura/sections/main-page.liquid | 2 +- themes/aura/snippets/breadcrumbs.liquid | 4 ++-- themes/aura/styles/desktop-slider.scss | 9 ++------- themes/aura/styles/main.scss | 6 ------ 7 files changed, 15 insertions(+), 27 deletions(-) diff --git a/themes/aura/assets/desktop-slider.css b/themes/aura/assets/desktop-slider.css index ed483b28..3708d115 100644 --- a/themes/aura/assets/desktop-slider.css +++ b/themes/aura/assets/desktop-slider.css @@ -18,14 +18,16 @@ .splide{ height:var(--mobile-height); } +@media (min-width: 768px){ + .splide{ + height:var(--desktop-height); + } +} .yc-slider__desktop{ display:none; } @media (min-width: 768px){ - .splide{ - height:var(--desktop-height); - } .yc-slider__desktop{ display:block; } @@ -55,10 +57,10 @@ .yc-slider__desktop .content p{ margin-top:1rem; } -.yc-slider__desktop .content .btn-holder { +.yc-slider__desktop .content .btn-holder{ margin-top:1em; text-align:var(--alignment); } -.yc-slider__desktop .content .btn-holder a { +.yc-slider__desktop .content .btn-holder a{ display:inline-flex; } diff --git a/themes/aura/assets/main.css b/themes/aura/assets/main.css index 84002b52..38568456 100644 --- a/themes/aura/assets/main.css +++ b/themes/aura/assets/main.css @@ -615,9 +615,6 @@ textarea{ .breadcrumbs-container .breadcrumbs-listings .third-listing{ font-weight:800; } -[dir=ltr] .breadcrumbs-container .breadcrumbs-listings .arrow{ - rotate:180deg; -} .breadcrumbs-container .breadcrumbs-name{ font-weight:700; font-size:26px; diff --git a/themes/aura/assets/mobile-slider.css b/themes/aura/assets/mobile-slider.css index 5654be88..84124d15 100644 --- a/themes/aura/assets/mobile-slider.css +++ b/themes/aura/assets/mobile-slider.css @@ -7,7 +7,7 @@ height:100%; display:flex; justify-content:center; - flex-direction: column; + flex-direction:column; padding:0 20px; text-align:var(--alignment); } @@ -28,10 +28,10 @@ .yc-slider__mobile .content p{ margin-top:1rem; } -.yc-slider__desktop .content .btn-holder { +.yc-slider__mobile .content .btn-holder{ margin-top:1em; text-align:var(--alignment); } -.yc-slider__desktop .content .btn-holder a { +.yc-slider__mobile .content .btn-holder a{ display:inline-flex; } diff --git a/themes/aura/sections/main-page.liquid b/themes/aura/sections/main-page.liquid index a26aa5dd..3b096355 100644 --- a/themes/aura/sections/main-page.liquid +++ b/themes/aura/sections/main-page.liquid @@ -6,7 +6,7 @@
-