From eb3b7608edd680061dc732a4d843f866d1498bbe Mon Sep 17 00:00:00 2001 From: Broemman Date: Wed, 11 Dec 2024 15:31:23 +0100 Subject: [PATCH] Theme Herbeumont - Homepage after background --- herbeumont/src/scss/home/actualites.scss | 15 ++++++++++++++- herbeumont/src/scss/home/events.scss | 13 +++++++++++++ herbeumont/src/scss/home/quick.scss | 7 ++++++- 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/herbeumont/src/scss/home/actualites.scss b/herbeumont/src/scss/home/actualites.scss index 4b3854fe..39631115 100644 --- a/herbeumont/src/scss/home/actualites.scss +++ b/herbeumont/src/scss/home/actualites.scss @@ -13,6 +13,19 @@ z-index: -1; } +.portaltype-imio-smartweb-portalpage.section-home-page + .sortable-section.sectionnews::before { + background: $primary-svg; + bottom: 0; + content: ""; + left: 50% !important; + position: absolute; + top: 0; + transform: translateX(-50vw); + width: 100vw !important; + z-index: -2; +} + .sectionnews { position: relative; @@ -37,7 +50,7 @@ text-transform: none; position: relative; color: $primary-dark; - text-align: right; + text-align: center; margin-bottom: 1rem; } diff --git a/herbeumont/src/scss/home/events.scss b/herbeumont/src/scss/home/events.scss index 74e9edca..91c9d550 100644 --- a/herbeumont/src/scss/home/events.scss +++ b/herbeumont/src/scss/home/events.scss @@ -13,6 +13,19 @@ z-index: -1; } +.portaltype-imio-smartweb-portalpage.section-index + .sortable-section.sectionevents::before { + background: $primary-svg; + bottom: 0; + content: ""; + right: 50% !important; + position: absolute; + top: 0; + transform: translateX(-50vw); + width: 100vw !important; + z-index: -2; +} + .portaltype-imio-smartweb-portalpage .sectionevents { margin: 0; width: 50% !important; diff --git a/herbeumont/src/scss/home/quick.scss b/herbeumont/src/scss/home/quick.scss index f015f4cf..a6f94cf2 100644 --- a/herbeumont/src/scss/home/quick.scss +++ b/herbeumont/src/scss/home/quick.scss @@ -29,6 +29,10 @@ .table_image { .image.d-block { background: $primary-svg; + + svg { + fill: $primary; + } } } } @@ -44,9 +48,10 @@ .image.d-block { transform: translateY(-5px); transition: all 0.3s ease; + background: $primary; svg { - fill: $primary; + fill: #fff; } } }