Mark new posts as new.
[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 .time {
238         float: none;
239         display: inline;
240         color: #666;
241         font-size: inherit;
242 }
243
244 #sone .post .show-reply-form {
245         display: inline;
246 }
247
248 #sone .post .show-reply-form span {
249         color: rgb(28, 131, 191);
250         cursor: pointer;
251         font: inherit;
252 }
253
254 #sone .post .show-reply-form span:hover {
255         color: rgb(255, 172, 0);
256 }
257
258 #sone .post .show-reply-form:before {
259         content: ' ‧ ';
260 }
261
262 #sone .post .reply .status-line .delete {
263         float: none;
264         display: inline;
265 }
266
267 #sone .post .reply .status-line .delete:before {
268         content: ' · ';
269 }
270
271 #sone .post .create-reply {
272         clear: both;
273         background-color: #f0f0ff;
274         padding: 0.5ex;
275 }
276
277 #sone .post .create-reply input[type=text] {
278         margin-left: 0.5ex;
279         width: 45em;
280 }
281
282 #sone .post .create-reply textarea {
283         margin-left: 0.5ex;
284         width: 45em;
285         height: 4em;
286 }
287
288 #sone .post .create-reply button {
289         float: right;
290 }
291
292 #sone .sone {
293         clear: both;
294         background-color: #f0f0ff;
295         border: 1px solid #ccc;
296         margin-bottom: 0.5ex;
297         padding: 0.5ex;
298 }
299
300 #sone .sone.local {
301         background-color: #f0fff0;
302 }
303
304 #sone .sone.new {
305         background-color: #ffffa0;
306 }
307
308 #sone .sone .id {
309         display: none;
310 }
311
312 #sone .sone .profile-link {
313         display: block;
314 }
315
316 #sone .sone .short-request-uri {
317         clear: both;
318         float: right;
319 }
320
321 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
322         display: none;
323 }
324
325 #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 {
326         display: inline;
327         float: right;
328         border: solid 1px #ccc;
329         border-right: none;
330         border-top: none;
331         padding: 0 0.5ex;
332         position: relative;
333         right: -0.5ex;
334         top: -0.5ex
335 }
336
337 #sone .sone.idle.modified .idle-marker {
338         display: none;
339 }
340
341 #sone .sone .last-update {
342         float: right;
343         display: inline;
344 }
345
346 #sone .sone .modified-marker, #sone .sone .unknown-marker {
347         color: red;
348         font-weight: bold;
349 }
350
351 #sone .sone form {
352         display: inline;
353         border: solid 1px #ccc;
354         border-left: none;
355         border-bottom: none;
356         padding: 0 0.5ex;
357         position: relative;
358         left: -0.5ex;
359         bottom: -0.5ex
360 }
361
362 #sone .sone form.hidden {
363         display: none;
364 }
365
366 #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 {
367         display: inline;
368         color: rgb(28, 131, 191);
369         background: none;
370         border: none;
371         font: inherit;
372         padding: 0px;
373 }
374
375 #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 {
376         display: inline;
377         color: rgb(255, 172, 0);
378 }
379
380 #sone .sone .spacer {
381         display: inline;
382 }
383
384 #sone #create-sone {
385
386 }
387
388 #sone #tail {
389         margin-top: 1em;
390         border-top: solid 1px #ccc;
391         padding-top: 2em;
392         text-align: center;
393         font-size: 75%;
394         color: #888;
395 }
396
397 #sone #add-sone textarea, #sone #create-sone textarea, #sone #load-sone textarea, #sone #edit-profile textarea {
398         height: 1.5em;
399 }
400
401 #sone #add-sone button {
402         position: absolute;
403 }
404
405 #sone .navigation {
406         text-align: center;
407 }
408
409 #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 {
410         display: block;
411         height: 1.5em;
412         padding: 0.5ex;
413         width: 3em;
414         border: solid 1px #ccc;
415         background-color: #f0f0ff;
416         margin: 1ex 0;
417 }
418
419 #sone .navigation .first, #sone .navigation .previous {
420         float: left;
421 }
422
423 #sone .navigation .current-page, #sone .navigation .total-pages {
424         position: relative;
425         top: 0.5em;
426         margin-top: 0.5ex;
427         display: inline;
428 }
429
430 #sone .navigation .total-pages:before {
431         content: '/ ';
432 }
433
434 #sone .navigation .next, #sone .navigation .last {
435         float: right;
436 }
437
438 #sone h1 {
439         font-family: inherit;
440         font-size: 200%;
441         font-weight: bold;
442         clear: both;
443 }
444
445 #sone h2 {
446         font-family: inherit;
447         font-size: 150%;
448         font-weight: bold;
449         clear: both;
450 }
451
452 #sone .error label {
453         color: red;
454         font-weight: bold;
455 }
456
457 #sone input.default {
458         color: #888;
459 }
460
461 #sone input[type=text].key {
462         width: 130ex;;
463         font-size: 75%;
464 }
465
466 #sone .confirm {
467         font-weight: bold !important;
468         color: red !important;
469 }