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