From 7ba7a56459d0864ffeeb291d9c43fff0ae82950a Mon Sep 17 00:00:00 2001 From: Marcel Menk Date: Sun, 24 May 2026 11:56:04 +0200 Subject: [PATCH] fix: grid-like section separation --- apps/frontend-portal/src/styles.scss | 47 +++++++++++++++++-- .../lib/container/container.component.html | 4 +- .../src/lib/home/home.component.html | 4 +- 3 files changed, 48 insertions(+), 7 deletions(-) diff --git a/apps/frontend-portal/src/styles.scss b/apps/frontend-portal/src/styles.scss index 7272100e..06b3de99 100644 --- a/apps/frontend-portal/src/styles.scss +++ b/apps/frontend-portal/src/styles.scss @@ -254,10 +254,10 @@ html { } &.bg-dark { - --bs-border-color: rgb(28, 28, 31); + --bs-border-color: rgba(255, 255, 255, 0.08); > .grid-section__container { - --bs-border-color: rgb(28, 28, 31); + --bs-border-color: rgba(255, 255, 255, 0.08); } } @@ -269,13 +269,54 @@ html { position: relative; &.grid-section__container--dark { - --bs-border-color: rgb(28, 28, 31); + --bs-border-color: rgba(255, 255, 255, 0.08); } &.grid-section__container--shadow { margin-bottom: -1px; } + &.grid-section__container--hero-top, + &.grid-section__container--footer-top { + &::before, + &::after { + @media (min-width: 576px) { + height: calc(100% + 3rem); + top: -3rem; + } + + @media (min-width: 768px) { + height: calc(100% + 6rem); + top: -6rem; + } + } + } + + &.grid-section__container--hero-bottom { + &::before, + &::after { + @media (min-width: 576px) { + height: calc(100% + 3rem); + top: 0; + } + + @media (min-width: 768px) { + height: calc(100% + 6rem); + top: 0; + } + } + } + + &.grid-section__container--footer-bottom { + &::before, + &::after { + @media (min-width: 576px) { + height: calc(100% + 6rem); + top: -3rem; + } + } + } + &::before { content: ''; position: absolute; diff --git a/libs/domains/framework/frontend/feature-portal/src/lib/container/container.component.html b/libs/domains/framework/frontend/feature-portal/src/lib/container/container.component.html index 9bce311b..0655d618 100644 --- a/libs/domains/framework/frontend/feature-portal/src/lib/container/container.component.html +++ b/libs/domains/framework/frontend/feature-portal/src/lib/container/container.component.html @@ -172,7 +172,7 @@