Merge branch 'filter-bar-animation' into 'develop'

Filter bar tab indicator animation

See merge request soapbox-pub/soapbox-fe!954
This commit is contained in:
marcin mikołajczak 2022-01-06 18:17:04 +00:00
commit afa1ae2fc1
6 changed files with 22 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,15 +682,30 @@ 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);
}
}
.no-reduce-motion .filter-bar__active {
transition: all 0.3s;
}
.reaction__filter-bar {
overflow-x: auto;
overflow-y: hidden;