|
1 /* |
|
2 Website index, forum view |
|
3 */ |
|
4 div.forabg, div.forumbg, .panel, .post { |
|
5 clear: both; |
|
6 } |
|
7 |
|
8 ul.linklist { |
|
9 display: block; |
|
10 height: 14px; |
|
11 margin: 6px 4px; |
|
12 } |
|
13 ul.linklist li { |
|
14 display: block; |
|
15 float: left; |
|
16 list-style-type: none; |
|
17 margin-right: 5px; |
|
18 } |
|
19 |
|
20 div.forabg, div.forumbg { |
|
21 margin: 6px 0; |
|
22 } |
|
23 .old-ie .forabg, .old-ie .forumbg, .old-ie .panel, .old-ie .post, .old-ie .rules { |
|
24 zoom: 1; |
|
25 } |
|
26 |
|
27 ul.topiclist { |
|
28 display: block; |
|
29 clear: both; |
|
30 list-style-type: none; |
|
31 margin: 0; |
|
32 } |
|
33 ul.topiclist li { |
|
34 display: block; |
|
35 list-style-type: none; |
|
36 margin: 4px 0; |
|
37 padding: 2px; |
|
38 border-width: 0; |
|
39 } |
|
40 ul.topiclist li.header { |
|
41 margin: 0 0 2px; |
|
42 padding: 1px 0; |
|
43 border: solid 1px #a9a9a9; |
|
44 background: #939393 url({T_THEME_PATH}/images/th.gif) 0 0 repeat-x; |
|
45 background: url({T_THEME_PATH}/images/header_g2.png) top center repeat-y, #939393 url({T_THEME_PATH}/images/th.gif) 0 0 repeat-x; |
|
46 border-radius: 6px; |
|
47 -moz-border-radius: 6px; |
|
48 -webkit-border-radius: 6px; |
|
49 color: rgba(255, 255, 255, 0.9); |
|
50 text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px; |
|
51 font-family: Arial; |
|
52 } |
|
53 ul.topiclist li.header a, ul.topiclist li.header a:visited { |
|
54 color: rgba(255, 255, 255, 0.9); |
|
55 text-decoration: underline; |
|
56 } |
|
57 .old-ie ul.topiclist li.header, .old-ie ul.topiclist li.header a, .old-ie ul.topiclist li.header a:visited { |
|
58 color: #fff; |
|
59 } |
|
60 ul.topiclist li.header a:hover, ul.topiclist li.header a:active { |
|
61 color: #fff; |
|
62 } |
|
63 |
|
64 ul.topiclist li.header dt, ul.topiclist li.header dd { |
|
65 font-size: 12px; |
|
66 line-height: 1.2em; |
|
67 } |
|
68 |
|
69 ul.topiclist dl { |
|
70 overflow: hidden; |
|
71 position: relative; |
|
72 } |
|
73 ul.topiclist li.row dl { |
|
74 padding: 2px 0; |
|
75 } |
|
76 |
|
77 ul.topiclist li.row { |
|
78 margin-left: 8px; |
|
79 } |
|
80 ul.topiclist li.row dl.icon { |
|
81 margin-left: -14px; |
|
82 } |
|
83 |
|
84 ul.topiclist dt { |
|
85 display: block; |
|
86 float: left; |
|
87 width: 50%; |
|
88 padding-left: 5px; |
|
89 padding-right: 5px; |
|
90 } |
|
91 |
|
92 ul.topiclist dd { |
|
93 display: block; |
|
94 float: left; |
|
95 padding: 4px 0; |
|
96 border-left: 1px solid #e0e0e0; |
|
97 transition: border-left-color 0.25s ease; |
|
98 -webkit-transition: border-left-color 0.25s ease; |
|
99 -moz-transition: border-left-color 0.25s ease; |
|
100 -o-transition: border-left-color 0.25s ease; |
|
101 -ms-transition: border-left-color 0.25s ease; |
|
102 } |
|
103 ul.topiclist li:hover dd { |
|
104 border-left-color: #d4d4d4; |
|
105 } |
|
106 |
|
107 ul.topiclist dfn { |
|
108 /* Labels for post/view counts */ |
|
109 position: absolute; |
|
110 left: -999px; |
|
111 width: 990px; |
|
112 } |
|
113 |
|
114 ul.topiclist li.row dt a.subforum { |
|
115 background-position: 0 50%; |
|
116 background-repeat: no-repeat; |
|
117 position: relative; |
|
118 white-space: nowrap; |
|
119 padding: 0 0 0 12px; |
|
120 } |
|
121 |
|
122 ul.topiclist li.row dt a.subforum.read { |
|
123 background-image: url("{IMG_SUBFORUM_READ_SRC}"); |
|
124 } |
|
125 |
|
126 ul.topiclist li.row dt a.subforum.unread { |
|
127 background-image: url("{IMG_SUBFORUM_UNREAD_SRC}"); |
|
128 } |
|
129 |
|
130 .forum-image { |
|
131 float: left; |
|
132 padding-top: 5px; |
|
133 margin-right: 5px; |
|
134 } |
|
135 |
|
136 .feed-icon-forum { |
|
137 float: right; |
|
138 display: block; |
|
139 width: 18px; |
|
140 height: 18px; |
|
141 background: url({T_THEME_PATH}/images/rss.png) 0 0 no-repeat; |
|
142 } |
|
143 .feed-icon-forum:hover { background-position: 0 -20px; } |
|
144 .feed-icon-forum span { display: none; } |
|
145 |
|
146 li.row { |
|
147 } |
|
148 |
|
149 li.row strong { |
|
150 font-weight: normal; |
|
151 } |
|
152 |
|
153 li.header dt, li.header dd { |
|
154 color: rgba(255, 255, 255, 0.8); |
|
155 line-height: 1em; |
|
156 border-left-width: 0; |
|
157 margin: 0; |
|
158 padding: 4px 0; |
|
159 text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 1px; |
|
160 } |
|
161 .old-ie li.header dt, .old-ie li.header dd { |
|
162 color: #fff; |
|
163 } |
|
164 |
|
165 li.header dd { |
|
166 margin-left: 1px; |
|
167 } |
|
168 |
|
169 li.header dl { |
|
170 min-height: 0; |
|
171 padding-left: 6px; |
|
172 } |
|
173 |
|
174 li.header dl.icon dt { |
|
175 /* Tweak for headers alignment when folder icon used */ |
|
176 padding-left: 0; |
|
177 padding-right: 30px; |
|
178 } |
|
179 |
|
180 /* Forum list column styles */ |
|
181 dl.icon { |
|
182 min-height: 35px; |
|
183 background-position: 0 50%; /* Position of folder icon */ |
|
184 background-repeat: no-repeat; |
|
185 } |
|
186 |
|
187 dl.icon dt { |
|
188 padding-left: 30px; /* Space for folder icon */ |
|
189 background-repeat: no-repeat; |
|
190 background-position: 12px 100%; /* Position of topic icon */ |
|
191 font-size: 11px; |
|
192 line-height: 1.3em; |
|
193 } |
|
194 dl.icon dt div.extra { |
|
195 float: right; |
|
196 padding-top: 4px; |
|
197 } |
|
198 |
|
199 dd.posts, dd.topics, dd.views { |
|
200 width: 8%; |
|
201 text-align: center; |
|
202 line-height: 2.2em; |
|
203 font-size: 12px; |
|
204 } |
|
205 |
|
206 a.forumtitle, a.topictitle { |
|
207 font-size: 14px; |
|
208 font-weight: 500; |
|
209 line-height: 1.4em; |
|
210 font-family: Arial; |
|
211 } |
|
212 .unread a.forumtitle, .unread a.forumtitle:visited, |
|
213 .unread a.topictitle, .unread a.topictitle:visited, |
|
214 .reported a.topictitle, .reported a.topictitle:visited, |
|
215 .unapproved a.topictitle, .unapproved a.topictitle:visited { |
|
216 color: #da5d20; |
|
217 } |
|
218 .unread a.forumtitle:hover, .unread a.topictitle:hover, |
|
219 .reported a.topictitle:hover, .unapproved a.topictitle:hover { |
|
220 color: #da5d20; |
|
221 } |
|
222 |
|
223 |
|
224 /* List in forum description */ |
|
225 dl.icon dt ol, |
|
226 dl.icon dt ul { |
|
227 list-style-position: inside; |
|
228 margin-left: 1em; |
|
229 } |
|
230 |
|
231 dl.icon dt li { |
|
232 display: list-item; |
|
233 list-style-type: inherit; |
|
234 } |
|
235 |
|
236 dd.lastpost { |
|
237 width: 25%; |
|
238 font-size: 11px; |
|
239 } |
|
240 |
|
241 dd.redirect { |
|
242 font-size: 12px; |
|
243 line-height: 2.5em; |
|
244 } |
|
245 |
|
246 dd.redirect.empty { |
|
247 display: none; |
|
248 } |
|
249 |
|
250 dd.moderation { |
|
251 font-size: 11px; |
|
252 } |
|
253 |
|
254 dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { |
|
255 display: block; |
|
256 padding-left: 5px; |
|
257 } |
|
258 |
|
259 dd.time { |
|
260 width: auto; |
|
261 line-height: 200%; |
|
262 font-size: 11px; |
|
263 } |
|
264 |
|
265 dd.extra { |
|
266 width: 12%; |
|
267 line-height: 200%; |
|
268 text-align: center; |
|
269 font-size: 11px; |
|
270 } |
|
271 |
|
272 dd.mark { |
|
273 float: right !important; |
|
274 width: 9%; |
|
275 text-align: center; |
|
276 line-height: 200%; |
|
277 font-size: 11px; |
|
278 } |
|
279 |
|
280 dd.info { |
|
281 width: 30%; |
|
282 } |
|
283 |
|
284 dd.option { |
|
285 width: 15%; |
|
286 line-height: 200%; |
|
287 text-align: center; |
|
288 font-size: 11px; |
|
289 } |
|
290 |
|
291 dd.searchby { |
|
292 width: 47%; |
|
293 font-size: 11px; |
|
294 line-height: 1em; |
|
295 } |
|
296 |
|
297 ul.topiclist dd.searchextra { |
|
298 margin-left: 5px; |
|
299 padding: 0.2em 0; |
|
300 font-size: 11px; |
|
301 color: #444; |
|
302 border-left: none; |
|
303 clear: both; |
|
304 width: 98%; |
|
305 overflow: hidden; |
|
306 } |
|
307 |
|
308 /* Container for post/reply buttons */ |
|
309 .topic-actions { |
|
310 margin: 0 0 6px; |
|
311 font-size: 11px; |
|
312 height: 28px; |
|
313 min-height: 28px; |
|
314 } |
|
315 div[class].topic-actions { |
|
316 height: auto; |
|
317 } |
|
318 |
|
319 /* Buttons */ |
|
320 .buttons { |
|
321 float: left; |
|
322 } |
|
323 .buttons div { |
|
324 float: left; |
|
325 margin: 0 5px 0 0; |
|
326 background-position: 0 100%; |
|
327 } |
|
328 .old-ie .buttons div { |
|
329 margin-left: 5px; |
|
330 } |
|
331 .buttons div a { |
|
332 font-size: 14px; |
|
333 font-family: Arial; |
|
334 line-height: 1em; |
|
335 white-space: nowrap; |
|
336 display: inline-block; |
|
337 position: relative; |
|
338 margin: 0 0 0 15px; |
|
339 padding: 8px 16px 0 2px; |
|
340 height: 22px; |
|
341 text-decoration: none; |
|
342 text-align: center; |
|
343 color: #32b359; |
|
344 background: url({T_THEME_PATH}/images/buttons.png) top right no-repeat; |
|
345 } |
|
346 .browser-ie .buttons div a { |
|
347 line-height: 21.49px; |
|
348 padding-top: 5px; |
|
349 height: 25px; |
|
350 } |
|
351 |
|
352 .buttons div a, .buttons div a:hover, .buttons div a:active { |
|
353 text-decoration: none; |
|
354 border-width: 0; |
|
355 outline-style: none; |
|
356 } |
|
357 .buttons div a:hover, .buttons div a:active { |
|
358 color: #da5d20; |
|
359 } |
|
360 .buttons div a span { |
|
361 display: block; |
|
362 position: absolute; |
|
363 top: 0; |
|
364 bottom: 0; |
|
365 left: -15px; |
|
366 width: 15px; |
|
367 background: url({T_THEME_PATH}/images/buttons.png) top left no-repeat; |
|
368 } |
|
369 |
|
370 .buttons div a:hover { |
|
371 background-position: right -40px; |
|
372 } |
|
373 .buttons div a:active { |
|
374 background-position: right bottom; |
|
375 } |
|
376 .buttons div a:hover span { |
|
377 background-position: left -40px; |
|
378 } |
|
379 .buttons div a:active span { |
|
380 background-position: left bottom; |
|
381 } |
|
382 |
|
383 |
|
384 /* Pagination |
|
385 ---------------------------------------- */ |
|
386 .pagination { |
|
387 width: auto; |
|
388 text-align: right; |
|
389 margin-top: 5px; |
|
390 margin-bottom: 3px; |
|
391 float: right; |
|
392 } |
|
393 |
|
394 .pagination span.page-sep { |
|
395 display: none; |
|
396 } |
|
397 |
|
398 li.pagination { |
|
399 margin-top: 0; |
|
400 } |
|
401 |
|
402 .pagination strong, .pagination b { |
|
403 font-weight: normal; |
|
404 } |
|
405 |
|
406 .pagination span strong { |
|
407 padding: 0 3px; |
|
408 margin: 0 2px; |
|
409 font-weight: normal; |
|
410 border: solid 1px #32b359; |
|
411 background-color: #32b359; |
|
412 color: #fff; |
|
413 border-radius: 5px; |
|
414 -moz-border-radius: 5px; |
|
415 -webkit-border-radius: 5px; |
|
416 } |
|
417 |
|
418 .pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active { |
|
419 font-weight: normal; |
|
420 text-decoration: none; |
|
421 margin: 0 2px; |
|
422 padding: 0 3px; |
|
423 border: solid 1px #d0d0d0; |
|
424 border-radius: 5px; |
|
425 -moz-border-radius: 5px; |
|
426 -webkit-border-radius: 5px; |
|
427 background-color: #eee; |
|
428 line-height: 1.5em; |
|
429 transition: none; |
|
430 -webkit-transition: none; |
|
431 -moz-transition: none; |
|
432 -o-transition: none; |
|
433 -ms-transition: none; |
|
434 } |
|
435 |
|
436 .pagination span a:hover, .pagination span a:active { |
|
437 border-color: #da5d20; |
|
438 background-color: #da5d20; |
|
439 color: #fff; |
|
440 } |
|
441 |
|
442 .pagination img { |
|
443 vertical-align: middle; |
|
444 } |
|
445 |
|
446 /* Pagination in viewforum for multipage topics */ |
|
447 .row .pagination { |
|
448 display: block; |
|
449 float: right; |
|
450 width: auto; |
|
451 margin-top: 0; |
|
452 padding: 1px 0 1px 15px; |
|
453 font-size: 0.9em; |
|
454 background: none 0 50% no-repeat; |
|
455 } |
|
456 |
|
457 /* Miscellaneous styles |
|
458 ---------------------------------------- */ |
|
459 #forum-permissions { |
|
460 float: right; |
|
461 width: auto; |
|
462 padding-left: 5px; |
|
463 margin-left: 5px; |
|
464 margin-top: 10px; |
|
465 text-align: right; |
|
466 } |
|
467 |
|
468 /* Login on index */ |
|
469 body.section-index #page-body > form > h3 { display: none; } |
|
470 |