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