2021-04-22 16:11:47 -04: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-06 15:58:59 -05:00
|
|
|
.presence-users {
|
2021-05-12 08:56:15 -04:00
|
|
|
background-color: var(--secondary);
|
|
|
|
color: var(--primary-medium);
|
2017-12-20 16:45:07 -05:00
|
|
|
display: flex;
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2017-12-20 16:45:07 -05:00
|
|
|
span.presence-text {
|
|
|
|
margin-left: 5px;
|
2018-01-19 19:15:08 -05:00
|
|
|
margin-right: 2px;
|
|
|
|
flex: 0 0 auto;
|
2018-06-08 05:49:31 -04:00
|
|
|
padding-top: 3px;
|
2018-01-19 19:15:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.presence-avatars {
|
|
|
|
display: flex;
|
|
|
|
overflow: hidden;
|
2018-06-08 05:49:31 -04:00
|
|
|
flex-wrap: wrap;
|
2017-12-20 16:45:07 -05:00
|
|
|
}
|
2017-09-07 03:40:18 -04:00
|
|
|
|
|
|
|
.wave {
|
2018-01-19 19:15:08 -05:00
|
|
|
flex: 0 0 auto;
|
2018-06-08 05:49:31 -04:00
|
|
|
|
2017-09-07 03:40:18 -04: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 05:49:31 -04:00
|
|
|
0%,
|
|
|
|
60%,
|
|
|
|
100% {
|
2017-09-07 03:40:18 -04:00
|
|
|
transform: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
|
|
|
transform: translateY(-0.2em);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-12-06 15:58:59 -05:00
|
|
|
.composer-fields .presence-users {
|
|
|
|
position: absolute;
|
2018-10-15 04:25:28 -04:00
|
|
|
top: 20px;
|
2019-01-10 21:01:18 -05:00
|
|
|
right: 95px;
|
2018-01-19 19:15:08 -05:00
|
|
|
@media screen and (max-width: $small-width) {
|
2018-06-08 05:49:31 -04:00
|
|
|
max-width: 318px;
|
2018-01-19 19:15:08 -05:00
|
|
|
.presence-avatars {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2017-12-06 15:58:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-view {
|
2018-01-19 19:15:08 -05:00
|
|
|
.presence-users {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2017-12-06 15:58:59 -05:00
|
|
|
.composer-fields .presence-users {
|
2018-11-13 11:12:58 -05:00
|
|
|
top: 7px;
|
2018-01-19 19:15:08 -05:00
|
|
|
right: 65px;
|
|
|
|
max-width: 70px;
|
|
|
|
.presence-avatars {
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
2017-12-06 15:58:59 -05:00
|
|
|
.description {
|
2018-06-08 05:49:31 -04:00
|
|
|
display: none;
|
2017-12-06 15:58:59 -05:00
|
|
|
}
|
2017-09-07 03:40:18 -04:00
|
|
|
}
|
2017-11-27 15:23:18 -05:00
|
|
|
}
|
2019-09-09 08:47:29 -04: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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|