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