2022-11-02 21:41:30 +08:00
|
|
|
@import "common/foundation/mixins";
|
2023-04-03 16:46:38 +08:00
|
|
|
|
2022-11-02 21:41:30 +08:00
|
|
|
.full-page-chat {
|
|
|
|
overflow: hidden; //prevents double scroll
|
2022-12-01 21:56:04 +08:00
|
|
|
|
2022-11-02 21:41:30 +08:00
|
|
|
.channels-list {
|
|
|
|
overflow-y: overlay;
|
|
|
|
padding-bottom: 6rem;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2022-12-01 21:56:04 +08:00
|
|
|
.channels-list-container {
|
|
|
|
background: var(--secondary);
|
|
|
|
}
|
|
|
|
|
2022-11-02 21:41:30 +08:00
|
|
|
.chat-channel-row {
|
2022-11-29 01:38:05 +08:00
|
|
|
height: 4em;
|
2023-04-03 16:46:38 +08:00
|
|
|
margin: 0;
|
|
|
|
padding: 0 1.5rem;
|
2022-11-02 21:41:30 +08:00
|
|
|
border-radius: 0;
|
2022-11-07 19:26:46 +08:00
|
|
|
border-bottom: 1px solid var(--primary-low);
|
2022-11-29 01:38:05 +08:00
|
|
|
|
|
|
|
.chat-channel-metadata {
|
2022-12-01 21:56:04 +08:00
|
|
|
.chat-channel-unread-indicator {
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
margin-top: 0.25rem;
|
|
|
|
}
|
2022-11-29 01:38:05 +08:00
|
|
|
&__date {
|
|
|
|
font-size: var(--font-down-2);
|
|
|
|
}
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-divider {
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
|
|
|
|
&:first-of-type {
|
2022-11-07 19:26:46 +08:00
|
|
|
padding-top: 1rem;
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.channel-title {
|
|
|
|
color: var(--quaternary);
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-user-avatar {
|
|
|
|
+ .chat-channel-title__usernames {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-title {
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&__users-count {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
& + .chat-channel-title__name {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__name {
|
2022-11-29 01:38:05 +08:00
|
|
|
margin-left: 0.75em;
|
2022-11-02 21:41:30 +08:00
|
|
|
font-size: var(--font-up-1);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__category-badge {
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
}
|
2023-02-17 13:54:56 +08:00
|
|
|
|
|
|
|
&__user-status-message {
|
2023-04-04 18:44:36 +08:00
|
|
|
flex-shrink: 3;
|
2023-02-17 13:54:56 +08:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2022-11-02 21:41:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|