37
|
1 body {
|
|
2 position: fixed;
|
|
3 top: 0;
|
|
4 bottom: 0;
|
|
5 left: 0;
|
|
6 right: 0;
|
|
7 }
|
|
8
|
48
|
9 div[chat_content] {
|
10
|
10 display: flex;
|
37
|
11 height: calc(100% - 32px);
|
10
|
12 }
|
|
13
|
|
14 div[chats] > div {
|
|
15 margin-top: 2px;
|
|
16 margin-bottom: 2px;
|
|
17 padding-top: 16px;
|
|
18 padding-bottom: 16px;
|
|
19 padding-left: 8px;
|
|
20 padding-right: 8px;
|
|
21 border-radius: 4px;
|
11
|
22 cursor: pointer;
|
10
|
23 }
|
|
24
|
|
25 div[chats] > div:hover,
|
|
26 div[chats] > div[selected] {
|
|
27 background-color: LightBlue;
|
|
28 }
|
|
29
|
|
30 div[posts] {
|
|
31 width: 100%;
|
|
32 display: flex;
|
|
33 flex-direction: column;
|
34
|
34 justify-content: space-between;
|
10
|
35 }
|
|
36
|
60
|
37 div[chat_content][show="intro"] div[posts] {
|
|
38 display: none;
|
|
39 }
|
|
40
|
10
|
41 div[posts] > * {
|
|
42 padding-right: 3vw;
|
|
43 }
|
|
44
|
|
45 div[top] {
|
|
46 display: flex;
|
|
47 justify-content: space-between;
|
|
48 align-items: center;
|
|
49 }
|
|
50
|
41
|
51 div[top] h3 a {
|
|
52 display: inline-block;
|
|
53 margin-bottom: -5px;
|
|
54 }
|
|
55 div[top] h3 a img {
|
|
56 display: block;
|
|
57 }
|
|
58
|
10
|
59 div[main] {
|
|
60 overflow-y: auto;
|
|
61 }
|
|
62
|
|
63 div[post] {
|
|
64 margin-top: 16px;
|
|
65 margin-bottom: 16px;
|
|
66 }
|
|
67
|
60
|
68 div[intro] {
|
|
69 width: 100%;
|
56
|
70 display: flex;
|
|
71 flex-direction: column;
|
|
72 align-items: center;
|
|
73 }
|
|
74
|
60
|
75 div[intro] form {
|
|
76 max-width: 100%;
|
|
77 }
|
|
78 div[intro] input[type=email] {
|
56
|
79 width: 250px;
|
60
|
80 max-width: 100%;
|
34
|
81 }
|
|
82
|
75
|
83 div[unread] {
|
|
84 font-size: 12px;
|
|
85 color: grey;
|
|
86 text-align: right;
|
|
87 }
|
|
88
|
34
|
89 div[who] {
|
|
90 display: flex;
|
|
91 justify-content: space-between;
|
|
92 font-size: 12px;
|
|
93 color: grey;
|
|
94 }
|
|
95
|
22
|
96 span[pulldown] {
|
|
97 position: relative;
|
68
|
98 }
|
|
99
|
|
100 div[who] span[pulldown] {
|
35
|
101 width: 16px;
|
|
102 display: inline-block;
|
36
|
103 vertical-align: middle;
|
22
|
104 }
|
|
105
|
|
106 span[pulldown] > div {
|
|
107 display: none;
|
34
|
108 right: 100%;
|
22
|
109 z-index: 2;
|
|
110 position: absolute;
|
|
111 border: 1px solid #cccccc;
|
|
112 border-radius: 4px;
|
|
113 text-align: left;
|
|
114 background-color: #eeeeee;
|
|
115 padding: 5px 0;
|
|
116 }
|
|
117
|
68
|
118 div[who] span[pulldown] > div {
|
|
119 top: 0;
|
|
120 }
|
|
121
|
|
122 div[top] span[pulldown] > div {
|
|
123 right: 0;
|
|
124 }
|
|
125
|
22
|
126 span[pulldown] > div > span {
|
|
127 white-space: nowrap;
|
|
128 display: block;
|
74
|
129 padding: 8px 16px;
|
22
|
130 cursor: pointer;
|
|
131 }
|
|
132
|
|
133 span[pulldown] > div > span:hover {
|
|
134 color: #ffffff;
|
|
135 background-color: #428bca;
|
|
136 }
|
|
137
|
79
|
138 blockquote,
|
10
|
139 div[text] {
|
34
|
140 white-space: pre-wrap;
|
10
|
141 }
|
79
|
142 blockquote {
|
|
143 margin: 0;
|
|
144 }
|
|
145 div[quote] {
|
|
146 border-left: 1px solid #888888;
|
|
147 padding-left: 8px;
|
|
148 }
|
|
149 div[reply] a,
|
|
150 div[quote] [when] {
|
|
151 font-size: 12px;
|
|
152 }
|
10
|
153
|
|
154 div[input] {
|
|
155 padding-top: 1em;
|
|
156 padding-bottom: 1em;
|
|
157 display: flex;
|
|
158 gap: 8px;
|
|
159 align-items: flex-end;
|
|
160 }
|
|
161
|
79
|
162 div[input] span[textarea] {
|
10
|
163 flex-grow: 1;
|
|
164 max-height: 150px;
|
79
|
165 }
|
|
166
|
|
167 div[input] div[reply] {
|
|
168 border: 1px solid #888888;
|
|
169 padding: 2px;
|
|
170 }
|
|
171
|
|
172 div[input] div[reply_top] {
|
|
173 display: flex;
|
|
174 justify-content: space-between;
|
|
175 color: #5f6368;
|
|
176 }
|
|
177
|
|
178 div[input] textarea {
|
|
179 display: block;
|
|
180 width: 100%;
|
10
|
181 resize: none;
|
|
182 }
|
24
|
183
|
|
184 dialog textarea {
|
|
185 width: 600px;
|
|
186 max-width: 80vw;
|
|
187 }
|
27
|
188
|
33
|
189 span[online] {
|
|
190 display: inline-block;
|
|
191 aspect-ratio: 1;
|
|
192 background-color: grey;
|
34
|
193 height: 0.6em;
|
33
|
194 border-radius: 50%;
|
|
195 margin-left: 4px;
|
|
196 }
|
|
197
|
72
|
198 span[is_online=true] {
|
|
199 background-color: green;
|
|
200 }
|
|
201
|
53
|
202 span[unread] {
|
|
203 font-size: small;
|
|
204 display: inline-block;
|
|
205 background-color: DodgerBlue;
|
|
206 color: white;
|
|
207 padding: 2px;
|
|
208 border-radius: calc(1em + 4px);
|
|
209 min-width: calc(1em + 4px);
|
|
210 text-align: center;
|
|
211 line-height: 1;
|
|
212 }
|
|
213 span[unread="0"] {
|
|
214 display: none;
|
|
215 }
|
27
|
216
|
63
|
217 input[type="file"] {
|
|
218 display: none;
|
|
219 }
|
|
220
|
65
|
221 div[people] {
|
|
222 margin-bottom: 40px;
|
|
223 }
|
|
224
|
|
225 div[people] img[phone] {
|
|
226 display: inline-block;
|
|
227 height: 1em;
|
|
228 }
|
|
229
|
83
|
230 dialog[add] input[name=email] {
|
|
231 width: 300px;
|
|
232 }
|
|
233
|
|
234 [error] {
|
|
235 color: red;
|
|
236 }
|
|
237
|
27
|
238 @media (min-width: 700px) {
|
48
|
239 div[chat_content] {
|
27
|
240 margin-left: calc(3% - 8px);
|
|
241 margin-right: 0;
|
|
242 }
|
|
243
|
60
|
244 div[chat_content][show="chats"] div[intro],
|
|
245 div[chat_content][show="posts"] div[intro] {
|
|
246 display: none;
|
|
247 }
|
|
248
|
27
|
249 div[chats] {
|
60
|
250 overflow-y: auto;
|
27
|
251 width: 250px;
|
|
252 padding-right: 8px;
|
|
253 flex-shrink: 0;
|
|
254 }
|
|
255
|
60
|
256 div[intro],
|
27
|
257 div[posts] {
|
|
258 padding-left: 8px;
|
34
|
259 border-left: 1px solid grey;
|
82
|
260 max-width: calc(100% - 250px);
|
27
|
261 }
|
|
262
|
41
|
263 div[top] img[back] {
|
27
|
264 display: none;
|
|
265 }
|
|
266 }
|
|
267
|
|
268 @media (max-width: 699px) {
|
60
|
269 div[chat_content][show="intro"],
|
|
270 div[chat_content][show="chats"] {
|
|
271 flex-direction: column;
|
|
272 overflow-y: auto;
|
|
273 }
|
|
274 div[chat_content][show="posts"] {
|
|
275 margin-left: 3%;
|
|
276 }
|
|
277
|
48
|
278 div[chat_content][show="chats"] div[posts],
|
60
|
279 div[chat_content][show="posts"] div[intro],
|
48
|
280 div[chat_content][show="posts"] div[chats] {
|
27
|
281 display: none;
|
|
282 }
|
|
283
|
60
|
284 div[chats],
|
|
285 div[intro] {
|
|
286 padding-left: 3%;
|
|
287 padding-right: 3%;
|
|
288 }
|
|
289
|
27
|
290 div[chats] {
|
|
291 width: 100%;
|
|
292 }
|
|
293
|
60
|
294 div[intro] {
|
|
295 margin-top: 20px;
|
|
296 border-top: 1px solid grey;
|
|
297 }
|
|
298
|
|
299 div[intro] [or] {
|
|
300 display: none;
|
|
301 }
|
|
302
|
48
|
303 div[chat_content][show="posts"] {
|
27
|
304 margin-right: 0;
|
|
305 }
|
|
306
|
|
307 div[top] h3 {
|
|
308 display: flex;
|
|
309 gap: 6px;
|
|
310 }
|
|
311 }
|