mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
349 lines
5.8 KiB
CSS
349 lines
5.8 KiB
CSS
@page {
|
|
size: A4;
|
|
margin: 0;
|
|
}
|
|
@media print {
|
|
body,html {
|
|
width: 210mm;
|
|
height: 297mm;
|
|
max-width: 210mm;
|
|
max-height: 297mm;
|
|
print-color-adjust: exact;
|
|
}
|
|
/* ... the rest of the rules ... */
|
|
}
|
|
html {
|
|
font-family: Arial, sans-serif;
|
|
width: 210mm;
|
|
height: 297mm;
|
|
max-width: 210mm;
|
|
font-size : 11px;
|
|
max-height: 297mm;
|
|
background-color: #f9f9f9;
|
|
}
|
|
body{
|
|
border: 0px solid;
|
|
padding: 20px;
|
|
max-width: 210mm;
|
|
max-height: 297mm;
|
|
|
|
}
|
|
.cubierta{
|
|
color: #007bff;
|
|
}
|
|
.encuadernacion{
|
|
color: green;
|
|
}
|
|
.impresion{
|
|
color: #ff4000;
|
|
}
|
|
.container {
|
|
width: 100%;
|
|
width: 210mm;
|
|
height: 297mm;
|
|
background: #fff;
|
|
padding: 20px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
|
border: 2px solid;
|
|
|
|
}
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.cover{
|
|
display: flex;
|
|
justify-content: start;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.portada-info{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
.impresion-tipo-row{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-items: center;
|
|
justify-content: end;
|
|
width: 100%;
|
|
height: 5mm;
|
|
margin: 2px;
|
|
}
|
|
.portada-row{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-items: center;
|
|
justify-content: space-between;
|
|
background-color: #4ba0fccc;
|
|
width: 100%;
|
|
height: 5mm;
|
|
border: solid 2px;
|
|
margin: 2px;
|
|
border-color: black;
|
|
|
|
}
|
|
.portada-row-2{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-items: center;
|
|
width: 100%;
|
|
height: 35mm;
|
|
margin: 2px;
|
|
border: 2px solid;
|
|
border-color: black;
|
|
|
|
}
|
|
.portada{
|
|
height: 40mm;
|
|
}
|
|
.presupuesto-title{
|
|
color: #007bff;
|
|
font-size: medium;
|
|
line-height: 0;
|
|
}
|
|
.pl-2{
|
|
padding-left: 0.5rem;
|
|
}
|
|
.pr-2{
|
|
padding-right: 0.5rem;
|
|
}
|
|
.pt-2{
|
|
padding-top: 0.5rem;
|
|
}
|
|
.flex-row{
|
|
display: flex;
|
|
width: 100%;
|
|
justify-content: start;
|
|
align-items: flex-start;
|
|
}
|
|
.date{
|
|
padding-left: 0.5rem;
|
|
padding-top: 0px;
|
|
width: 100%;
|
|
line-height: 0px;
|
|
stroke-width: 5px;
|
|
font-size: medium;
|
|
}
|
|
#presupuesto-section{
|
|
width: 100%;
|
|
}
|
|
.flex-col{
|
|
display: flex;
|
|
padding: 0;
|
|
flex-direction: column;
|
|
}
|
|
.cliente-title{
|
|
color: red;
|
|
font-size: medium;
|
|
stroke-width: 10px;
|
|
line-height: 0px;
|
|
}
|
|
|
|
.header .title {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.section {
|
|
margin-top: 0.5rem;
|
|
border-top: 1px solid #ddd;
|
|
padding-top: 0.2rem;
|
|
}
|
|
.section-title {
|
|
font-weight: bold;
|
|
margin-bottom: 10px;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
margin-bottom: 5px;
|
|
font-size: 12px;
|
|
}
|
|
table th, table td {
|
|
border: 2px solid #000000;
|
|
text-align: center;
|
|
}
|
|
table th {
|
|
background-color: #f4f4f4;
|
|
font-weight: bold;
|
|
}
|
|
table td{
|
|
font-weight: bold;
|
|
}
|
|
.comments {
|
|
color: #555;
|
|
font-style: italic;
|
|
margin-top: 0.2rem;
|
|
}
|
|
.comment-content {
|
|
line-height: 0;
|
|
width: 100%;
|
|
height: 50px;
|
|
border: solid;
|
|
border-width: 1px;
|
|
}
|
|
.footer {
|
|
text-align: center;
|
|
margin-top: 0.5rem;
|
|
|
|
font-size: 14px;
|
|
color: #777;
|
|
}
|
|
.row-logo-impresion{
|
|
text-align: center;
|
|
}
|
|
.portada-img{
|
|
border: black;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
height: 40mm;
|
|
width: 100px;
|
|
max-width: 30mm;
|
|
border: 2px solid;
|
|
border-color: black;
|
|
border-radius: 5%;
|
|
}
|
|
.portada-text{
|
|
color: white;
|
|
}
|
|
|
|
.t-header{
|
|
color: black;
|
|
width: 25%;
|
|
}
|
|
.t-cell{
|
|
background-color: white;
|
|
color: black;
|
|
text-align: start;
|
|
padding-left: 0.2rem;
|
|
}
|
|
.t-row{
|
|
font-size: 10px;
|
|
}
|
|
.esquema{
|
|
display: flex;
|
|
justify-content:flex-end;
|
|
width: 100%;
|
|
justify-items: flex-end;
|
|
|
|
}
|
|
.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;
|
|
|
|
}
|
|
.square-wrapper{
|
|
display: grid;
|
|
grid-template-columns: repeat(2,1fr);
|
|
margin-left: 5px;
|
|
|
|
}
|
|
.square{
|
|
width: 100px;
|
|
height: 50px;
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: bold;
|
|
}
|
|
.cod{
|
|
width: 150px;
|
|
height: 100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background-color: orange;
|
|
margin-left : 20px;
|
|
color: white;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
font-weight: bold;
|
|
}
|
|
.cod-code{
|
|
font-weight: bold;
|
|
color: white;
|
|
}
|
|
.esquema-imposicion-wrapper{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-left: 2rem;
|
|
gap: 10px;
|
|
}
|
|
.imposicion{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 200px;
|
|
}
|
|
.imposicion td{
|
|
font-size: large;
|
|
}
|
|
.cod-barras{
|
|
width: 150px;
|
|
height: 80px;
|
|
text-align : center;
|
|
background-color: white;
|
|
align-content: center;
|
|
}
|
|
.cod-barras img {
|
|
padding : 1px;
|
|
}
|
|
.bg-white{
|
|
background-color: white;
|
|
color: black;
|
|
}
|
|
.bg-red{
|
|
background-color: red;
|
|
color: white;
|
|
}
|
|
.bg-gray{
|
|
background-color: gray;
|
|
color:white
|
|
}
|
|
.bg-blue{
|
|
background-color: blue;
|
|
color: white;
|
|
}
|