This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
who-is-online-style.ts
137 lines (118 loc) · 2.53 KB
/
who-is-online-style.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
import { css } from 'lit';
export const whoIsOnlineStyle = css`
.who-is-online__participant-list {
display: flex;
align-items: center;
gap: 4px;
position: relative;
}
.who-is-online {
display: flex;
flex-direction: column;
position: fixed;
z-index: 99;
}
.who-is-online__presence-control-message__text {
margin: 0;
}
.who-is-online__participant {
border-radius: 50%;
box-sizing: border-box;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
cursor: pointer;
transition: opacity 0.3s ease-in-out;
border: 2px solid #878291;
border-radius: 50%;
max-width: 40px;
flex: 1 0 40px;
}
.followed {
border-style: dashed !important;
animation: rotate 15s linear infinite;
}
.followed .who-is-online__participant__avatar {
animation: nullifyRotate 15s linear infinite;
}
.private {
opacity: 0.3;
}
@keyframes rotate {
100% {
transform: rotate(1turn);
}
}
@keyframes nullifyRotate {
100% {
transform: rotate(-1turn);
}
}
.who-is-online__participant.disable-dropdown {
cursor: default;
}
.who-is-online__participant__avatar {
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Open Sans';
font-size: 14px;
line-height: 14px;
line-height: 14px;
font-weight: bold;
color: #26242a;
object-fit: contain;
}
.superviz-who-is-online__excess {
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-family: Roboto;
font-size: 14px;
line-height: 16px;
text-align: center;
font-weight: bold;
cursor: pointer;
color: #aea9b8;
}
.excess_participants:hover,
.excess_participants--open {
background-color: #aea9b8 !important;
}
.excess_participants:hover > div,
.excess_participants--open > div {
color: #fff !important;
}
@media (max-width: 780px) {
.who-is-online__participant {
width: 32px;
height: 32px;
}
.who-is-online__participant {
flex: 1 0 32px;
max-width: 32px;
}
.who-is-online__participant__avatar {
width: 24px;
height: 24px;
}
.who-is-online__participant-list {
gap: 8px;
}
.superviz-who-is-online__excess {
width: 24px;
height: 24px;
font-size: 12px;
line-height: 12px;
}
}
`;