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