index-main/assets/css/components/_bottom-bar.scss
Julie Blanc 99ccc15ba9
All checks were successful
Deploy / Deploy to Production (push) Successful in 17s
animations investigations
2026-02-23 14:02:26 +01:00

93 lines
No EOL
1.8 KiB
SCSS

#bottom-bar{
position: fixed;
left: 0;
bottom: calc(var(--header-h)*-0.75);
&.is-visible{
bottom: 0px;
}
z-index: calc(var(--z-header) - 10);
height: calc(var(--header-h)*0.75);
width: 100vw;
background-color: var(--color-bg);
padding-left: var(--padding-body);
padding-right: var(--padding-body);
transition: bottom var(--transition-scroll);
// border-top: 2px solid var(--grey-800);
.progress-container{
position: absolute;
top: 0;
left: 0;
height: 2px;
width: 100vw;
background-color: var(--grey-800);
.progress-bar{
height: 2px;
background-color: var(--color-txt);
width: 40%;
}
}
.bottom-bar__inner{
height: calc(var(--header-h)*0.75);
display: flex;
justify-content: flex-end;
align-items: center;
gap: var(--padding-inner);
}
.btn--back-to-top{
@include icon(20px);
position: relative;
top: -3px;
width: 100px;
a{
justify-content: flex-end;
}
.icon{
transform: rotate(-90deg);
transform-origin: center;
}
}
.title-group{
font-size: var(--fs-small);
display: flex;
color: var(--color-txt-light);
flex-grow: 1;
width: 100%;
white-space: nowrap;
// overflow: hidden;
// text-overflow: ellipsis;
// align-items: center;
.type{
text-transform: uppercase;
&::after{
content: "/";
padding-left: 1ch;
padding-right: 1ch;
}
}
}
}