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 {
|
2020-08-08 03:02:36 +08:00
|
|
|
background-color: var(--secondary, $secondary);
|
|
|
|
color: var(--primary-medium, $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 {
|
|
|
|
position: absolute;
|
2018-10-15 16:25:28 +08:00
|
|
|
top: 20px;
|
2019-01-11 10:01:18 +08:00
|
|
|
right: 95px;
|
2018-01-20 08:15:08 +08:00
|
|
|
@media screen and (max-width: $small-width) {
|
2018-06-08 17:49:31 +08:00
|
|
|
max-width: 318px;
|
2018-01-20 08:15:08 +08:00
|
|
|
.presence-avatars {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2017-12-07 04:58:59 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-view {
|
2018-01-20 08:15:08 +08:00
|
|
|
.presence-users {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2017-12-07 04:58:59 +08:00
|
|
|
.composer-fields .presence-users {
|
2018-11-14 00:12:58 +08:00
|
|
|
top: 7px;
|
2018-01-20 08:15:08 +08:00
|
|
|
right: 65px;
|
|
|
|
max-width: 70px;
|
|
|
|
.presence-avatars {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2017-12-07 04:58:59 +08:00
|
|
|
.description {
|
2018-06-08 17:49:31 +08:00
|
|
|
display: none;
|
2017-12-07 04:58:59 +08:00
|
|
|
}
|
2017-09-07 15:40:18 +08:00
|
|
|
}
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|