2023-04-12 09:09:06 +08:00
|
|
|
.chat-message-thread-indicator {
|
|
|
|
display: flex;
|
2023-06-15 08:49:27 +08:00
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
2023-04-12 09:09:06 +08:00
|
|
|
cursor: pointer;
|
|
|
|
grid-area: threadindicator;
|
2023-06-15 08:49:27 +08:00
|
|
|
max-width: 1000px;
|
2023-04-20 22:32:21 +08:00
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
margin: 4px 0 -2px calc(var(--message-left-width) - 0.25rem);
|
2023-06-15 08:49:27 +08:00
|
|
|
padding-block: 0.5rem;
|
2023-04-20 22:32:21 +08:00
|
|
|
padding-inline: 0.5rem;
|
2023-06-15 08:49:27 +08:00
|
|
|
border-radius: 8px;
|
|
|
|
color: var(--primary);
|
2023-04-12 09:09:06 +08:00
|
|
|
|
2023-06-16 17:36:43 +08:00
|
|
|
> * {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2023-06-15 08:49:27 +08:00
|
|
|
&:visited,
|
|
|
|
&:hover {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
|
2023-06-16 17:36:43 +08:00
|
|
|
.touch & {
|
|
|
|
&.-active {
|
|
|
|
box-shadow: var(--shadow-dropdown);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.no-touch & {
|
|
|
|
&:hover {
|
|
|
|
box-shadow: var(--shadow-dropdown);
|
|
|
|
}
|
2023-06-15 08:49:27 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&__participants {
|
|
|
|
flex-shrink: 0;
|
|
|
|
align-self: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__last-reply-avatar {
|
|
|
|
align-self: flex-start;
|
|
|
|
.chat-user-avatar {
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__last-reply-metadata {
|
|
|
|
display: flex;
|
2023-06-16 17:36:43 +08:00
|
|
|
align-items: flex-end;
|
2023-06-15 08:49:27 +08:00
|
|
|
gap: 0.25rem;
|
2023-04-12 09:09:06 +08:00
|
|
|
color: var(--primary-medium);
|
2023-06-16 17:36:43 +08:00
|
|
|
|
|
|
|
.separator {
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__last-reply-container {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: flex-end;
|
2023-04-13 16:08:12 +08:00
|
|
|
font-size: var(--font-down-1);
|
2023-06-16 17:36:43 +08:00
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
.relative-date {
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
2023-04-12 09:09:06 +08:00
|
|
|
}
|
|
|
|
|
2023-06-16 17:36:43 +08:00
|
|
|
&__last-reply-user {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--secondary-low);
|
2023-06-15 08:49:27 +08:00
|
|
|
}
|
2023-04-12 09:09:06 +08:00
|
|
|
|
2023-06-15 08:49:27 +08:00
|
|
|
&__last-reply-username {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--secondary-low);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__last-reply-excerpt {
|
|
|
|
@include ellipsis;
|
2023-06-15 14:05:06 +08:00
|
|
|
line-height: 1.8rem;
|
2023-04-12 09:09:06 +08:00
|
|
|
}
|
|
|
|
|
2023-06-15 08:49:27 +08:00
|
|
|
&__body {
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
flex-shrink: 1;
|
2023-04-12 09:09:06 +08:00
|
|
|
}
|
|
|
|
|
2023-06-16 17:36:43 +08:00
|
|
|
&:hover {
|
|
|
|
.chat-message-thread-indicator__replies-count {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-15 08:49:27 +08:00
|
|
|
&__replies-count {
|
2023-06-16 17:36:43 +08:00
|
|
|
@include ellipsis;
|
2023-06-15 08:49:27 +08:00
|
|
|
color: var(--tertiary);
|
2023-06-16 17:36:43 +08:00
|
|
|
font-size: var(--font-down-1);
|
2023-04-12 09:09:06 +08:00
|
|
|
}
|
|
|
|
}
|