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