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