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