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