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