Projet

Général

Profil

Paste
Télécharger (7,99 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / advanced_forum / styles / naked / advanced-forum.naked.structure.css @ c169e7c4

1

    
2
/*
3
This document contains structural markup such as widths, margins, padding, and
4
floats.
5
*/
6

    
7
/*** PAGER ******************************************************************/
8
/* This is the pager on the topics in the list */
9
.topic-pager {
10
  font-size: 90%;
11
  font-style: italic;
12
}
13

    
14
/* Other pagers in the forum */
15
#forum-comments .pager {
16
  text-align: right;
17
}
18

    
19
#forum-comments .pager li {
20
  padding: 3px;
21
  margin: 0;
22
}
23

    
24

    
25
.forum-pager .pager,
26
.forum-comment-wrapper .pager {
27
  text-align: right;
28
  float: right;
29
  clear: none;
30
  width: 30%;
31
}
32

    
33
#forum-pager-top .pager{
34
  padding: 14px 0 0 0;
35
}
36

    
37
#forum-pager-bottom .pager{
38
  padding: 0 0 10px 0;
39
}
40

    
41
/* The rest of the pager styles are invisible on naked but will show up
42
   for substyles that set a background and/or border. */
43
.forum-pager .pager a,
44
.forum-comment-wrapper .pager a {
45
  padding: 1px 3px;
46
  margin: 0pt;
47
}
48

    
49
.forum-pager .pager li,
50
.forum-comment-wrapper .pager li {
51
  padding:0pt;
52
  margin: 0pt;
53
}
54

    
55
.forum-pager.pager li.pager-current,
56
.forum-comment-wrapper .pager li.pager-current {
57
  padding: 2px 3px 2px 3px;
58
}
59

    
60
/*** FORUM LINK LISTS *******************************************************/
61

    
62
/* Applies to all forum links */
63
ul.forum-links li {
64
  display: inline;
65
}
66

    
67
/*** FORUM NODE CREATION ****************************************************/
68

    
69
.forum-node-create-links {
70
  width: 30%;
71
  float: left;
72
}
73

    
74
.forum-node-create-links-top {
75
  clear: both;
76
  padding-top: 20px; /* Lines up horizontally with pager. */
77
}
78

    
79
.forum-node-create-links .forum-add-node {
80
  float: left;
81
  margin-right: 10px;
82
}
83

    
84
/*** FORUM & TOPIC LIST TABLES **********************************************/
85

    
86
.forum-table {
87
  margin: 0;
88
}
89

    
90
.forum-table-wrap,
91
.forum-table-topics {
92
  margin-bottom: 15px;
93
   clear: both;
94
}
95

    
96
.forum-table-superheader {
97
  padding: 10px;
98
}
99

    
100
.forum-table-superheader .forum-table-name {
101
  margin: 5px 0 3px 5px;
102
  width: 90%;
103
  display: inline;
104
  font-size: 1.2em;
105
}
106

    
107
.forum-table-superheader .forum-table-description {
108
  margin: 0 0 3px 5px;
109
  width: 90%;
110
}
111

    
112
/* Header, both tables */
113
.forum-table th {
114
  text-align: left;
115
}
116

    
117
/* Forum listing */
118
th.forum-name {
119
  text-align: left;
120
}
121

    
122
th.forum-icon {
123
 width: 5%;
124
}
125

    
126
td.forum-details {
127

    
128
}
129

    
130
td.forum-details .forum-description {
131
  margin: 0;
132
  font-size: 0.9em;
133
}
134

    
135
td.forum-details .forum-subforums,
136
td.forum-details .forum-subcontainers {
137
  margin-left: 10px;
138
}
139

    
140
th.forum-topics,
141
th.forum-posts {
142
  width: 10%;
143
  text-align: center;
144
}
145

    
146
td.forum-number-topics,
147
td.forum-number-posts {
148
  text-align: center;
149
}
150

    
151
th.forum-last-post {
152
  width: 20%;
153
}
154

    
155
td.forum-last-reply {
156
}
157
/**** Topic listing ****/
158

    
159
 .view-advanced-forum-topic-list .view-empty {
160
  clear: both;
161
  margin: 20px 0 20px 0;
162
  padding: 10px;
163
}
164

    
165
/* Set column widths */
166
.forum-table-topics td.views-field-topic-icon {
167
  width: 26px;
168
}
169

    
170
.forum-table-topics td.views-field-title {
171

    
172
}
173

    
174
.forum-table-topics td.views-field-comment-count,
175
.forum-table-topics td.views-field-totalcount {
176
  width: 10%;
177
}
178

    
179
.forum-table-topics td.views-field-last-updated {
180
  width: 30%;
181
}
182

    
183
/* Set alignments & spacing */
184
.forum-table-topics .views-field-title {
185
  text-align: left;
186
}
187

    
188
.forum-table-topics td.views-field-comment-count,
189
.forum-table-topics td.views-field-totalcount {
190
  text-align: center;
191
  white-space: nowrap;
192
}
193

    
194
.forum-table-topics td.views-field-last-updated {
195
  line-height: 140%;
196
  white-space: normal !important;
197
}
198

    
199
/* Topic icon */
200
.forum-table-topics span.topic-icon {
201
  display: block;
202
}
203

    
204
/*** FORUM SORT *************************************************************/
205
#advanced-forum-forum-topic-list-sort-form,
206
#advanced-forum-forum-topic-list-sort-form input,
207
#advanced-forum-forum-topic-list-sort-form .form-item {
208
  margin-top: 0 !important;
