Extract display of an album into its own template
[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 .linked-album {
357         display: table;
358         margin-top: 1ex;
359         border-collapse: collapse;
360 }
361
362 #sone .post .linked-album .album-header {
363         display: table-caption;
364         margin-bottom: 1ex;
365 }
366
367 #sone .post .linked-album .album-header .album-title {
368         font-size: 150%;
369         font-weight: bold;
370 }
371
372 #sone .post .linked-image {
373         display: table-row;
374 }
375
376 #sone .post .linked-image .image-left {
377         display: table-cell;
378         padding-bottom: 1ex;
379 }
380
381 #sone .post .linked-image .image {
382         width: 160px;
383         height: 90px;
384         overflow: hidden;
385         border: solid 1px black;
386         display: inline-block;
387         padding: 0px;
388 }
389
390 #sone .post .linked-image .about-image {
391         display: table-cell;
392         padding-left: 1ex;
393 }
394
395 #sone .post .linked-image .about-image .title {
396         font-size: 110%;
397         font-weight: bold;
398 }
399
400 #sone .post .linked-image .about-image .description {
401         margin-top: 0.5ex;
402 }
403
404 #sone .post .status-line {
405         margin-top: 0.5ex;
406         font-size: 85%;
407 }
408
409 #sone .separator {
410         font: inherit;
411         color: rgb(28, 131, 191);
412 }
413
414 #sone .show-source, #sone .show-reply-source {
415         display: inline;
416 }
417
418 #sone .permalink {
419         display: inline;
420 }
421
422 #sone .post .bookmarks {
423         display: inline;
424         color: rgb(28, 131, 191);
425 }
426
427 #sone .post .bookmark, #sone .post .unbookmark {
428         display: inline;
429         font: inherit;
430         margin: 0px;
431 }
432
433 #sone .post .time {
434         display: inline;
435         color: #666;
436 }
437
438 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
439         display: inline;
440         font: inherit;
441         margin: 0px;
442 }
443
444 #sone .post .likes.hidden {
445         display: none;
446 }
447
448 #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 {
449         display: none;
450 }
451
452 #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 {
453         border: 0px;
454         background: none;
455         padding: 0px;
456         color: rgb(28, 131, 191);
457         font: inherit;
458         margin: 0px;
459 }
460
461 #sone .post .delete button.confirm {
462         color: red;
463         font-weight: bold;
464 }
465
466 #sone .post .trust button {
467         color: rgb(0, 128, 0);
468 }
469
470 #sone .post .distrust button {
471         color: rgb(255, 0, 0);
472 }
473
474 #sone .post .untrust button {
475         color: rgb(64, 64, 64);
476 }
477
478 #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 {
479         border: 0px;
480         background: none;
481         padding: 0px;
482         color: rgb(255, 172, 0);
483         cursor: pointer;
484 }
485
486 #sone .post .likes span {
487         font: inherit;
488         color: green;
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 .show-reply-form {
548         display: inline;
549 }
550
551 #sone .post .show-reply-form span {
552         color: rgb(28, 131, 191);
553         cursor: pointer;
554         font: inherit;
555 }
556
557 #sone .post .show-reply-form span:hover {
558         color: rgb(255, 172, 0);
559 }
560
561 #sone .post .create-reply {
562         clear: both;
563         background-color: #f0f0ff;
564         padding: 0.5ex;
565 }
566
567 #sone .post .create-reply input[type=text] {
568         margin-left: 0.5ex;
569         width: 42em;
570 }
571
572 #sone .post .create-reply textarea {
573         margin-left: 0.5ex;
574         width: 42em;
575         height: 4em;
576 }
577
578 #sone .post .create-reply button {
579         float: right;
580 }
581
582 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
583         display: inline;
584         float: left;
585 }
586
587 #sone .sone {
588         clear: both;
589         background-color: #f0f0ff;
590         border: 1px solid #ccc;
591         margin-bottom: 0.5ex;
592         padding: 0.5ex;
593 }
594
595 #sone .sone.local {
596         background-color: #f0fff0;
597 }
598
599 #sone .sone.new {
600         background-color: #ffffa0;
601 }
602
603 #sone .sone .profile-link {
604         display: inline;
605 }
606
607 #sone .sone .sone-stats {
608         display: inline;
609 }
610
611 #sone .sone .short-request-uri {
612         clear: both;
613         float: right;
614 }
615
616 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
617         display: none;
618 }
619
620 #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 {
621         display: inline;
622         float: right;
623         border: solid 1px #ccc;
624         border-right: none;
625         border-top: none;
626         padding: 0 0.5ex;
627         position: relative;
628         right: -0.5ex;
629         top: -0.5ex
630 }
631
632 #sone .sone.idle.modified .idle-marker {
633         display: none;
634 }
635
636 #sone .sone .last-update {
637         float: right;
638         display: inline;
639 }
640
641 #sone .sone .modified-marker, #sone .sone .unknown-marker {
642         color: red;
643         font-weight: bold;
644 }
645
646 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
647         display: inline;
648         border: solid 1px #ccc;
649         border-left: none;
650         border-bottom: none;
651         padding: 0 0.5ex;
652         position: relative;
653         left: -0.5ex;
654         bottom: -0.5ex
655 }
656
657 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
658         display: inline;
659         color: rgb(28, 131, 191);
660         background: none;
661         border: none;
662         font: inherit;
663         padding: 0px;
664 }
665
666 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
667         display: inline;
668         color: rgb(255, 172, 0);
669 }
670
671 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
672         display: none;
673 }
674
675 #sone .sone form.hidden {
676         display: none;
677 }
678
679 #sone .sone .spacer {
680         display: inline;
681 }
682
683 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
684         margin-top: 1em;
685 }
686
687 #sone .profile-field .name {
688         display: inline;
689         font-weight: bold;
690 }
691
692 #sone .profile-field .name.hidden {
693         display: none;
694 }
695
696 #sone .profile-field button.confirm.edit {
697         font-weight: bold;
698         color: #080;
699 }
700
701 #sone .profile-field button.cancel {
702         font-weight: bold;
703         color: red;
704 }
705
706 #sone .profile-field .value {
707         margin-left: 2em;
708 }
709
710 #sone #edit-profile .profile-field .value {
711         margin-left: inherit;
712 }
713
714 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
715         float: right;
716         margin-top: -1ex;
717         position: relative;
718 }
719
720 #sone .backlinks {
721         font-size: 80%;
722         margin-bottom: 1em;
723 }
724
725 #sone .backlinks .backlink {
726         display: inline;
727 }
728
729 #sone .album {
730 }
731
732 #sone .image-row, #sone .album-row {
733         display: table-row;
734 }
735
736 #sone .image-container, #sone .album-container {
737         width: 250px;
738         height: 250px;
739         overflow: hidden;
740         padding: -1px;
741 }
742
743 #sone .image-container {
744         border: solid 1px #000;
745 }
746
747 #sone .image, #sone .album {
748         display: table-cell;
749         vertical-align: top;
750         text-align: center;
751         padding: 0.5ex;
752 }
753
754 #sone .single-image img {
755         border: solid 1px #000;
756         background-color: #fff;
757 }
758
759 #sone .image .edit-image input, #sone .album .edit-album input {
760         width: 95%;
761 }
762
763 #sone .image .edit-image textarea, #sone .album .edit-album textarea {
764         width: 95%;
765 }
766
767 #sone .album-container .image-container {
768         position: absolute;
769 }
770
771 #sone .album-container .link-to-album {
772         display: none;
773 }
774
775 #sone .album-container:hover .link-to-album {
776         display: block;
777         float: right;
778         z-index: 1;
779         padding: 0.5ex;
780         background-color: #eee;
781         position: relative;
782         top: 250px;
783         right: 0.5ex;
784         margin-top: -2em;
785 }
786
787 #sone .image .album-sone {
788         font-size: 80%;
789 }
790
791 #sone .image .image-title, #sone .album .album-title {
792         font-weight: bold;
793 }
794
795 #sone .image .image-description, #sone .album .album-description {
796         text-align: left;
797         width: 98%;
798         word-wrap: break-word;
799         max-height: 5em;
800         overflow: auto;
801 }
802
803 #sone .backlinks .separator {
804         display: inline;
805 }
806
807 #sone #search {
808         text-align: right;
809 }
810
811 #sone #search input[type=text] {
812         width: 35em;
813 }
814
815 #sone #sone-results + #sone #post-results {
816         clear: both;
817         padding-top: 1em;
818 }
819
820 #sone #tail {
821         margin-top: 1em;
822         border-top: solid 1px #ccc;
823         padding-top: 2em;
824         text-align: center;
825         font-size: 75%;
826         color: #888;
827 }
828
829 #sone #tail #version-information {
830         margin-top: 1em;
831 }
832
833 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
834         height: 1.5em;
835 }
836
837 #sone #add-sone button {
838         position: absolute;
839 }
840
841 #sone .navigation {
842         text-align: center;
843 }
844
845 #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 {
846         display: block;
847         height: 1.5em;
848         padding: 0.5ex;
849         width: 3em;
850         border: solid 1px #ccc;
851         background-color: #f0f0ff;
852         margin: 1ex 0;
853 }
854
855 #sone .navigation .first, #sone .navigation .previous {
856         float: left;
857 }
858
859 #sone .navigation .current-page, #sone .navigation .total-pages {
860         position: relative;
861         top: 0.5em;
862         margin-top: 0.5ex;
863         display: inline;
864 }
865
866 #sone .navigation .total-pages:before {
867         content: '/ ';
868 }
869
870 #sone .navigation .next, #sone .navigation .last {
871         float: right;
872 }
873
874 #sone .clear {
875         clear: both;
876 }
877
878 #sone h1 {
879         font-family: inherit;
880         font-size: 200%;
881         font-weight: bold;
882         clear: both;
883 }
884
885 #sone h1.backlink {
886         margin-bottom: 0px;
887 }
888
889 #sone h2 {
890         font-family: inherit;
891         font-size: 150%;
892         font-weight: bold;
893         clear: both;
894 }
895
896 #sone .error label {
897         color: red;
898         font-weight: bold;
899 }
900
901 #sone input.default, #sone textarea.default {
902         color: #888;
903 }
904
905 #sone input[type=text].key {
906         width: 130ex;;
907         font-size: 75%;
908 }
909
910 #sone .confirm {
911         font-weight: bold;
912         color: red;
913 }
914
915 #sone .warning {
916         color: red;
917         font-style: italic;
918 }
919
920 #sone #sort-options {
921         margin-bottom: 1em;
922 }
923
924 #sone ul#avatar-selection {
925         padding: 0;
926 }
927
928 #sone #avatar-selection li {
929         display: inline-block;
930 }
931
932 #sone #avatar-selection li .post-avatar {
933         vertical-align: middle;
934         margin-top: 0.5em;
935 }
936
937 #sone #avatar-selection li#no-avatar {
938         display: block;
939 }
940
941 #sone form#options ul {
942         padding-left: 1em;
943 }
944
945 #sone form#options li {
946         list-style-type: none;
947 }