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