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