Files
safekat/httpdocs/themes/vuexy/css/pdf.ot.css

217 lines
3.3 KiB
CSS

@page {
size: A4;
margin: 0;
}
@media print {
.page {
width: 210mm;
height: 297mm;
max-width: 210mm;
max-height: 297mm;
print-color-adjust: exact;
}
/* ... the rest of the rules ... */
}
html, body {
width: 210mm;
max-width: 210mm;
margin: 0 auto;
padding: 0;
background: white;
font-family: Arial, sans-serif;
font-size: 14px;
box-sizing: border-box;
overflow-x: hidden;
}
.pdf-wrapper {
width: 100%;
box-sizing: border-box;
}
/* Opcional: ayuda a evitar cortes raros en tablas o secciones */
.page-break {
page-break-before: always;
}
.page {
border: 0px solid;
padding: 10px;
margin: 10px;
width: 100%;
max-width: 210mm;
height: auto !important;
max-height: none !important;
/*max-height: 297mm;*/
background-color: white;
}
.portada-img {
border-style: solid;
height: 100%;
border: 2px solid;
}
.square {
height : 75px;
align-items: center;
align-content: center;
justify-content: center;
font-weight: bold;
}
.esquema {
}
.pagina-imposicion-outer-start {
border-top: 2px solid;
border-left: 2px solid;
border-bottom: 2px solid;
width: 50px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.pagina-imposicion-outer-end {
border-top: 2px solid;
border-right: 2px solid;
border-bottom: 2px solid;
width: 50px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.pagina-imposicion-outer {
border-top: 2px solid;
border-bottom: 2px solid;
width: 50px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
.pagina-imposicion-inner {
border: 2px solid;
font-size: 25px;
width: 40px;
height: 90px;
display: flex;
align-items: center;
justify-content: center;
}
.esquema-imposicion-wrapper {
}
.imposicion {
display: flex;
align-items: center;
justify-content: center;
}
.section-title {
font-weight: bold;
font-size: 1.2em;
margin-bottom: 4px;
}
.cubierta {
color: #007bff;
}
.encuadernacion {
color: green;
}
.impresion {
color: #ff4000;
}
.comments {
color: #555;
font-style: italic;
font-size: 12px;
margin-top: 0.2rem;
}
.comment-content {
width: 100%;
margin-left: 0.2rem;
font-style: normal;
color: black;
font-size: 10px;
}
table {
width: 100%;
margin-bottom: 2px;
font-size: 1.2em;
}
th,
td {
border-width : 1px;
border-color : black;
}
table td {
text-align: center;
}
table th {
font-weight: bold;
color: black;
text-align: center;
}
.al{
text-align:left;
}
.t-header {
color: black;
width: 25%;
}
.t-cell {
color: black;
text-align: start;
padding-left: 0.2rem;
}
.t-row {
font-size: 14px;
width: 100%;
}
.bicolor {
background: linear-gradient(
to right,
#00b5fc 0%,
#00b5fc 45%,
#000000 55%,
#000000 100%
);
color: white;
}
.cmyk {
background-image: url("/themes/vuexy/img/safekat/presupuestos/cmyk.png");
background-size: 110px;
color: white;
text-shadow: 0px 0px 2px black;
stroke: white;
}
.bn {
background: black;
color: white;
}
.bg-encuadernacion {
background-color: #bbd8a3;
}
.encuadernacion th {
color: green;
}
.cell-50 {
width: 50px;
}
.ot-code {
font-size: 3.5em;
}
.code-title {
font-size: 1.5em;
}
body, html, .pdf-wrapper, .page, div {
box-sizing: border-box;
max-width: 210mm;
overflow-x: hidden;
word-wrap: break-word;
}