TelegramPWA/src/components/left/search/RecentContacts.scss
Alexander Zinchuk 3afcde3217 Initial commit
2021-04-09 14:11:51 +03:00

82 lines
1.3 KiB
SCSS

.RecentContacts {
.Loading {
min-height: 75vh;
}
.top-peers-section {
padding: .5rem 1rem;
}
.top-peers {
height: 6rem;
margin: 0 -1rem;
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
scrollbar-width: none;
scrollbar-color: rgba(0, 0, 0, 0);
&::-webkit-scrollbar {
height: 0;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0);
}
}
.top-peer-item {
display: inline-block;
width: 4.5rem;
height: 6rem;
padding: 0.625rem 0.25rem;
margin-left: 0.5rem;
border-radius: var(--border-radius-default);
cursor: pointer;
position: relative;
overflow: hidden;
&:first-child {
margin-left: 0.125rem;
}
&:last-child {
margin-right: 0.125rem;
}
.Avatar {
margin: 0 auto 0.375rem;
}
&:hover {
background: var(--color-chat-hover);
}
.top-peer-name {
text-align: center;
white-space: nowrap;
font-size: 0.75rem;
overflow: hidden;
text-overflow: ellipsis;
.emoji-small {
width: 1rem;
height: 1rem;
background-size: 1rem;
margin-right: 1px;
vertical-align: -3px;
}
}
}
.recent-chats-header {
display: flex;
align-items: center;
.Button {
margin-left: auto;
}
}
}