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