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