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