Remove image from previous album, if set.
[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 .parsed {
97         white-space: pre-wrap;
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 .post .bookmarks {
274         display: inline;
275         color: rgb(28, 131, 191);
276 }
277
278 #sone .post .bookmark, #sone .post .unbookmark {
279         display: inline;
280         font: inherit;
281         margin: 0px;
282 }
283
284 #sone .post .time {
285         display: inline;
286         color: #666;
287 }
288
289 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
290         display: inline;
291         font: inherit;
292         margin: 0px;
293 }
294
295 #sone .post .likes.hidden {
296         display: none;
297 }
298
299 #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 {
300         display: none;
301 }
302
303 #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 {
304         border: 0px;
305         background: none;
306         padding: 0px;
307         color: rgb(28, 131, 191);
308         font: inherit;
309         margin: 0px;
310 }
311
312 #sone .post .delete button.confirm {
313         color: red;
314         font-weight: bold;
315 }
316
317 #sone .post .trust button {
318         color: rgb(0, 128, 0);
319 }
320
321 #sone .post .distrust button {
322         color: rgb(255, 0, 0);
323 }
324
325 #sone .post .untrust button {
326         color: rgb(64, 64, 64);
327 }
328
329 #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 {
330         border: 0px;
331         background: none;
332         padding: 0px;
333         color: rgb(255, 172, 0);
334         cursor: pointer;
335 }
336
337 #sone .post .likes span {
338         font: inherit;
339         color: green;
340 }
341
342 #sone .post .replies {
343         clear: both;
344         padding-top: 0.2ex;
345 }
346
347 #sone .post .replies .click-to-show {
348         background-color: #f0f0ff;
349         font-size: 85%;
350         padding: 0.5em;
351         cursor: pointer;
352 }
353
354 #sone .post .replies .click-to-show.new {
355         background-color: #ffffa0;
356 }
357
358 #sone .post .reply > .avatar {
359         position: absolute;
360 }
361
362 #sone .post .reply > .inner-part {
363         margin-left: 36px;
364         padding-left: 0.5em;
365         min-height: 36px;
366 }
367
368 #sone .post .reply {
369         clear: both;
370         background-color: #f0f0ff;
371         font-size: 85%;
372         margin: 1ex 0px;
373         padding: 1ex;
374 }
375
376 #sone .post .reply.new {
377         background-color: #ffffa0;
378 }
379
380 #sone .post .reply .time {
381         float: none;
382         display: inline;
383         color: #666;
384         font-size: inherit;
385 }
386
387 #sone .post .show-reply-form {
388         display: inline;
389 }
390
391 #sone .post .show-reply-form span {
392         color: rgb(28, 131, 191);
393         cursor: pointer;
394         font: inherit;
395 }
396
397 #sone .post .show-reply-form span:hover {
398         color: rgb(255, 172, 0);
399 }
400
401 #sone .post .create-reply {
402         clear: both;
403         background-color: #f0f0ff;
404         padding: 0.5ex;
405 }
406
407 #sone .post .create-reply input[type=text] {
408         margin-left: 0.5ex;
409         width: 42em;
410 }
411
412 #sone .post .create-reply textarea {
413         margin-left: 0.5ex;
414         width: 42em;
415         height: 4em;
416 }
417
418 #sone .post .create-reply button {
419         float: right;
420 }
421
422 #sone .create-reply .select-sender button, #sone #post-message .select-sender button {
423         display: inline;
424         float: left;
425 }
426
427 #sone .sone {
428         clear: both;
429         background-color: #f0f0ff;
430         border: 1px solid #ccc;
431         margin-bottom: 0.5ex;
432         padding: 0.5ex;
433 }
434
435 #sone .sone.local {
436         background-color: #f0fff0;
437 }
438
439 #sone .sone.new {
440         background-color: #ffffa0;
441 }
442
443 #sone .sone .profile-link {
444         display: block;
445 }
446
447 #sone .sone .short-request-uri {
448         clear: both;
449         float: right;
450 }
451
452 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
453         display: none;
454 }
455
456 #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 {
457         display: inline;
458         float: right;
459         border: solid 1px #ccc;
460         border-right: none;
461         border-top: none;
462         padding: 0 0.5ex;
463         position: relative;
464         right: -0.5ex;
465         top: -0.5ex
466 }
467
468 #sone .sone.idle.modified .idle-marker {
469         display: none;
470 }
471
472 #sone .sone .last-update {
473         float: right;
474         display: inline;
475 }
476
477 #sone .sone .modified-marker, #sone .sone .unknown-marker {
478         color: red;
479         font-weight: bold;
480 }
481
482 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
483         display: inline;
484         border: solid 1px #ccc;
485         border-left: none;
486         border-bottom: none;
487         padding: 0 0.5ex;
488         position: relative;
489         left: -0.5ex;
490         bottom: -0.5ex
491 }
492
493 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
494         display: inline;
495         color: rgb(28, 131, 191);
496         background: none;
497         border: none;
498         font: inherit;
499         padding: 0px;
500 }
501
502 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
503         display: inline;
504         color: rgb(255, 172, 0);
505 }
506
507 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
508         display: none;
509 }
510
511 #sone .sone form.hidden {
512         display: none;
513 }
514
515 #sone .sone .spacer {
516         display: inline;
517 }
518
519 #sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
520         margin-top: 1em;
521 }
522
523 #sone .profile-field .name {
524         display: inline;
525         font-weight: bold;
526 }
527
528 #sone .profile-field .name.hidden {
529         display: none;
530 }
531
532 #sone .profile-field button.confirm.edit {
533         font-weight: bold;
534         color: #080;
535 }
536
537 #sone .profile-field button.cancel {
538         font-weight: bold;
539         color: red;
540 }
541
542 #sone .profile-field .value {
543         margin-left: 2em;
544 }
545
546 #sone #edit-profile .profile-field .value {
547         margin-left: inherit;
548 }
549
550 #sone .profile-field .edit-field-name, #sone .profile-field .move-up-field, #sone .profile-field .move-down-field, #sone .profile-field .delete-field-name {
551         float: right;
552         margin-top: -1ex;
553         position: relative;
554 }
555
556 #sone .backlinks {
557         font-size: 80%;
558 }
559
560 #sone .backlinks .backlink {
561         display: inline;
562 }
563
564 #sone .album {
565 }
566
567 #sone .image {
568         width: 200px;
569         height: 150px;
570         display: table-cell;
571         vertical-align: middle;
572         text-align: center;
573         padding: 0.5ex;
574 }
575
576 #sone .image img, #sone .single-image img {
577         padding: 1ex;
578         border: solid 1px #000;
579         background-color: #fff;
580 }
581
582 #sone .backlinks .separator {
583         display: inline;
584 }
585
586 #sone #search {
587         text-align: right;
588 }
589
590 #sone #search input[type=text] {
591         width: 35em;
592 }
593
594 #sone #sone-results + #sone #post-results {
595         clear: both;
596         padding-top: 1em;
597 }
598
599 #sone #tail {
600         margin-top: 1em;
601         border-top: solid 1px #ccc;
602         padding-top: 2em;
603         text-align: center;
604         font-size: 75%;
605         color: #888;
606 }
607
608 #sone #tail #version-information {
609         margin-top: 1em;
610 }
611
612 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
613         height: 1.5em;
614 }
615
616 #sone #add-sone button {
617         position: absolute;
618 }
619
620 #sone .navigation {
621         text-align: center;
622 }
623
624 #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 {
625         display: block;
626         height: 1.5em;
627         padding: 0.5ex;
628         width: 3em;
629         border: solid 1px #ccc;
630         background-color: #f0f0ff;
631         margin: 1ex 0;
632 }
633
634 #sone .navigation .first, #sone .navigation .previous {
635         float: left;
636 }
637
638 #sone .navigation .current-page, #sone .navigation .total-pages {
639         position: relative;
640         top: 0.5em;
641         margin-top: 0.5ex;
642         display: inline;
643 }
644
645 #sone .navigation .total-pages:before {
646         content: '/ ';
647 }
648
649 #sone .navigation .next, #sone .navigation .last {
650         float: right;
651 }
652
653 #sone h1 {
654         font-family: inherit;
655         font-size: 200%;
656         font-weight: bold;
657         clear: both;
658 }
659
660 #sone h2 {
661         font-family: inherit;
662         font-size: 150%;
663         font-weight: bold;
664         clear: both;
665 }
666
667 #sone .error label {
668         color: red;
669         font-weight: bold;
670 }
671
672 #sone input.default, #sone textarea.default {
673         color: #888;
674 }
675
676 #sone input[type=text].key {
677         width: 130ex;;
678         font-size: 75%;
679 }
680
681 #sone .confirm {
682         font-weight: bold;
683         color: red;
684 }