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