Files: 88526ac77402dd07273ad025aa30ab6a18129b7d / style.css
6048 bytesRaw
1 | body { |
2 | font-family: sans-serif; |
3 | } |
4 | |
5 | * { |
6 | word-break: break-word; |
7 | } |
8 | |
9 | .screen { |
10 | position: absolute; |
11 | top: 0px; bottom: 0px; |
12 | left: 0px; right: 0px; |
13 | overflow-y: hidden; |
14 | } |
15 | |
16 | .column { |
17 | display: flex; |
18 | flex-direction: column; |
19 | } |
20 | |
21 | .row { |
22 | display: flex; |
23 | flex-direction: row; |
24 | } |
25 | |
26 | .end { |
27 | justify-content: flex-end; |
28 | } |
29 | |
30 | .wrap { |
31 | display: flex; |
32 | flex-direction: row; |
33 | flex-wrap: wrap; |
34 | } |
35 | |
36 | .no-shrink { |
37 | flex-shrink: 0; |
38 | } |
39 | |
40 | .expand { |
41 | justify-content: space-between; |
42 | } |
43 | |
44 | .scroll-y { |
45 | overflow-y: auto; |
46 | min-height: 0px; |
47 | } |
48 | |
49 | .scroll-x { |
50 | overflow-x: auto; |
51 | min-width: 0px; |
52 | } |
53 | |
54 | pre { |
55 | white-space: pre-wrap; |
56 | word-wrap: break-word; |
57 | } |
58 | |
59 | p { |
60 | margin-top: .35ex; |
61 | } |
62 | |
63 | hr { |
64 | border: solid #eee; |
65 | clear: both; |
66 | border-width: 1px 0 0; |
67 | height: 0; |
68 | margin-bottom: .9em; |
69 | } |
70 | |
71 | input, textarea { |
72 | border: none; |
73 | border-radius: .2em; |
74 | font-family: sans-serif; |
75 | } |
76 | |
77 | textarea { |
78 | padding: .5em; |
79 | } |
80 | |
81 | button { |
82 | background: #fff; |
83 | color: #666; |
84 | border: 1px solid #bbb; |
85 | border-radius: .5em; |
86 | padding: .7em; |
87 | margin: .5em; |
88 | cursor: pointer; |
89 | text-transform: uppercase; |
90 | font-weight: bold; |
91 | font-size: .7em; |
92 | } |
93 | |
94 | button:hover { |
95 | background: #ccc; |
96 | border: 1px solid #bbb; |
97 | } |
98 | |
99 | .menu { |
100 | position: absolute; |
101 | top: .5em; |
102 | right: .5em; |
103 | padding-top: .5em; |
104 | padding-bottom: .5em; |
105 | padding-right: 1em; |
106 | padding-left: 1em; |
107 | background: #f5f5f5; |
108 | border: 1px solid #eee; |
109 | box-shadow: 3px 0px 3px #ccc; |
110 | border-radius: .2em; |
111 | } |
112 | |
113 | /* scrolling feeds, threads */ |
114 | |
115 | .scroller { |
116 | width: 100%; |
117 | } |
118 | |
119 | .scroller__wrapper { |
120 | flex: 1; |
121 | max-width: 600px; |
122 | margin-left: auto; |
123 | margin-right: auto; |
124 | } |
125 | |
126 | /* compose */ |
127 | |
128 | .compose { |
129 | width: 100%; |
130 | margin-top: .5em; |
131 | margin-bottom: .5em; |
132 | box-shadow: #dadada 1px 2px 8px; |
133 | } |
134 | |
135 | .compose button { |
136 | float: right; |
137 | } |
138 | |
139 | /* messages */ |
140 | |
141 | .message { |
142 | display: block; |
143 | flex-basis: 0; |
144 | word-wrap: break-word; |
145 | display: inline-block; |
146 | border: 1px solid #eee; |
147 | margin-bottom: 1em; |
148 | } |
149 | |
150 | .message_meta input { |
151 | font-size: .8em; |
152 | } |
153 | |
154 | .message_meta { |
155 | margin-left: auto; |
156 | } |
157 | |
158 | .message_meta > * { |
159 | margin-left: .5ex; |
160 | } |
161 | |
162 | .message_actions { |
163 | float: right; |
164 | margin-right: .5ex; |
165 | margin-bottom: .5ex; |
166 | } |
167 | |
168 | .title { |
169 | padding: .5ex; |
170 | } |
171 | |
172 | .message img { |
173 | max-width: 100%; |
174 | } |
175 | |
176 | .actions > * { |
177 | padding-left: 5px; |
178 | margin-left: 1px; |
179 | } |
180 | |
181 | .actions > :not(:last-child) { |
182 | border-right: 2px solid #eee; |
183 | padding-right: 5px; |
184 | } |
185 | |
186 | .message > .title > .avatar { |
187 | margin-left: 0; |
188 | } |
189 | |
190 | .message_content { |
191 | padding: .5ex; |
192 | } |
193 | |
194 | /* -- suggest box */ |
195 | |
196 | .suggest-box > * { |
197 | display: block; |
198 | } |
199 | |
200 | .suggest-box ul { |
201 | list-style-type: none; |
202 | padding-left: -2em; |
203 | } |
204 | |
205 | .suggest-box .selected { |
206 | background: #eee; |
207 | } |
208 | |
209 | .suggest-box { |
210 | width: max-content; |
211 | background: white; |
212 | border-radius: 1em; |
213 | } |
214 | |
215 | /* avatar */ |
216 | |
217 | .avatar { |
218 | display: flex; |
219 | flex-direction: row; |
220 | } |
221 | |
222 | .avatar--large { |
223 | width: 10em; |
224 | height: 10em; |
225 | } |
226 | |
227 | .avatar--thumbnail { |
228 | width: 2.5em; |
229 | height: 2.5em; |
230 | margin-right: .5ex; |
231 | } |
232 | |
233 | .avatar--fullsize { |
234 | width: 100%; |
235 | } |
236 | |
237 | .profile { |
238 | padding: .5ex; |
239 | overflow: auto; |
240 | } |
241 | |
242 | .profile input { |
243 | width: 100%; |
244 | } |
245 | |
246 | .profile__info { |
247 | margin-left: .5em; |
248 | } |
249 | |
250 | /* lightbox - used in message-confirm */ |
251 | |
252 | .lightbox { |
253 | overflow: auto; |
254 | padding: 1.5em; |
255 | margin-top: 3em; |
256 | margin-bottom: 3em; |
257 | width: 600px; |
258 | margin-left: auto; |
259 | margin-right: auto; |
260 | background: #f5f5f5; |
261 | border: 1px solid #eee; |
262 | border-radius: .2em; |
263 | } |
264 | |
265 | /* searchprompt */ |
266 | |
267 | .searchprompt { |
268 | float: left; |
269 | width: 85%; |
270 | height: 2em; |
271 | margin-top: .3em; |
272 | border-radius: 1em; |
273 | padding-left: .2em; |
274 | margin-left: 1em; |
275 | margin-right: 1em; |
276 | } |
277 | |
278 | /* TextNodeSearcher highlights */ |
279 | |
280 | .highlight { |
281 | background: #f5f5f5; |
282 | } |
283 | |
284 | /* avatar editor */ |
285 | |
286 | .hypercrop__canvas { |
287 | width: 100%; |
288 | } |
289 | |
290 | /* gitssb */ |
291 | |
292 | .git-table-wrapper { |
293 | max-height: 12em; |
294 | overflow: auto; |
295 | word-break: break-all; |
296 | margin: 1em 0; |
297 | } |
298 | |
299 | .git-table-wrapper table { |
300 | width: 100%; |
301 | } |
302 | |
303 | /* --- network status --- */ |
304 | |
305 | .status { |
306 | width: .7em; |
307 | height: .7em; |
308 | margin: .7em; |
309 | border-radius: 100%; |
310 | background: green; |
311 | } |
312 | |
313 | .error { |
314 | background: red; |
315 | } |
316 | |
317 | /* themes */ |
318 | |
319 | .theme { |
320 | margin-left: 1ex; |
321 | } |
322 | |
323 | .themes__form { |
324 | margin: 1ex; |
325 | } |
326 | |
327 | |
328 | /* tabs */ |
329 | |
330 | .header { |
331 | background: #f5f5f5; |
332 | border-bottom: 1px inset; |
333 | flex-shrink: 0; |
334 | } |
335 | |
336 | .header__tabs { |
337 | width: 100%; |
338 | min-width: 0px; |
339 | } |
340 | |
341 | /* --- hypertabs ------- */ |
342 | |
343 | .hypertabs__tabs { |
344 | min-width: 0px; |
345 | width: 100%; |
346 | } |
347 | |
348 | .hypertabs__tab { |
349 | overflow-x: hidden; |
350 | min-width: 0px; |
351 | width: 100%; |
352 | } |
353 | |
354 | .hypertabs__button { |
355 | overflow-x: hidden; |
356 | min-width: 0px; |
357 | width: 100%; |
358 | } |
359 | |
360 | .hypertabs__tab { |
361 | color: black; |
362 | background: #eee; |
363 | border-right: 1px solid #ddd; |
364 | border-top-left-radius: 5px; |
365 | margin-left: -3px; |
366 | border-bottom: none; |
367 | padding-top: .56em; |
368 | padding-left: 1em; |
369 | width: 100%; |
370 | } |
371 | |
372 | .hypertabs__tab > a { |
373 | color: black; |
374 | text-decoration: none; |
375 | white-space: nowrap; |
376 | font-size: .9em; |
377 | } |
378 | |
379 | .hypertabs--selected { |
380 | background: #eee; |
381 | border-top-right-radius: 5px; |
382 | z-index: 1; |
383 | } |
384 | |
385 | .hypertabs__x { |
386 | display: none; |
387 | transform: translate(-5px, -3px); |
388 | } |
389 | |
390 | .hypertabs--selected .hypertabs__x { |
391 | display: block; |
392 | } |
393 | |
394 | a:link, a:visited, a:active { |
395 | color: #0088cc; |
396 | text-decoration: none; |
397 | } |
398 | |
399 | a:hover, |
400 | a:focus { |
401 | color: #005580; |
402 | text-decoration: underline; |
403 | } |
404 | |
405 | .navbar a:link, |
406 | .navbar a:visited, |
407 | .navbar a:active { |
408 | color: #666; |
409 | font-weight: normal; |
410 | } |
411 | |
412 | .navbar a:hover, |
413 | .navbar a:focus { |
414 | color: #333; font-weight: normal; |
415 | } |
416 | |
417 | .message_content div > span { |
418 | font-size: 0.8rem; |
419 | margin-bottom: 0.7rem; |
420 | display: block; |
421 | color: #888; |
422 | } |
423 | |
424 | .message_content div > span a { |
425 | color: #005d8c; |
426 | } |
427 | |
428 | .message { |
429 | padding: 0.3rem; |
430 | border: none; |
431 | border-radius: 2px; |
432 | box-shadow: #dadada 1px 2px 8px; |
433 | } |
434 | |
435 | .header { |
436 | box-shadow: 3px 0px 3px #ccc; |
437 | } |
438 | |
439 | .hypertabs__tabs a:link, |
440 | .hypertabs__tabs a:visited, |
441 | .hypertabs__tabs a:active { |
442 | color: #666; |
443 | text-decoration: none; |
444 | } |
445 | |
446 | .hypertabs__tabs a:hover, |
447 | .hypertabs__tabs a:focus { |
448 | color: #333; |
449 | } |
450 | |
451 | .hypertabs--selected a { |
452 | font-weight: bold; |
453 | } |
454 | |
455 | .hyperprogress__liquid, .status { |
456 | background: #0088cc; |
457 | } |
458 | |
459 | .hypertabs__tab { |
460 | background: transparent; |
461 | } |
462 | |
463 | .avatar--large, .avatar--thumbnail, .avatar--fullsize { |
464 | border: 1px solid #eee; |
465 | } |
466 | |
467 |
Built with git-ssb-web