Add context menues when hovering over avatar images.
[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.in-page-link:before {
93         content: '↓ ';
94 }
95
96 #sone a img {
97         border: none;
98 }
99
100 #sone #main.offline {
101         opacity: 0.5;
102 }
103
104 #sone #offline-marker {
105         display: none;
106         position: fixed;
107         top: 2em;
108         right: 2em;
109         width: 128px;
110         height: 128px;
111         background-image: url("../images/sone-offline.png");
112 }
113
114 #sone #notification-area {
115         margin-top: 1em;
116 }
117
118 #sone #notification-area .notification {
119         padding: 1ex;
120         border: solid 1px #ccc;
121         background-color: #ffffa0;
122         margin-bottom: 1ex;
123         min-height: 3.5ex;
124 }
125
126 #sone #notification-area .notification button {
127         margin-left: 1ex;
128 }
129
130 #sone #notification-area .notification .dismiss {
131         float: right;
132 }
133
134 #sone #notification-area .notification .post-count {
135         margin-left: 1ex;
136 }
137
138 #sone #notification-area .notification .mark-as-read {
139         float: right;
140 }
141
142 #sone #notification-area .notification .hidden {
143         display: none;
144 }
145
146 #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification {
147         display: none;
148 }
149
150 #sone #plugin-warning {
151         border: solid 0.5em red;
152         padding: 0.5em;
153         margin-bottom: 1em;
154 }
155
156 #sone #profile {
157         height: 80px;
158         margin-top: 1em;
159         margin-bottom: 1ex;
160 }
161
162 #sone .profile-link {
163         font-weight: bold;
164         color: rgb(28, 131, 191);
165 }
166
167 #sone #profile.online .picture {
168         position: absolute;
169 }
170
171 #sone #profile.offline .picture {
172         position: absolute;
173 }
174
175 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
176         display: none;
177 }
178
179 #sone #profile .edit-profile-link {
180         font-size: 85%;
181 }
182
183 #sone #home-sone {
184         margin-top: 1ex;
185         margin-left: 80px;
186         padding-left: 1ex;
187 }
188
189 #sone #update-status {
190         margin-bottom: 1em;
191 }
192
193 #sone #update-status label, #sone #post-message label {
194         display: none;
195 }
196
197 #sone #update-status input[type=text] {
198         width: 45em;
199 }
200
201 #sone #update-status textarea {
202         width: 45em;
203 }
204
205 #sone #update-status button {
206         float: right;
207 }
208
209 #sone #update-status .select-sender, #sone .create-reply .select-sender, #sone #post-message .select-sender {
210         display: none;
211 }
212
213 #sone #update-status .select-sender button, #sone #post-message .select-sender button {
214         display: inline;
215         float: left;
216 }
217
218 #sone .nice-name {
219         font-weight: bold;
220 }
221
222 #sone #main {
223         padding: 1em;
224         padding-top: 0px;
225 }
226
227 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
228         display: inline;
229         width: 15em;
230 }
231
232 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
233         width: 4em;
234         text-align: right;
235 }
236
237 #sone .post {
238         padding: 1ex 0px;
239         border-bottom: solid 1px #ccc;
240         clear: both;
241         position: relative;
242 }
243
244 #sone .post.new {
245         background-color: #ffffa0;
246         padding-left: 1ex;
247 }
248
249 #sone .post.last {
250         padding: 1ex 0px;
251         border-bottom: none;
252 }
253
254 #sone .post .sone-menu {
255         position: absolute;
256         top: 0;
257         left: -1ex;
258         padding: 1ex 1ex;
259         margin: -1px -1px;
260         display: none;
261         background-color: rgb(255, 255, 224);
262         border: solid 1px rgb(0, 0, 0);
263         z-index: 1;
264 }
265
266 #sone .post .sone-menu .avatar {
267         position: absolute;
268         margin-right: 1ex;
269 }
270
271 #sone .post .sone-menu .inner-menu {
272         margin-left: 64px;
273         padding-left: 1ex;
274         min-height: 64px;
275 }
276
277 #sone .sone-menu .follow, #sone .sone-menu .unfollow {
278         cursor: pointer;
279 }
280
281 #sone .post > .avatar {
282         position: absolute;
283 }
284
285 #sone .post > .inner-part {
286         margin-left: 48px;
287         padding-left: 0.5em;
288         min-height: 48px;
289 }
290
291 #sone .post .author, #sone .post .recipient {
292         display: inline;
293         font-weight: bold;
294 }
295
296 #sone .post .author-wot-link {
297         font-size: 90%;
298 }
299
300 #sone .post .text, #sone .post .raw-text, #sone .post .short-text {
301         display: inline;
302         white-space: pre-wrap;
303         word-wrap: break-word;
304 }
305
306 #sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden {
307         display: none;
308 }
309
310 #sone .post .expand-post-text:before, #sone .post .expand-reply-text:before {
311         content: "» ";
312 }
313
314 #sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before {
315         content: "« ";
316 }
317
318 #sone .post .shrink-post-text {
319         cursor: pointer;
320 }
321
322 #sone .post .status-line {
323         margin-top: 0.5ex;
324         font-size: 85%;
325 }
326
327 #sone .separator {
328         font: inherit;
329         color: rgb(28, 131, 191);
330 }
331
332 #sone .show-source, #sone .show-reply-source {
333         display: inline;
334 }
335
336 #sone .permalink {
337         display: inline;
338 }
339
340 #sone .post .bookmarks {
341         display: inline;
342         color: rgb(28, 131, 191);
343 }
344
345 #sone .post .bookmark, #sone .post .unbookmark {
346         display: inline;
347         font: inherit;
348         margin: 0px;
349 }
350
351 #sone .post .time {
352         display: inline;
353         color: #666;
354 }
355
356 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
357         display: inline;
358         font: inherit;
359         margin: 0px;
360 }
361
362 #sone .post .likes.hidden {
363         display: none;
364 }
365
366 #sone .post .like.hidden, #sone .post .unlike.hidden, #sone .post .trust.hidden, #sone .post .distrust.hidden, #sone .post .untrust.hidden, #sone .post .bookmark.hidden, #sone .post .unbookmark.hidden {
367         display: none;
368 }
369
370 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .trust button, #sone .post .distrust button, #sone .post .untrust button, #sone .post .bookmark button, #sone .post .unbookmark button {
371         border: 0px;
372         background: none;
373         padding: 0px;
374         color: rgb(28, 131, 191);
375         font: inherit;
376         margin: 0px;
377 }
378
379 #sone .post .delete button.confirm {
380         color: red;
381         font-weight: bold;
382 }
383
384 #sone .post .trust button {
385         color: rgb(0, 128, 0);
386 }
387
388 #sone .post .distrust button {
389         color: rgb(255, 0, 0);
390 }
391
392 #sone .post .untrust button {
393         color: rgb(64, 64, 64);
394 }
395
396 #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, #sone .post .bookmark button:hover, #sone .post .unbookmark button:hover {
397         border: 0px;
398         background: none;
399         padding: 0px;
400         color: rgb(255, 172, 0);
401         cursor: pointer;
402 }
403
404 #sone .post .likes span {
405         font: inherit;
406         color: green;
407 }
408
409 #sone .post .replies {
410         clear: both;
411         padding-top: 0.2ex;
412 }
413
414 #sone .post .replies .click-to-show {
415         background-color: #f0f0ff;
416         font-size: 85%;
417         padding: 0.5em;
418         cursor: pointer;
419 }
420
421 #sone .post .replies .click-to-show.new {
422         background-color: #ffffa0;
423 }
424
425 #sone .post .reply > .avatar {
426         position: absolute;
427 }
428
429 #sone .post .reply > .inner-part {
430         margin-left: 36px;
431         padding-left: 0.5em;
432         min-height: 36px;
433 }
434
435 #sone .post .reply {
436         position: relative;
437         clear: both;
438         background-color: #f0f0ff;
439         margin: 1ex 0px;
440         padding: 1ex;
441 }
442
443 #sone .post .reply .inner-part {
444         font-size: 85%;
445 }
446
447 #sone .post .reply.new {
448         background-color: #ffffa0;
449 }
450
451 #sone .post .reply .time {
452         float: none;
453         display: inline;
454         color: #666;
455         font-size: inherit;
456 }
457
458 #sone .post .show-reply-form {
459         display: inline;
460 }
461
462 #sone .post .show-reply-form span {
463         color: rgb(28, 131, 191);
464         cursor: pointer;
465         font: inherit;
466 }
467
468 #sone .post .show-reply-form span:hover {
469         color: rgb(255, 172, 0);
470 }
471
472 #sone .post .create-reply {
473         clear: both;
474         background-color: #f0f0ff;
475         padding: 0.5ex;
476 }
477
478 #sone .post .create-reply input[type=text] {
479         margin-left: 0.5ex;
480         width: 42em;
481 }
482
483 #sone .post .create-reply textarea {
484         margin-left: 0.5ex;
485         width: 42em;
486         height: 4em;
487 }
488
489 #sone .post .create-reply button {
490         float: right;
491 }
492
493 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
494         display: inline;
495         float: left;
496 }
497
498 #sone .sone {
499         clear: both;
500         background-color: #f0f0ff;
501         border: 1px solid #ccc;
502         margin-bottom: 0.5ex;
503         padding: 0.5ex;
504 }
505
506 #sone .sone.local {
507         background-color: #f0fff0;
508 }
509
510 #sone .sone.new {
511         background-color: #ffffa0;
512 }
513
514 #sone .sone .profile-link {
515         display: block;
516 }
517
518 #sone .sone .short-request-uri {
519         clear: both;
520         float: right;
521 }
522
523 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
524         display: none;
525 }
526
527 #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 {
528         display: inline;
529         float: right;
530         border: solid 1px #ccc;
531         border-right: none;
532         border-top: none;
533         padding: 0 0.5ex;
534         position: relative;
535         right: -0.5ex;
536         top: -0.5ex
537 }
538
539 #sone .sone.idle.modified .idle-marker {
540         display: none;
541 }
542
543 #sone .sone .last-update {
544         float: right;
545         display: inline;
546 }
547
548 #sone .sone .modified-marker, #sone .sone .unknown-marker {
549         color: red;
550         font-weight: bold;
551 }
552
553 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
554         display: inline;
555         border: solid 1px #ccc;
556         border-left: none;
557         border-bottom: none;
558         padding: 0 0.5ex;
559         position: relative;
560         left: -0.5ex;
561         bottom: -0.5ex
562 }
563
564 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
565         display: inline;
566         color: rgb(28, 131, 191);
567         background: none;
568         border: none;
569         font: inherit;
570         padding: 0px;
571 }
572
573 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
574         display: inline;
575         color: rgb(255, 172, 0);
576 }
577
578 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
579         display: none;
580 }
581
582 #sone .sone form.hidden {
583         display: none;
584 }
585
586 #sone .sone .spacer {
587         display: inline;
588 }
589
590 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
591         margin-top: 1em;
592 }
593
594 #sone .profile-field .name {
595         display: inline;
596         font-weight: bold;
597 }
598
599 #sone .profile-field .name.hidden {
600         display: none;
601 }
602
603 #sone .profile-field button.confirm.edit {
604         font-weight: bold;
605         color: #080;
606 }
607
608 #sone .profile-field button.cancel {
609         font-weight: bold;
610         color: red;
611 }
612
613 #sone .profile-field .value {
614         margin-left: 2em;
615 }
616
617 #sone #edit-profile .profile-field .value {
618         margin-left: inherit;
619 }
620
621 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
622         float: right;
623         margin-top: -1ex;
624         position: relative;
625 }
626
627 #sone #search {
628         text-align: right;
629 }
630
631 #sone #search input[type=text] {
632         width: 35em;
633 }
634
635 #sone #sone-results + #sone #post-results {
636         clear: both;
637         padding-top: 1em;
638 }
639
640 #sone #tail {
641         margin-top: 1em;
642         border-top: solid 1px #ccc;
643         padding-top: 2em;
644         text-align: center;
645         font-size: 75%;
646         color: #888;
647 }
648
649 #sone #tail #version-information {
650         margin-top: 1em;
651 }
652
653 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
654         height: 1.5em;
655 }
656
657 #sone #add-sone button {
658         position: absolute;
659 }
660
661 #sone .navigation {
662         text-align: center;
663 }
664
665 #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 {
666         display: block;
667         height: 1.5em;
668         padding: 0.5ex;
669         width: 3em;
670         border: solid 1px #ccc;
671         background-color: #f0f0ff;
672         margin: 1ex 0;
673 }
674
675 #sone .navigation .first, #sone .navigation .previous {
676         float: left;
677 }
678
679 #sone .navigation .current-page, #sone .navigation .total-pages {
680         position: relative;
681         top: 0.5em;
682         margin-top: 0.5ex;
683         display: inline;
684 }
685
686 #sone .navigation .total-pages:before {
687         content: '/ ';
688 }
689
690 #sone .navigation .next, #sone .navigation .last {
691         float: right;
692 }
693
694 #sone h1 {
695         font-family: inherit;
696         font-size: 200%;
697         font-weight: bold;
698         clear: both;
699 }
700
701 #sone h2 {
702         font-family: inherit;
703         font-size: 150%;
704         font-weight: bold;
705         clear: both;
706 }
707
708 #sone .error label {
709         color: red;
710         font-weight: bold;
711 }
712
713 #sone input.default {
714         color: #888;
715 }
716
717 #sone input[type=text].key {
718         width: 130ex;;
719         font-size: 75%;
720 }
721
722 #sone .confirm {
723         font-weight: bold;
724         color: red;
725 }
726
727 #sone .warning {
728         color: red;
729         font-style: italic;
730 }
731
732 #sone #sort-options {
733         margin-bottom: 1em;
734 }