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