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