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