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