header print

This commit is contained in:
2026-04-09 14:59:16 +02:00
parent 6ebe96cfa2
commit 86135fb150
4 changed files with 128 additions and 83 deletions
+54 -24
View File
@@ -390,6 +390,22 @@ svg.ext {
.path-projets-complets span {
display: none;
}
.path-projets-complets .print-header {
display: none;
}
.path-projets-complets .print-header img {
width: 2cm;
height: auto;
}
.path-projets-complets .print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
color: rgb(9, 57, 139);
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
}
.path-projets-complets .node-type-projet {
border-bottom: 1px solid black;
padding-bottom: 5rem;
@@ -492,18 +508,23 @@ svg.ext {
}
.path-projets-complets .field--name-field-incube {
order: 4;
display: inline-flex;
width: fit-content;
background-color: rgb(225, 0, 15);
color: white;
font-weight: 800;
padding-right: 0.3rem;
padding-left: 0.2rem;
flex-direction: row;
margin-bottom: 1rem;
margin-top: 1rem;
}
.path-projets-complets .field--name-field-incube::before {
content: " Projet ";
padding-right: 0.5rem;
}
.path-projets-complets .field--name-field-incube .field__label {
display: inline;
}
.path-projets-complets .field--name-field-incube .field__item {
display: none;
}
@@ -512,30 +533,18 @@ svg.ext {
display: none;
}
.path-projets-complets .field--name-field-region {
order: 5;
width: 30%;
position: relative;
height: 80px;
text-align: center;
padding-right: 1rem;
}
@media (max-width: 479px) {
.path-projets-complets .field--name-field-region {
width: 100%;
}
}
.path-projets-complets .field--name-field-region .field__label {
display: none;
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 2rem;
}
.path-projets-complets .field--name-field-region::before {
content: url("../images/pictos/picto_lieu.svg");
min-width: 30px;
height: auto;
padding-right: 1rem;
position: absolute;
left: 0;
margin-top: 0.83em;
margin-left: 1rem;
content: "";
display: block;
width: 20px;
height: 20px;
background: url("../images/pictos/picto_lieu.svg") no-repeat center;
background-size: contain;
}
.path-projets-complets .field--name-field-type-de-moa {
order: 6;
@@ -593,6 +602,27 @@ svg.ext {
.path-projets-complets .layout-content {
width: 80vw;
}
.path-projets-complets .layout-content .print-header {
position: absolute;
top: 1cm;
right: 1cm;
display: flex;
align-items: center;
gap: 0.5rem;
}
.path-projets-complets .layout-content .print-header img {
width: 2cm;
height: auto;
}
.path-projets-complets .layout-content .print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
color: rgb(9, 57, 139);
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
}
.path-projets-complets .layout-content .views-row {
margin-top: 3rem;
break-after: page;
@@ -602,7 +632,7 @@ svg.ext {
padding-top: 3rem;
}
.path-projets-complets .layout-content .views-row .projet-header-print .field--name-title {
font-size: 1.5rem;
font-size: 1.2rem;
}
.path-projets-complets .layout-content .views-row .projet-body-print {
padding-top: 3rem;