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