Add “unknown” Sone state, initialize local and remote Sones differently.
[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
5         {
6         font-size: inherit;
7 }
8
9 #sone form {
10         margin: 0px;
11 }
12
13 /* now for the real stuff. */
14
15 #sone {
16         width: 68em;
17         margin: auto;
18 }
19
20 #sone .hidden {
21         display: none;
22 }
23
24 #sone a, #sone a:link, #sone a:visited {
25         color: rgb(28, 131, 191);
26         font-size: inherit;
27         text-decoration: none;
28 }
29
30 #sone a:active, #sone a:hover {
31         color: rgb(255, 172, 0);
32 }
33
34 #sone #sidebar {
35         width: 200px;
36         position: absolute;
37 }
38
39 #sone .profile-link {
40         font-weight: bold;
41         color: rgb(28, 131, 191);
42 }
43
44 #sone #profile .picture {
45         float: left;
46 }
47
48 #sone #profile .edit-profile-link {
49         font-size: 85%;
50 }
51
52 #sone .nice-name {
53         font-weight: bold;
54 }
55
56 #sone #main {
57         margin-left: 200px;
58         padding-left: 1em;
59 }
60
61 #sone .post {
62         padding: 1ex 0px;
63         border-bottom: solid 1px #ccc;
64         margin-bottom: 1ex;
65 }
66
67 #sone .post .author {
68         display: inline;
69         font-weight: bold;
70 }
71
72 #sone .post .text {
73         display: inline;
74         white-space: pre-wrap;
75 }
76
77 #sone .post .status-line {
78         clear: both;
79         font-size: 85%;
80 }
81
82 #sone .post .time {
83         display: inline;
84         color: #666;
85 }
86
87 #sone .post .delete {
88         display: inline;
89 }
90
91 #sone .post .delete:before {
92         content: ' ‧ ';
93 }
94
95 #sone .post .replies {
96         clear: both;
97         padding-top: 0.2ex;
98 }
99
100 #sone .post .reply {
101         clear: both;
102         background-color: #eef;
103         font-size: 85%;
104         margin: 1ex 0px;
105         padding: 1ex;
106 }
107
108 #sone .post .reply .time {
109         float: none;
110         display: inline;
111         color: #666;
112         font-size: inherit;
113 }
114
115 #sone .post .show-reply-form {
116         display: inline;
117         color: rgb(28, 131, 191);
118         cursor: pointer;
119 }
120
121 #sone .post .show-reply-form:hover {
122         color: rgb(255, 172, 0);
123 }
124
125 #sone .post .show-reply-form:before {
126         content: ' ‧ ';
127 }
128
129 #sone .post .reply .status-line .delete {
130         float: none;
131         display: inline;
132 }
133
134 #sone .post .reply .status-line .delete:before {
135         content: ' · ';
136 }
137
138 #sone .post .create-reply {
139         clear: both;
140         background-color: #eef;
141         padding: 0.5ex;
142 }
143
144 #sone .post .create-reply.light button {
145         display: none;
146 }
147
148 #sone .sone .profile-link {
149         display: inline;
150 }
151
152 #sone .sone .request-uri {
153         display: inline;
154 }
155
156 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
157         display: none;
158 }
159
160 #sone .sone.unknown .unknown-marker {
161         display: inline;
162 }
163
164 #sone .sone.idle .idle-marker {
165         display: inline;
166 }
167
168 #sone .sone.downloading .download-marker {
169         display: inline;
170 }
171
172 #sone .sone.inserting .insert-marker {
173         display: inline;
174 }
175
176 #sone .sone.modified .modified-marker {
177         display: inline;
178 }
179
180 #sone .sone .last-update {
181         display: inline;
182 }
183
184 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
185         display: inline;
186         color: rgb(28, 131, 191);
187         background: none;
188         border: none;
189         font: inherit;
190         padding: 0px;
191 }
192
193 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover {
194         display: inline;
195         color: rgb(255, 172, 0);
196 }
197
198 #sone .sone form {
199         display: inline;
200 }
201
202 #sone h1 {
203         font-family: inherit;
204         font-size: 200%;
205         font-weight: bold;
206 }
207
208 #sone .error label {
209         color: red;
210         font-weight: bold;
211 }
212
213 #sone input.createpost.default, input.reply-input.default {
214         color: #888;
215 }