Implement reply deletion.
[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: 55em;
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 #profile {
35         height: 80px;
36         margin-bottom: 1ex;
37 }
38
39 #sone .profile-link {
40         font-weight: bold;
41         color: rgb(28, 131, 191);
42 }
43
44 #sone #profile.online .picture {
45         float: left;
46         background-image: url("../images/sone.png");
47         width: 80px;
48         height: 80px;
49 }
50
51 #sone #profile.offline .picture {
52         float: left;
53         background-image: url("../images/sone-offline.png");
54         width: 80px;
55         height: 80px;
56 }
57
58 #sone #profile.offline .edit-profile-link, #sone #profile.offline .profile-link {
59         display: none;
60 }
61
62 #sone #profile .edit-profile-link {
63         font-size: 85%;
64 }
65
66 #sone .nice-name {
67         font-weight: bold;
68 }
69
70 #sone #main {
71         padding: 1em;
72 }
73
74 #sone .post {
75         padding: 1ex 0px;
76         border-bottom: solid 1px #ccc;
77 }
78
79 #sone .post .author {
80         display: inline;
81         font-weight: bold;
82 }
83
84 #sone .post .text {
85         display: inline;
86         white-space: pre-wrap;
87 }
88
89 #sone .post .status-line {
90         clear: both;
91         margin-top: 0.5ex;
92         font-size: 85%;
93 }
94
95 #sone .post .time {
96         display: inline;
97         color: #666;
98 }
99
100 #sone .post .delete {
101         display: inline;
102 }
103
104 #sone .post .delete button {
105         font: inherit;
106         border: 0px;
107         background: none;
108         padding: 0px;
109         color: rgb(28, 131, 191);
110 }
111
112 #sone .post .delete button:hover {
113         font: inherit;
114         border: 0px;
115         background: none;
116         padding: 0px;
117         color: rgb(255, 172, 0);
118         cursor: pointer;
119 }
120
121 #sone .post .delete:before {
122         content: ' ‧ ';
123 }
124
125 #sone .post .replies {
126         clear: both;
127         padding-top: 0.2ex;
128 }
129
130 #sone .post .reply {
131         clear: both;
132         background-color: #f0f0ff;
133         font-size: 85%;
134         margin: 1ex 0px;
135         padding: 1ex;
136 }
137
138 #sone .post .reply .time {
139         float: none;
140         display: inline;
141         color: #666;
142         font-size: inherit;
143 }
144
145 #sone .post .show-reply-form {
146         display: inline;
147         color: rgb(28, 131, 191);
148         cursor: pointer;
149 }
150
151 #sone .post .show-reply-form:hover {
152         color: rgb(255, 172, 0);
153 }
154
155 #sone .post .show-reply-form:before {
156         content: ' ‧ ';
157 }
158
159 #sone .post .reply .status-line .delete {
160         float: none;
161         display: inline;
162 }
163
164 #sone .post .reply .status-line .delete:before {
165         content: ' · ';
166 }
167
168 #sone .post .create-reply {
169         clear: both;
170         background-color: #f0f0ff;
171         padding: 0.5ex;
172 }
173
174 #sone .post .create-reply.light button {
175         display: none;
176 }
177
178 #sone .sone {
179         clear: both;
180         background-color: #f0f0ff;
181         border: 1px solid #ccc;
182         margin-bottom: 0.5ex;
183         padding: 0.5ex;
184 }
185
186 #sone .sone .profile-link {
187         display: block;
188 }
189
190 #sone .sone .short-request-uri {
191         clear: both;
192         float: right;
193 }
194
195 #sone .sone .unknown-marker, #sone .sone .download-marker, #sone .sone .insert-marker, #sone .sone .idle-marker, #sone .sone .modified-marker {
196         display: none;
197 }
198
199 #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 {
200         display: inline;
201         float: right;
202         border: solid 1px #ccc;
203         border-right: none;
204         border-top: none;
205         padding: 0 0.5ex;
206         position: relative;
207         right: -0.5ex;
208         top: -0.5ex
209 }
210
211 #sone .sone .last-update {
212         float: right;
213         display: inline;
214 }
215
216 #sone .sone .modified-marker, #sone .sone .unknown-marker {
217         color: red;
218         font-weight: bold;
219 }
220
221 #sone .sone form {
222         display: inline;
223         border: solid 1px #ccc;
224         border-left: none;
225         border-bottom: none;
226         padding: 0 0.5ex;
227         position: relative;
228         left: -0.5ex;
229         bottom: -0.5ex
230 }
231
232 #sone .sone form.block button, #sone .sone form.unblock button, #sone .sone form.follow button, #sone .sone form.unfollow button {
233         display: inline;
234         color: rgb(28, 131, 191);
235         background: none;
236         border: none;
237         font: inherit;
238         padding: 0px;
239 }
240
241 #sone .sone form.block button:hover, #sone .sone form.unblock button:hover, #sone .sone form.follow button:hover, #sone .sone form.unfollow button:hover {
242         display: inline;
243         color: rgb(255, 172, 0);
244 }
245
246 #sone .sone .spacer {
247         display: inline;
248 }
249
250 #sone #tail .import-key {
251         margin-top: 1em;
252         border-top: solid 1px #ccc;
253         padding-top: 1em;
254         text-align: center;
255         font-size: 85%;
256         color: #888;
257 }
258
259
260 #sone h1 {
261         font-family: inherit;
262         font-size: 200%;
263         font-weight: bold;
264 }
265
266 #sone .error label {
267         color: red;
268         font-weight: bold;
269 }
270
271 #sone input.status-input.default, input.reply-input.default {
272         color: #888;
273 }
274
275 #sone input[type=text].key {
276         width: 130ex;;
277         font-size: 75%;
278 }