2021-04-23 04:11:47 +08:00
|
|
|
.topic-above-footer-buttons-outlet.presence {
|
|
|
|
min-height: 1.8em; // height of the avatars, prevents layout shift
|
|
|
|
margin: var(--below-topic-margin) 0;
|
|
|
|
}
|
|
|
|
|
2017-12-07 04:58:59 +08:00
|
|
|
.presence-users {
|
2021-05-12 20:56:15 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
color: var(--primary-medium);
|
2017-12-21 05:45:07 +08:00
|
|
|
display: flex;
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2017-12-21 05:45:07 +08:00
|
|
|
span.presence-text {
|
|
|
|
margin-left: 5px;
|
2018-01-20 08:15:08 +08:00
|
|
|
margin-right: 2px;
|
|
|
|
flex: 0 0 auto;
|
2018-06-08 17:49:31 +08:00
|
|
|
padding-top: 3px;
|
2018-01-20 08:15:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.presence-avatars {
|
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
2018-06-08 17:49:31 +08:00
|
|
|
flex-wrap: wrap;
|
2017-12-21 05:45:07 +08:00
|
|
|
}
|
2017-09-07 15:40:18 +08:00
|
|
|
|
|
|
|
.wave {
|
2018-01-20 08:15:08 +08:00
|
|
|
flex: 0 0 auto;
|
2018-06-08 17:49:31 +08:00
|
|
|
|
2017-09-07 15:40:18 +08:00
|
|
|
.dot {
|
|
|
|
display: inline-block;
|
|
|
|
animation: wave 1.8s linear infinite;
|
|
|
|
|
|
|
|
&:nth-child(2) {
|
|
|
|
animation-delay: -1.6s;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(3) {
|
|
|
|
animation-delay: -1.4s;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes wave {
|
2018-06-08 17:49:31 +08:00
|
|
|
0%,
|
|
|
|
60%,
|
|
|
|
100% {
|
2017-09-07 15:40:18 +08:00
|
|
|
transform: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
|
|
|
transform: translateY(-0.2em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-07 04:58:59 +08:00
|
|
|
.composer-fields .presence-users {
|
2021-12-09 00:18:49 +08:00
|
|
|
overflow: hidden;
|
|
|
|
flex-shrink: 1;
|
|
|
|
.presence-avatars {
|
|
|
|
flex-wrap: nowrap;
|
2018-01-20 08:15:08 +08:00
|
|
|
}
|
2017-12-07 04:58:59 +08:00
|
|
|
}
|
|
|
|
|
2021-12-09 00:18:49 +08:00
|
|
|
.mobile-view .composer-fields .presence-users .description {
|
|
|
|
display: none;
|
2017-11-28 04:23:18 +08:00
|
|
|
}
|
2019-09-09 20:47:29 +08:00
|
|
|
|
|
|
|
// TMP: RTL overrides
|
|
|
|
.rtl {
|
|
|
|
span.presence-text {
|
|
|
|
margin-left: 2px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.composer-fields .presence-users {
|
|
|
|
right: unset;
|
|
|
|
left: 95px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mobile-view {
|
|
|
|
.composer-fields .presence-users {
|
|
|
|
right: unset;
|
|
|
|
left: 65px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|