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