twig header print

This commit is contained in:
2026-05-21 19:42:45 +02:00
parent 8cbd6e4acd
commit a36758e0d3
5 changed files with 188 additions and 289 deletions
@@ -4,8 +4,8 @@
left: inherit !important;
}
.layout-content{
width: 80vw;
margin: auto;
// width: 90vw;
// margin: auto;
}
// =========================
@@ -19,27 +19,10 @@
display: none;
}
// .print-header img {
// width: 2cm;
// height: auto;
// }
.print-header__text {
text-transform: uppercase;
font-family: "Source Code Pro";
color: $blue-dark;
font-size: 0.8rem;
font-weight: 500;
text-transform: uppercase;
text-align: end;
}
///// bouton print //////
.view-header{
position: fixed;
right: 0;
margin-right: 2rem;
@@ -56,12 +39,10 @@
.view-projets{
margin-top: 4rem !important;
margin-bottom: 4rem !important;
///// filtres ///////////
.buttons-filtres-ressources{display: none;}
// width: 80%;
width: 80%;
margin: auto;
.view-filters{
margin-top: 4rem;
@@ -190,53 +171,13 @@
}
.field--name-field-etape-du-projet,
.field--name-field-type-de-projet,
.field--name-field-type-de-moa {
margin-bottom: 1rem;
a {
color: black;
}
.field__label {
width: fit-content;
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 0 !important;
flex-direction: row;
&::after {
content: ':';
padding-left: 0.5rem;
}
}
.field__item{
width: fit-content;
}
}
.field--name-field-textes{
margin-top: 2rem;
.field__label{
display: none !important;
}
ul{margin-top: 0;}
p{margin-top: 0;}
.paragraph--type--texte{
margin-top: 1.5rem;
.field--name-field-titre{
margin-bottom: 1rem;
}
}
}
///// ///////////
// ///// ///////////
// @media screen {
@media screen {
// .node-type-projet {
// visibility: hidden;
// }
// }
}
}
}
@@ -251,19 +251,7 @@
display: none;
}
.field--name-field-titre {
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 0 !important;
flex-direction: row;
&::after {
content: ' :';
padding-left: 0.5rem;
}
}
}
.field--name-field-etape-du-projet,
@@ -354,3 +342,56 @@
}
.field--name-field-etape-du-projet,
.field--name-field-type-de-projet,
.field--name-field-type-de-moa {
margin-bottom: 1rem;
a {
color: black;
}
.field__label {
width: fit-content;
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 0 !important;
flex-direction: row;
&::after {
content: ':';
padding-left: 0.5rem;
}
}
.field__item{
width: fit-content;
}
}
.field--name-field-textes{
margin-top: 2rem;
.field__label{
display: none !important;
}
.field--name-field-titre {
color: $blue-dark;
font-size: 1.2rem;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 0 !important;
flex-direction: row;
&::after {
content: ' :';
padding-left: 0.5rem;
}
}
ul{margin-top: 0;}
p{margin-top: 0;}
.paragraph--type--texte{
margin-top: 1.5rem;
.field--name-field-titre{
margin-bottom: 1rem;
}
}
}