Merge branch 'mark-as-read' into next
[Sone.git] / src / main / resources / static / css / sone.css
1 /* Sone Main CSS File */
2
3 /* first, override some fproxy rules. */
4 #sone div, #sone span, #sone .post .time,#sone .post .delete,#sone .post .show-reply-form, input[type=text], textarea {
5         font: inherit;
6 }
7
8 input[type=text], textarea {
9         font-size: 90%;
10         margin: 0.5ex;
11         margin-left: 0;
12         border: solid 1px #ccc;
13         padding: 0.5ex;
14         height: 1.5em;
15         width: 50em;
16         outline: none;
17 }
18
19 input[type=text].short {
20         width: 25em;
21 }
22
23 textarea {
24         height: 4em;
25 }
26
27 #sone button {
28         background-color: #ddd;
29         border-width: 1px;
30         color: #444;
31         padding: 0.5ex 1.5ex;
32 }
33
34 #sone form {
35         margin: 0px;
36 }
37
38 #sone select {
39         color: #444;
40         padding: 0.5ex 1.5ex;
41 }
42
43 /* now for the real stuff. */
44
45 #sone {
46         width: 55em;
47         margin: auto;
48 }
49
50 #sone .hidden {
51         display: none;
52 }
53
54 #sone #formPassword {
55         display: none;
56 }
57
58 #sone a, #sone a:link, #sone a:visited {
59         color: rgb(28, 131, 191);
60         font-size: inherit;
61         text-decoration: none;
62 }
63
64 #sone a:active, #sone a:hover {
65         color: rgb(255, 172, 0);
66 }
67
68 #sone a.link {
69         cursor: pointer;
70 }
71
72 #sone a.internet {
73         color: rgb(255, 0, 0);
74 }
75
76 #sone a.internet:before {
77         content: '⚠ ';
78 }
79
80 #sone a.freenet:before {
81         content: '» ';
82 }
83
84 #sone a.freenet-trusted {
85         color: rgb(0, 128, 0);
86 }
87
88 #sone a.freenet-trusted:before {
89         content: '★ ';
90 }
91
92 #sone a img {
93         border: none;
94 }
95
96 #sone #notification-area {
97         margin-top: 1em;
98 }
99
100 #sone #notification-area .notification {
101         padding: 1ex;
102         border: solid 1px #ccc;
103         background-color: #ffffa0;
104         margin-bottom: 1ex;
105         min-height: 3.5ex;
106 }
107
108 #sone #notification-area .notification .dismiss {
109         float: right;
110 }
111
112 #sone #notification-area .notification .post-count {
113         margin-left: 1ex;
114 }
115
116 #sone #notification-area .notification .mark-as-read {
117         float: right;
118 }
119
120 #sone #plugin-warning {
121         border: solid 0.5em red;
122         padding: 0.5em;
123         margin-bottom: 1em;
124 }
125
126 #sone #profile {
127         height: 80px;
128         margin-top: 1em;
129         margin-bottom: 1ex;
130 }
131
132 #sone .profile-link {
133         font-weight: bold;
134         color: rgb(28, 131, 191);
135 }
136
137 #sone #profile.online .picture {
138         position: absolute;
139 }
140
141 #sone #profile.offline .picture {
142         position: absolute;
143 }
144
145 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
146         display: none;
147 }
148
149 #sone #profile .edit-profile-link {
150         font-size: 85%;
151 }
152
153 #sone #home-sone {
154         margin-top: 1ex;
155         margin-left: 80px;
156         padding-left: 1ex;
157 }
158
159 #sone #update-status {
160         margin-bottom: 1em;
161 }
162
163 #sone #update-status label {
164         display: none;
165 }
166
167 #sone #update-status input[type=text] {
168         width: 45em;
169 }
170
171 #sone #update-status textarea {
172         width: 45em;
173 }
174
175 #sone #update-status button {
176         float: right;
177 }
178
179 #sone #update-status .select-sender, #sone .create-reply .select-sender {
180         display: none;
181 }
182
183 #sone #update-status .select-sender button {
184         display: inline;
185         float: left;
186 }
187
188 #sone .nice-name {
189         font-weight: bold;
190 }
191
192 #sone #main {
193         padding: 1em;
194         padding-top: 0px;
195 }
196
197 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
198         display: inline;
199         width: 15em;
200 }
201
202 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
203         width: 4em;
204         text-align: right;
205 }
206
207 #sone .post {
208         padding: 1ex 0px;
209         border-bottom: solid 1px #ccc;
210         clear: both;
211 }
212
213 #sone .post.new {
214         background-color: #ffffa0;
215         padding-left: 1ex;
216 }
217
218 #sone .post.last {
219         padding: 1ex 0px;
220         border-bottom: none;
221 }
222
223 #sone .post > .avatar {
224         position: absolute;
225 }
226
227 #sone .post > .inner-part {
228         margin-left: 48px;
229         padding-left: 0.5em;
230         min-height: 48px;
231 }
232
233 #sone .post .author, #sone .post .recipient {
234         display: inline;
235         font-weight: bold;
236 }
237
238 #sone .post .text {
239         display: inline;
240         white-space: pre-wrap;
241 }
242
243 #sone .post .status-line {
244         margin-top: 0.5ex;
245         font-size: 85%;
246 }
247
248 #sone .separator {
249         font: inherit;
250         color: rgb(28, 131, 191);
251 }
252
253 #sone .post .time {
254         display: inline;
255         color: #666;
256 }
257
258 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
259         display: inline;
260         font: inherit;
261         margin: 0px;
262 }
263
264 #sone .post .likes.hidden {
265         display: none;
266 }
267
268 #sone .post .like.hidden, #sone .post .unlike.hidden, #sone .post .trust.hidden, #sone .post .distrust.hidden, #sone .post .untrust.hidden {
269         display: none;
270 }
271
272 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .trust button, #sone .post .distrust button, #sone .post .untrust button {
273         border: 0px;
274         background: none;
275         padding: 0px;
276         color: rgb(28, 131, 191);
277         font: inherit;
278         margin: 0px;
279 }
280
281 #sone .post .delete button.confirm {
282         color: red;
283         font-weight: bold;
284 }
285
286 #sone .post .trust button {
287         color: rgb(0, 128, 0);
288 }
289
290 #sone .post .distrust button {
291         color: rgb(255, 0, 0);
292 }
293
294 #sone .post .untrust button {
295         color: rgb(64, 64, 64);
296 }
297
298 #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .trust button:hover, #sone .post .distrust button:hover, #sone .post .untrust button:hover {
299         border: 0px;
300         background: none;
301         padding: 0px;
302         color: rgb(255, 172, 0);
303         cursor: pointer;
304 }
305
306 #sone .post .likes span {
307         font: inherit;
308         color: green;
309 }
310
311 #sone .post .replies {
312         clear: both;
313         padding-top: 0.2ex;
314 }
315
316 #sone .post .replies .click-to-show {
317         background-color: #f0f0ff;
318         font-size: 85%;
319         padding: 0.5em;
320         cursor: pointer;
321 }
322
323 #sone .post .replies .click-to-show.new {
324         background-color: #ffffa0;
325 }
326
327 #sone .post .reply > .avatar {
328         position: absolute;
329 }
330
331 #sone .post .reply > .inner-part {
332         margin-left: 36px;
333         padding-left: 0.5em;
334         min-height: 36px;
335 }
336
337 #sone .post .reply {
338         clear: both;
339         background-color: #f0f0ff;
340         font-size: 85%;
341         margin: 1ex 0px;
342         padding: 1ex;
343 }
344
345 #sone .post .reply.new {
346         background-color: #ffffa0;
347 }
348
349 #sone .post .reply .time {
350         float: none;
351         display: inline;
352         color: #666;
353         font-size: inherit;
354 }
355
356 #sone .post .show-reply-form {
357         display: inline;
358 }
359
360 #sone .post .show-reply-form span {
361         color: rgb(28, 131, 191);
362         cursor: pointer;
363         font: inherit;
364 }
365
366 #sone .post .show-reply-form span:hover {
367         color: rgb(255, 172, 0);
368 }
369
370 #sone .post .create-reply {
371         clear: both;
372         background-color: #f0f0ff;
373         padding: 0.5ex;
374 }
375
376 #sone .post .create-reply input[type=text] {
377         margin-left: 0.5ex;
378         width: 42em;
379 }
380
381 #sone .post .create-reply textarea {
382         margin-left: 0.5ex;
383         width: 42em;
384         height: 4em;
385 }
386
387 #sone .post .create-reply button {
388         float: right;
389 }
390
391 #sone .create-reply .select-sender button {
392         display: inline;
393         float: left;
394 }
395
396 #sone .sone {
397         clear: both;
398         background-color: #f0f0ff;
399         border: 1px solid #ccc;
400         margin-bottom: 0.5ex;
401         padding: 0.5ex;
402 }
403
404 #sone .sone.local {
405         background-color: #f0fff0;
406 }
407
408 #sone .sone.new {
409         background-color: #ffffa0;
410 }
411
412 #sone .sone .profile-link {
413         display: block;
414 }
415
416 #sone .sone .short-request-uri {
417         clear: both;
418         float: right;
419 }
420
421 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
422         display: none;
423 }
424
425 #sone .sone.unknown .unknown-marker, #sone .sone.idle .idle-marker, #sone .sone.downloading .download-marker, #sone .sone.inserting .insert-marker, #sone .sone.modified .modified-marker {
426         display: inline;
427         float: right;
428         border: solid 1px #ccc;
429         border-right: none;
430         border-top: none;
431         padding: 0 0.5ex;
432         position: relative;
433         right: -0.5ex;
434         top: -0.5ex
435 }
436
437 #sone .sone.idle.modified .idle-marker {
438         display: none;
439 }
440
441 #sone .sone .last-update {
442         float: right;
443         display: inline;
444 }
445
446 #sone .sone .modified-marker, #sone .sone .unknown-marker {
447         color: red;
448         font-weight: bold;
449 }
450
451 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
452         display: inline;
453         border: solid 1px #ccc;
454         border-left: none;
455         border-bottom: none;
456         padding: 0 0.5ex;
457         position: relative;
458         left: -0.5ex;
459         bottom: -0.5ex
460 }
461
462 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
463         display: inline;
464         color: rgb(28, 131, 191);
465         background: none;
466         border: none;
467         font: inherit;
468         padding: 0px;
469 }
470
471 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
472         display: inline;
473         color: rgb(255, 172, 0);
474 }
475
476 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
477         display: none;
478 }
479
480 #sone .sone form.hidden {
481         display: none;
482 }
483
484 #sone .sone .spacer {
485         display: inline;
486 }
487
488 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
489         margin-top: 1em;
490 }
491
492 #sone .profile-field .name {
493         display: inline;
494         font-weight: bold;
495 }
496
497 #sone .profile-field .name.hidden {
498         display: none;
499 }
500
501 #sone .profile-field button.confirm.edit {
502         font-weight: bold;
503         color: #080;
504 }
505
506 #sone .profile-field button.cancel {
507         font-weight: bold;
508         color: red;
509 }
510
511 #sone .profile-field .value {
512         margin-left: 2em;
513 }
514
515 #sone #edit-profile .profile-field .value {
516         margin-left: inherit;
517 }
518
519 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
520         float: right;
521         margin-top: -1ex;
522         position: relative;
523 }
524
525 #sone #tail {
526         margin-top: 1em;
527         border-top: solid 1px #ccc;
528         padding-top: 2em;
529         text-align: center;
530         font-size: 75%;
531         color: #888;
532 }
533
534 #sone #tail #version-information {
535         margin-top: 1em;
536 }
537
538 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
539         height: 1.5em;
540 }
541
542 #sone #add-sone button {
543         position: absolute;
544 }
545
546 #sone .navigation {
547         text-align: center;
548 }
549
550 #sone .navigation .first a, #sone .navigation .previous a, #sone .navigation .next a, #sone .navigation .last a, #sone .navigation .first span, #sone .navigation .previous span, #sone .navigation .next span, #sone .navigation .last span {
551         display: block;
552         height: 1.5em;
553         padding: 0.5ex;
554         width: 3em;
555         border: solid 1px #ccc;
556         background-color: #f0f0ff;
557         margin: 1ex 0;
558 }
559
560 #sone .navigation .first, #sone .navigation .previous {
561         float: left;
562 }
563
564 #sone .navigation .current-page, #sone .navigation .total-pages {
565         position: relative;
566         top: 0.5em;
567         margin-top: 0.5ex;
568         display: inline;
569 }
570
571 #sone .navigation .total-pages:before {
572         content: '/ ';
573 }
574
575 #sone .navigation .next, #sone .navigation .last {
576         float: right;
577 }
578
579 #sone h1 {
580         font-family: inherit;
581         font-size: 200%;
582         font-weight: bold;
583         clear: both;
584 }
585
586 #sone h2 {
587         font-family: inherit;
588         font-size: 150%;
589         font-weight: bold;
590         clear: both;
591 }
592
593 #sone .error label {
594         color: red;
595         font-weight: bold;
596 }
597
598 #sone input.default {
599         color: #888;
600 }
601
602 #sone input[type=text].key {
603         width: 130ex;;
604         font-size: 75%;
605 }
606
607 #sone .confirm {
608         font-weight: bold;
609         color: red;
610 }