2024-03-11 17:59:40 +08:00
|
|
|
.c-user-thread {
|
2024-05-09 16:45:02 +08:00
|
|
|
display: flex;
|
|
|
|
gap: 1rem;
|
2024-03-11 17:59:40 +08:00
|
|
|
margin-inline: 0;
|
|
|
|
padding: 0.5rem 1.5rem;
|
|
|
|
|
|
|
|
.chat-channel-icon {
|
|
|
|
grid-area: avatar;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
margin-top: 4px;
|
|
|
|
width: var(--channel-list-avatar-size);
|
|
|
|
height: var(--channel-list-avatar-size);
|
|
|
|
}
|
2023-12-13 21:10:52 +08:00
|
|
|
}
|
2024-01-16 14:29:33 +08:00
|
|
|
|
2024-05-09 16:45:02 +08:00
|
|
|
.c-user-thread__link {
|
|
|
|
display: grid;
|
|
|
|
grid-column-gap: 0.75em;
|
|
|
|
grid-template-columns: 1fr auto;
|
|
|
|
margin-inline: 0;
|
|
|
|
width: 100%;
|
|
|
|
grid-template-areas:
|
|
|
|
"category timestamp"
|
|
|
|
"title title"
|
|
|
|
"excerpt excerpt";
|
|
|
|
}
|
|
|
|
|
2024-03-11 17:59:40 +08:00
|
|
|
.avatar-flair.--threads {
|
|
|
|
position: absolute;
|
|
|
|
top: -4px;
|
|
|
|
right: -3px;
|
|
|
|
background: var(--primary-low);
|
|
|
|
border-radius: 50%;
|
|
|
|
padding: 0.2em;
|
|
|
|
line-height: var(--line-height-small);
|
|
|
|
border: 2px solid var(--secondary-very-high);
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat__thread-title-container {
|
2024-05-09 16:45:02 +08:00
|
|
|
display: flex;
|
2024-03-11 17:59:40 +08:00
|
|
|
grid-area: title;
|
|
|
|
.chat__thread-title {
|
2024-05-09 16:45:02 +08:00
|
|
|
@include ellipsis;
|
2024-03-11 17:59:40 +08:00
|
|
|
&__name {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-title {
|
|
|
|
grid-area: category;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-message-thread-indicator__last-reply-timestamp {
|
|
|
|
grid-area: timestamp;
|
|
|
|
font-size: var(--font-down-2-rem);
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-user-thread__excerpt {
|
|
|
|
@include ellipsis;
|
|
|
|
grid-area: excerpt;
|
|
|
|
display: flex;
|
|
|
|
color: var(--primary-high);
|
|
|
|
}
|
|
|
|
|
|
|
|
.c-user-thread__excerpt-text {
|
|
|
|
margin-left: 0.25em;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2024-01-16 14:29:33 +08:00
|
|
|
}
|