discourse/plugins/chat/assets/stylesheets/common/chat-replying-indicator.scss
Joffrey JAFFEUX d75d64bf16
FEATURE: new jump to channel menu (#22383)
This commit replaces two existing screens:
- draft
- channel selection modal

Main features compared to existing solutions
- features are now combined, meaning you can for example create multi users DM
- it will show users with chat disabled
- it shows unread state
- hopefully a better look/feel
- lots of small details and fixes...

Other noticeable fixes
- starting a DM with a user, even from the user card and clicking <kbd>Chat</kbd> will not show a green dot for the target user (or even the channel) until a message is actually sent
- it should almost never do a full page reload anymore

---------

Co-authored-by: Martin Brennan <mjrbrennan@gmail.com>
Co-authored-by: Jordan Vidrine <30537603+jordanvidrine@users.noreply.github.com>
Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
Co-authored-by: Mark VanLandingham <markvanlan@gmail.com>
2023-07-05 18:18:27 +02:00

48 lines
921 B
SCSS

.chat-replying-indicator {
color: var(--primary-medium);
display: inline-flex;
font-size: var(--font-down-2);
&-container {
display: flex;
height: 16px;
}
&:before {
// unicode zero width space character
// Ensures the span height is consistent even when empty
content: "\200b";
}
.chat-replying-indicator__text {
display: inline-flex;
}
.chat-replying-indicator__wave {
flex: 0 0 auto;
display: inline-flex;
.chat-replying-indicator__dot {
display: inline-block;
animation: chat-replying-indicator__wave 1.8s linear infinite;
&:nth-child(2) {
animation-delay: -1.6s;
}
&:nth-child(3) {
animation-delay: -1.4s;
}
}
@keyframes chat-replying-indicator__wave {
0%,
60%,
100% {
transform: initial;
}
30% {
transform: translateY(-0.2em);
}
}
}
}