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