Initialer Commit
This commit is contained in:
1
src/modules/pdf/home.svg
Normal file
1
src/modules/pdf/home.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="80" height="80" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" transform="rotate(0 0 0)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.45 4.90342C12.1833 4.70342 11.8167 4.70342 11.55 4.90342L5.05 9.77842C4.86115 9.92006 4.75 10.1423 4.75 10.3784V18.4998C4.75 18.9141 5.08579 19.2498 5.5 19.2498H9V16.9998C9 15.343 10.3431 13.9998 12 13.9998C13.6569 13.9998 15 15.343 15 16.9998V19.2498H18.5C18.9142 19.2498 19.25 18.9141 19.25 18.4998V10.3784C19.25 10.1423 19.1389 9.92006 18.95 9.77842L12.45 4.90342ZM10.65 3.70342C11.45 3.10342 12.55 3.10342 13.35 3.70342L19.85 8.57842C20.4166 9.00334 20.75 9.67021 20.75 10.3784V18.4998C20.75 19.7425 19.7426 20.7498 18.5 20.7498H14.25C13.8358 20.7498 13.5 20.4141 13.5 19.9998V16.9998C13.5 16.1714 12.8284 15.4998 12 15.4998C11.1716 15.4998 10.5 16.1714 10.5 16.9998V19.9998C10.5 20.4141 10.1642 20.7498 9.75 20.7498H5.5C4.25736 20.7498 3.25 19.7425 3.25 18.4998V10.3784C3.25 9.67021 3.58344 9.00334 4.15 8.57842L10.65 3.70342Z" fill="#000000"/></svg>
|
||||
|
After Width: | Height: | Size: 1.0 KiB |
22
src/modules/pdf/pdf-color.css
Normal file
22
src/modules/pdf/pdf-color.css
Normal file
@@ -0,0 +1,22 @@
|
||||
@import url("pdf.css");
|
||||
|
||||
|
||||
/* Einfärbungen */
|
||||
td.top {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
td.def {
|
||||
background-color: salmon;
|
||||
}
|
||||
td.nw {
|
||||
background-color: orange;
|
||||
}
|
||||
.lk {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
.ab {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
.ue, .nv {
|
||||
color: red;
|
||||
}
|
||||
21
src/modules/pdf/pdf-sw.css
Normal file
21
src/modules/pdf/pdf-sw.css
Normal file
@@ -0,0 +1,21 @@
|
||||
@import url("pdf.css");
|
||||
|
||||
|
||||
/* Einfärbungen */
|
||||
td.top {
|
||||
}
|
||||
td.def {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
td.nw {
|
||||
background-color: #F3F4F9;
|
||||
}
|
||||
.lk {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
.ab {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
.ue, .nv {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
74
src/modules/pdf/pdf-tabelle.css
Normal file
74
src/modules/pdf/pdf-tabelle.css
Normal file
@@ -0,0 +1,74 @@
|
||||
@page {
|
||||
size: a4 landscape;
|
||||
margin-left: 1.5cm;
|
||||
margin-right: 1.5cm;
|
||||
margin-top: 1cm;
|
||||
margin-bottom: 1cm;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Schrift */
|
||||
h1, th, td, h1, h2, h3, p {
|
||||
font-family: Helvetica;
|
||||
}
|
||||
th, td {
|
||||
font-size: 120% !important;
|
||||
}
|
||||
th {
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
|
||||
/* Notentabelle */
|
||||
table, tr, td {
|
||||
border: 0.5px solid black;
|
||||
}
|
||||
th, td {
|
||||
text-align: center !important;
|
||||
padding-left: 5px !important;
|
||||
padding-right: 5px !important;
|
||||
width: 10%;
|
||||
}
|
||||
th {
|
||||
line-height: 90%;
|
||||
vertical-align: bottom !important;
|
||||
padding-top: 5px !important;
|
||||
padding-bottom: 1px !important;
|
||||
}
|
||||
td {
|
||||
line-height: 90%;
|
||||
vertical-align: top !important;
|
||||
padding-top: 3px !important;
|
||||
padding-bottom: 3px !important;
|
||||
}
|
||||
th.name, td.name {
|
||||
width: 30%;
|
||||
}
|
||||
th.fehl, td.fehl {
|
||||
width: 15%;
|
||||
}
|
||||
th.versetzung, td.versetzung {
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
|
||||
/* Einfärbungen */
|
||||
td.top {
|
||||
background-color: lightgreen;
|
||||
}
|
||||
td.def {
|
||||
background-color: salmon;
|
||||
}
|
||||
td.nw {
|
||||
background-color: orange;
|
||||
}
|
||||
.lk {
|
||||
background-color: darkgrey;
|
||||
}
|
||||
.ab {
|
||||
background-color: lightgrey;
|
||||
}
|
||||
.ue, .nv {
|
||||
color: red;
|
||||
}
|
||||
137
src/modules/pdf/pdf.css
Normal file
137
src/modules/pdf/pdf.css
Normal file
@@ -0,0 +1,137 @@
|
||||
@page {
|
||||
size: a4 portrait;
|
||||
margin-left: 1.25cm;
|
||||
margin-right: 1.25cm;
|
||||
margin-top: 1.25cm;
|
||||
margin-bottom: 1cm;
|
||||
}
|
||||
|
||||
|
||||
/* Seitentrennung */
|
||||
h3 {
|
||||
-pdf-keep-with-next: true;
|
||||
}
|
||||
table {
|
||||
-pdf-keep-with-next: true;
|
||||
}
|
||||
p.fehlversetzung {
|
||||
-pdf-keep-with-next: true;
|
||||
}
|
||||
p.separator {
|
||||
-pdf-keep-with-next: false;
|
||||
}
|
||||
|
||||
|
||||
/* Schrift */
|
||||
h1, th, td, h1, h2, h3, p {
|
||||
font-family: Helvetica;
|
||||
}
|
||||
th, td {
|
||||
font-size: 140% !important;
|
||||
}
|
||||
th {
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
|
||||
|
||||
/* Index */
|
||||
h2 {
|
||||
font-size: 300% !important;
|
||||
text-align: center;
|
||||
padding-top: 50pt;
|
||||
}
|
||||
p.index {
|
||||
font-size: 250% !important;
|
||||
text-align: center;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: rgb(42, 118, 221);
|
||||
}
|
||||
p.time {
|
||||
text-align: center !important;
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
|
||||
/* Überschriften Klasse und Schüler */
|
||||
h1 {
|
||||
font-size: 200% !important;
|
||||
padding-left: -8pt;
|
||||
}
|
||||
img.icon {
|
||||
width: 18pt;
|
||||
height: 18pt;
|
||||
padding-left: 0pt;
|
||||
padding-right: 0pt;
|
||||
}
|
||||
h3 {
|
||||
font-size: 175% !important;
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: -15px !important;
|
||||
}
|
||||
|
||||
|
||||
/* Notentabelle */
|
||||
table, tr, td {
|
||||
border: 0.5px solid black;
|
||||
}
|
||||
|
||||
th, td {
|
||||
text-align: center !important;
|
||||
padding-left: 5px !important;
|
||||
padding-right: 5px !important;
|
||||
width: 10%;
|
||||
}
|
||||
th.halbjahr, td.halbjahr {
|
||||
width: 15% !important;
|
||||
}
|
||||
th {
|
||||
vertical-align: bottom !important;
|
||||
font-size: 160% !important;
|
||||
border-spacing: 0px;
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
padding-top: 5px !important;
|
||||
padding-bottom: 1px !important;
|
||||
}
|
||||
td {
|
||||
line-height: 120%;
|
||||
vertical-align: top !important;
|
||||
border-spacing: 0px;
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
padding-top: 3px !important;
|
||||
padding-bottom: 3px !important;
|
||||
}
|
||||
.note {
|
||||
font-size: 140% !important;
|
||||
}
|
||||
.lehrer {
|
||||
font-size: 75% !important;
|
||||
}
|
||||
.kursart {
|
||||
font-size: 75% !important;
|
||||
}
|
||||
.epoche {
|
||||
font-size: 60% !important;
|
||||
}
|
||||
.jahrgang {
|
||||
font-size: 140% !important;
|
||||
}
|
||||
.schuljahr {
|
||||
font-size: 80% !important;
|
||||
}
|
||||
|
||||
/* Zusatzangaben */
|
||||
p.fehlversetzung {
|
||||
font-size: 160%;
|
||||
}
|
||||
p.hinweis {
|
||||
font-size: 160%;
|
||||
padding-top: -10pt;
|
||||
}
|
||||
p.separator {
|
||||
padding-top: -10pt;
|
||||
padding-bottom: -10pt;
|
||||
}
|
||||
Reference in New Issue
Block a user