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