Timeline tab animations

stable/1.0.x
Alex Gleason 2020-06-06 19:29:22 -05:00
rodzic a1abddd110
commit 109b043153
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 37 dodań i 1 usunięć

Wyświetl plik

@ -369,6 +369,11 @@
text-align: left;
text-decoration: none;
white-space: nowrap;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s;
&--sub {
font-size: 14px;
@ -382,8 +387,23 @@
&.active {
color: var(--primary-text-color);
border-radius: 10px;
&::before {
height: 100%;
opacity: 1;
}
}
&::before {
content: '';
display: block;
position: absolute;
width: 100%;
background-color: var(--brand-color-faint);
filter: var(--accent-filter);
border-radius: 10px;
transition: 0.2s;
opacity: 0;
}
@media screen and (max-width: $nav-breakpoint-2) {
@ -400,6 +420,22 @@
}
}
&:hover .btn.grouped {
&::before {
height: 70% !important;
opacity: 0 !important;
}
&:hover::before {
height: 100% !important;
opacity: 1 !important;
}
&:hover {
color: var(--primary-text-color);
}
}
& > .column-header__back-button {
color: var(--highlight-text-color);
}