Merge branch 'release-0.3.6.3'
[Sone.git] / src / main / resources / static / css / sone.css
1 /* Sone Main CSS File */
2
3 /* first, override some fproxy rules. */
4 #sone .post .reply div,#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 .post .time {
212         display: inline;
213         color: #666;
214 }
215
216 #sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike {
217         display: inline;
218         font: inherit;
219 }
220
221 #sone .post .likes.hidden {
222         display: none;
223 }
224
225 #sone .post .like.hidden, #sone .post .unlike.hidden {
226         display: none;
227 }
228
229 #sone .post .delete button, #sone .post .like button, #sone .post .unlike button {
230         border: 0px;
231         background: none;
232         padding: 0px;
233         color: rgb(28, 131, 191);
234         font: inherit;
235 }
236
237 #sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover {
238         border: 0px;
239         background: none;
240         padding: 0px;
241         color: rgb(255, 172, 0);
242         cursor: pointer;
243 }
244
245 #sone .post .delete:before, #sone .post .likes:before, #sone .post .like:before, #sone .post .unlike:before {
246         content: ' ‧ ';
247 }
248
249 #sone .post .likes span {
250         font: inherit;
251         color: green;
252 }
253
254 #sone .post .replies {
255         clear: both;
256         padding-top: 0.2ex;
257 }
258
259 #sone .post .replies .click-to-show {
260         background-color: #f0f0ff;
261         font-size: 85%;
262         padding: 0.5em;
263         cursor: pointer;
264 }
265
266 #sone .post .replies .click-to-show.new {
267         background-color: #ffffa0;
268 }
269
270 #sone .post .reply > .avatar {
271         position: absolute;
272 }
273
274 #sone .post .reply > .inner-part {
275         margin-left: 36px;
276         padding-left: 0.5em;
277         min-height: 36px;
278 }
279
280 #sone .post .reply {
281         clear: both;
282         background-color: #f0f0ff;
283         font-size: 85%;
284         margin: 1ex 0px;
285         padding: 1ex;
286 }
287
288 #sone .post .reply.new {
289         background-color: #ffffa0;
290 }
291
292 #sone .post .reply .time {
293         float: none;
294         display: inline;
295         color: #666;
296         font-size: inherit;
297 }
298
299 #sone .post .show-reply-form {
300         display: inline;
301 }
302
303 #sone .post .show-reply-form span {
304         color: rgb(28, 131, 191);
305         cursor: pointer;
306         font: inherit;
307 }
308
309 #sone .post .show-reply-form span:hover {
310         color: rgb(255, 172, 0);
311 }
312
313 #sone .post .show-reply-form:before {
314         content: ' ‧ ';
315 }
316
317 #sone .post .create-reply {
318         clear: both;
319         background-color: #f0f0ff;
320         padding: 0.5ex;
321 }
322
323 #sone .post .create-reply input[type=text] {
324         margin-left: 0.5ex;
325         width: 44em;
326 }
327
328 #sone .post .create-reply textarea {
329         margin-left: 0.5ex;
330         width: 44em;
331         height: 4em;
332 }
333
334 #sone .post .create-reply button {
335         float: right;
336 }
337
338 #sone .sone {
339         clear: both;
340         background-color: #f0f0ff;
341         border: 1px solid #ccc;
342         margin-bottom: 0.5ex;
343         padding: 0.5ex;
344 }
345
346 #sone .sone.local {
347         background-color: #f0fff0;
348 }
349
350 #sone .sone.new {
351         background-color: #ffffa0;
352 }
353
354 #sone .sone .profile-link {
355         display: block;
356 }
357
358 #sone .sone .short-request-uri {
359         clear: both;
360         float: right;
361 }
362
363 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
364         display: none;
365 }
366
367 #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 {
368         display: inline;
369         float: right;
370         border: solid 1px #ccc;
371         border-right: none;
372         border-top: none;
373         padding: 0 0.5ex;
374         position: relative;
375         right: -0.5ex;
376         top: -0.5ex
377 }
378
379 #sone .sone.idle.modified .idle-marker {
380         display: none;
381 }
382
383 #sone .sone .last-update {
384         float: right;
385         display: inline;
386 }
387
388 #sone .sone .modified-marker, #sone .sone .unknown-marker {
389         color: red;
390         font-weight: bold;
391 }
392
393 #sone .sone form.follow, #sone .sone form.unfollow, #sone .sone form.lock, #sone .sone form.unlock {
394         display: inline;
395         border: solid 1px #ccc;
396         border-left: none;
397         border-bottom: none;
398         padding: 0 0.5ex;
399         position: relative;
400         left: -0.5ex;
401         bottom: -0.5ex
402 }
403
404 #sone .sone form.follow button, #sone .sone form.unfollow button, #sone .sone form.lock button, #sone .sone form.unlock button {
405         display: inline;
406         color: rgb(28, 131, 191);
407         background: none;
408         border: none;
409         font: inherit;
410         padding: 0px;
411 }
412
413 #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover, #sone .sone form.lock button:hover, #sone .sone form.unlock button:hover {
414         display: inline;
415         color: rgb(255, 172, 0);
416 }
417
418 #sone .sone.locked form.lock, #sone .sone.unlocked form.unlock {
419         display: none;
420 }
421
422 #sone .sone form.hidden {
423         display: none;
424 }
425
426 #sone .sone .spacer {
427         display: inline;
428 }
429
430 #sone #create-sone {
431
432 }
433
434 #sone #tail {
435         margin-top: 1em;
436         border-top: solid 1px #ccc;
437         padding-top: 2em;
438         text-align: center;
439         font-size: 75%;
440         color: #888;
441 }
442
443 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
444         height: 1.5em;
445 }
446
447 #sone #add-sone button {
448         position: absolute;
449 }
450
451 #sone .navigation {
452         text-align: center;
453 }
454
455 #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 {
456         display: block;
457         height: 1.5em;
458         padding: 0.5ex;
459         width: 3em;
460         border: solid 1px #ccc;
461         background-color: #f0f0ff;
462         margin: 1ex 0;
463 }
464
465 #sone .navigation .first, #sone .navigation .previous {
466         float: left;
467 }
468
469 #sone .navigation .current-page, #sone .navigation .total-pages {
470         position: relative;
471         top: 0.5em;
472         margin-top: 0.5ex;
473         display: inline;
474 }
475
476 #sone .navigation .total-pages:before {
477         content: '/ ';
478 }
479
480 #sone .navigation .next, #sone .navigation .last {
481         float: right;
482 }
483
484 #sone h1 {
485         font-family: inherit;
486         font-size: 200%;
487         font-weight: bold;
488         clear: both;
489 }
490
491 #sone h2 {
492         font-family: inherit;
493         font-size: 150%;
494         font-weight: bold;
495         clear: both;
496 }
497
498 #sone .error label {
499         color: red;
500         font-weight: bold;
501 }
502
503 #sone input.default {
504         color: #888;
505 }
506
507 #sone input[type=text].key {
508         width: 130ex;;
509         font-size: 75%;
510 }
511
512 #sone .confirm {
513         font-weight: bold !important;
514         color: red !important;
515 }