remove header print no good
This commit is contained in:
@@ -596,6 +596,19 @@ svg.ext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media print {
|
@media print {
|
||||||
|
* {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
@page {
|
||||||
|
margin-top: 1cm;
|
||||||
|
margin-bottom: 1cm;
|
||||||
|
margin-left: 1cm;
|
||||||
|
margin-right: 1cm;
|
||||||
|
}
|
||||||
.layout-container {
|
.layout-container {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -623,6 +636,9 @@ svg.ext {
|
|||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
.path-projets-complets .layout-content .views-row .node-type-projet {
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
.path-projets-complets .layout-content .views-row {
|
.path-projets-complets .layout-content .views-row {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
break-after: page;
|
break-after: page;
|
||||||
@@ -634,9 +650,19 @@ svg.ext {
|
|||||||
.path-projets-complets .layout-content .views-row .projet-header-print .field--name-title {
|
.path-projets-complets .layout-content .views-row .projet-header-print .field--name-title {
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
.path-projets-complets .layout-content .views-row .projet-header-print .field--name-field-photo .field__item:nth-child(n+8) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.path-projets-complets .layout-content .views-row .projet-header-print .field--name-field-photo .image-field-caption {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.path-projets-complets .layout-content .views-row .projet-body-print {
|
.path-projets-complets .layout-content .views-row .projet-body-print {
|
||||||
padding-top: 3rem;
|
padding-top: 3rem;
|
||||||
}
|
}
|
||||||
|
.path-projets-complets .layout-content .views-row .paragraph {
|
||||||
|
break-inside: avoid;
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
.path-projets-complets .views-row {
|
.path-projets-complets .views-row {
|
||||||
page-break-before: always;
|
page-break-before: always;
|
||||||
break-before: page;
|
break-before: page;
|
||||||
|
|||||||
@@ -2,71 +2,96 @@
|
|||||||
// PRINT
|
// PRINT
|
||||||
// =========================
|
// =========================
|
||||||
@media print {
|
@media print {
|
||||||
.layout-container{
|
* {
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
@page {
|
||||||
|
margin-top: 1cm;
|
||||||
|
margin-bottom: 1cm;
|
||||||
|
margin-left: 1cm;
|
||||||
|
margin-right: 1cm;
|
||||||
|
}
|
||||||
|
.layout-container{
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.path-projets-complets {
|
.path-projets-complets {
|
||||||
|
|
||||||
.layout-content{
|
.layout-content{
|
||||||
width: 80vw;
|
width: 80vw;
|
||||||
|
|
||||||
.print-header {
|
.print-header {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 1cm;
|
top: 1cm;
|
||||||
right: 1cm;
|
right: 1cm;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 0.5rem;
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.print-header img {
|
.print-header img {
|
||||||
width: 2cm;
|
width: 2cm;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.print-header__text {
|
.print-header__text {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-family: "Source Code Pro";
|
font-family: "Source Code Pro";
|
||||||
|
|
||||||
color: $blue-dark;
|
color: $blue-dark;
|
||||||
font-size: 0.8rem;
|
font-size: 0.8rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.views-row{
|
|
||||||
|
|
||||||
margin-top: 3rem;
|
|
||||||
break-after: page ;
|
|
||||||
page-break-after: always;
|
|
||||||
|
|
||||||
.projet-header-print{
|
|
||||||
padding-top: 3rem;
|
|
||||||
.field--name-title{
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.projet-body-print{
|
|
||||||
padding-top: 3rem ;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
.views-row{
|
||||||
|
.node-type-projet {
|
||||||
|
border-bottom:none;
|
||||||
}
|
}
|
||||||
}
|
margin-top: 3rem;
|
||||||
.path-projets-complets .views-row {
|
break-after: page ;
|
||||||
page-break-before: always;
|
|
||||||
break-before: page;
|
|
||||||
}
|
|
||||||
|
|
||||||
.path-projets-complets .views-row:first-child {
|
|
||||||
page-break-before: auto;
|
|
||||||
break-before: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.path-projets-complets .projet-header-print {
|
|
||||||
page-break-after: always;
|
page-break-after: always;
|
||||||
break-after: page;
|
|
||||||
|
.projet-header-print{
|
||||||
|
padding-top: 3rem;
|
||||||
|
.field--name-title{
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
.field--name-field-photo .field__item:nth-child(n+8) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.field--name-field-photo .image-field-caption {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.projet-body-print{
|
||||||
|
padding-top: 3rem ;
|
||||||
|
}
|
||||||
|
.paragraph{
|
||||||
|
break-inside: avoid;
|
||||||
|
page-break-inside: avoid;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.path-projets-complets .views-row {
|
||||||
|
page-break-before: always;
|
||||||
|
break-before: page;
|
||||||
|
}
|
||||||
|
|
||||||
|
.path-projets-complets .views-row:first-child {
|
||||||
|
page-break-before: auto;
|
||||||
|
break-before: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.path-projets-complets .projet-header-print {
|
||||||
|
page-break-after: always;
|
||||||
|
break-after: page;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -94,13 +94,13 @@
|
|||||||
|
|
||||||
<div class="projet-content"{{ content_attributes }}>
|
<div class="projet-content"{{ content_attributes }}>
|
||||||
{# {{ content }} #}
|
{# {{ content }} #}
|
||||||
<div class="print-header">
|
{# <div class="print-header">
|
||||||
<div class="print-header__text">
|
<div class="print-header__text">
|
||||||
ENGAGÉS POUR LA QUALITÉ<br>
|
ENGAGÉS POUR LA QUALITÉ<br>
|
||||||
DU LOGEMENT DE DEMAIN
|
DU LOGEMENT DE DEMAIN
|
||||||
</div>
|
</div>
|
||||||
<img src="{{ directory }}/images/sceau_excellence_def.png" alt="">
|
<img src="{{ directory }}/images/sceau_excellence_def.png" alt="">
|
||||||
</div>
|
</div> #}
|
||||||
|
|
||||||
{# <div class="projet-content"> #}
|
{# <div class="projet-content"> #}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user