349ab5c07f4bc9cd62c00bc01cba165f70f22472
[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 td.numeric {
258         text-align: right;
259 }
260
261 #sone .post {
262         padding: 1ex 0px;
263         border-bottom: solid 1px #ccc;
264         clear: both;
265         position: relative;
266 }
267
268 #sone .post.new {
269         background-color: #ffffa0;
270         padding-left: 1ex;
271 }
272
273 #sone .post.last {
274         padding: 1ex 0px;
275         border-bottom: none;
276 }
277
278 #sone .post .sone-menu {
279         position: absolute;
280         top: 0;
281         left: -1ex;
282         padding: 1ex 1ex;
283         margin: -1px -1px;
284         display: none;
285         background-color: rgb(255, 255, 224);
286         border: solid 1px rgb(0, 0, 0);
287         z-index: 1;
288 }
289
290 #sone .post .sone-menu .avatar {
291         position: absolute;
292         margin-right: 1ex;
293 }
294
295 #sone .menu-avatar {
296         display: inline-block;
297         width: 64px;
298         height: 64px;
299         overflow: hidden;
300 }
301
302 #sone .post .sone-menu .inner-menu {
303         margin-left: 64px;
304         padding-left: 1ex;
305         min-height: 64px;
306 }
307
308 #sone .sone-menu .follow, #sone .sone-menu .unfollow {
309         cursor: pointer;
310 }
311
312 #sone .post > .avatar {
313         position: absolute;
314 }
315
316 #sone .post-avatar {
317         display: inline-block;
318         width: 48px;
319         height: 48px;
320         overflow: hidden;
321 }
322
323 #sone .post > .inner-part {
324         margin-left: 48px;
325         padding-left: 0.5em;
326         min-height: 48px;
327 }
328
329 #sone .post .author, #sone .post .recipient {
330         display: inline;
331         font-weight: bold;
332 }
333
334 #sone .post .author-wot-link {
335         font-size: 90%;
336 }
337
338 #sone .post .text, #sone .post .raw-text, #sone .post .short-text {
339         display: inline;
340         white-space: pre-wrap;
341         word-wrap: break-word;
342 }
343
344 #sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden {
345         display: none;
346 }
347
348 #sone .post .expand-post-text:before, #sone .post .expand-reply-text:before {
349         content: "» ";
350 }
351
352 #sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before {
353         content: "« ";
354 }
355
356 #sone .post .shrink-post-text {
357         cursor: pointer;
358 }
359
360 #sone .post .status-line {
361         margin-top: 0.5ex;
362         font-size: 85%;
363 }
364
365 #sone .separator {
366         font: inherit;
367         color: rgb(28, 131, 191);
368 }
369
370 #sone .show-source, #sone .show-reply-source {
371         display: inline;
372 }
373
374 #sone .permalink {
375         display: inline;
376 }
377
378 #sone .post .bookmarks {
379         display: inline;
380         color: rgb(28, 131, 191);
381 }
382
383 #sone .post .bookmark, #sone .post .unbookmark {
384         display: inline;
385         font: inherit;
386         margin: 0px;
387 }
388
389 #sone .post .time {
390         display: inline;
391         color: #666;
392 }
393
394 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
395         display: inline;
396         font: inherit;
397         margin: 0px;
398 }
399
400 #sone .post .likes.hidden {
401         display: none;
402 }
403
404 #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 {
405         display: none;
406 }
407
408 #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 {
409         border: 0px;
410         background: none;
411         padding: 0px;
412         color: rgb(28, 131, 191);
413         font: inherit;
414         margin: 0px;
415 }
416
417 #sone .post .delete button.confirm {
418         color: red;
419         font-weight: bold;
420 }
421
422 #sone .post .trust button {
423         color: rgb(0, 128, 0);
424 }
425
426 #sone .post .distrust button {
427         color: rgb(255, 0, 0);
428 }
429
430 #sone .post .untrust button {
431         color: rgb(64, 64, 64);
432 }
433
434 #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 {
435         border: 0px;
436         background: none;
437         padding: 0px;
438         color: rgb(255, 172, 0);
439         cursor: pointer;
440 }
441
442 #sone .post .likes span {
443         font: inherit;
444         color: green;
445 }
446
447 #sone .post .linked-elements {
448         margin-top: 1ex;
449 }
450
451 #sone .linked-element.loaded .image {
452         display: inline-block;
453         border: solid 1px black;
454         width: 160px;
455         height: 120px;
456         background-size: cover;
457         background-position: center;
458         margin-right: 1ex;
459         margin-bottom: 1ex;
460 }
461
462 #sone .linked-element.loaded .html-page {
463         display: inline-block;
464         width: 160px;
465         max-height: 120px;
466         overflow: hidden;
467         vertical-align: top;
468 }
469
470 #sone .reply .linked-element.loaded .html-page {
471         width: 120px;
472         max-height: 90px;
473 }
474
475 #sone .linked-element.loaded .html-page .heading {
476         font-size: 115%;
477         font-weight: 600;
478         text-overflow: ellipsis;
479         overflow: hidden;
480         white-space: nowrap;
481 }
482
483 #sone .linked-element.loaded .html-page .description {
484         font-size: 85%;
485 }
486
487 #sone .linked-element.loaded .html-page {
488         display: inline-block;
489 }
490
491 #sone .post .replies {
492         clear: both;
493         padding-top: 0.2ex;
494 }
495
496 #sone .post .replies .click-to-show {
497         background-color: #f0f0ff;
498         font-size: 85%;
499         padding: 0.5em;
500         cursor: pointer;
501 }
502
503 #sone .post .replies .click-to-show.new {
504         background-color: #ffffa0;
505 }
506
507 #sone .post .reply > .avatar {
508         position: absolute;
509 }
510
511 #sone .reply-avatar {
512         display: inline-block;
513         width: 36px;
514         height: 36px;
515         overflow: hidden;
516 }
517
518 #sone .post .reply > .inner-part {
519         margin-left: 36px;
520         padding-left: 0.5em;
521         min-height: 36px;
522 }
523
524 #sone .post .reply {
525         position: relative;
526         clear: both;
527         background-color: #f0f0ff;
528         margin: 1ex 0px;
529         padding: 1ex;
530 }
531
532 #sone .post .reply .inner-part {
533         font-size: 85%;
534 }
535
536 #sone .post .reply.new {
537         background-color: #ffffa0;
538 }
539
540 #sone .post .reply .time {
541         float: none;
542         display: inline;
543         color: #666;
544         font-size: inherit;
545 }
546
547 #sone .post .reply .linked-elements {
548         margin-top: 1ex;
549 }
550
551 #sone .post .reply .linked-element.loaded .image {
552         display: inline-block;
553         border: solid 1px black;
554         width: 120px;
555         height: 90px;
556         background-size: cover;
557         background-position: center;
558         margin-right: 1ex;
559         margin-bottom: 1ex;
560 }
561
562 #sone .post .show-reply-form {
563         display: inline;
564 }
565
566 #sone .post .show-reply-form span {
567         color: rgb(28, 131, 191);
568         cursor: pointer;
569         font: inherit;
570 }
571
572 #sone .post .show-reply-form span:hover {
573         color: rgb(255, 172, 0);
574 }
575
576 #sone .post .create-reply {
577         clear: both;
578         background-color: #f0f0ff;
579         padding: 0.5ex;
580 }
581
582 #sone .post .create-reply input[type=text] {
583         margin-left: 0.5ex;
584         width: 42em;
585 }
586
587 #sone .post .create-reply textarea {
588         margin-left: 0.5ex;
589         width: 42em;
590         height: 4em;
591 }
592
593 #sone .post .create-reply button {
594         float: right;
595 }
596
597 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
598         display: inline;
599         float: left;
600 }
601
602 #sone .sone {
603         clear: both;
604         background-color: #f0f0ff;
605         border: 1px solid #ccc;
606         margin-bottom: 0.5ex;
607         padding: 0.5ex;
608 }
609
610 #sone .sone.local {
611         background-color: #f0fff0;
612 }
613
614 #sone .sone.new {
615         background-color: #ffffa0;
616 }
617
618 #sone .sone .profile-link {
619         display: inline;
620 }
621
622 #sone .sone .sone-stats {
623         display: inline;
624 }
625
626 #sone .sone .short-request-uri {
627         clear: both;
628         float: right;
629 }
630
631 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
632         display: none;
633 }
634
635 #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 {
636         display: inline;
637         float: right;
638         border: solid 1px #ccc;
639         border-right: none;
640         border-top: none;
641         padding: 0 0.5ex;
642         position: relative;
643         right: -0.5ex;
644         top: -0.5ex
645 }
646
647 #sone .sone.idle.modified .idle-marker {
648         display: none;
649 }
650
651 #sone .sone .last-update {
652         float: right;
653         display: inline;
654 }
655
656 #sone .sone .modified-marker, #sone .sone .unknown-marker {
657         color: red;
658         font-weight: bold;
659 }
660
661 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
662         display: inline;
663         border: solid 1px #ccc;
664         border-left: none;
665         border-bottom: none;
666         padding: 0 0.5ex;
667         position: relative;
668         left: -0.5ex;
669         bottom: -0.5ex
670 }
671
672 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
673         display: inline;
674         color: rgb(28, 131, 191);
675         background: none;
676         border: none;
677         font: inherit;
678         padding: 0px;
679 }
680
681 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
682         display: inline;
683         color: rgb(255, 172, 0);
684 }
685
686 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
687         display: none;
688 }
689
690 #sone .sone form.hidden {
691         display: none;
692 }
693
694 #sone .sone .spacer {
695         display: inline;
696 }
697
698 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
699         margin-top: 1em;
700 }
701
702 #sone .profile-field .name {
703         display: inline;
704         font-weight: bold;
705 }
706
707 #sone .profile-field .name.hidden {
708         display: none;
709 }
710
711 #sone .profile-field button.confirm.edit {
712         font-weight: bold;
713         color: #080;
714 }
715
716 #sone .profile-field button.cancel {
717         font-weight: bold;
718         color: red;
719 }
720
721 #sone .profile-field .value {
722         margin-left: 2em;
723 }
724
725 #sone #edit-profile .profile-field .value {
726         margin-left: inherit;
727 }
728
729 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
730         float: right;
731         margin-top: -1ex;
732         position: relative;
733 }
734
735 #sone .backlinks {
736         font-size: 80%;
737         margin-bottom: 1em;
738 }
739
740 #sone .backlinks .backlink {
741         display: inline;
742 }
743
744 #sone .album {
745 }
746
747 #sone .image-row, #sone .album-row {
748         display: table-row;
749 }
750
751 #sone .image-container, #sone .album-container {
752         width: 250px;
753         height: 250px;
754         overflow: hidden;
755         padding: -1px;
756         border: solid 1px #000;
757 }
758
759 #sone .image, #sone .album {
760         display: table-cell;
761         vertical-align: top;
762         text-align: center;
763         padding: 0.5ex;
764 }
765
766 #sone .single-image img {
767         border: solid 1px #000;
768         background-color: #fff;
769 }
770
771 #sone .image .edit-image input, #sone .album .edit-album input {
772         width: 95%;
773 }
774
775 #sone .image .edit-image textarea, #sone .album .edit-album textarea {
776         width: 95%;
777 }
778
779 #sone .image .album-sone {
780         font-size: 80%;
781 }
782
783 #sone .image .image-title, #sone .album .album-title {
784         font-weight: bold;
785 }
786
787 #sone .image .image-description, #sone .album .album-description {
788         text-align: left;
789         width: 98%;
790         word-wrap: break-word;
791         max-height: 5em;
792         overflow: auto;
793 }
794
795 #sone .backlinks .separator {
796         display: inline;
797 }
798
799 #sone #search {
800         text-align: right;
801 }
802
803 #sone #search input[type=text] {
804         width: 35em;
805 }
806
807 #sone #sone-results + #sone #post-results {
808         clear: both;
809         padding-top: 1em;
810 }
811
812 #sone #tail {
813         margin-top: 1em;
814         border-top: solid 1px #ccc;
815         padding-top: 2em;
816         text-align: center;
817         font-size: 75%;
818         color: #888;
819 }
820
821 #sone #tail #version-information {
822         margin-top: 1em;
823 }
824
825 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
826         height: 1.5em;
827 }
828
829 #sone #add-sone button {
830         position: absolute;
831 }
832
833 #sone .navigation {
834         text-align: center;
835 }
836
837 #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 {
838         display: block;
839         height: 1.5em;
840         padding: 0.5ex;
841         width: 3em;
842         border: solid 1px #ccc;
843         background-color: #f0f0ff;
844         margin: 1ex 0;
845 }
846
847 #sone .navigation .first, #sone .navigation .previous {
848         float: left;
849 }
850
851 #sone .navigation .current-page, #sone .navigation .total-pages {
852         position: relative;
853         top: 0.5em;
854         margin-top: 0.5ex;
855         display: inline;
856 }
857
858 #sone .navigation .total-pages:before {
859         content: '/ ';
860 }
861
862 #sone .navigation .next, #sone .navigation .last {
863         float: right;
864 }
865
866 #sone .clear {
867         clear: both;
868 }
869
870 #sone h1 {
871         font-family: inherit;
872         font-size: 200%;
873         font-weight: bold;
874         clear: both;
875 }
876
877 #sone h1.backlink {
878         margin-bottom: 0px;
879 }
880
881 #sone h2 {
882         font-family: inherit;
883         font-size: 150%;
884         font-weight: bold;
885         clear: both;
886 }
887
888 #sone .error label {
889         color: red;
890         font-weight: bold;
891 }
892
893 #sone input.default, #sone textarea.default {
894         color: #888;
895 }
896
897 #sone input[type=text].key {
898         width: 130ex;;
899         font-size: 75%;
900 }
901
902 #sone .confirm {
903         font-weight: bold;
904         color: red;
905 }
906
907 #sone .warning {
908         color: red;
909         font-style: italic;
910 }
911
912 #sone #sort-options {
913         margin-bottom: 1em;
914 }
915
916 #sone ul#avatar-selection {
917         padding: 0;
918 }
919
920 #sone #avatar-selection li {
921         display: inline-block;
922 }
923
924 #sone #avatar-selection li .post-avatar {
925         vertical-align: middle;
926         margin-top: 0.5em;
927 }
928
929 #sone #avatar-selection li#no-avatar {
930         display: block;
931 }
932
933 #sone form#options ul {
934         padding-left: 1em;
935 }
936
937 #sone form#options li {
938         list-style-type: none;
939 }