page 1 offre
This commit is contained in:
@@ -0,0 +1,293 @@
|
||||
.page-node-type-offre-de-service{
|
||||
|
||||
background: url('../images/pictos/carre-contour-bleu-offre.svg');
|
||||
background-repeat: no-repeat;
|
||||
background-position-y: 7rem;
|
||||
max-width: 100vw;
|
||||
background-size: contain;
|
||||
|
||||
// #block-contenudelapageprincipale{
|
||||
.layout__region--top{
|
||||
|
||||
.block-region-top{
|
||||
margin-top: 2rem;
|
||||
margin-left: 13%;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto 1fr;
|
||||
grid-template-rows: repeat(6 auto);
|
||||
|
||||
.block-entity-fieldnodefield-photo{
|
||||
width: fit-content;
|
||||
grid-column: 1;
|
||||
grid-row: 1 / span 6;
|
||||
width: 250px;
|
||||
height: 250px;
|
||||
margin-right: 2rem;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-prenom{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 2;
|
||||
grid-row: 1;
|
||||
padding-right: 0.5rem;
|
||||
text-transform: uppercase;
|
||||
font-weight: 900;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
.block-entity-fieldnodefield-nom{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 3;
|
||||
grid-row: 1;
|
||||
text-transform: uppercase;
|
||||
font-weight: 900;
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
.block-entity-fieldnodefield-structure{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 2 / span 3;
|
||||
grid-row: 2;
|
||||
text-transform: uppercase;
|
||||
font-weight: 800;
|
||||
font-size: 0.8rem;
|
||||
margin-top: 0.5rem;
|
||||
&::after{
|
||||
content:url('data:image/svg+xml,<svg width="160" height="30" xmlns="http://www.w3.org/2000/svg" version="1.1"> <line x1="0" x2="80" y1="20" y2="20" stroke-linecap="cube" stroke="rgb(0,158,227)" stroke-width="3"/></svg>');
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodetitle{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 2 / span 3;
|
||||
grid-row: 3;
|
||||
font-size: 2.5rem;
|
||||
font-family: "Source Code Pro";
|
||||
|
||||
a{
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
.block-entity-fieldnodefield-localisation{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 2 / span 3;
|
||||
grid-row: 4;
|
||||
text-transform: uppercase;
|
||||
font-weight: 800;
|
||||
font-size: 00.8rem;
|
||||
}
|
||||
.block-entity-fieldnodefield-date-de-proposition{
|
||||
background: $white;
|
||||
width: fit-content;
|
||||
grid-column: 2 / span 3;
|
||||
grid-row: 5;
|
||||
font-size: 0.8rem;
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.layout__region--second{ // paragraphe texte
|
||||
margin-top: 3rem;
|
||||
margin-left: 20%;
|
||||
margin-right: 2rem;
|
||||
.block-entity-fieldnodebody{
|
||||
.field--type-text-with-summary{
|
||||
background: $white;
|
||||
p{ margin: 0;}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.layout__region--third{ // colone de droite fichiers et ressources liées
|
||||
margin-top: 3rem;
|
||||
.block-region-third{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 70%;
|
||||
|
||||
.block-entity-fieldnodefield-courriel{
|
||||
background: $blue-light;
|
||||
color: $white;
|
||||
font-weight: 600;
|
||||
padding-top: 1rem;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.block-entity-fieldnodefield-telephone{
|
||||
background: $blue-light;
|
||||
color: $white;
|
||||
font-weight: 600;
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.block-entity-fieldnodefield-fichiers{
|
||||
height: fit-content;
|
||||
border: 2px solid $blue-light;
|
||||
background-color: $white;
|
||||
margin-top: 1rem;
|
||||
|
||||
}
|
||||
.field--name-field-fichiers{
|
||||
min-height: 4rem;
|
||||
background: $white;
|
||||
color: $blue-light;
|
||||
padding-left: 1rem;
|
||||
padding-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
span:nth-of-type(2){
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file--mime-application-pdf{
|
||||
height: inherit;
|
||||
margin: auto;
|
||||
::before{
|
||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||
min-width:50px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
a{
|
||||
hyphens: auto;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: $blue-light;
|
||||
font-weight: 800;
|
||||
// max-width: 80px ;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.block-entity-fieldnodefield-liens{
|
||||
margin-top: 1rem;
|
||||
.field--name-field-liens{
|
||||
.field__item{
|
||||
margin: auto;
|
||||
height: fit-content;
|
||||
border: 2px solid $blue-light;
|
||||
min-height: 4rem;
|
||||
background: $white;
|
||||
color: $blue-light;
|
||||
padding-left: 1rem;
|
||||
padding-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
a{
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: $blue-light;
|
||||
font-weight: 800;
|
||||
&::before{
|
||||
content: url("../images/pictos/noun_External Link_674151.svg");
|
||||
min-width: 50px;
|
||||
height: auto;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
svg.ext{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
.block-entity-fieldnodefield-ress{
|
||||
margin-top: 3rem;
|
||||
.field--name-field-ress{
|
||||
.field__label{
|
||||
font-size: 0.8rem;
|
||||
color: $black;
|
||||
font-weight: 900;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.node-type-ressource{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
border: 2px solid $blue-light;
|
||||
padding: 1rem;
|
||||
|
||||
height: fit-content;
|
||||
margin-bottom: 1rem;
|
||||
background-color: $white;
|
||||
&:first-of-type{
|
||||
border-top: 1px solid $blue-light;
|
||||
padding-top: 1rem;
|
||||
&::after{
|
||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||
align-self: end;
|
||||
}
|
||||
}
|
||||
.field--name-title{
|
||||
h2{
|
||||
margin: 0;
|
||||
}
|
||||
a{
|
||||
color: $black;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 600;
|
||||
|
||||
}
|
||||
}
|
||||
.field--name-field-auteur-s-{
|
||||
font-weight: 800;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-edition{
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
.field__label{
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
.field--name-field-images{
|
||||
display: none;
|
||||
width: 50%;
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
.field--name-field-type-de-ressource{
|
||||
display: inline-flex;
|
||||
margin-top: 2rem;
|
||||
background: $blue-dark;
|
||||
margin-right: 1rem;
|
||||
padding-left: 0.3rem;
|
||||
padding-right: 0.3rem;
|
||||
color: $white;
|
||||
font-weight: 800;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
|
||||
.path-ressources{
|
||||
|
||||
}
|
||||
.offresdeservices{
|
||||
.layout-content{
|
||||
.region-content{
|
||||
|
||||
Reference in New Issue
Block a user