Add CSS files
This commit is contained in:
47
include/MPDF60/mpdf60/examples/mpdfstyleA4.css
Executable file
47
include/MPDF60/mpdf60/examples/mpdfstyleA4.css
Executable file
@@ -0,0 +1,47 @@
|
||||
body { font-family: DejaVuSansCondensed, sans-serif; font-size: 11pt; }
|
||||
p { text-align: justify; margin-bottom: 4pt; margin-top:0pt; }
|
||||
|
||||
hr { width: 70%; height: 1px;
|
||||
text-align: center; color: #999999;
|
||||
margin-top: 8pt; margin-bottom: 8pt; }
|
||||
|
||||
a { color: #000066; font-style: normal; text-decoration: underline;
|
||||
font-weight: normal; }
|
||||
|
||||
pre { font-family: DejaVuSansMono, monospaced; font-size: 9pt; margin-top: 5pt; margin-bottom: 5pt; }
|
||||
|
||||
h1 { font-weight: normal; font-size: 26pt; color: #000066;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 18pt; margin-bottom: 6pt;
|
||||
border-top: 0.075cm solid #000000; border-bottom: 0.075cm solid #000000;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h2 { font-weight: bold; font-size: 12pt; color: #000066;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 6pt; margin-bottom: 6pt;
|
||||
border-top: 0.07cm solid #000000; border-bottom: 0.07cm solid #000000;
|
||||
text-align: ; text-transform: uppercase; page-break-after:avoid; }
|
||||
h3 { font-weight: normal; font-size: 26pt; color: #000000;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 0pt; margin-bottom: 6pt;
|
||||
border-top: 0; border-bottom: 0;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h4 { font-weight: ; font-size: 13pt; color: #9f2b1e;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 10pt; margin-bottom: 7pt;
|
||||
font-variant: small-caps;
|
||||
text-align: ; margin-collapse:collapse; page-break-after:avoid; }
|
||||
h5 { font-weight: bold; font-style:italic; ; font-size: 11pt; color: #000044;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 8pt; margin-bottom: 4pt;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h6 { font-weight: bold; font-size: 9.5pt; color: #333333;
|
||||
font-family: DejaVuSansCondensed, sans-serif; margin-top: 6pt; margin-bottom: ;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
|
||||
|
||||
.breadcrumb {
|
||||
text-align: right; font-size: 8pt; font-family: DejaVuSerifCondensed, serif; color: #666666;
|
||||
font-weight: bold; font-style: normal; margin-bottom: 6pt; }
|
||||
|
||||
.infobox { margin-top:10pt; background-color:#DDDDBB; text-align:center; border:1px solid #880000; }
|
||||
|
||||
.big { font-size: 1.5em; }
|
||||
.red { color: #880000; }
|
||||
.slanted { font-style: italic; }
|
||||
|
||||
|
||||
120
include/MPDF60/mpdf60/examples/mpdfstylePaged.css
Executable file
120
include/MPDF60/mpdf60/examples/mpdfstylePaged.css
Executable file
@@ -0,0 +1,120 @@
|
||||
@page {
|
||||
size: 15cm 17cm; /* width height <length>{1,2} | auto | portrait | landscape NB 'em' and 'ex' % are not allowed */
|
||||
margin: 10%; /* % of page-box width for LR, height for TB */
|
||||
margin-header: 5mm;
|
||||
margin-footer: 5mm;
|
||||
margin-left: 4cm;
|
||||
margin-right: 2cm;
|
||||
odd-header-name: myHeader2Odd;
|
||||
even-header-name: html_myHTMLHeaderEven;
|
||||
odd-footer-name: html_myHTMLFooterOdd;
|
||||
even-footer-name: myFooter2Even;
|
||||
marks: crop; /* crop | cross | none */
|
||||
}
|
||||
|
||||
@page :first {
|
||||
margin-top: 5cm; /* Top margin on first page 10cm */
|
||||
}
|
||||
|
||||
@page standard {
|
||||
size: auto; /* auto is the default mPDF value */
|
||||
margin: 10%; /* % of page-box width for LR, height for TB */
|
||||
marks: none; /* crop | cross | none */
|
||||
}
|
||||
|
||||
@page standard :first {
|
||||
margin-top: 7cm; /* Top margin on first page 10cm */
|
||||
}
|
||||
|
||||
@page bigsquare {
|
||||
size: 15cm 20cm;
|
||||
margin-left: 4cm;
|
||||
marks: crop cross; /* crop | cross | none */
|
||||
background: transparent url('bg.jpg') repeat scroll 5mm 5mm; /* position inset by bleedMargin */
|
||||
}
|
||||
|
||||
@page bigsquare :right {
|
||||
header: html_myHTMLHeaderOdd;
|
||||
footer: html_myHTMLFooterOdd;
|
||||
}
|
||||
|
||||
@page bigsquare :left { /* left is what mPDF calls EVEN page - right=ODD */
|
||||
header: html_myHTMLHeaderEven;
|
||||
footer: html_myHTMLFooterEven;
|
||||
}
|
||||
|
||||
@page smallsquare {
|
||||
size: 25cm 15cm;
|
||||
margin-left: 4cm;
|
||||
marks: crop; /* crop | cross | none */
|
||||
background-gradient: linear #c7cdde #f0f2ff 0 1 0 0.5;
|
||||
}
|
||||
|
||||
@page rotated {
|
||||
size: landscape;
|
||||
marks: none; /* crop | cross | none */
|
||||
background-color: #fff0f2;
|
||||
margin-left: 3cm;
|
||||
margin-right: 3cm;
|
||||
}
|
||||
@page rotated :first {
|
||||
margin-top: 7cm; /* Top margin on first page 10cm */
|
||||
}
|
||||
|
||||
h1.heading1 { color: #1188FF;
|
||||
}
|
||||
|
||||
h1.heading2 { color: #88FF11;
|
||||
page-break-before: always;
|
||||
page: standard;
|
||||
}
|
||||
h1.heading3 { color: #FF1188;
|
||||
page-break-before: right;
|
||||
}
|
||||
h1.heading4 { color: #FF8811;
|
||||
page-break-before: left;
|
||||
page: bigsquare;
|
||||
}
|
||||
h1.heading5 { color: #11FF88;
|
||||
page: smallsquare;
|
||||
}
|
||||
h1.heading6 { color: #8811FF;
|
||||
page: rotated;
|
||||
}
|
||||
|
||||
br.paging { page-break-after: always; }
|
||||
|
||||
body { font-family: DejaVuSansCondensed; font-size: 11pt; }
|
||||
p { text-align: justify; margin-bottom: 4pt; margin-top:0pt; }
|
||||
|
||||
hr { width: 70%; height: 1px;
|
||||
text-align: center; color: #999999;
|
||||
margin-top: 8pt; margin-bottom: 8pt; }
|
||||
|
||||
a { color: #000066; font-style: normal; text-decoration: underline;
|
||||
font-weight: normal; }
|
||||
|
||||
pre { font-family: DejaVuSansMono; font-size: 9pt; margin-top: 5pt; margin-bottom: 5pt; }
|
||||
|
||||
h1 { font-weight: normal; font-size: 26pt; color: #000066;
|
||||
font-family: DejaVuSansCondensed; margin-top: 18pt; margin-bottom: 6pt;
|
||||
border-top: 0.075cm solid #000000; border-bottom: 0.075cm solid #000000;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h2 { font-weight: bold; font-size: 12pt; color: #000066;
|
||||
font-family: DejaVuSansCondensed; margin-top: 6pt; margin-bottom: 6pt;
|
||||
border-top: 0.07cm solid #000000; border-bottom: 0.07cm solid #000000;
|
||||
text-align: ; text-transform: uppercase; page-break-after:avoid; }
|
||||
h3 { font-weight: normal; font-size: 26pt; color: #000000;
|
||||
font-family: DejaVuSansCondensed; margin-top: 0pt; margin-bottom: 6pt;
|
||||
border-top: 0; border-bottom: 0;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h4 { font-weight: ; font-size: 13pt; color: #9f2b1e;
|
||||
font-family: DejaVuSansCondensed; margin-top: 10pt; margin-bottom: 7pt;
|
||||
text-align: ; margin-collapse:collapse; page-break-after:avoid; }
|
||||
h5 { font-weight: bold; font-style:italic; ; font-size: 11pt; color: #000044;
|
||||
font-family: DejaVuSansCondensed; margin-top: 8pt; margin-bottom: 4pt;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h6 { font-weight: bold; font-size: 9.5pt; color: #333333;
|
||||
font-family: DejaVuSansCondensed; margin-top: 6pt; margin-bottom: ;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
|
||||
122
include/MPDF60/mpdf60/examples/mpdfstyletables.css
Executable file
122
include/MPDF60/mpdf60/examples/mpdfstyletables.css
Executable file
@@ -0,0 +1,122 @@
|
||||
|
||||
body { font-family: 'DejaVu Sans Condensed'; font-size: 11pt; }
|
||||
p { text-align: justify; margin-bottom: 4pt; margin-top:0pt; }
|
||||
|
||||
table {font-family: 'DejaVu Sans Condensed'; font-size: 9pt; line-height: 1.2;
|
||||
margin-top: 2pt; margin-bottom: 5pt;
|
||||
border-collapse: collapse; }
|
||||
|
||||
thead { font-weight: bold; vertical-align: bottom; }
|
||||
tfoot { font-weight: bold; vertical-align: top; }
|
||||
thead td { font-weight: bold; }
|
||||
tfoot td { font-weight: bold; }
|
||||
|
||||
.headerrow td, .headerrow th { background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; }
|
||||
.footerrow td, .footerrow th { background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; }
|
||||
|
||||
th { font-weight: bold;
|
||||
vertical-align: top;
|
||||
padding-left: 2mm;
|
||||
padding-right: 2mm;
|
||||
padding-top: 0.5mm;
|
||||
padding-bottom: 0.5mm;
|
||||
}
|
||||
|
||||
td { padding-left: 2mm;
|
||||
vertical-align: top;
|
||||
padding-right: 2mm;
|
||||
padding-top: 0.5mm;
|
||||
padding-bottom: 0.5mm;
|
||||
}
|
||||
|
||||
th p { margin:0pt; }
|
||||
td p { margin:0pt; }
|
||||
|
||||
table.widecells td {
|
||||
padding-left: 5mm;
|
||||
padding-right: 5mm;
|
||||
}
|
||||
table.tallcells td {
|
||||
padding-top: 3mm;
|
||||
padding-bottom: 3mm;
|
||||
}
|
||||
|
||||
hr { width: 70%; height: 1px;
|
||||
text-align: center; color: #999999;
|
||||
margin-top: 8pt; margin-bottom: 8pt; }
|
||||
|
||||
a { color: #000066; font-style: normal; text-decoration: underline;
|
||||
font-weight: normal; }
|
||||
|
||||
pre { font-family: 'DejaVu Sans Mono'; font-size: 9pt; margin-top: 5pt; margin-bottom: 5pt; }
|
||||
|
||||
h1 { font-weight: normal; font-size: 26pt; color: #000066;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 18pt; margin-bottom: 6pt;
|
||||
border-top: 0.075cm solid #000000; border-bottom: 0.075cm solid #000000;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h2 { font-weight: bold; font-size: 12pt; color: #000066;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 6pt; margin-bottom: 6pt;
|
||||
border-top: 0.07cm solid #000000; border-bottom: 0.07cm solid #000000;
|
||||
text-align: ; text-transform:uppercase; page-break-after:avoid; }
|
||||
h3 { font-weight: normal; font-size: 26pt; color: #000000;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 0pt; margin-bottom: 6pt;
|
||||
border-top: 0; border-bottom: 0;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h4 { font-weight: ; font-size: 13pt; color: #9f2b1e;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 10pt; margin-bottom: 7pt; font-variant: small-caps;
|
||||
text-align: ; margin-collapse:collapse; page-break-after:avoid; }
|
||||
h5 { font-weight: bold; font-style:italic; ; font-size: 11pt; color: #000044;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 8pt; margin-bottom: 4pt;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
h6 { font-weight: bold; font-size: 9.5pt; color: #333333;
|
||||
font-family: 'DejaVu Sans Condensed'; margin-top: 6pt; margin-bottom: ;
|
||||
text-align: ; page-break-after:avoid; }
|
||||
|
||||
.breadcrumb {
|
||||
text-align: right; font-size: 8pt; font-family: 'DejaVu Serif Condensed'; color: #666666;
|
||||
font-weight: bold; font-style: normal; margin-bottom: 6pt; }
|
||||
|
||||
.bpmTopic tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
.bpmTopicC tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
.bpmNoLines tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
.bpmNoLinesC tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
.bpmTopnTail tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
.bpmTopnTailC tbody tr:nth-child(even) { background-color: #f5f8f5; }
|
||||
|
||||
.evenrow td, .evenrow th { background-color: #f5f8f5; }
|
||||
.oddrow td, .oddrow th { background-color: #e3ece4; }
|
||||
|
||||
.bpmTopic { background-color: #e3ece4; }
|
||||
.bpmTopicC { background-color: #e3ece4; }
|
||||
.bpmNoLines { background-color: #e3ece4; }
|
||||
.bpmNoLinesC { background-color: #e3ece4; }
|
||||
.bpmClear { }
|
||||
.bpmClearC { text-align: center; }
|
||||
.bpmTopnTail { background-color: #e3ece4; topntail: 0.02cm solid #495b4a;}
|
||||
.bpmTopnTailC { background-color: #e3ece4; topntail: 0.02cm solid #495b4a;}
|
||||
.bpmTopnTailClear { topntail: 0.02cm solid #495b4a; }
|
||||
.bpmTopnTailClearC { topntail: 0.02cm solid #495b4a; }
|
||||
|
||||
.bpmTopicC td, .bpmTopicC td p { text-align: center; }
|
||||
.bpmNoLinesC td, .bpmNoLinesC td p { text-align: center; }
|
||||
.bpmClearC td, .bpmClearC td p { text-align: center; }
|
||||
.bpmTopnTailC td, .bpmTopnTailC td p { text-align: center; }
|
||||
.bpmTopnTailClearC td, .bpmTopnTailClearC td p { text-align: center; }
|
||||
|
||||
.pmhMiddleCenter { text-align:center; vertical-align:middle; }
|
||||
.pmhMiddleRight { text-align:right; vertical-align:middle; }
|
||||
.pmhBottomCenter { text-align:center; vertical-align:bottom; }
|
||||
.pmhBottomRight { text-align:right; vertical-align:bottom; }
|
||||
.pmhTopCenter { text-align:center; vertical-align:top; }
|
||||
.pmhTopRight { text-align:right; vertical-align:top; }
|
||||
.pmhTopLeft { text-align:left; vertical-align:top; }
|
||||
.pmhBottomLeft { text-align:left; vertical-align:bottom; }
|
||||
.pmhMiddleLeft { text-align:left; vertical-align:middle; }
|
||||
|
||||
.infobox { margin-top:10pt; background-color:#DDDDBB; text-align:center; border:1px solid #880000; }
|
||||
|
||||
.bpmTopic td, .bpmTopic th { border-top: 1px solid #FFFFFF; }
|
||||
.bpmTopicC td, .bpmTopicC th { border-top: 1px solid #FFFFFF; }
|
||||
.bpmTopnTail td, .bpmTopnTail th { border-top: 1px solid #FFFFFF; }
|
||||
.bpmTopnTailC td, .bpmTopnTailC th { border-top: 1px solid #FFFFFF; }
|
||||
|
||||
394
include/MPDF60/mpdf60/lang2fonts.css
Executable file
394
include/MPDF60/mpdf60/lang2fonts.css
Executable file
@@ -0,0 +1,394 @@
|
||||
/* European */
|
||||
:lang("en"), :lang("eng"), /* English */ /* LATIN */
|
||||
:lang("eu"), :lang("eus"), /* Basque */
|
||||
:lang("br"), :lang("bre"), /* Breton */
|
||||
:lang("ca"), :lang("cat"), /* Catalan */
|
||||
:lang("co"), :lang("cos"), /* Corsican */
|
||||
:lang("kw"), :lang("cor"), /* Cornish */
|
||||
:lang("cy"), :lang("cym"), /* Welsh */
|
||||
:lang("cs"), :lang("ces"), /* Czech */
|
||||
:lang("da"), :lang("dan"), /* Danish */
|
||||
:lang("nl"), :lang("nld"), /* Dutch */
|
||||
:lang("et"), :lang("est"), /* Estonian */
|
||||
:lang("fo"), :lang("fao"), /* Faroese */
|
||||
:lang("fi"), :lang("fin"), /* Finnish */
|
||||
:lang("fr"), :lang("fra"), /* French */
|
||||
:lang("gl"), :lang("glg"), /* Galician */
|
||||
:lang("de"), :lang("deu"), /* German */
|
||||
:lang("ht"), :lang("hat"), /* Haitian; Haitian Creole */
|
||||
:lang("hu"), :lang("hun"), /* Hungarian */
|
||||
:lang("ga"), :lang("gle"), /* Irish */
|
||||
:lang("is"), :lang("isl"), /* Icelandic */
|
||||
:lang("it"), :lang("ita"), /* Italian */
|
||||
:lang("la"), :lang("lat"), /* Latin */
|
||||
:lang("lb"), :lang("ltz"), /* Luxembourgish */
|
||||
:lang("li"), :lang("lim"), /* Limburgish */
|
||||
:lang("lt"), :lang("lit"), /* Lithuanian */
|
||||
:lang("lv"), :lang("lav"), /* Latvian */
|
||||
:lang("gv"), :lang("glv"), /* Manx */
|
||||
:lang("no"), :lang("nor"), /* Norwegian */
|
||||
:lang("nn"), :lang("nno"), /* Norwegian Nynorsk */
|
||||
:lang("nb"), :lang("nob"), /* Norwegian Bokmal */
|
||||
:lang("pl"), :lang("pol"), /* Polish */
|
||||
:lang("pt"), :lang("por"), /* Portuguese */
|
||||
:lang("ro"), :lang("ron"), /* Romanian */
|
||||
:lang("gd"), :lang("gla"), /* Scottish Gaelic */
|
||||
:lang("es"), :lang("spa"), /* Spanish */
|
||||
:lang("sv"), :lang("swe"), /* Swedish */
|
||||
:lang("sl"), :lang("slv"), /* Slovene */
|
||||
:lang("sk"), :lang("slk") { /* Slovak */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
|
||||
|
||||
:lang("el"), :lang("ell") { /* GREEK */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
|
||||
:lang("ru"), :lang("rus"), /* Russian */ /* CYRILLIC */
|
||||
:lang("ab"), :lang("abk"), /* Abkhaz */
|
||||
:lang("av"), :lang("ava"), /* Avaric */
|
||||
:lang("ba"), :lang("bak"), /* Bashkir */
|
||||
:lang("be"), :lang("bel"), /* Belarusian */
|
||||
:lang("bg"), :lang("bul"), /* Bulgarian */
|
||||
:lang("ce"), :lang("che"), /* Chechen */
|
||||
:lang("cv"), :lang("chv"), /* Chuvash */
|
||||
:lang("kk"), :lang("kaz"), /* Kazakh */
|
||||
:lang("kv"), :lang("kom"), /* Komi */
|
||||
:lang("ky"), :lang("kir"), /* Kyrgyz */
|
||||
:lang("mk"), :lang("mkd"), /* Macedonian */
|
||||
:lang("cu"), :lang("chu"), /* Old Church Slavonic */
|
||||
:lang("os"), :lang("oss"), /* Ossetian */
|
||||
:lang("sr"), :lang("srp"), /* Serbian */
|
||||
:lang("tg"), :lang("tgk"), /* Tajik */
|
||||
:lang("tt"), :lang("tat"), /* Tatar */
|
||||
:lang("tk"), :lang("tuk"), /* Turkmen */
|
||||
:lang("uk"), :lang("ukr") { /* Ukrainian */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
|
||||
|
||||
|
||||
:lang("hy"), :lang("hye") { /* ARMENIAN */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("ka"), :lang("kat") { /* GEORGIAN */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("cop") { /* COPTIC */
|
||||
font-family: quivira;
|
||||
}
|
||||
:lang("got") { /* GOTHIC */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("und-Latn") { /* LATIN */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("und-Cyrl") { /* CYRILLIC */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("und-Cprt") { /* CYPRIOT */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("und-Glag") { /* GLAGOLITIC */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
:lang("und-Linb") { /* LINEAR_B */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("und-Ogam") { /* OGHAM */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("und-Ital") { /* OLD_ITALIC */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("und-Runr") { /* RUNIC */
|
||||
font-family: sun-exta;
|
||||
}
|
||||
:lang("und-Shaw") { /* SHAVIAN */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* African */
|
||||
:lang("am"), :lang("amh") { /* Amharic ETHIOPIC */
|
||||
font-family: abyssinicasil;
|
||||
}
|
||||
:lang("ti"), :lang("tir") { /* Tigrinya ETHIOPIC */
|
||||
font-family: abyssinicasil;
|
||||
}
|
||||
:lang("nqo") { /* NKO */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
:lang("vai") { /* VAI */
|
||||
font-family: freesans;
|
||||
}
|
||||
:lang("und-Egyp") { /* EGYPTIAN_HIEROGLYPHS */
|
||||
font-family: aegyptus;
|
||||
}
|
||||
:lang("und-Ethi") { /* ETHIOPIC */
|
||||
font-family: abyssinicasil;
|
||||
}
|
||||
:lang("und-Osma") { /* OSMANYA */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
:lang("und-Tfng") { /* TIFINAGH */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* Middle Eastern */
|
||||
:lang("ar"), :lang("ara") { /* Arabic */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("fa"), :lang("fas") { /* Persian (Farsi) */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("ku"), :lang("kur") { /* Kurdish */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("ps"), :lang("pus") { /* Pashto */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("ur"), :lang("urd") { /* Urdu */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("he"), :lang("heb") { /* HEBREW */
|
||||
font-family: taameydavidclm;
|
||||
}
|
||||
:lang("yi"), :lang("yid") { /* Yiddish */
|
||||
font-family: taameydavidclm;
|
||||
}
|
||||
:lang("syr") { /* SYRIAC */
|
||||
font-family: estrangeloedessa;
|
||||
}
|
||||
|
||||
:lang("xcr") { /* CARIAN */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("xlc") { /* LYCIAN */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("xld") { /* LYDIAN */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("phn") { /* PHOENICIAN */
|
||||
font-family: aegean;
|
||||
}
|
||||
:lang("uga") { /* UGARITIC */
|
||||
font-family: aegean;
|
||||
}
|
||||
|
||||
:lang("und-Arab") { /* ARABIC */
|
||||
font-family: xbriyaz;
|
||||
}
|
||||
:lang("und-Xsux") { /* CUNEIFORM */
|
||||
font-family: akkadian;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Central Asian */
|
||||
:lang("bo"), :lang("bod"), /* TIBETAN */
|
||||
:lang("dz"), :lang("dzo") { /* Dzongkha */
|
||||
font-family: jomolhari;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* South Asian */
|
||||
:lang("as"), :lang("asm") { /* Assamese */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("bn"), :lang("ben") { /* BENGALI; Bangla */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("ks"), :lang("kas") { /* Kashmiri */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("hi"), :lang("hin"), /* Hindi DEVANAGARI */
|
||||
:lang("bh"), :lang("bih"), /* Bihari (Bhojpuri, Magahi, and Maithili) */
|
||||
:lang("sa"), :lang("san") { /* Sanskrit */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("gu"), :lang("guj") { /* Gujarati */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("pa"), :lang("pan") { /* Panjabi, Punjabi GURMUKHI */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("kn"), :lang("kan") { /* Kannada */
|
||||
font-family: lohitkannada;
|
||||
}
|
||||
:lang("mr"), :lang("mar") { /* Marathi */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("ml"), :lang("mal") { /* MALAYALAM */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("ne"), :lang("nep") { /* Nepali */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("or"), :lang("ori") { /* ORIYA */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("si"), :lang("sin") { /* SINHALA */
|
||||
font-family: kaputaunicode;
|
||||
}
|
||||
:lang("ta"), :lang("tam") { /* TAMIL */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("te"), :lang("tel") { /* TELUGU */
|
||||
font-family: pothana2000;
|
||||
}
|
||||
:lang("sd"), :lang("snd") { /* Sindhi */
|
||||
font-family: lateef;
|
||||
}
|
||||
:lang("sd-IN") { /* Sindhi */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("sd-PK") { /* Sindhi */
|
||||
font-family: lateef;
|
||||
}
|
||||
|
||||
:lang("lif") { /* LIMBU */
|
||||
font-family: sun-exta;
|
||||
}
|
||||
:lang("syl") { /* SYLOTI_NAGRI */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
:lang("dv"), :lang("div") { /* Divehi; Maldivian THAANA */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("und-Khar") { /* KHAROSHTHI */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
:lang("und-Mtei") { /* MEETEI_MAYEK */
|
||||
font-family: eeyekunicode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* South East Asian */
|
||||
:lang("km"), :lang("khm") { /* KHMER */
|
||||
font-family: khmeros;
|
||||
}
|
||||
:lang("lo"), :lang("lao") { /* LAO */
|
||||
font-family: dhyana;
|
||||
}
|
||||
:lang("my"), :lang("mya") { /* MYANMAR Burmese */
|
||||
font-family: tharlon; /* zawgyi-one is non-unicode compliant but in wide usage ; ayar is also not strictly compliant */
|
||||
}
|
||||
:lang("th"), :lang("tha") { /* THAI */
|
||||
font-family: garuda;
|
||||
}
|
||||
|
||||
|
||||
:lang("vi"), :lang("vie") { /* Vietnamese */
|
||||
font-family: dejavusanscondensed;
|
||||
}
|
||||
|
||||
|
||||
:lang("bug") { /* BUGINESE */
|
||||
font-family: freeserif;
|
||||
}
|
||||
:lang("su") { /* SUNDANESE */
|
||||
font-family: sundaneseunicode;
|
||||
}
|
||||
:lang("tdd") { /* TAI_LE */
|
||||
font-family: tharlon;
|
||||
}
|
||||
:lang("blt") { /* TAI_VIET */
|
||||
font-family: taiheritagepro;
|
||||
}
|
||||
:lang("und-Kali") { /* KAYAH_LI */
|
||||
font-family: freemono;
|
||||
}
|
||||
:lang("und-Lana") { /* TAI_THAM */
|
||||
font-family: lannaalif;
|
||||
}
|
||||
:lang("und-Talu") { /* NEW_TAI_LUE */
|
||||
font-family: daibannasilbook;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Phillipine */
|
||||
:lang("bku") { /* BUHID */
|
||||
font-family: quivira;
|
||||
}
|
||||
:lang("hnn") { /* HANUNOO */
|
||||
font-family: quivira;
|
||||
}
|
||||
:lang("tl") { /* TAGALOG */
|
||||
font-family: quivira;
|
||||
}
|
||||
:lang("tbw") { /* TAGBANWA */
|
||||
font-family: quivira;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* East Asian */
|
||||
:lang("zh"), :lang("zho") { /* Chinese */
|
||||
font-family: sun-exta, gb;
|
||||
}
|
||||
:lang("zh-HK") { /* Hong Kong */
|
||||
font-family: sun-exta, big5;
|
||||
}
|
||||
:lang("zh-TW") { /* Taiwan */
|
||||
font-family: sun-exta, big5;
|
||||
}
|
||||
:lang("zh-CN") { /* Chinese */
|
||||
font-family: sun-exta, gb;
|
||||
}
|
||||
:lang("ko"), :lang("kor") { /* HANGUL Korean */
|
||||
font-family: unbatang, uhc;
|
||||
}
|
||||
:lang("ja"), :lang("jpn") { /* Japanese HIRAGANA KATAKANA */
|
||||
font-family: sun-exta, sjis;
|
||||
}
|
||||
:lang("lis") { /* LISU */
|
||||
font-family: quivira;
|
||||
}
|
||||
:lang("und-Hans") { /* HAN (SIMPLIFIED) */
|
||||
font-family: sun-exta, gb;
|
||||
}
|
||||
:lang("und-Bopo") { /* BOPOMOFO */
|
||||
font-family: sun-exta;
|
||||
}
|
||||
:lang("ii"), :lang("iii"), /* Nuosu; Yi */
|
||||
:lang("und-Yiii") { /* YI */
|
||||
font-family: sun-exta;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* American */
|
||||
:lang("chr") { /* CHEROKEE */
|
||||
font-family: aboriginalsans;
|
||||
}
|
||||
:lang("oj"), :lang("oji"), /* Ojibwe; Chippewa */
|
||||
:lang("iu"), :lang("iku"), /* Inuktitut */
|
||||
:lang("cr"), :lang("cre") { /* Cree CANADIAN_ABORIGINAL */
|
||||
font-family: aboriginalsans;
|
||||
}
|
||||
:lang("und-Dsrt") { /* DESERET */
|
||||
font-family: mph2bdamase;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Other */
|
||||
:lang("und-Brai") { /* BRAILLE */
|
||||
font-family: dejavusans;
|
||||
}
|
||||
83
include/MPDF60/mpdf60/mpdf.css
Executable file
83
include/MPDF60/mpdf60/mpdf.css
Executable file
@@ -0,0 +1,83 @@
|
||||
|
||||
|
||||
|
||||
/* LISTS */
|
||||
|
||||
/*
|
||||
A default margin-top/bottom for lists is NOT set in config.php - (standard browsers give outermost list a top and bottom margin).
|
||||
[mPDF default CSS set in config.php only works on basic elements, cannot do selectors such as "ol ol"]
|
||||
Need to add the following to do this, but also prevent margins in nested lists as per default HTML in most browsers:
|
||||
*/
|
||||
|
||||
ul, ol { margin-top: 0.83em; margin-bottom: 0.83em; }
|
||||
ul ul, ul ol, ol ul, ol ol { margin-top: 0; margin-bottom: 0; }
|
||||
|
||||
|
||||
|
||||
|
||||
/* INDEXES */
|
||||
div.mpdf_index_main {
|
||||
font-family: sans-serif;
|
||||
line-height: normal;
|
||||
}
|
||||
div.mpdf_index_entry {
|
||||
line-height: normal;
|
||||
text-indent: -1.5em;
|
||||
}
|
||||
div.mpdf_index_letter {
|
||||
font-family: sans-serif;
|
||||
font-size: 1.8em;
|
||||
font-weight: bold;
|
||||
line-height: normal;
|
||||
text-transform: uppercase;
|
||||
page-break-after: avoid;
|
||||
margin-top: 0.3em;
|
||||
margin-collapse: collapse;
|
||||
}
|
||||
a.mpdf_index_link {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* TABLE OF CONTENTS */
|
||||
div.mpdf_toc {
|
||||
font-family: sans-serif;
|
||||
line-height: normal;
|
||||
}
|
||||
a.mpdf_toc_a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
div.mpdf_toc_level_0 { /* Whole line level 0 */
|
||||
line-height: 1.5;
|
||||
margin-left: 0;
|
||||
padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
|
||||
}
|
||||
span.mpdf_toc_t_level_0 { /* Title level 0 - may be inside <a> */
|
||||
font-weight: bold;
|
||||
}
|
||||
span.mpdf_toc_p_level_0 { /* Page no. level 0 - may be inside <a> */
|
||||
}
|
||||
div.mpdf_toc_level_1 { /* Whole line level 1 */
|
||||
margin-left: 2em;
|
||||
text-indent: -2em;
|
||||
padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
|
||||
}
|
||||
span.mpdf_toc_t_level_1 { /* Title level 1 */
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
}
|
||||
span.mpdf_toc_p_level_1 { /* Page no. level 1 - may be inside <a> */
|
||||
}
|
||||
div.mpdf_toc_level_2 { /* Whole line level 2 */
|
||||
margin-left: 4em;
|
||||
text-indent: -2em;
|
||||
padding-right: 0em; /* should match the outdent specified for ToC; 0 is default; suggested value 2em */
|
||||
}
|
||||
span.mpdf_toc_t_level_2 { /* Title level 2 */
|
||||
}
|
||||
span.mpdf_toc_p_level_2 { /* Page no. level 2 - may be inside <a> */
|
||||
}
|
||||
|
||||
66
include/MPDF60/mpdf60/progbar.css
Executable file
66
include/MPDF60/mpdf60/progbar.css
Executable file
@@ -0,0 +1,66 @@
|
||||
body {
|
||||
margin : 0 auto;
|
||||
width:100%;
|
||||
font-family: "Verdana";
|
||||
color: #40454b;
|
||||
font-size: 12px;
|
||||
text-align:center;
|
||||
}
|
||||
.main {
|
||||
width:540px;
|
||||
margin: 0 auto;
|
||||
text-align:left;
|
||||
}
|
||||
.heading {
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
color:#CC0000;
|
||||
padding:5px;
|
||||
margin-left:10px;
|
||||
border-bottom:solid;
|
||||
border-bottom-width:1px;
|
||||
border-bottom-color:#333333;
|
||||
/* Use this to suppress the horizontal line under the heading */
|
||||
/* border-bottom: 0px solid #000000; */
|
||||
}
|
||||
table {
|
||||
font-family: "Verdana";
|
||||
color: #40454b;
|
||||
font-size: 12px;
|
||||
}
|
||||
.demo {
|
||||
margin : 0 auto;
|
||||
width:100%;
|
||||
margin:20px;
|
||||
/* Use this to suppress all the bars and text */
|
||||
/* display: none; */
|
||||
}
|
||||
td {
|
||||
vertical-align: top;
|
||||
padding: 0 0.5em 0 0;
|
||||
}
|
||||
.code {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 10px;
|
||||
}
|
||||
.code2 {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
font-size: 11px; font-weight: bold; color: red;
|
||||
}
|
||||
.barheading {
|
||||
color:#006600;
|
||||
font-weight:bold;
|
||||
}
|
||||
.progressBar {
|
||||
border: 1px solid #000000;
|
||||
background-color: #EEEEEE;
|
||||
width: 200px;
|
||||
font-size: 6px;
|
||||
}
|
||||
.innerBar {
|
||||
background-color:#00CC00;
|
||||
width: 0%;
|
||||
}
|
||||
#box3 {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user