2023-07-10 15:36:20 +08:00
|
|
|
.chat-user-avatar {
|
|
|
|
@include unselectable;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
&.is-online {
|
2024-03-09 04:11:47 +08:00
|
|
|
.avatar {
|
|
|
|
padding: 2px;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px var(--success),
|
|
|
|
inset 0px 0px 0px 2px var(--secondary);
|
2023-07-10 15:36:20 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__container {
|
|
|
|
.chat-user-presence-flair {
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: absolute;
|
|
|
|
background-color: var(--success);
|
|
|
|
border: 1px solid var(--secondary);
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
.chat-message & {
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
right: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.chat-channel-title & {
|
|
|
|
width: 8px;
|
|
|
|
height: 8px;
|
|
|
|
right: -1px;
|
|
|
|
bottom: -1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-09 04:11:47 +08:00
|
|
|
.chat-message-container:not(.has-reply) & {
|
|
|
|
width: var(--message-left-width);
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-10 15:36:20 +08:00
|
|
|
.chat-channel-title & {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|