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