forked from PirateBox-Dev/website-phorum-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css.tpl
810 lines (633 loc) · 14.7 KB
/
css.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
/* BEGIN TEMPLATE css.tpl */
/* overall style */
body {
background-color: {body_background_color};
color: {default_font_color};
}
#phorum {
font-family: {default_font};
font-size: {base_font_size};
color: {default_font_color};
max-width: {max_width};
/* margin: auto; */
margin:3em auto;
}
/* HTML level styles */
img {
vertical-align: top;
border: none;
}
#phorum div.generic table th {
text-align: left;
}
#phorum table.list {
width: 100%;
margin-bottom: 4px;
border: 1px solid {border_color};
border-bottom: 0;
}
#phorum table.list th {
background-repeat: repeat-x;
/* background-image: url('{header_background_image}'); */
color: {border_font_color};
background-color: {border_color};
font-size: {font_small};
padding: 5px;
}
#phorum table.list th a {
color: {border_font_color};
}
#phorum table.list td {
background-color: {default_background_color};
padding: 8px;
border-bottom: 1px solid {border_color};
font-size: {font_small};
}
#phorum table.list td.alt {
background-color: {alt_background_color};
}
#phorum table.list td.current {
background-color: {highlight_background_color};
}
#phorum table.list td p {
margin: 4px 8px 16px 4px;
}
#phorum table.list td h3 {
margin: 0;
}
#phorum table.list td h4 {
font-size: {font_large};
margin: 0;
font-weight: normal;
}
#phorum table.list td span.new-indicator {
color: {new_color};
font-size: 80%;
font-weight: normal;
}
#phorum a {
color: {link_color};
}
#phorum a:hover {
color: {link_hover_color};
}
#phorum a.icon {
background-repeat: no-repeat;
background-position: 1px 2px;
padding: 4px 10px 2px 21px;
font-weight: normal;
white-space: nowrap;
}
#phorum h1 {
margin: 5px 0 0 0;
font-size: {font_xx_large};
}
#phorum h2 {
margin: 0;
font-size: {font_large};
font-weight: normal;
}
#phorum h4 {
margin: 0 0 5px 0;
}
#phorum hr {
height: 1px;
border: 0;
border-top: 1px solid {border_color};
}
/* global styles */
#phorum div.generic table {
}
#phorum div.generic {
padding: 8px;
background-color: {alt_background_color};
border: 1px solid {border_color};
overflow: hidden;
}
#phorum div.generic-lower {
padding: 8px;
margin-bottom: 8px;
}
#phorum div.paging {
float: right;
}
#phorum div.paging a {
font-weight: bold;
margin: 0 4px 0 4px;
padding: 0 0 1px 0;
}
#phorum div.paging img{
vertical-align: bottom;
}
#phorum div.paging strong.current-page {
margin: 0 4px 0 4px;
}
#phorum div.nav {
font-size: {font_small};
margin: 0 0 5px 0;
line-height: 20px;
}
#phorum div.nav-right {
float: right;
}
#phorum div.information {
padding: 8px;
border: 1px solid {information_border_color};
background-color: {information_background_color};
margin-bottom: 8px;
}
#phorum div.notice {
padding: 8px;
background-color: {alt_background_color};
border: 1px solid {border_color};
margin-bottom: 8px;
}
#phorum div.warning {
border: 1px solid {warning_border_color};
background-color: {warning_background_color};
padding: 8px;
margin-bottom: 8px;
}
#phorum div.attachments {
background-color: {default_background_color};
margin-top: 8px;
padding: 16px;
border: 1px solid {border_color};
}
#phorum span.new-flag {
color: {new_color};
}
#phorum a.message-new {
font-weight: bold;
}
#phorum table.menu td {
vertical-align: top;
}
#phorum table.menu td.menu {
font-size: {font_small};
padding: 0 8px 0 0;
}
#phorum table.menu td.menu ul {
list-style: none;
padding: 0;
margin: 4px 0 8px 8px;
}
#phorum table.menu td.menu ul li {
margin: 0 0 4px 0;
}
#phorum table.menu td.menu ul li a {
text-decoration: none;
}
#phorum table.menu td.menu ul li a.current {
font-weight: bold;
}
#phorum table.menu td.menu span.new {
color: {new_color};
}
#phorum table.menu td.content {
width: 100%;
padding: 0;
}
#phorum table.menu td.content h2 {
margin: 0 0 8px 0;
background-repeat: repeat-x;
background-image: url('{header_background_image}');
color: {border_font_color};
background-color: {border_color};
padding: 4px;
}
#phorum table.menu td.content div.generic {
margin: 0 0 8px 0;
}
#phorum table.menu td.content dl {
margin: 0;
padding: 0;
}
#phorum table.menu td.content dt {
font-weight: bold;
}
#phorum table.menu td.content dd {
padding: 4px;
margin: 0 0 8px 0;
}
#phorum fieldset {
border: 0;
padding: 0;
margin: 0;
}
#phorum textarea.body {
font-family: {default_font};
width: 100%;
border: 0;
}
#phorum table.form-table {
width: 100%;
}
/* header styles */
#phorum #logo {
height: 46px;
background-color: {logo_background_color};
vertical-align: bottom;
background-image: url('{top_background_image}');
}
#phorum #logo img {
margin: 16px 0 0px 16px;
}
#phorum #page-info {
padding: 8px 8px 8px 0;
margin: 0 16px 16px 0;
}
#phorum #page-info .description {
margin: 8px 8px 0 0;
padding-right: 32px;
font-size: {font_small};
}
#phorum #breadcrumb {
border-bottom: 1px solid {breadcrumb_border_color};
border-top: 0;
padding: 5px;
font-size: {font_small};
}
#phorum #user-info {
font-size: {font_small};
margin: 0 0 4px 0;
text-align: right;
}
#phorum #user-info a {
margin: 0 0 0 10px;
padding: 4px 0 2px 21px;
background-repeat: no-repeat;
background-position: 1px 2px;
}
#phorum #user-info img {
border-width : 0;
margin: 4px 3px 0 0;
}
#phorum #user-info small a{
margin: 0;
padding: 0;
display: inline;
}
#phorum div.attention {
/* does not use template values on purpose */
padding: 24px 8px 24px 64px;
border: 1px solid #A76262;
background-image: url('templates/{TEMPLATE}/images/dialog-warning.png');
background-color: #FFD1D1;
background-repeat: no-repeat;
background-position: 8px 8px;
color: Black;
margin: 8px 0 8px 0;
}
#phorum div.attention a {
/* does not use template values on purpose */
color: #68312C;
padding: 2px 2px 2px 21px;
display: block;
background-repeat: no-repeat;
background-position: 1px 2px;
}
#phorum #right-nav {
float: right;
}
#phorum #search-area {
float: right;
text-align: right;
padding: 8px 8px 8px 32px;
background-repeat: no-repeat;
background-position: 8px 12px;
margin: 0 16px 0 0;
}
#phorum #header-search-form {
display: inline;
}
#phorum #header-search-form a {
font-size: {font_xx_small};
}
/* Read styles */
#phorum div.message div.generic {
border-bottom: 0;
}
#phorum td.message-user-info {
font-size: {font_small};
white-space: nowrap;
}
#phorum div.message-author {
background-repeat: no-repeat;
background-position: 0px 2px;
padding: 0px 0 0px 21px;
font-size: {font_large};
font-weight: bold;
margin-bottom: 5px;
}
#phorum div.message-author small {
font-size: {font_xx_small};
font-weight: normal;
margin: 0 0 0 16px;
}
#phorum div.message-subject {
font-weight: bold;
font-size: {font_small};
}
#phorum div.message-body {
padding: 16px;
margin: 0 0 16px 0;
border: 1px solid {border_color};
border-top: 0;
background-image: url('{message_background_image}');
background-repeat: repeat-x;
background-color: {message_background_color};
overflow: hidden; /* makes the div extend around floated elements */
}
#phorum div.message-body br {
clear: both;
}
#phorum div.message-date {
font-size: {font_small};
}
#phorum div.message-moderation {
margin-top: 8px;
font-size: {font_small};
border-top: 0;
padding: 6px;
background-color: {alt_background_color};
border: 1px solid {border_color};
line-height: 20px;
}
#phorum div.message-options {
margin-top: 8px;
text-align: right;
font-size: {font_small};
clear: both;
}
#phorum #thread-options {
margin: 8px 0 32px 0;
background-color: {alt_background_color};
border: 1px solid {border_color};
padding: 8px;
text-align: center;
}
/* Changes styles */
#phorum span.addition {
background-color: {span_addition_background_color};
color: {span_addition_font_color};
}
#phorum span.removal {
background-color: {span_removal_background_color};
color: {span_removal_font_color};
}
/* Posting styles */
#phorum #post {
clear: both;
}
#phorum #post ul {
margin: 2px;
}
#phorum #post ul li {
font-size: {font_small};
}
#phorum #post-body {
border: 1px solid {border_color};
background-color: {default_background_color};
padding: 8px;
}
#phorum #post-moderation {
font-size: {font_small};
float: right;
border: 1px solid {border_color};
background-color: {post_moderation_background_color};
padding: 8px;
}
#phorum #post-buttons {
text-align: center;
margin-top: 8px;
}
#phorum div.attach-link {
background-image: url('templates/{TEMPLATE}/images/attach.png');
background-repeat: no-repeat;
background-position: 1px 2px;
padding: 4px 10px 2px 21px;
font-size: {font_small};
font-weight: normal;
}
#phorum #attachment-list td {
font-size: {font_small};
padding: 6px;
}
#phorum #attachment-list input {
font-size: {font_xx_small};
}
/* PM styles */
#phorum input.rcpt-delete-img {
vertical-align: bottom;
}
#phorum div.pm {
padding: 8px;
background-color: {alt_background_color};
border: 1px solid {border_color};
border-bottom: 0;
}
#phorum div.pm div.message-author {
font-size: {font_small};
}
#phorum .phorum-gaugetable {
margin-top: 10px;
border-collapse: collapse;
}
#phorum .phorum-gauge {
border: 1px solid {border_color};
background-color: {default_background_color};
}
#phorum .phorum-gaugeprefix {
border: none;
background-color: {default_background_color};
padding-right: 10px;
}
/* Profile styles */
#phorum #profile div.icon-user {
background-repeat: no-repeat;
background-position: 0px 2px;
padding: 0px 0 0px 21px;
font-size: {font_large};
font-weight: bold;
margin-bottom: 5px;
}
#phorum #profile div.icon-user small {
font-size: {font_xx_small};
font-weight: normal;
margin: 0 0 0 16px;
}
#phorum #profile dt {
font-weight: bold;
}
#phorum #profile dd {
padding: 4px;
margin: 0 0 8px 0;
}
/* Search Styles */
#phorum #search-form {
margin-bottom: 35px;
}
#phorum #search-form form {
font-size: {font_small};
}
#phorum div.search {
background-color: {default_background_color};
}
#phorum div.search-result {
font-size: {font_small};
margin-bottom: 20px;
}
#phorum div.search-result h4 {
font-size: {font_x_large};
margin: 0;
}
#phorum div.search-result h4 small {
font-size: {font_x_small};
}
#phorum div.search-result blockquote {
margin: 3px 0 3px 0;
padding: 0;
}
/* Footer styles */
#phorum #footer-plug {
margin-top: 26px;
font-size: {font_xx_small};
text-align: center;
}
/* Icon Styles */
.icon-accept {
background-image: url('templates/{TEMPLATE}/images/accept.png');
}
.icon-bell {
background-image: url('templates/{TEMPLATE}/images/bell.png');
}
.icon-bullet-black {
background-image: url('templates/{TEMPLATE}/images/bullet_black.png');
}
.icon-bullet-go {
background-image: url('templates/{TEMPLATE}/images/bullet_go.png');
}
.icon-cancel {
background-image: url('templates/{TEMPLATE}/images/cancel.png');
}
.icon-close {
background-image: url('templates/{TEMPLATE}/images/lock.png');
}
.icon-comment {
background-image: url('templates/{TEMPLATE}/images/comment.png');
}
.icon-comment-add {
background-image: url('templates/{TEMPLATE}/images/comment_add.png');
}
.icon-comment-edit {
background-image: url('templates/{TEMPLATE}/images/comment_edit.png');
}
.icon-comment-delete {
background-image: url('templates/{TEMPLATE}/images/comment_delete.png');
}
.icon-delete {
background-image: url('templates/{TEMPLATE}/images/delete.png');
}
.icon-exclamation {
background-image: url('templates/{TEMPLATE}/images/exclamation.png');
}
.icon-feed {
background-image: url('templates/{TEMPLATE}/images/feed.png');
}
.icon-flag-red {
background-image: url('templates/{TEMPLATE}/images/flag_red.png');
}
.icon-folder {
background-image: url('templates/{TEMPLATE}/images/folder.png');
}
.icon-group-add {
background-image: url('templates/{TEMPLATE}/images/group_add.png');
}
.icon-key-go {
background-image: url('templates/{TEMPLATE}/images/key_go.png');
}
.icon-key-delete {
background-image: url('templates/{TEMPLATE}/images/key_delete.png');
}
.icon-list {
background-image: url('templates/{TEMPLATE}/images/text_align_justify.png');
}
.icon-merge {
background-image: url('templates/{TEMPLATE}/images/arrow_join.png');
}
.icon-move {
background-image: url('templates/{TEMPLATE}/images/page_go.png');
}
.icon-next {
background-image: url('templates/{TEMPLATE}/images/control_next.png');
}
.icon-note-add {
background-image: url('templates/{TEMPLATE}/images/note_add.png');
}
.icon-open {
background-image: url('templates/{TEMPLATE}/images/lock_open.png');
}
.icon-page-go {
background-image: url('templates/{TEMPLATE}/images/page_go.png');
}
.icon-prev {
background-image: url('templates/{TEMPLATE}/images/control_prev.png');
}
.icon-printer {
background-image: url('templates/{TEMPLATE}/images/printer.png');
}
.icon-split {
background-image: url('templates/{TEMPLATE}/images/arrow_divide.png');
}
.icon-table-add {
background-image: url('templates/{TEMPLATE}/images/table_add.png');
}
.icon-tag-green {
background-image: url('templates/{TEMPLATE}/images/tag_green.png');
}
.icon-user {
background-image: url('templates/{TEMPLATE}/images/user.png');
}
.icon-user-add {
background-image: url('templates/{TEMPLATE}/images/user_add.png');
}
.icon-user-comment {
background-image: url('templates/{TEMPLATE}/images/user_comment.png');
}
.icon-user-edit {
background-image: url('templates/{TEMPLATE}/images/user_edit.png');
}
.icon-zoom {
background-image: url('templates/{TEMPLATE}/images/zoom.png');
}
.icon-information {
background-image: url('templates/{TEMPLATE}/images/information.png');
}
.icon1616 {
width: 16px;
height: 16px;
border: 0;
}
/* BBCode styles */
#phorum blockquote.bbcode {
font-size: {font_small};
margin: 0 0 0 10px;
}
#phorum blockquote.bbcode>div {
margin: 0;
padding: 5px;
border: 1px solid {quote_border_color};
overflow: hidden;
}
#phorum blockquote.bbcode strong {
font-style: italic;
margin: 0 0 3px 0;
}
#phorum pre.bbcode {
border: 1px solid {pre_border_color};
background-color: {pre_background_color};
padding: 8px;
overflow: auto;
}
/* END TEMPLATE css.tpl */