Modificaciones en tabla de totales y optimización del tiempo de generacion del pdf

This commit is contained in:
imnavajas
2024-01-19 14:59:30 +01:00
parent 99d69810d6
commit 3c90dbc5ea
2 changed files with 33 additions and 249 deletions

View File

@ -1,16 +1,40 @@
/* Presupuesto Safekat */
* {
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
font-size: 14px;
line-height: 1.42857143;
color: #333;
background-color: #fff;
}
table {
border-spacing: 0;
background-color: transparent;
border-collapse: collapse;
}
th {
text-align: left;
}
td {
padding: 0;
}
body table.logo {
padding: 0;
width: 100%;
color: black;
}
body table.logo td.logo img {
width: 100%;
vertical-align: middle;
}
body table.presupuesto-data {
@ -84,8 +108,6 @@ body table.presupuesto-data td.autor {
body table.impresion {
width: 100%;
font-size: 11px;
// IMN margin-bottom: 9px;
// IMN margin-top: 8px;
}
body table.impresion th {
@ -139,7 +161,6 @@ body table.cubierta {
width: 100%;
font-size: 11px;
margin-top: -2px;
// IMN margin-bottom: 9px;
}
body table.cubierta th {
@ -188,7 +209,6 @@ body table.encuadernacion {
width: 100%;
font-size: 11px;
margin-top: -2px;
// IMN margin-bottom: 9px;
}
body table.encuadernacion th {
@ -221,7 +241,7 @@ body table.encuadernacion td.v-first {
border-right: 1px dotted black;
}
body table.encuadernacion tdv.second {
body table.encuadernacion td.v.second {
width: 8%;
border-left: 1px dotted black;
border-right: 1px dotted black;
@ -244,7 +264,6 @@ body table.extras {
width: 100%;
font-size: 11px;
margin-top: -2px;
// IMN margin-bottom: 9px;
}
body table.extras th {
@ -335,9 +354,8 @@ body table.envio td.t-first {
body table.totales {
margin-left: auto;
margin-right: 0;
width: 75%;
width: 50%;
text-align: center;
}
body table.totales th {
@ -367,19 +385,6 @@ body table.totales td.precio {
}
body table.totales td.precio_iva {
}
body table.totales td.iva {
border-left: none;
border-right: none;
border-bottom: none;
text-align: right;
font-size: 10px;
margin-top: 2px;
}
/* Presupuesto Manual */
@ -551,215 +556,3 @@ table.pedido-maquetacion-totales td.iva_right {
font-size: 10px;
margin-top: 2px;
}
#tablacentral {
border-top-width: 0;
border-left-width: 1px;
border-right-width: 1px;
border-bottom-width: 0;
text-align: center;
font-size: 9pt;
}
#tablanoborde {
border-top-width: 0;
border-left-width: 0;
border-right-width: 0;
border-bottom-width: 0;
}
#tabla {
border-style: solid;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
font-size: 7pt;
font-weight: bold;
}
#tabladato {
font-size: 9pt;
font-weight: normal;
float: center;
}
#tablaesquina {
border-style: solid;
border-top-width: 0;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 0;
}
#tdinteriorabajo {
border-top: none;
border-bottom: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
text-align: center;
font-size: 10px;
height: -40px;
}
#tdinteriorarriba {
border-bottom: none;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
font-weight: bold;
font-size: 12px;
height: -40px;
padding-left: 2px;
padding-top: 1px;
}
#tdinteriorarribacliente {
border-top: 1px solid;
border-left: 1px solid;
border-bottom: 1px solid;
border-right: none;
font-weight: bold;
font-size: 12px;
height: -40px;
padding-left: 2px;
padding-top: 1px;
}
#tdinteriorarribaclientedato {
border-top: 1px solid;
border-left: none;
border-bottom: 1px solid;
border-right: 1px solid;
font-size: 12px;
height: -40px;
padding-left: 2px;
padding-top: 1px;
}
#tdniarribaniabajo {
border-bottom: none;
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
font-size: 12px;
text-align: center;
}
#tdniarribaniabajoopciones {
border-bottom: none;
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
font-size: 10px;
}
#tdniarribaniabajo2 {
border-bottom: none;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
font-size: 12px;
text-align: center;
font-weight: bold;
}
#tdniarribaniabajo3 {
border-bottom: 1px solid;
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
font-size: 12px;
text-align: center;
}
#subtdabajocentro {
border-bottom: 1px solid;
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
text-align: center;
font-size: 9pt;
}
#subtd {
border-top: none;
border-bottom: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
text-align: center;
font-size: 12px;
}
#subtdcen {
border-top: none;
border-bottom: 1px solid #919191;
border-left: 1px solid #919191;
border-right: 1px solid #919191;
text-align: center;
font-size: 12px;
background-color: #77B2D0;
color: white;
}
#subtdizq {
border-top: none;
border-bottom: 1px solid #919191;
border-right: 1px solid #919191;
text-align: center;
font-size: 12px;
color: white;
background-color: #77B2D0;
}
#subtdder {
border-top: none;
border-bottom: 1px solid #919191;
border-left: 1px solid #919191;
text-align: center;
font-size: 12px;
color: white;
background-color: #77B2D0;
}
#tdarriba {
border-bottom: none;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
font-size: 12px;
}
#tdarribaopciones {
border-bottom: none;
border-top: 1px solid;
border-left: 1px solid;
border-right: 1px solid;
font-size: 10px;
}
#tdabajo {
border-bottom: 1px solid;
border-top: none;
border-left: 1px solid;
border-right: 1px solid;
font-size: 12px;
}
#dato {
text-align: center;
font-size: 9pt;
}
#subrayado {
font-size: 9pt;
border-bottom: 1px solid;
}
#td {
font-size: 12px;
}
#tdopciones {
font-size: 10px;
}