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