2023-08-14 11:32:26 +02:00

97 lines
1.7 KiB
SCSS

#LeftColumn-main {
height: 100%;
position: relative;
display: flex;
flex-direction: column;
overflow: hidden;
> .Transition {
flex: 1;
overflow: hidden;
}
.ChatFolders {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
&.withStoryRibbon {
--story-ribbon-height: 5.5rem;
&.shown {
transform: translateY(calc(var(--story-ribbon-height) * -1));
height: calc(100% + var(--story-ribbon-height));
transition: none;
}
&.open, &.closing {
transition: transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
&.open {
transform: translateY(0);
}
}
.tabs-placeholder {
height: 2.625rem;
/* stylelint-disable-next-line plugin/no-low-performance-animation-properties */
transition: height 150ms ease;
&:not(.open) {
height: 0;
}
}
.TabList {
justify-content: flex-start;
padding-left: 0.5625rem;
padding-bottom: 1px;
border-bottom: 0;
z-index: 1;
opacity: 1;
transition: opacity var(--layer-transition);
}
&--tabs-hidden .TabList {
pointer-events: none;
opacity: 0.25;
}
.Tab {
flex: 0 0 auto;
padding-left: 0.625rem;
padding-right: 0.625rem;
> span {
padding-left: 0.5rem;
padding-right: 0.5rem;
white-space: pre;
}
}
> .Transition {
flex: 1;
overflow: hidden;
}
}
.RecentContacts,
.LeftSearch,
.search-content {
height: 100%;
overflow-y: auto;
}
.btn-update {
position: absolute;
bottom: 1rem;
left: 50%;
margin: 0 auto;
transform: translateX(-50%);
white-space: nowrap;
}
}