From b0ec907e931cf53d295d88f3a4673aaeddda3b03 Mon Sep 17 00:00:00 2001 From: Broemman Date: Thu, 2 Jan 2025 13:49:58 +0100 Subject: [PATCH] Theme Gembloux - Homepage --- gembloux/src/scss/home/events.scss | 19 +++++++++++ gembloux/src/scss/home/footer.scss | 33 +++++++++++++++++-- gembloux/src/scss/home/partenaires.scss | 42 ++++++++++++++----------- gembloux/src/scss/main.scss | 8 +---- gembloux/src/scss/variables.scss | 2 +- 5 files changed, 75 insertions(+), 29 deletions(-) diff --git a/gembloux/src/scss/home/events.scss b/gembloux/src/scss/home/events.scss index 590ff34c..36e45eb1 100644 --- a/gembloux/src/scss/home/events.scss +++ b/gembloux/src/scss/home/events.scss @@ -7,6 +7,24 @@ left: 50%; transform: translateX(-50%); + .swiper_date { + width: 100%; + + .day_date { + margin: 0 auto; + } + } + + .swiper_category { + position: absolute; + top: 0; + right: 0; + + span { + border-radius: 0 0 0 20px; + } + } + .carousel { padding: 5px; } @@ -62,6 +80,7 @@ .swiper_title { margin-top: 0; + text-align: center; h3 { font-family: $font-family-base; diff --git a/gembloux/src/scss/home/footer.scss b/gembloux/src/scss/home/footer.scss index f867a662..6d643258 100644 --- a/gembloux/src/scss/home/footer.scss +++ b/gembloux/src/scss/home/footer.scss @@ -75,6 +75,12 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page) #portal-footer-wrapper #portal-footer .sectionlinks .container .body-section { .row { + li.work, + li.fax, + li.facebook { + padding-left: 0 !important; + } + li { .table_display { .table_image { @@ -87,7 +93,7 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page) } .table_title { - padding-left: 30px !important; + padding-left: 0 !important; font-size: 1rem !important; span { @@ -96,7 +102,7 @@ body:not(.portaltype-imio-smartweb-portalpage.section-home-page) &:hover { span { - color: $primary-light !important; + color: $primary-svg !important; transition: all 0.5s ease; } } @@ -190,7 +196,7 @@ footer { } .table_title { - padding-left: 30px !important; + padding-left: 0; font-size: 1rem !important; color: #fff !important; text-decoration: none !important; @@ -225,3 +231,24 @@ footer { color: #fff !important; } } + +#smartweb-subsite-footer .sectionlinks { + a.table_image { + display: flex; + + .image.d-block.is-icon.w-100 { + width: 20px; + margin-right: 5px; + fill: #fff; + + svg.plone-icon { + fill: #fff; + } + } + } +} + +#portal-footer #smartweb-footer a:hover, +#portal-footer-wrapper #portal-footer #smartweb-minisite-footer a:hover { + color: $primary-svg !important; +} diff --git a/gembloux/src/scss/home/partenaires.scss b/gembloux/src/scss/home/partenaires.scss index 1097a224..c18016d3 100644 --- a/gembloux/src/scss/home/partenaires.scss +++ b/gembloux/src/scss/home/partenaires.scss @@ -1,21 +1,3 @@ -// .titre-partenaires { -// position: relative; -// margin-top: -250px; - -// h2 { -// font-weight: 700 !important; -// font-size: 3.25rem; -// line-height: 2rem; -// text-transform: none; -// position: relative; -// color: $primary; -// } - -// @media screen and (max-width: 1200px) { -// display: none; -// } -// } - .bloc-partenaires { background: transparent; padding-top: 2rem; @@ -24,6 +6,19 @@ max-width: 100vw; border-radius: 0; + li.col-md-6:first-child { + border-right: solid 1px #fff; + border-bottom: solid 1px #fff; + } + + li.col-md-6:nth-child(2) { + border-bottom: solid 1px #fff; + } + + li.col-md-6:nth-child(3) { + border-right: solid 1px #fff; + } + .swiper-button-next, .swiper-button-prev { display: none; @@ -41,6 +36,10 @@ text-align: center; margin: 20px 0 50px; + h2 { + text-transform: initial; + } + @media screen and (max-width: 992px) { transform: rotate(0deg); position: initial; @@ -123,3 +122,10 @@ } } } + +@media screen and (max-width: 600px) { + .sortable-section.sectionlinks.rs.partenaires { + background: $primary-svg; + padding: 30px 0; + } +} diff --git a/gembloux/src/scss/main.scss b/gembloux/src/scss/main.scss index 127ced48..c6ab5163 100644 --- a/gembloux/src/scss/main.scss +++ b/gembloux/src/scss/main.scss @@ -73,13 +73,7 @@ body.portaltype-imio-smartweb-portalpage.section-home-page } #portal-header #portal-header-top #header-links #search-link a:hover { - background: #f2f2f5; -} - -#portal-header #portal-header-top #portal-logo { - svg { - width: 200px; - } + background: $primary-svg; } .header-custom #banner::after { diff --git a/gembloux/src/scss/variables.scss b/gembloux/src/scss/variables.scss index 1cccf778..3de6925f 100644 --- a/gembloux/src/scss/variables.scss +++ b/gembloux/src/scss/variables.scss @@ -62,7 +62,7 @@ $swiper-raduis: 50px !default; $swipper-bullet-color: $primary; //*// HEADER -$main-logo-max-width: 200px !default; +$main-logo-max-width: 125px; $header-top-padding: 1rem 0 !default; $header-top-background: #fff !default; $header-center-nav: false !default;