Fix rbf tree fade out

This commit is contained in:
natsoni 2024-04-05 16:07:25 +09:00
parent cfc3615e64
commit 621a6ea42d
No known key found for this signature in database
GPG Key ID: C65917583181743B
3 changed files with 7 additions and 3 deletions

View File

@ -15,12 +15,12 @@
&::before {
left: 0;
background: linear-gradient(to right, #24273e, #24273e, transparent);
background: linear-gradient(to right, var(--box-bg), var(--box-bg), transparent);
}
&::after {
right: 0;
background: linear-gradient(to left, #24273e, #24273e, transparent);
background: linear-gradient(to left, var(--box-bg), var(--box-bg), transparent);
}
.timeline-wrapper {
@ -45,7 +45,7 @@
width: 100%;
height: 70px;
top: -70px;
background: linear-gradient(to bottom, rgba(36, 39, 62, 0) 0%, rgba(36, 39, 62, 1) 100%);
background: linear-gradient(to bottom, var(--fade-out-box-bg-start), var(--fade-out-box-bg-end));
z-index: 1;
}
}

View File

@ -77,6 +77,8 @@ $dropdown-link-active-bg: $active-bg;
--stat-box-bg: #181b2d;
--alert-bg: #3a1c61;
--transparent-fg: #ffffff66;
--fade-out-box-bg-start: rgba(36, 39, 62, 0);
--fade-out-box-bg-end: rgba(36, 39, 62, 1);
--testnet: #1d486f;
--signet: #6f1d5d;

View File

@ -76,6 +76,8 @@ $dropdown-link-active-bg: $active-bg;
--stat-box-bg: #0b1018;
--alert-bg: #3a1c61;
--transparent-fg: #ffffffbb;
--fade-out-box-bg-start: rgba(23, 28, 42, 0);
--fade-out-box-bg-end: rgba(23, 28, 42, 1);
--testnet: #1d486f;
--signet: #6f1d5d;