Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 44 additions & 3 deletions apps/frontend-portal/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
</header>
<router-outlet></router-outlet>
<footer class="footer bg-dark text-white position-relative overflow-hidden grid-section pt-10">
<div class="container grid-section__container">
<div class="container grid-section__container grid-section__container--footer-top">
<div class="row">
<div class="col-md-4 mb-3 mb-md-0">
<img src="assets/images/favicon.svg" i18n-alt="@@featurePortal-brandAlt" alt="Agenstra" class="brand-icon" />
Expand Down Expand Up @@ -368,7 +368,7 @@ <h6 class="fw-bold mb-3" i18n="@@featurePortal-footerLegal">Legal</h6>
</div>
</div>
<div class="text-white py-5">
<div class="container grid-section__container grid-section__container--dark">
<div class="container grid-section__container grid-section__container--dark grid-section__container--footer-bottom">
<div class="row">
<div class="col-md-12 text-center">
<p class="mb-0 small" i18n="@@featurePortal-footerCopyright">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Hero Section -->
<section id="hero" class="pt-10 py-lg-6 bg-dark text-white grid-section">
<div class="container hero-content grid-section__container">
<div class="container hero-content grid-section__container grid-section__container--hero-top">
<div class="row justify-content-center">
<div class="col-12 text-center hero-container">
<h1 class="display-4 fw-semibold mb-4 hero-title" i18n="@@featurePortalHome-heroTitle">
Expand Down Expand Up @@ -72,7 +72,7 @@ <h1 class="display-4 fw-semibold mb-4 hero-title" i18n="@@featurePortalHome-hero
</div>
</div>
</div>
<div class="container grid-section__container">
<div class="container grid-section__container grid-section__container--hero-bottom">
<div class="row">
<div class="col-md-12 intent-cards" (mouseenter)="pauseAutoplay()" (mouseleave)="resumeAutoplay()">
<img
Expand Down
Loading