offres de service

This commit is contained in:
2021-12-16 14:34:30 +01:00
parent c8a06d91b1
commit 5c3253b3c7
12 changed files with 576 additions and 149 deletions
@@ -1,31 +0,0 @@
.node-id-40{
background: url('../images/pictos/carre-contour-bleu_programme.svg');
background-repeat: no-repeat;
background-position-y: 7rem;
max-width: 100vw;
background-size: contain;
.layout__region--top{ //bandeau titre page static
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
background-color: $white !important;
color: $blue-light;
}
}
}
}
}
@@ -0,0 +1,26 @@
.path-ressources.annuairederecherche{
.layout-content{
.region-content{
#block-contenudelapageprincipale{
span{
padding-top: 3rem;
padding-bottom: 3rem;
vertical-align: middle;
h2{
margin: 0;
padding-top: 2rem;
height: 4rem;
color: $white;
font-family: "Source Code Pro";
text-transform: uppercase;
background: $blue-light;
// padding-left: 13%;
}
}
}
}
}
}
@@ -1,4 +1,4 @@
.path-ressources{
.path-ressources.basededonnees{
.layout-content{
.region-content{
@@ -1,16 +0,0 @@
.page-node-type-offre-de-service{
}
.node-type-offre_de_service{
display: flex;
.field--type-text-with-summary{
flex: 0 1 50%;
}
}
@@ -0,0 +1,177 @@
.path-ressources{
}
.offresdeservices{
.layout-content{
.region-content{
#block-contenudelapageprincipale{
span{
padding-top: 3rem;
padding-bottom: 3rem;
vertical-align: middle;
h2{
margin: 0;
padding-top: 2rem;
height: 4rem;
color: $white;
font-family: "Source Code Pro";
text-transform: uppercase;
background: $blue-light;
padding-left: 13%;
}
}
.layout--onecol{
.block-region-content{
background: url('../images/pictos/carre-contour-bleu_gouvernance.svg');
background-repeat: no-repeat;
background-position-y: 20vh;
max-width: 100vw;
background-size: contain;
// texte présentation
.block-config-pages-block{
margin: 2rem;
.field--name-field-introduction{
width: 65%;
margin: auto;
background: $white;
}
}
.block-views-blockoffres-de--block-1{
.view-display-id-block_1{
width: 65%;
margin: auto;
}
// bandeau filtes
.view-filters{
}
// grille offres
.view-content{
display: flex;
flex-wrap: wrap;
margin-top: 3rem;
.views-row{
width: 50%;
.node-type-offre_de_service{
// display: flex;
// flex-direction: column;
border: 2px solid $blue-light;
padding: 1rem;
height: fit-content;
margin-bottom: 1rem;
background-color: $white;
margin-right: 1rem;
height: 200px;
div:first-of-type{
display: grid;
grid-template-columns: 1fr auto 1fr;
grid-template-rows: repeat(6 auto);
.field--name-field-type-de-protagoniste{
grid-column: 1 / span 3;
grid-row: 1;
margin-bottom: 1rem;
text-transform: uppercase;
font-weight: 800;
font-size: 00.8rem;
}
.field--name-field-photo{
grid-column: 1;
grid-row: 2 / span 6;
margin-right: 1rem;
max-height: 170px;
img{
max-width: 100%;
object-fit: cover;
height: auto;
max-height: 95%;
}
}
.field--name-field-prenom{
grid-column: 2;
grid-row: 2;
padding-right: 0.5rem;
text-transform: uppercase;
font-weight: 800;
font-size: 1rem;
}
.field--name-field-nom{
grid-column: 3;
grid-row: 2;
text-transform: uppercase;
font-weight: 800;
font-size: 1rem;
}
.field--name-field-structure{
grid-column: 2 / span 3;
grid-row: 3;
text-transform: uppercase;
font-weight: 800;
font-size: 0.8rem;
}
.field--name-title{
grid-column: 2 / span 3;
grid-row: 4;
font-size: 1.3rem;
a{
color: $black;
}
}
.field--name-field-localisation{
grid-column: 2 / span 3;
grid-row: 5;
text-transform: uppercase;
font-weight: 800;
font-size: 00.8rem;
}
.field--name-field-date-de-proposition{
display: inline-flex;
grid-column: 2 / span 3;
grid-row: 6;
font-size: 0.8rem;
padding-top: 1rem;
justify-content: space-between;
align-items: center;
&::after{
content: url("../images/pictos/noun_Arrow_3771902.svg");
align-self: end;
}
}
}
}
}
}
}
}
}
}
}
}
}
@@ -1,7 +1,7 @@
.path-node.page-node-type-ressource{
.page-node-type-ressource{
#block-contenudelapageprincipale{
// #block-contenudelapageprincipale{
.layout__region--top{
.block-region-top{
@@ -278,5 +278,5 @@
}
}
// }
}
+3 -2
View File
@@ -31,8 +31,9 @@
@import "pages/_mentions-legales";
@import "pages/_basededonnees";
@import "pages/_ressource";
@import "pages/_offreDeService";
@import "pages/_annuaire-de-recherche";
@import "pages/_offresdeservices";
@import "pages/_offre";
@import "pages/_annuairederecherche";
/*partials*/