Truco para imprimir el logo en negro desde Google Chrome usando una imagen doble del logotpo en el mismo archivo

This commit is contained in:
Manuel Cillero 2018-12-10 02:49:39 +01:00
parent 494983367c
commit 3a4028bdbc
3 changed files with 10 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

View file

@ -1587,7 +1587,7 @@ div.details { padding: 20px !important; }
@media print { @media print {
@page { @page {
size: A4; size: A4;
margin: 1cm; margin: 1.6cm 1cm;
} }
html, body { html, body {
margin: 0; margin: 0;
@ -1600,8 +1600,10 @@ div.details { padding: 20px !important; }
page-break-inside: avoid; page-break-inside: avoid;
} }
#wrapper3, #wrapper3,
#header,
#main, #main,
#header { #wrapper-main {
margin: 0;
background: #fff; background: #fff;
} }
#header { #header {
@ -1612,8 +1614,10 @@ div.details { padding: 20px !important; }
padding-left: 0; padding-left: 0;
} }
#wrapper-header { #wrapper-header {
background: url(../images/logo_print.png) no-repeat 0 0; margin: 0;
background: #fff url(../images/logo.png) no-repeat 0 -100px;
} }
#quick-search { #quick-search {
display: none; display: none;
} }