🔀 Merge branch “release-80”
[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 .toggle-link {
55         margin-top: 1em;
56 }
57
58 #sone #formPassword {
59         display: none;
60 }
61
62 #sone a, #sone a:link, #sone a:visited {
63         color: rgb(28, 131, 191);
64         font-size: inherit;
65         text-decoration: none;
66 }
67
68 #sone a:active, #sone a:hover {
69         color: rgb(255, 172, 0);
70 }
71
72 #sone a.link {
73         cursor: pointer;
74 }
75
76 #sone a.internet {
77         color: rgb(255, 0, 0);
78 }
79
80 #sone a.internet:before {
81         content: '⚠ ';
82 }
83
84 #sone a.freenet:before {
85         content: '» ';
86 }
87
88 #sone a.freenet-trusted {
89         color: rgb(0, 128, 0);
90 }
91
92 #sone a.freenet-trusted:before {
93         content: '★ ';
94 }
95
96 #sone a.in-page-link:before {
97         content: '↓ ';
98 }
99
100 #sone a img {
101         border: none;
102 }
103
104 #sone .small-link {
105         font-size: 85%;
106 }
107
108 #sone .parsed {
109         white-space: pre-wrap;
110 }
111
112 #sone #main.offline {
113         opacity: 0.5;
114 }
115
116 #sone #offline-marker {
117         display: none;
118         position: fixed;
119         top: 2em;
120         right: 2em;
121         width: 128px;
122         height: 128px;
123         background-image: url("../images/sone-offline.png");
124 }
125
126 #sone #notification-area {
127         margin-top: 1em;
128 }
129
130 #sone #notification-area .notification {
131         padding: 1ex;
132         border: solid 1px #ccc;
133         background-color: #ffffa0;
134         margin-bottom: 1ex;
135         min-height: 3.5ex;
136 }
137
138 #sone #notification-area .notification button {
139         margin-left: 1ex;
140 }
141
142 #sone #notification-area .notification .dismiss {
143         float: right;
144 }
145
146 #sone #notification-area .notification .post-count {
147         margin-left: 1ex;
148 }
149
150 #sone #notification-area .notification .mark-as-read {
151         float: right;
152 }
153
154 #sone #notification-area .notification .hidden {
155         display: none;
156 }
157
158 #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification {
159         display: none;
160 }
161
162 #sone #plugin-warning {
163         border: solid 0.5em red;
164         padding: 0.5em;
165         margin-bottom: 1em;
166 }
167
168 #sone #profile {
169         height: 80px;
170         margin-top: 1em;
171         margin-bottom: 1ex;
172 }
173
174 #sone .profile-avatar {
175         display: inline-block;
176         width: 80px;
177         height: 80px;
178         overflow: hidden;
179         position: absolute;
180 }
181
182 #sone .profile-link {
183         font-weight: bold;
184         color: rgb(28, 131, 191);
185 }
186
187 #sone #profile.online .picture {
188         position: absolute;
189 }
190
191 #sone #profile.offline .picture {
192         position: absolute;
193 }
194
195 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
196         display: none;
197 }
198
199 #sone #profile .edit-profile-link {
200         font-size: 85%;
201 }
202
203 #sone #home-sone {
204         margin-top: 1ex;
205         margin-left: 80px;
206         padding-left: 1ex;
207 }
208
209 #sone #update-status {
210         margin-bottom: 1em;
211 }
212
213 #sone #update-status label, #sone #post-message label {
214         display: none;
215 }
216
217 #sone #update-status input[type=text] {
218         width: 45em;
219 }
220
221 #sone #update-status textarea {
222         width: 45em;
223 }
224
225 #sone #update-status button {
226         float: right;
227 }
228
229 #sone #update-status .select-sender, #sone .create-reply .select-sender, #sone #post-message .select-sender {
230         display: none;
231 }
232
233 #sone #update-status .select-sender button, #sone #post-message .select-sender button {
234         display: inline;
235         float: left;
236 }
237
238 #sone .nice-name {
239         font-weight: bold;
240 }
241
242 #sone #main {
243         padding: 1em;
244         padding-top: 0px;
245 }
246
247 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
248         display: inline;
249         width: 15em;
250 }
251
252 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
253         width: 4em;
254         text-align: right;
255 }
256
257 #sone .post {
258         padding: 1ex 0px;
259         border-bottom: solid 1px #ccc;
260         clear: both;
261         position: relative;
262 }
263
264 #sone .post.new {
265         background-color: #ffffa0;
266         padding-left: 1ex;
267 }
268
269 #sone .post.last {
270         padding: 1ex 0px;
271         border-bottom: none;
272 }
273
274 #sone .post .sone-menu {
275         position: absolute;
276         top: 0;
277         left: -1ex;
278         padding: 1ex 1ex;
279         margin: -1px -1px;
280         display: none;
281         background-color: rgb(255, 255, 224);
282         border: solid 1px rgb(0, 0, 0);
283         z-index: 1;
284 }
285
286 #sone .post .sone-menu .avatar {
287         position: absolute;
288         margin-right: 1ex;
289 }
290
291 #sone .menu-avatar {
292         display: inline-block;
293         width: 64px;
294         height: 64px;
295         overflow: hidden;
296 }
297
298 #sone .post .sone-menu .inner-menu {
299         margin-left: 64px;
300         padding-left: 1ex;
301         min-height: 64px;
302 }
303
304 #sone .sone-menu .follow, #sone .sone-menu .unfollow {
305         cursor: pointer;
306 }
307
308 #sone .post > .avatar {
309         position: absolute;
310 }
311
312 #sone .post-avatar {
313         display: inline-block;
314         width: 48px;
315         height: 48px;
316         overflow: hidden;
317 }
318
319 #sone .post > .inner-part {
320         margin-left: 48px;
321         padding-left: 0.5em;
322         min-height: 48px;
323 }
324
325 #sone .post .author, #sone .post .recipient {
326         display: inline;
327         font-weight: bold;
328 }
329
330 #sone .post .author-wot-link {
331         font-size: 90%;
332 }
333
334 #sone .post .text, #sone .post .raw-text, #sone .post .short-text {
335         display: inline;
336         white-space: pre-wrap;
337         word-wrap: break-word;
338 }
339
340 #sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden {
341         display: none;
342 }
343
344 #sone .post .expand-post-text:before, #sone .post .expand-reply-text:before {
345         content: "» ";
346 }
347
348 #sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before {
349         content: "« ";
350 }
351
352 #sone .post .shrink-post-text {
353         cursor: pointer;
354 }
355
356 #sone .post .status-line {
357         margin-top: 0.5ex;
358         font-size: 85%;
359 }
360
361 #sone .separator {
362         font: inherit;
363         color: rgb(28, 131, 191);
364 }
365
366 #sone .show-source, #sone .show-reply-source {
367         display: inline;
368 }
369
370 #sone .permalink {
371         display: inline;
372 }
373
374 #sone .post .bookmarks {
375         display: inline;
376         color: rgb(28, 131, 191);
377 }
378
379 #sone .post .bookmark, #sone .post .unbookmark {
380         display: inline;
381         font: inherit;
382         margin: 0px;
383 }
384
385 #sone .post .time {
386         display: inline;
387         color: #666;
388 }
389
390 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
391         display: inline;
392         font: inherit;
393         margin: 0px;
394 }
395
396 #sone .post .likes.hidden {
397         display: none;
398 }
399
400 #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 {
401         display: none;
402 }
403
404 #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 {
405         border: 0px;
406         background: none;
407         padding: 0px;
408         color: rgb(28, 131, 191);
409         font: inherit;
410         margin: 0px;
411 }
412
413 #sone .post .delete button.confirm {
414         color: red;
415         font-weight: bold;
416 }
417
418 #sone .post .trust button {
419         color: rgb(0, 128, 0);
420 }
421
422 #sone .post .distrust button {
423         color: rgb(255, 0, 0);
424 }
425
426 #sone .post .untrust button {
427         color: rgb(64, 64, 64);
428 }
429
430 #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 {
431         border: 0px;
432         background: none;
433         padding: 0px;
434         color: rgb(255, 172, 0);
435         cursor: pointer;
436 }
437
438 #sone .post .likes span {
439         font: inherit;
440         color: green;
441 }
442
443 #sone .post .linked-elements {
444         margin-top: 1ex;
445 }
446
447 #sone .linked-element.loaded .image {
448         display: inline-block;
449         border: solid 1px black;
450         width: 160px;
451         height: 120px;
452         background-size: cover;
453         background-position: center;
454         margin-right: 1ex;
455         margin-bottom: 1ex;
456 }
457
458 #sone .linked-element.loaded .html-page {
459         display: inline-block;
460         width: 160px;
461         max-height: 120px;
462         overflow: hidden;
463         vertical-align: top;
464 }
465
466 #sone .reply .linked-element.loaded .html-page {
467         width: 120px;
468         max-height: 90px;
469 }
470
471 #sone .linked-element.loaded .html-page .heading {
472         font-size: 115%;
473         font-weight: 600;
474         text-overflow: ellipsis;
475         overflow: hidden;
476         white-space: nowrap;
477 }
478
479 #sone .linked-element.loaded .html-page .description {
480         font-size: 85%;
481 }
482
483 #sone .linked-element.loaded .html-page {
484         display: inline-block;
485 }
486
487 #sone .post .replies {
488         clear: both;
489         padding-top: 0.2ex;
490 }
491
492 #sone .post .replies .click-to-show {
493         background-color: #f0f0ff;
494         font-size: 85%;
495         padding: 0.5em;
496         cursor: pointer;
497 }
498
499 #sone .post .replies .click-to-show.new {
500         background-color: #ffffa0;
501 }
502
503 #sone .post .reply > .avatar {
504         position: absolute;
505 }
506
507 #sone .reply-avatar {
508         display: inline-block;
509         width: 36px;
510         height: 36px;
511         overflow: hidden;
512 }
513
514 #sone .post .reply > .inner-part {
515         margin-left: 36px;
516         padding-left: 0.5em;
517         min-height: 36px;
518 }
519
520 #sone .post .reply {
521         position: relative;
522         clear: both;
523         background-color: #f0f0ff;
524         margin: 1ex 0px;
525         padding: 1ex;
526 }
527
528 #sone .post .reply .inner-part {
529         font-size: 85%;
530 }
531
532 #sone .post .reply.new {
533         background-color: #ffffa0;
534 }
535
536 #sone .post .reply .time {
537         float: none;
538         display: inline;
539         color: #666;
540         font-size: inherit;
541 }
542
543 #sone .post .reply .linked-elements {
544         margin-top: 1ex;
545 }
546
547 #sone .post .reply .linked-element.loaded .image {
548         display: inline-block;
549         border: solid 1px black;
550         width: 120px;
551         height: 90px;
552         background-size: cover;
553         background-position: center;
554         margin-right: 1ex;
555         margin-bottom: 1ex;
556 }
557
558 #sone .post .show-reply-form {
559         display: inline;
560 }
561
562 #sone .post .show-reply-form span {
563         color: rgb(28, 131, 191);
564         cursor: pointer;
565         font: inherit;
566 }
567
568 #sone .post .show-reply-form span:hover {
569         color: rgb(255, 172, 0);
570 }
571
572 #sone .post .create-reply {
573         clear: both;
574         background-color: #f0f0ff;
575         padding: 0.5ex;
576 }
577
578 #sone .post .create-reply input[type=text] {
579         margin-left: 0.5ex;
580         width: 42em;
581 }
582
583 #sone .post .create-reply textarea {
584         margin-left: 0.5ex;
585         width: 42em;
586         height: 4em;
587 }
588
589 #sone .post .create-reply button {
590         float: right;
591 }
592
593 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
594         display: inline;
595         float: left;
596 }
597
598 #sone .sone {
599         clear: both;
600         background-color: #f0f0ff;
601         border: 1px solid #ccc;
602         margin-bottom: 0.5ex;
603         padding: 0.5ex;
604 }
605
606 #sone .sone.local {
607         background-color: #f0fff0;
608 }
609
610 #sone .sone.new {
611         background-color: #ffffa0;
612 }
613
614 #sone .sone .profile-link {
615         display: inline;
616 }
617
618 #sone .sone .sone-stats {
619         display: inline;
620 }
621
622 #sone .sone .short-request-uri {
623         clear: both;
624         float: right;
625 }
626
627 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
628         display: none;
629 }
630
631 #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 {
632         display: inline;
633         float: right;
634         border: solid 1px #ccc;
635         border-right: none;
636         border-top: none;
637         padding: 0 0.5ex;
638         position: relative;
639         right: -0.5ex;
640         top: -0.5ex
641 }
642
643 #sone .sone.idle.modified .idle-marker {
644         display: none;
645 }
646
647 #sone .sone .last-update {
648         float: right;
649         display: inline;
650 }
651
652 #sone .sone .modified-marker, #sone .sone .unknown-marker {
653         color: red;
654         font-weight: bold;
655 }
656
657 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
658         display: inline;
659         border: solid 1px #ccc;
660         border-left: none;
661         border-bottom: none;
662         padding: 0 0.5ex;
663         position: relative;
664         left: -0.5ex;
665         bottom: -0.5ex
666 }
667
668 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
669         display: inline;
670         color: rgb(28, 131, 191);
671         background: none;
672         border: none;
673         font: inherit;
674         padding: 0px;
675 }
676
677 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
678         display: inline;
679         color: rgb(255, 172, 0);
680 }
681
682 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
683         display: none;
684 }
685
686 #sone .sone form.hidden {
687         display: none;
688 }
689
690 #sone .sone .spacer {
691         display: inline;
692 }
693
694 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
695         margin-top: 1em;
696 }
697
698 #sone .profile-field .name {
699         display: inline;
700         font-weight: bold;
701 }
702
703 #sone .profile-field .name.hidden {
704         display: none;
705 }
706
707 #sone .profile-field button.confirm.edit {
708         font-weight: bold;
709         color: #080;
710 }
711
712 #sone .profile-field button.cancel {
713         font-weight: bold;
714         color: red;
715 }
716
717 #sone .profile-field .value {
718         margin-left: 2em;
719 }
720
721 #sone #edit-profile .profile-field .value {
722         margin-left: inherit;
723 }
724
725 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
726         float: right;
727         margin-top: -1ex;
728         position: relative;
729 }
730
731 #sone .backlinks {
732         font-size: 80%;
733         margin-bottom: 1em;
734 }
735
736 #sone .backlinks .backlink {
737         display: inline;
738 }
739
740 #sone .album {
741 }
742
743 #sone .image-row, #sone .album-row {
744         display: table-row;
745 }
746
747 #sone .image-container, #sone .album-container {
748         width: 250px;
749         height: 250px;
750         overflow: hidden;
751         padding: -1px;
752         border: solid 1px #000;
753 }
754
755 #sone .image, #sone .album {
756         display: table-cell;
757         vertical-align: top;
758         text-align: center;
759         padding: 0.5ex;
760 }
761
762 #sone .single-image img {
763         border: solid 1px #000;
764         background-color: #fff;
765 }
766
767 #sone .image .edit-image input, #sone .album .edit-album input {
768         width: 95%;
769 }
770
771 #sone .image .edit-image textarea, #sone .album .edit-album textarea {
772         width: 95%;
773 }
774
775 #sone .image .album-sone {
776         font-size: 80%;
777 }
778
779 #sone .image .image-title, #sone .album .album-title {
780         font-weight: bold;
781 }
782
783 #sone .image .image-description, #sone .album .album-description {
784         text-align: left;
785         width: 98%;
786         word-wrap: break-word;
787         max-height: 5em;
788         overflow: auto;
789 }
790
791 #sone .backlinks .separator {
792         display: inline;
793 }
794
795 #sone #search {
796         text-align: right;
797 }
798
799 #sone #search input[type=text] {
800         width: 35em;
801 }
802
803 #sone #sone-results + #sone #post-results {
804         clear: both;
805         padding-top: 1em;
806 }
807
808 #sone #tail {
809         margin-top: 1em;
810         border-top: solid 1px #ccc;
811         padding-top: 2em;
812         text-align: center;
813         font-size: 75%;
814         color: #888;
815 }
816
817 #sone #tail #version-information {
818         margin-top: 1em;
819 }
820
821 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
822         height: 1.5em;
823 }
824
825 #sone #add-sone button {
826         position: absolute;
827 }
828
829 #sone .navigation {
830         text-align: center;
831 }
832
833 #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 {
834         display: block;
835         height: 1.5em;
836         padding: 0.5ex;
837         width: 3em;
838         border: solid 1px #ccc;
839         background-color: #f0f0ff;
840         margin: 1ex 0;
841 }
842
843 #sone .navigation .first, #sone .navigation .previous {
844         float: left;
845 }
846
847 #sone .navigation .current-page, #sone .navigation .total-pages {
848         position: relative;
849         top: 0.5em;
850         margin-top: 0.5ex;
851         display: inline;
852 }
853
854 #sone .navigation .total-pages:before {
855         content: '/ ';
856 }
857
858 #sone .navigation .next, #sone .navigation .last {
859         float: right;
860 }
861
862 #sone .clear {
863         clear: both;
864 }
865
866 #sone h1 {
867         font-family: inherit;
868         font-size: 200%;
869         font-weight: bold;
870         clear: both;
871 }
872
873 #sone h1.backlink {
874         margin-bottom: 0px;
875 }
876
877 #sone h2 {
878         font-family: inherit;
879         font-size: 150%;
880         font-weight: bold;
881         clear: both;
882 }
883
884 #sone .error label {
885         color: red;
886         font-weight: bold;
887 }
888
889 #sone input.default, #sone textarea.default {
890         color: #888;
891 }
892
893 #sone input[type=text].key {
894         width: 130ex;;
895         font-size: 75%;
896 }
897
898 #sone .confirm {
899         font-weight: bold;
900         color: red;
901 }
902
903 #sone .warning {
904         color: red;
905         font-style: italic;
906 }
907
908 #sone #sort-options {
909         margin-bottom: 1em;
910 }
911
912 #sone ul#avatar-selection {
913         padding: 0;
914 }
915
916 #sone #avatar-selection li {
917         display: inline-block;
918 }
919
920 #sone #avatar-selection li .post-avatar {
921         vertical-align: middle;
922         margin-top: 0.5em;
923 }
924
925 #sone #avatar-selection li#no-avatar {
926         display: block;
927 }
928
929 #sone form#options ul {
930         padding-left: 1em;
931 }
932
933 #sone form#options li {
934         list-style-type: none;
935 }