From 7f488f5b01048dce6552a69c72daa42e3147dbe9 Mon Sep 17 00:00:00 2001 From: natsee Date: Tue, 19 Dec 2023 14:40:37 +0100 Subject: [PATCH] Fade out the bottom of collapsed rbf history --- .../rbf-timeline/rbf-timeline.component.html | 4 ++-- .../rbf-timeline/rbf-timeline.component.scss | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.html b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.html index 8a750e624..9ff35d669 100644 --- a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.html +++ b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.html @@ -1,6 +1,6 @@
-
+
@@ -37,7 +37,7 @@
-
+
diff --git a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.scss b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.scss index 8afc3f026..c0b38b59d 100644 --- a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.scss +++ b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.scss @@ -31,6 +31,19 @@ -ms-overflow-style: none; scrollbar-width: none; + .fade-out { + position: relative; + + &::before { + content: ''; + position: absolute; + width: 100%; + height: 100%; + background: linear-gradient(to bottom, rgba(36, 39, 62, 0) 0%, rgba(36, 39, 62, 1) 100%); + z-index: 1; + } + } + &::-webkit-scrollbar { display: none; } @@ -197,6 +210,10 @@ &.fullrbf { border-right: solid 10px #1bd8f4; } + &.last-pipe { + height: 150px; + bottom: -42px; + } } .corner {