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