diff options
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/examples/mpdfstylePaged.css')
-rw-r--r-- | inc/3rdparty/libraries/mpdf/examples/mpdfstylePaged.css | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/mpdf/examples/mpdfstylePaged.css b/inc/3rdparty/libraries/mpdf/examples/mpdfstylePaged.css new file mode 100644 index 00000000..4c5ff6cf --- /dev/null +++ b/inc/3rdparty/libraries/mpdf/examples/mpdfstylePaged.css | |||
@@ -0,0 +1,123 @@ | |||
1 | @page { | ||
2 | size: 15cm 17cm; /* width height <length>{1,2} | auto | portrait | landscape NB 'em' and 'ex' % are not allowed */ | ||
3 | margin: 10%; /* % of page-box width for LR, height for TB */ | ||
4 | margin-header: 5mm; | ||
5 | margin-footer: 5mm; | ||
6 | margin-left: 4cm; | ||
7 | margin-right: 2cm; | ||
8 | odd-header-name: myHeader2Odd; | ||
9 | even-header-name: html_myHTMLHeaderEven; | ||
10 | odd-footer-name: html_myHTMLFooterOdd; | ||
11 | even-footer-name: myFooter2Even; | ||
12 | marks: crop; /* crop | cross | none */ | ||
13 | } | ||
14 | |||
15 | @page :first { | ||
16 | margin-top: 5cm; /* Top margin on first page 10cm */ | ||
17 | } | ||
18 | |||
19 | @page standard { | ||
20 | size: auto; /* auto is the default mPDF value */ | ||
21 | margin: 10%; /* % of page-box width for LR, height for TB */ | ||
22 | marks: none; /* crop | cross | none */ | ||
23 | } | ||
24 | |||
25 | @page standard :first { | ||
26 | margin-top: 7cm; /* Top margin on first page 10cm */ | ||
27 | } | ||
28 | |||
29 | @page bigsquare { | ||
30 | size: 15cm 20cm; | ||
31 | margin-left: 4cm; | ||
32 | marks: crop cross; /* crop | cross | none */ | ||
33 | background: transparent url('bg.jpg') repeat scroll 5mm 5mm; /* position inset by bleedMargin */ | ||
34 | } | ||
35 | |||
36 | @page bigsquare :right { | ||
37 | header: html_myHTMLHeaderOdd; | ||
38 | footer: html_myHTMLFooterOdd; | ||
39 | } | ||
40 | |||
41 | @page bigsquare :left { /* left is what mPDF calls EVEN page - right=ODD */ | ||
42 | header: html_myHTMLHeaderEven; | ||
43 | footer: html_myHTMLFooterEven; | ||
44 | } | ||
45 | |||
46 | @page smallsquare { | ||
47 | size: 25cm 15cm; | ||
48 | margin-left: 4cm; | ||
49 | marks: crop; /* crop | cross | none */ | ||
50 | background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5; | ||
51 | } | ||
52 | |||
53 | @page rotated { | ||
54 | size: landscape; | ||
55 | marks: none; /* crop | cross | none */ | ||
56 | background-color: #fff0f2; | ||
57 | margin-left: 3cm; | ||
58 | margin-right: 3cm; | ||
59 | } | ||
60 | @page rotated :first { | ||
61 | margin-top: 7cm; /* Top margin on first page 10cm */ | ||
62 | } | ||
63 | |||
64 | h1.heading1 { color: #1188FF; | ||
65 | } | ||
66 | |||
67 | h1.heading2 { color: #88FF11; | ||
68 | page-break-before: always; | ||
69 | page: standard; | ||
70 | } | ||
71 | h1.heading3 { color: #FF1188; | ||
72 | page-break-before: right; | ||
73 | } | ||
74 | h1.heading4 { color: #FF8811; | ||
75 | page-break-before: left; | ||
76 | page: bigsquare; | ||
77 | } | ||
78 | h1.heading5 { color: #11FF88; | ||
79 | page: smallsquare; | ||
80 | } | ||
81 | h1.heading6 { color: #8811FF; | ||
82 | page: rotated; | ||
83 | } | ||
84 | |||
85 | br.paging { page-break-after: always; } | ||
86 | |||
87 | body { font-family: DejaVuSansCondensed; font-size: 11pt; } | ||
88 | p { text-align: justify; margin-bottom: 4pt; margin-top:0pt; } | ||
89 | |||
90 | hr { width: 70%; height: 1px; | ||
91 | text-align: center; color: #999999; | ||
92 | margin-top: 8pt; margin-bottom: 8pt; } | ||
93 | |||
94 | a { color: #000066; font-style: normal; text-decoration: underline; | ||
95 | font-weight: normal; } | ||
96 | |||
97 | ul { text-indent: 5mm; margin-bottom: 9pt; } | ||
98 | ol { text-indent: 5mm; margin-bottom: 9pt; } | ||
99 | |||
100 | pre { font-family: DejaVuSansMono; font-size: 9pt; margin-top: 5pt; margin-bottom: 5pt; } | ||
101 | |||
102 | h1 { font-weight: normal; font-size: 26pt; color: #000066; | ||
103 | font-family: DejaVuSansCondensed; margin-top: 18pt; margin-bottom: 6pt; | ||
104 | border-top: 0.075cm solid #000000; border-bottom: 0.075cm solid #000000; | ||
105 | text-align: ; page-break-after:avoid; } | ||
106 | h2 { font-weight: bold; font-size: 12pt; color: #000066; | ||
107 | font-family: DejaVuSansCondensed; margin-top: 6pt; margin-bottom: 6pt; | ||
108 | border-top: 0.07cm solid #000000; border-bottom: 0.07cm solid #000000; | ||
109 | text-align: ; text-transform: uppercase; page-break-after:avoid; } | ||
110 | h3 { font-weight: normal; font-size: 26pt; color: #000000; | ||
111 | font-family: DejaVuSansCondensed; margin-top: 0pt; margin-bottom: 6pt; | ||
112 | border-top: 0; border-bottom: 0; | ||
113 | text-align: ; page-break-after:avoid; } | ||
114 | h4 { font-weight: ; font-size: 13pt; color: #9f2b1e; | ||
115 | font-family: DejaVuSansCondensed; margin-top: 10pt; margin-bottom: 7pt; | ||
116 | text-align: ; margin-collapse:collapse; page-break-after:avoid; } | ||
117 | h5 { font-weight: bold; font-style:italic; ; font-size: 11pt; color: #000044; | ||
118 | font-family: DejaVuSansCondensed; margin-top: 8pt; margin-bottom: 4pt; | ||
119 | text-align: ; page-break-after:avoid; } | ||
120 | h6 { font-weight: bold; font-size: 9.5pt; color: #333333; | ||
121 | font-family: DejaVuSansCondensed; margin-top: 6pt; margin-bottom: ; | ||
122 | text-align: ; page-break-after:avoid; } | ||
123 | |||