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