209
  margin-bottom: 0 !important;
210
  padding-top: 0 !important;
211
  padding-bottom: 0 !important;
212
  vertical-align: center;
213
}
214

    
215
#forum-sort {
216
  clear: both;
217
  float: left;
218
}
219

    
220
/*** FORUM TOOLS ***********************************************************/
221

    
222
.forum-tools{
223
  float: right;
224
  margin-top: 10px;
225
}
226

    
227
/*** FORUM STATISTICS *******************************************************/
228

    
229
#forum-statistics-header,
230
.forum-statistics-sub-header {
231
  padding: 0.3em 0.5em;
232
}
233

    
234
.forum-statistics-sub-body {
235
  padding: 0.3em 0.5em 0 2em;
236
}
237

    
238

    
239
/*** ICONS LEGEND ***********************************************************/
240

    
241
.forum-list-icon-legend {
242
  margin-bottom: 30px;
243
}
244

    
245
.forum-list-icon-legend div {
246
  float: left;
247
  margin-right: 30px;
248
}
249

    
250
.forum-topic-legend div {
251
  clear: both;
252
  float: left;
253
  padding: 5px 0 5px 25px;
254
  margin-right: 7px;
255
}
256

    
257

    
258
/*** FORUM TOPICS **********************************************************/
259

    
260
/* Header at the top of each topic/thread */
261
.forum-topic-header {
262
  margin: 10px 0 2px 0;
263
}
264

    
265
.forum-topic-header .search-topic {
266
  float: right;
267
}
268

    
269
.forum-topic-header .topic-post-count {
270
  clear: right;
271
  float: right;
272
  margin: 7px 7px 0 0;
273
}
274

    
275
.forum-topic-header .topic-reply-link,
276
.forum-topic-header .topic-new-post-link,
277
.forum-topic-header .last-post-link {
278
  float: left;
279
  margin: 0 7px 7px 0;
280
}
281

    
282

    
283
.forum-topic-header .reply-count {
284
  float: right;
285
  margin: 10px 0 2px 0;
286
}
287

    
288
/* Individual forum post */
289
div.forum-post {
290
  margin: 0 0 5px 0;
291
  padding: 0;
292
}
293

    
294
.forum-post-wrapper {
295
  clear: both;
296
  height: 100%;
297
}
298

    
299
/* Header at the top of each post */
300
.forum-post-info {
301
  height:100%;
302
  clear: both;
303
}
304

    
305
.forum-posted-on {
306
  padding: 0 5px;
307
  float: left;
308
  font-size: .8em;
309
}
310

    
311
.forum-post .new {
312
  float: none;
313
}
314

    
315
.forum-post-number {
316
  float: right;
317
  margin-right: 5px;
318
}
319

    
320
.forum-post-title {
321
  padding: 1px 1px 1px 10px;
322
}
323

    
324
/* Author information pane */
325
.forum-post-panel-sub {
326
  float: left;
327
  line-height: 100%;
328
  width: 150px;
329
}
330

    
331
.forum-post-panel-sub .author-pane {
332
  margin: 10px;
333
}
334

    
335
.forum-post-panel-sub .author-pane .author-name {
336
  font-size: 120%;
337
}
338

    
339
.forum-post-panel-sub .author-pane .picture {
340
  float: none;
341
  padding-left: 0px;
342
  margin: 2px 0 10px 0;
343
}
344

    
345
.forum-post-panel-sub .author-pane .picture img {
346
  padding: 5px;
347
}
348

    
349
.forum-post-panel-sub .author-pane .author-pane-section {
350
  margin-bottom: 10px;
351
}
352

    
353
.forum-post-panel-sub .author-pane .author-pane-line {
354
  margin-bottom: 7px;
355
}
356

    
357
/* Post text area */
358
.forum-post-panel-main {
359
  margin-left: 150px; /*Set left margin to LeftColumnWidth*/
360

    
361
/* These heights keep the AP items from jumping out of the bottom. Depending
362
   on how many items you display, there, this number may need to be adjusted
363
   to avoid having unnecessary white space in your posts. */
364
  min-height: 230px;
365
  height: auto !important;
366
  height: 230px;
367
}
368

    
369
.forum-post-panel-main .forum-post-content {
370
  padding-top: 2px;
371
}
372

    
373
.forum-post-panel-main .post-title,
374
.forum-post-panel-main .forum-post-content {
375
  margin-left: 0;
376
  padding-left: 10px;
377
}
378

    
379
.forum-post-panel-main p {
380
  margin-right: 10px;
381
}
382

    
383
/* Signature */
384
.author-signature {
385
  margin: 10px 0 5px 10px;
386
}
387

    
388
/* Edited */
389
.post-edited {
390
  margin: 10px;
391
}
392

    
393
/* Post footer */
394
.forum-post-footer {
395
  margin-top: 0;
396
  clear: both;
397
}
398

    
399
.forum-jump-links {
400
  float: left;
401
  line-height: 2em;
402
  margin: 5px;
403
}
404

    
405
.forum-post-links {
406
  float: right;
407
  line-height: 2em;
408
  text-align: right;
409
  margin: 10px 0 5px 5px;
410
}
411

    
412
.forum-post-links ul.links li {
413
  display: block;
414
  float: left;
415
}
416

    
417
.forum-top-post-footer {
418
  margin: 10px 0 10px 0;
419
  padding: 5px;
420
}
421

    
422
/* Defeat garland */
423
#comments.forum-comment-wrapper {
424
  margin-top: 0;
425
}
426

    
427
.forum-comment-wrapper .box {
428
  clear: both;
429
}
430

    
431
/*** SEARCH ****************************************************************/
432

    
433
#search-all-forums {
434
  float: right;
435
}
436

    
437
#search-single-forum {
438
  float: left;
439
}
440

    
441
#advanced-forum-search-forum,
442
.forum-topic-header #advanced-forum-search-topic {
443
  margin: 0;
444
  padding: 14px 0 0 0;
445
}
446

    
447
#advanced-forum-search-forum input,
448
.forum-topic-header #advanced-forum-search-topic input {
449
  margin: 0;
450
  padding: 0;
451
}
452

    
453
.forum-topic-header #advanced-forum-search-topic {
454
  margin-bottom: 10px;
455
}
456

    
457
.view-avf-search .views-row,
458
.view-avf-search-topic .views-row {
459
  margin-bottom: 2em;
460
}
461

    
462
.forum-search-result {
463
  margin-bottom: 10px;
464
}
465

    
466
/*** PREVIEW MODE ****************************************************************/
467
/* override inline-block */
468
.preview {
469
  display: block;
470
}