Filter bar animation

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2022-01-04 22:53:15 +01:00
parent cd4e33a8ed
commit b06596bbb6
6 changed files with 19 additions and 9 deletions

Binary file not shown.

View file

@ -636,10 +636,8 @@ article:last-child > .domain {
}
}
.notification__filter-bar,
.search__filter-bar,
.account__section-headline,
.reaction__filter-bar {
.filter-bar,
.account__section-headline {
border-bottom: 1px solid var(--brand-color--faint);
cursor: default;
display: flex;
@ -684,12 +682,24 @@ article:last-child > .domain {
background-color: var(--accent-color);
}
}
}
button .svg-icon {
width: 18px;
height: 18px;
margin: 0 auto;
.svg-icon {
width: 18px;
height: 18px;
margin: 0 auto;
}
}
}
.filter-bar {
position: relative;
&__active {
position: absolute;
height: 3px;
bottom: 0;
background-color: var(--accent-color);
transition: all 0.3s;
}
}