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