mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 23:54:02 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
75 lines
1.3 KiB
SCSS
75 lines
1.3 KiB
SCSS
.chat-message-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.chat-message-info__username {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
|
|
& + .chat-message-info__bot-indicator,
|
|
& + .chat-message-info__date {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
|
|
.chat-message-info__username__name {
|
|
color: var(--secondary-low);
|
|
font-weight: 700;
|
|
@include ellipsis;
|
|
max-width: 180px;
|
|
}
|
|
|
|
.chat-message-info__bot-indicator {
|
|
text-transform: uppercase;
|
|
padding: 0.25em;
|
|
background: var(--primary-low);
|
|
border-radius: 3px;
|
|
font-size: var(--font-down-2);
|
|
|
|
& + .chat-message-info__date {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
|
|
.chat-message-info__date {
|
|
color: var(--primary-high);
|
|
font-size: var(--font-down-1);
|
|
|
|
&:hover,
|
|
&:focus {
|
|
.chat-time {
|
|
color: var(--primary);
|
|
}
|
|
}
|
|
|
|
& + .chat-message-info__flag {
|
|
margin-left: 0.25em;
|
|
}
|
|
}
|
|
|
|
.chat-message-info__flag {
|
|
color: var(--secondary-medium);
|
|
}
|
|
|
|
.chat-message-info__bookmark {
|
|
.d-icon-discourse-bookmark-clock,
|
|
.d-icon-bookmark {
|
|
color: var(--primary-low-mid);
|
|
font-size: var(--font-down-2);
|
|
margin-left: 0.5em;
|
|
}
|
|
}
|
|
|
|
.chat-message-info__status {
|
|
display: flex;
|
|
margin-left: 0.2em;
|
|
margin-right: 0.2em;
|
|
|
|
.emoji {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|