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