3429138310c35e5411525a33db025cf058a0747c
[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 #formPassword {
55         display: none;
56 }
57
58 #sone a, #sone a:link, #sone a:visited {
59         color: rgb(28, 131, 191);
60         font-size: inherit;
61         text-decoration: none;
62 }
63
64 #sone a:active, #sone a:hover {
65         color: rgb(255, 172, 0);
66 }
67
68 #sone a.link {
69         cursor: pointer;
70 }
71
72 #sone a.internet {
73         color: rgb(255, 0, 0);
74 }
75
76 #sone a.internet:before {
77         content: '⚠ ';
78 }
79
80 #sone a.freenet:before {
81         content: '» ';
82 }
83
84 #sone a.freenet-trusted {
85         color: rgb(0, 128, 0);
86 }
87
88 #sone a.freenet-trusted:before {
89         content: '★ ';
90 }
91
92 #sone a.in-page-link:before {
93         content: '↓ ';
94 }
95
96 #sone a img {
97         border: none;
98 }
99
100 #sone .parsed {
101         white-space: pre-wrap;
102 }
103
104 #sone #main.offline {
105         opacity: 0.5;
106 }
107
108 #sone #offline-marker {
109         display: none;
110         position: fixed;
111         top: 2em;
112         right: 2em;
113         width: 128px;
114         height: 128px;
115         background-image: url("../images/sone-offline.png");
116 }
117
118 #sone #notification-area {
119         margin-top: 1em;
120 }
121
122 #sone #notification-area .notification {
123         padding: 1ex;
124         border: solid 1px #ccc;
125         background-color: #ffffa0;
126         margin-bottom: 1ex;
127         min-height: 3.5ex;
128 }
129
130 #sone #notification-area .notification button {
131         margin-left: 1ex;
132 }
133
134 #sone #notification-area .notification .dismiss {
135         float: right;
136 }
137
138 #sone #notification-area .notification .post-count {
139         margin-left: 1ex;
140 }
141
142 #sone #notification-area .notification .mark-as-read {
143         float: right;
144 }
145
146 #sone #notification-area .notification .hidden {
147         display: none;
148 }
149
150 #sone #notification-area #local-post-notification, #sone #notification-area #local-reply-notification {
151         display: none;
152 }
153
154 #sone #plugin-warning {
155         border: solid 0.5em red;
156         padding: 0.5em;
157         margin-bottom: 1em;
158 }
159
160 #sone #profile {
161         height: 80px;
162         margin-top: 1em;
163         margin-bottom: 1ex;
164 }
165
166 #sone .profile-link {
167         font-weight: bold;
168         color: rgb(28, 131, 191);
169 }
170
171 #sone #profile.online .picture {
172         position: absolute;
173 }
174
175 #sone #profile.offline .picture {
176         position: absolute;
177 }
178
179 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
180         display: none;
181 }
182
183 #sone #profile .edit-profile-link {
184         font-size: 85%;
185 }
186
187 #sone #home-sone {
188         margin-top: 1ex;
189         margin-left: 80px;
190         padding-left: 1ex;
191 }
192
193 #sone #update-status {
194         margin-bottom: 1em;
195 }
196
197 #sone #update-status label, #sone #post-message label {
198         display: none;
199 }
200
201 #sone #update-status input[type=text] {
202         width: 45em;
203 }
204
205 #sone #update-status textarea {
206         width: 45em;
207 }
208
209 #sone #update-status button {
210         float: right;
211 }
212
213 #sone #update-status .select-sender, #sone .create-reply .select-sender, #sone #post-message .select-sender {
214         display: none;
215 }
216
217 #sone #update-status .select-sender button, #sone #post-message .select-sender button {
218         display: inline;
219         float: left;
220 }
221
222 #sone .nice-name {
223         font-weight: bold;
224 }
225
226 #sone #main {
227         padding: 1em;
228         padding-top: 0px;
229 }
230
231 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
232         display: inline;
233         width: 15em;
234 }
235
236 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
237         width: 4em;
238         text-align: right;
239 }
240
241 #sone .post {
242         padding: 1ex 0px;
243         border-bottom: solid 1px #ccc;
244         clear: both;
245         position: relative;
246 }
247
248 #sone .post.new {
249         background-color: #ffffa0;
250         padding-left: 1ex;
251 }
252
253 #sone .post.last {
254         padding: 1ex 0px;
255         border-bottom: none;
256 }
257
258 #sone .post .sone-menu {
259         position: absolute;
260         top: 0;
261         left: -1ex;
262         padding: 1ex 1ex;
263         margin: -1px -1px;
264         display: none;
265         background-color: rgb(255, 255, 224);
266         border: solid 1px rgb(0, 0, 0);
267         z-index: 1;
268 }
269
270 #sone .post .sone-menu .avatar {
271         position: absolute;
272         margin-right: 1ex;
273 }
274
275 #sone .post .sone-menu .inner-menu {
276         margin-left: 64px;
277         padding-left: 1ex;
278         min-height: 64px;
279 }
280
281 #sone .sone-menu .follow, #sone .sone-menu .unfollow {
282         cursor: pointer;
283 }
284
285 #sone .post > .avatar {
286         position: absolute;
287 }
288
289 #sone .post > .inner-part {
290         margin-left: 48px;
291         padding-left: 0.5em;
292         min-height: 48px;
293 }
294
295 #sone .post .author, #sone .post .recipient {
296         display: inline;
297         font-weight: bold;
298 }
299
300 #sone .post .author-wot-link {
301         font-size: 90%;
302 }
303
304 #sone .post .text, #sone .post .raw-text, #sone .post .short-text {
305         display: inline;
306         white-space: pre-wrap;
307         word-wrap: break-word;
308 }
309
310 #sone .post .text.hidden, #sone .post .raw-text.hidden, #sone .post .short-text.hidden {
311         display: none;
312 }
313
314 #sone .post .expand-post-text:before, #sone .post .expand-reply-text:before {
315         content: "» ";
316 }
317
318 #sone .post .shrink-post-text:before, #sone .post .shrink-reply-text:before {
319         content: "« ";
320 }
321
322 #sone .post .shrink-post-text {
323         cursor: pointer;
324 }
325
326 #sone .post .status-line {
327         margin-top: 0.5ex;
328         font-size: 85%;
329 }
330
331 #sone .separator {
332         font: inherit;
333         color: rgb(28, 131, 191);
334 }
335
336 #sone .show-source, #sone .show-reply-source {
337         display: inline;
338 }
339
340 #sone .permalink {
341         display: inline;
342 }
343
344 #sone .post .bookmarks {
345         display: inline;
346         color: rgb(28, 131, 191);
347 }
348
349 #sone .post .bookmark, #sone .post .unbookmark {
350         display: inline;
351         font: inherit;
352         margin: 0px;
353 }
354
355 #sone .post .time {
356         display: inline;
357         color: #666;
358 }
359
360 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
361         display: inline;
362         font: inherit;
363         margin: 0px;
364 }
365
366 #sone .post .likes.hidden {
367         display: none;
368 }
369
370 #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 {
371         display: none;
372 }
373
374 #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 {
375         border: 0px;
376         background: none;
377         padding: 0px;
378         color: rgb(28, 131, 191);
379         font: inherit;
380         margin: 0px;
381 }
382
383 #sone .post .delete button.confirm {
384         color: red;
385         font-weight: bold;
386 }
387
388 #sone .post .trust button {
389         color: rgb(0, 128, 0);
390 }
391
392 #sone .post .distrust button {
393         color: rgb(255, 0, 0);
394 }
395
396 #sone .post .untrust button {
397         color: rgb(64, 64, 64);
398 }
399
400 #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 {
401         border: 0px;
402         background: none;
403         padding: 0px;
404         color: rgb(255, 172, 0);
405         cursor: pointer;
406 }
407
408 #sone .post .likes span {
409         font: inherit;
410         color: green;
411 }
412
413 #sone .post .replies {
414         clear: both;
415         padding-top: 0.2ex;
416 }
417
418 #sone .post .replies .click-to-show {
419         background-color: #f0f0ff;
420         font-size: 85%;
421         padding: 0.5em;
422         cursor: pointer;
423 }
424
425 #sone .post .replies .click-to-show.new {
426         background-color: #ffffa0;
427 }
428
429 #sone .post .reply > .avatar {
430         position: absolute;
431 }
432
433 #sone .post .reply > .inner-part {
434         margin-left: 36px;
435         padding-left: 0.5em;
436         min-height: 36px;
437 }
438
439 #sone .post .reply {
440         position: relative;
441         clear: both;
442         background-color: #f0f0ff;
443         margin: 1ex 0px;
444         padding: 1ex;
445 }
446
447 #sone .post .reply .inner-part {
448         font-size: 85%;
449 }
450
451 #sone .post .reply.new {
452         background-color: #ffffa0;
453 }
454
455 #sone .post .reply .time {
456         float: none;
457         display: inline;
458         color: #666;
459         font-size: inherit;
460 }
461
462 #sone .post .show-reply-form {
463         display: inline;
464 }
465
466 #sone .post .show-reply-form span {
467         color: rgb(28, 131, 191);
468         cursor: pointer;
469         font: inherit;
470 }
471
472 #sone .post .show-reply-form span:hover {
473         color: rgb(255, 172, 0);
474 }
475
476 #sone .post .create-reply {
477         clear: both;
478         background-color: #f0f0ff;
479         padding: 0.5ex;
480 }
481
482 #sone .post .create-reply input[type=text] {
483         margin-left: 0.5ex;
484         width: 42em;
485 }
486
487 #sone .post .create-reply textarea {
488         margin-left: 0.5ex;
489         width: 42em;
490         height: 4em;
491 }
492
493 #sone .post .create-reply button {
494         float: right;
495 }
496
497 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
498         display: inline;
499         float: left;
500 }
501
502 #sone .sone {
503         clear: both;
504         background-color: #f0f0ff;
505         border: 1px solid #ccc;
506         margin-bottom: 0.5ex;
507         padding: 0.5ex;
508 }
509
510 #sone .sone.local {
511         background-color: #f0fff0;
512 }
513
514 #sone .sone.new {
515         background-color: #ffffa0;
516 }
517
518 #sone .sone .profile-link {
519         display: inline;
520 }
521
522 #sone .sone .sone-stats {
523         display: inline;
524 }
525
526 #sone .sone .short-request-uri {
527         clear: both;
528         float: right;
529 }
530
531 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
532         display: none;
533 }
534
535 #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 {
536         display: inline;
537         float: right;
538         border: solid 1px #ccc;
539         border-right: none;
540         border-top: none;
541         padding: 0 0.5ex;
542         position: relative;
543         right: -0.5ex;
544         top: -0.5ex
545 }
546
547 #sone .sone.idle.modified .idle-marker {
548         display: none;
549 }
550
551 #sone .sone .last-update {
552         float: right;
553         display: inline;
554 }
555
556 #sone .sone .modified-marker, #sone .sone .unknown-marker {
557         color: red;
558         font-weight: bold;
559 }
560
561 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
562         display: inline;
563         border: solid 1px #ccc;
564         border-left: none;
565         border-bottom: none;
566         padding: 0 0.5ex;
567         position: relative;
568         left: -0.5ex;
569         bottom: -0.5ex
570 }
571
572 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
573         display: inline;
574         color: rgb(28, 131, 191);
575         background: none;
576         border: none;
577         font: inherit;
578         padding: 0px;
579 }
580
581 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
582         display: inline;
583         color: rgb(255, 172, 0);
584 }
585
586 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
587         display: none;
588 }
589
590 #sone .sone form.hidden {
591         display: none;
592 }
593
594 #sone .sone .spacer {
595         display: inline;
596 }
597
598 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
599         margin-top: 1em;
600 }
601
602 #sone .profile-field .name {
603         display: inline;
604         font-weight: bold;
605 }
606
607 #sone .profile-field .name.hidden {
608         display: none;
609 }
610
611 #sone .profile-field button.confirm.edit {
612         font-weight: bold;
613         color: #080;
614 }
615
616 #sone .profile-field button.cancel {
617         font-weight: bold;
618         color: red;
619 }
620
621 #sone .profile-field .value {
622         margin-left: 2em;
623 }
624
625 #sone #edit-profile .profile-field .value {
626         margin-left: inherit;
627 }
628
629 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
630         float: right;
631         margin-top: -1ex;
632         position: relative;
633 }
634
635 #sone .backlinks {
636         font-size: 80%;
637 }
638
639 #sone .backlinks .backlink {
640         display: inline;
641 }
642
643 #sone .album {
644 }
645
646 #sone .image {
647         width: 200px;
648         height: 150px;
649         display: table-cell;
650         vertical-align: middle;
651         text-align: center;
652         padding: 0.5ex;
653 }
654
655 #sone .image img, #sone .single-image img {
656         padding: 1ex;
657         border: solid 1px #000;
658         background-color: #fff;
659 }
660
661 #sone .backlinks .separator {
662         display: inline;
663 }
664
665 #sone #search {
666         text-align: right;
667 }
668
669 #sone #search input[type=text] {
670         width: 35em;
671 }
672
673 #sone #sone-results + #sone #post-results {
674         clear: both;
675         padding-top: 1em;
676 }
677
678 #sone #tail {
679         margin-top: 1em;
680         border-top: solid 1px #ccc;
681         padding-top: 2em;
682         text-align: center;
683         font-size: 75%;
684         color: #888;
685 }
686
687 #sone #tail #version-information {
688         margin-top: 1em;
689 }
690
691 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
692         height: 1.5em;
693 }
694
695 #sone #add-sone button {
696         position: absolute;
697 }
698
699 #sone .navigation {
700         text-align: center;
701 }
702
703 #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 {
704         display: block;
705         height: 1.5em;
706         padding: 0.5ex;
707         width: 3em;
708         border: solid 1px #ccc;
709         background-color: #f0f0ff;
710         margin: 1ex 0;
711 }
712
713 #sone .navigation .first, #sone .navigation .previous {
714         float: left;
715 }
716
717 #sone .navigation .current-page, #sone .navigation .total-pages {
718         position: relative;
719         top: 0.5em;
720         margin-top: 0.5ex;
721         display: inline;
722 }
723
724 #sone .navigation .total-pages:before {
725         content: '/ ';
726 }
727
728 #sone .navigation .next, #sone .navigation .last {
729         float: right;
730 }
731
732 #sone h1 {
733         font-family: inherit;
734         font-size: 200%;
735         font-weight: bold;
736         clear: both;
737 }
738
739 #sone h2 {
740         font-family: inherit;
741         font-size: 150%;
742         font-weight: bold;
743         clear: both;
744 }
745
746 #sone .error label {
747         color: red;
748         font-weight: bold;
749 }
750
751 #sone input.default, #sone textarea.default {
752         color: #888;
753 }
754
755 #sone input[type=text].key {
756         width: 130ex;;
757         font-size: 75%;
758 }
759
760 #sone .confirm {
761         font-weight: bold;
762         color: red;
763 }
764
765 #sone .warning {
766         color: red;
767         font-style: italic;
768 }
769
770 #sone #sort-options {
771         margin-bottom: 1em;
772 }