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