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