739248361b09021dc60a59dea49e42f94a248e40
[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 .post .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 .post .replies {
459         clear: both;
460         padding-top: 0.2ex;
461 }
462
463 #sone .post .replies .click-to-show {
464         background-color: #f0f0ff;
465         font-size: 85%;
466         padding: 0.5em;
467         cursor: pointer;
468 }
469
470 #sone .post .replies .click-to-show.new {
471         background-color: #ffffa0;
472 }
473
474 #sone .post .reply > .avatar {
475         position: absolute;
476 }
477
478 #sone .reply-avatar {
479         display: inline-block;
480         width: 36px;
481         height: 36px;
482         overflow: hidden;
483 }
484
485 #sone .post .reply > .inner-part {
486         margin-left: 36px;
487         padding-left: 0.5em;
488         min-height: 36px;
489 }
490
491 #sone .post .reply {
492         position: relative;
493         clear: both;
494         background-color: #f0f0ff;
495         margin: 1ex 0px;
496         padding: 1ex;
497 }
498
499 #sone .post .reply .inner-part {
500         font-size: 85%;
501 }
502
503 #sone .post .reply.new {
504         background-color: #ffffa0;
505 }
506
507 #sone .post .reply .time {
508         float: none;
509         display: inline;
510         color: #666;
511         font-size: inherit;
512 }
513
514 #sone .post .reply .linked-elements {
515         margin-top: 1ex;
516 }
517
518 #sone .post .reply .linked-element.loaded .image {
519         display: inline-block;
520         border: solid 1px black;
521         width: 120px;
522         height: 90px;
523         background-size: cover;
524         background-position: center;
525         margin-right: 1ex;
526         margin-bottom: 1ex;
527 }
528
529 #sone .post .show-reply-form {
530         display: inline;
531 }
532
533 #sone .post .show-reply-form span {
534         color: rgb(28, 131, 191);
535         cursor: pointer;
536         font: inherit;
537 }
538
539 #sone .post .show-reply-form span:hover {
540         color: rgb(255, 172, 0);
541 }
542
543 #sone .post .create-reply {
544         clear: both;
545         background-color: #f0f0ff;
546         padding: 0.5ex;
547 }
548
549 #sone .post .create-reply input[type=text] {
550         margin-left: 0.5ex;
551         width: 42em;
552 }
553
554 #sone .post .create-reply textarea {
555         margin-left: 0.5ex;
556         width: 42em;
557         height: 4em;
558 }
559
560 #sone .post .create-reply button {
561         float: right;
562 }
563
564 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
565         display: inline;
566         float: left;
567 }
568
569 #sone .sone {
570         clear: both;
571         background-color: #f0f0ff;
572         border: 1px solid #ccc;
573         margin-bottom: 0.5ex;
574         padding: 0.5ex;
575 }
576
577 #sone .sone.local {
578         background-color: #f0fff0;
579 }
580
581 #sone .sone.new {
582         background-color: #ffffa0;
583 }
584
585 #sone .sone .profile-link {
586         display: inline;
587 }
588
589 #sone .sone .sone-stats {
590         display: inline;
591 }
592
593 #sone .sone .short-request-uri {
594         clear: both;
595         float: right;
596 }
597
598 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
599         display: none;
600 }
601
602 #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 {
603         display: inline;
604         float: right;
605         border: solid 1px #ccc;
606         border-right: none;
607         border-top: none;
608         padding: 0 0.5ex;
609         position: relative;
610         right: -0.5ex;
611         top: -0.5ex
612 }
613
614 #sone .sone.idle.modified .idle-marker {
615         display: none;
616 }
617
618 #sone .sone .last-update {
619         float: right;
620         display: inline;
621 }
622
623 #sone .sone .modified-marker, #sone .sone .unknown-marker {
624         color: red;
625         font-weight: bold;
626 }
627
628 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
629         display: inline;
630         border: solid 1px #ccc;
631         border-left: none;
632         border-bottom: none;
633         padding: 0 0.5ex;
634         position: relative;
635         left: -0.5ex;
636         bottom: -0.5ex
637 }
638
639 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
640         display: inline;
641         color: rgb(28, 131, 191);
642         background: none;
643         border: none;
644         font: inherit;
645         padding: 0px;
646 }
647
648 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
649         display: inline;
650         color: rgb(255, 172, 0);
651 }
652
653 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
654         display: none;
655 }
656
657 #sone .sone form.hidden {
658         display: none;
659 }
660
661 #sone .sone .spacer {
662         display: inline;
663 }
664
665 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
666         margin-top: 1em;
667 }
668
669 #sone .profile-field .name {
670         display: inline;
671         font-weight: bold;
672 }
673
674 #sone .profile-field .name.hidden {
675         display: none;
676 }
677
678 #sone .profile-field button.confirm.edit {
679         font-weight: bold;
680         color: #080;
681 }
682
683 #sone .profile-field button.cancel {
684         font-weight: bold;
685         color: red;
686 }
687
688 #sone .profile-field .value {
689         margin-left: 2em;
690 }
691
692 #sone #edit-profile .profile-field .value {
693         margin-left: inherit;
694 }
695
696 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
697         float: right;
698         margin-top: -1ex;
699         position: relative;
700 }
701
702 #sone .backlinks {
703         font-size: 80%;
704         margin-bottom: 1em;
705 }
706
707 #sone .backlinks .backlink {
708         display: inline;
709 }
710
711 #sone .album {
712 }
713
714 #sone .image-row, #sone .album-row {
715         display: table-row;
716 }
717
718 #sone .image-container, #sone .album-container {
719         width: 250px;
720         height: 250px;
721         overflow: hidden;
722         padding: -1px;
723         border: solid 1px #000;
724 }
725
726 #sone .image, #sone .album {
727         display: table-cell;
728         vertical-align: top;
729         text-align: center;
730         padding: 0.5ex;
731 }
732
733 #sone .single-image img {
734         border: solid 1px #000;
735         background-color: #fff;
736 }
737
738 #sone .image .edit-image input, #sone .album .edit-album input {
739         width: 95%;
740 }
741
742 #sone .image .edit-image textarea, #sone .album .edit-album textarea {
743         width: 95%;
744 }
745
746 #sone .image .album-sone {
747         font-size: 80%;
748 }
749
750 #sone .image .image-title, #sone .album .album-title {
751         font-weight: bold;
752 }
753
754 #sone .image .image-description, #sone .album .album-description {
755         text-align: left;
756         width: 98%;
757         word-wrap: break-word;
758         max-height: 5em;
759         overflow: auto;
760 }
761
762 #sone .backlinks .separator {
763         display: inline;
764 }
765
766 #sone #search {
767         text-align: right;
768 }
769
770 #sone #search input[type=text] {
771         width: 35em;
772 }
773
774 #sone #sone-results + #sone #post-results {
775         clear: both;
776         padding-top: 1em;
777 }
778
779 #sone #tail {
780         margin-top: 1em;
781         border-top: solid 1px #ccc;
782         padding-top: 2em;
783         text-align: center;
784         font-size: 75%;
785         color: #888;
786 }
787
788 #sone #tail #version-information {
789         margin-top: 1em;
790 }
791
792 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
793         height: 1.5em;
794 }
795
796 #sone #add-sone button {
797         position: absolute;
798 }
799
800 #sone .navigation {
801         text-align: center;
802 }
803
804 #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 {
805         display: block;
806         height: 1.5em;
807         padding: 0.5ex;
808         width: 3em;
809         border: solid 1px #ccc;
810         background-color: #f0f0ff;
811         margin: 1ex 0;
812 }
813
814 #sone .navigation .first, #sone .navigation .previous {
815         float: left;
816 }
817
818 #sone .navigation .current-page, #sone .navigation .total-pages {
819         position: relative;
820         top: 0.5em;
821         margin-top: 0.5ex;
822         display: inline;
823 }
824
825 #sone .navigation .total-pages:before {
826         content: '/ ';
827 }
828
829 #sone .navigation .next, #sone .navigation .last {
830         float: right;
831 }
832
833 #sone .clear {
834         clear: both;
835 }
836
837 #sone h1 {
838         font-family: inherit;
839         font-size: 200%;
840         font-weight: bold;
841         clear: both;
842 }
843
844 #sone h1.backlink {
845         margin-bottom: 0px;
846 }
847
848 #sone h2 {
849         font-family: inherit;
850         font-size: 150%;
851         font-weight: bold;
852         clear: both;
853 }
854
855 #sone .error label {
856         color: red;
857         font-weight: bold;
858 }
859
860 #sone input.default, #sone textarea.default {
861         color: #888;
862 }
863
864 #sone input[type=text].key {
865         width: 130ex;;
866         font-size: 75%;
867 }
868
869 #sone .confirm {
870         font-weight: bold;
871         color: red;
872 }
873
874 #sone .warning {
875         color: red;
876         font-style: italic;
877 }
878
879 #sone #sort-options {
880         margin-bottom: 1em;
881 }
882
883 #sone ul#avatar-selection {
884         padding: 0;
885 }
886
887 #sone #avatar-selection li {
888         display: inline-block;
889 }
890
891 #sone #avatar-selection li .post-avatar {
892         vertical-align: middle;
893         margin-top: 0.5em;
894 }
895
896 #sone #avatar-selection li#no-avatar {
897         display: block;
898 }
899
900 #sone form#options ul {
901         padding-left: 1em;
902 }
903
904 #sone form#options li {
905         list-style-type: none;
906 }