Merge branch 'next' into edit-wot-trust
[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 textarea {
20         height: 4em;
21 }
22
23 #sone form {
24         margin: 0px;
25 }
26
27 /* now for the real stuff. */
28
29 #sone {
30         width: 55em;
31         margin: auto;
32 }
33
34 #sone .hidden {
35         display: none;
36 }
37
38 #sone #formPassword {
39         display: none;
40 }
41
42 #sone a, #sone a:link, #sone a:visited {
43         color: rgb(28, 131, 191);
44         font-size: inherit;
45         text-decoration: none;
46 }
47
48 #sone a:active, #sone a:hover {
49         color: rgb(255, 172, 0);
50 }
51
52 #sone a.internet {
53         color: rgb(255, 0, 0);
54 }
55
56 #sone a.internet:before {
57         content: '⚠ ';
58 }
59
60 #sone a.freenet:before {
61         content: '» ';
62 }
63
64 #sone a.freenet-trusted {
65         color: rgb(0, 128, 0);
66 }
67
68 #sone a.freenet-trusted:before {
69         content: '★ ';
70 }
71
72 #sone a img {
73         border: none;
74 }
75
76 #sone #notification-area {
77         margin-top: 1em;
78 }
79
80 #sone #notification-area .notification {
81         padding: 1ex;
82         border: solid 1px #ccc;
83         background-color: #ffffa0;
84         margin-bottom: 1ex;
85         min-height: 3.5ex;
86 }
87
88 #sone #notification-area .notification .dismiss {
89         float: right;
90 }
91
92 #sone #notification-area .notification .post-count {
93         margin-left: 1ex;
94 }
95
96 #sone #plugin-warning {
97         border: solid 0.5em red;
98         padding: 0.5em;
99         margin-bottom: 1em;
100 }
101
102 #sone #profile {
103         height: 80px;
104         margin-top: 1em;
105         margin-bottom: 1ex;
106 }
107
108 #sone .profile-link {
109         font-weight: bold;
110         color: rgb(28, 131, 191);
111 }
112
113 #sone #profile.online .picture {
114         position: absolute;
115 }
116
117 #sone #profile.offline .picture {
118         position: absolute;
119 }
120
121 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
122         display: none;
123 }
124
125 #sone #profile .edit-profile-link {
126         font-size: 85%;
127 }
128
129 #sone #home-sone {
130         margin-top: 1ex;
131         margin-left: 80px;
132         padding-left: 1ex;
133 }
134
135 #sone #update-status label {
136         display: none;
137 }
138
139 #sone #update-status input[type=text] {
140         width: 45em;
141 }
142
143 #sone #update-status textarea {
144         width: 45em;
145 }
146
147 #sone #update-status button {
148         float: right;
149 }
150
151 #sone .nice-name {
152         font-weight: bold;
153 }
154
155 #sone #main {
156         padding: 1em;
157         padding-top: 0px;
158 }
159
160 #sone #edit-profile #birth-day, #sone #edit-profile #birth-month, #sone #edit-profile #birth-year {
161         display: inline;
162         width: 15em;
163 }
164
165 #sone #edit-profile #birth-day input, #sone #edit-profile #birth-month input, #sone #edit-profile #birth-year input {
166         width: 4em;
167         text-align: right;
168 }
169
170 #sone .post {
171         padding: 1ex 0px;
172         border-bottom: solid 1px #ccc;
173         clear: both;
174 }
175
176 #sone .post.new {
177         background-color: #ffffa0;
178         padding-left: 1ex;
179 }
180
181 #sone .post.last {
182         padding: 1ex 0px;
183         border-bottom: none;
184 }
185
186 #sone .post > .avatar {
187         position: absolute;
188 }
189
190 #sone .post > .inner-part {
191         margin-left: 48px;
192         padding-left: 0.5em;
193         min-height: 48px;
194 }
195
196 #sone .post .author, #sone .post .recipient {
197         display: inline;
198         font-weight: bold;
199 }
200
201 #sone .post .text {
202         display: inline;
203         white-space: pre-wrap;
204 }
205
206 #sone .post .status-line {
207         margin-top: 0.5ex;
208         font-size: 85%;
209 }
210
211 #sone .separator {
212         font: inherit;
213         color: rgb(28, 131, 191);
214 }
215
216 #sone .post .time {
217         display: inline;
218         color: #666;
219 }
220
221 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .trust, #sone .post .distrust, #sone .post .untrust {
222         display: inline;
223         font: inherit;
224         margin: 0px;
225 }
226
227 #sone .post .likes.hidden {
228         display: none;
229 }
230
231 #sone .post .like.hidden, #sone .post .unlike.hidden, #sone .post .trust.hidden, #sone .post .distrust.hidden, #sone .post .untrust.hidden {
232         display: none;
233 }
234
235 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .trust button, #sone .post .distrust button, #sone .post .untrust button {
236         border: 0px;
237         background: none;
238         padding: 0px;
239         color: rgb(28, 131, 191);
240         font: inherit;
241         margin: 0px;
242 }
243
244 #sone .post .trust button {
245         color: rgb(0, 128, 0);
246 }
247
248 #sone .post .distrust button {
249         color: rgb(255, 0, 0);
250 }
251
252 #sone .post .untrust button {
253         color: rgb(64, 64, 64);
254 }
255
256 #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 {
257         border: 0px;
258         background: none;
259         padding: 0px;
260         color: rgb(255, 172, 0);
261         cursor: pointer;
262 }
263
264 #sone .post .likes span {
265         font: inherit;
266         color: green;
267 }
268
269 #sone .post .replies {
270         clear: both;
271         padding-top: 0.2ex;
272 }
273
274 #sone .post .replies .click-to-show {
275         background-color: #f0f0ff;
276         font-size: 85%;
277         padding: 0.5em;
278         cursor: pointer;
279 }
280
281 #sone .post .replies .click-to-show.new {
282         background-color: #ffffa0;
283 }
284
285 #sone .post .reply > .avatar {
286         position: absolute;
287 }
288
289 #sone .post .reply > .inner-part {
290         margin-left: 36px;
291         padding-left: 0.5em;
292         min-height: 36px;
293 }
294
295 #sone .post .reply {
296         clear: both;
297         background-color: #f0f0ff;
298         font-size: 85%;
299         margin: 1ex 0px;
300         padding: 1ex;
301 }
302
303 #sone .post .reply.new {
304         background-color: #ffffa0;
305 }
306
307 #sone .post .reply .time {
308         float: none;
309         display: inline;
310         color: #666;
311         font-size: inherit;
312 }
313
314 #sone .post .show-reply-form {
315         display: inline;
316 }
317
318 #sone .post .show-reply-form span {
319         color: rgb(28, 131, 191);
320         cursor: pointer;
321         font: inherit;
322 }
323
324 #sone .post .show-reply-form span:hover {
325         color: rgb(255, 172, 0);
326 }
327
328 #sone .post .create-reply {
329         clear: both;
330         background-color: #f0f0ff;
331         padding: 0.5ex;
332 }
333
334 #sone .post .create-reply input[type=text] {
335         margin-left: 0.5ex;
336         width: 44em;
337 }
338
339 #sone .post .create-reply textarea {
340         margin-left: 0.5ex;
341         width: 44em;
342         height: 4em;
343 }
344
345 #sone .post .create-reply button {
346         float: right;
347 }
348
349 #sone .sone {
350         clear: both;
351         background-color: #f0f0ff;
352         border: 1px solid #ccc;
353         margin-bottom: 0.5ex;
354         padding: 0.5ex;
355 }
356
357 #sone .sone.local {
358         background-color: #f0fff0;
359 }
360
361 #sone .sone.new {
362         background-color: #ffffa0;
363 }
364
365 #sone .sone .profile-link {
366         display: block;
367 }
368
369 #sone .sone .short-request-uri {
370         clear: both;
371         float: right;
372 }
373
374 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
375         display: none;
376 }
377
378 #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 {
379         display: inline;
380         float: right;
381         border: solid 1px #ccc;
382         border-right: none;
383         border-top: none;
384         padding: 0 0.5ex;
385         position: relative;
386         right: -0.5ex;
387         top: -0.5ex
388 }
389
390 #sone .sone.idle.modified .idle-marker {
391         display: none;
392 }
393
394 #sone .sone .last-update {
395         float: right;
396         display: inline;
397 }
398
399 #sone .sone .modified-marker, #sone .sone .unknown-marker {
400         color: red;
401         font-weight: bold;
402 }
403
404 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
405         display: inline;
406         border: solid 1px #ccc;
407         border-left: none;
408         border-bottom: none;
409         padding: 0 0.5ex;
410         position: relative;
411         left: -0.5ex;
412         bottom: -0.5ex
413 }
414
415 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
416         display: inline;
417         color: rgb(28, 131, 191);
418         background: none;
419         border: none;
420         font: inherit;
421         padding: 0px;
422 }
423
424 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
425         display: inline;
426         color: rgb(255, 172, 0);
427 }
428
429 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
430         display: none;
431 }
432
433 #sone .sone form.hidden {
434         display: none;
435 }
436
437 #sone .sone .spacer {
438         display: inline;
439 }
440
441 #sone #create-sone {
442
443 }
444
445 #sone #tail {
446         margin-top: 1em;
447         border-top: solid 1px #ccc;
448         padding-top: 2em;
449         text-align: center;
450         font-size: 75%;
451         color: #888;
452 }
453
454 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
455         height: 1.5em;
456 }
457
458 #sone #add-sone button {
459         position: absolute;
460 }
461
462 #sone .navigation {
463         text-align: center;
464 }
465
466 #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 {
467         display: block;
468         height: 1.5em;
469         padding: 0.5ex;
470         width: 3em;
471         border: solid 1px #ccc;
472         background-color: #f0f0ff;
473         margin: 1ex 0;
474 }
475
476 #sone .navigation .first, #sone .navigation .previous {
477         float: left;
478 }
479
480 #sone .navigation .current-page, #sone .navigation .total-pages {
481         position: relative;
482         top: 0.5em;
483         margin-top: 0.5ex;
484         display: inline;
485 }
486
487 #sone .navigation .total-pages:before {
488         content: '/ ';
489 }
490
491 #sone .navigation .next, #sone .navigation .last {
492         float: right;
493 }
494
495 #sone h1 {
496         font-family: inherit;
497         font-size: 200%;
498         font-weight: bold;
499         clear: both;
500 }
501
502 #sone h2 {
503         font-family: inherit;
504         font-size: 150%;
505         font-weight: bold;
506         clear: both;
507 }
508
509 #sone .error label {
510         color: red;
511         font-weight: bold;
512 }
513
514 #sone input.default {
515         color: #888;
516 }
517
518 #sone input[type=text].key {
519         width: 130ex;;
520         font-size: 75%;
521 }
522
523 #sone .confirm {
524         font-weight: bold !important;
525         color: red !important;
526 }