bouton bleu ami, margin actu

This commit is contained in:
2021-12-13 12:44:25 +01:00
parent c6bb7ea76c
commit ca1975225e
8 changed files with 421 additions and 342 deletions
@@ -56,12 +56,12 @@
}
}
.layout__region--first{
margin-top: 15rem;
margin-top: 18rem;
}
.layout__region--second{
// grid-row: 3;
flex: 0 1 50%;
margin-top: 15rem;
margin-top: 18rem;
.block-region-second{
width: 90%;
.block-entity-fieldnodebody{
@@ -77,7 +77,7 @@
.layout__region--third{
// grid-row: 4;
margin-top: 15rem;
margin-top: 18rem;
.block-region-third{
width: 65%;
@@ -28,7 +28,31 @@
}
}
.layout__region--third{ // colone de droite fichiers et ressources liées
.block-region-third{
.block-entity-fieldnodefield-liens{
.field--name-field-liens{
.field__item{
background: $blue-light !important;
color: $white !important;
a{
color: $white !important;
}
}
}
}
}
}
.block-entity-fieldnodefield-liens{
.field--name-field-liens{
.field__item{
background: $blue-light;
color: $white;
}
}
}
.block-entity-fieldnodefield-ress{
margin-top: 3rem;
@@ -1,6 +1,16 @@
.page-node-type-offre-de-service{
}
.node-type-offre_de_service{
display: grid;
display: flex;
.field--type-text-with-summary{
flex: 0 1 50%;
}
}
+228 -207
View File
@@ -1,215 +1,236 @@
.layout__region--top{ //bandeau titre page static
.block-entity-fieldnodetitle{
width: fit-content;
margin-left: 13%;
margin-top: 15vh;
}
// .block-entity-fieldnodefield-images{
// display: none;
// height: inherit;
// }
}
.layout__region--first{ // menu ancres a gauche
.block-region-first{
display: flex;
justify-content: end;
.block-entity-fieldnodefield-textes{
display: flex;
width: 50%;
background-color: $white;
padding-right: 2rem;
.field--name-field-titre{
display: flex;
font-size: 1rem;
font-weight: 1000;
color: $blue-dark;
border-bottom: 1px solid $blue-light;
padding-bottom: 0.5rem;
padding-right: 1rem;
&:hover{
text-decoration: underline;
}
}
}
}
}
.layout__region--second{ // paragraphe texte
.block-entity-fieldnodefield-textes{
background-color: $white;
.field--name-field-titre{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
}
h4{
text-transform: none !important;
img{
width: 100%;
height: auto;
}
}
.field--type-text-long{
padding-right: 2rem;
}
p{
margin-top: 0;
}
}
}
.layout__region--third{ // colone de droite fichiers et ressources liées
.block-region-third{
.path-node.page-node-type-static{
.layout-container{
display: flex;
flex-direction: column;
width: 70%;
.block-entity-fieldnodefield-fichiers{
height: fit-content;
border: 2px solid $blue-light;
background-color: $white;
}
.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;
flex-flow: row wrap;
header{
flex: 0 0 100%;
}
main{
flex: 0 0 100%;
.layout-content{
// padding-top: 0;
.layout__region--top{ //bandeau titre page static
.block-entity-fieldnodetitle{
width: fit-content;
margin-left: 13%;
margin-top: 15vh;
}
// .block-entity-fieldnodefield-images{
// display: none;
// height: inherit;
// }
}
.layout__region--first{ // menu ancres a gauche
position: relative;
.block-region-first{
display: flex;
justify-content: end;
position: sticky;
top: 7rem;
.block-entity-fieldnodefield-textes{
display: flex;
width: 50%;
background-color: $white;
padding-right: 2rem;
.field--name-field-titre{
display: flex;
font-size: 1rem;
font-weight: 1000;
color: $blue-dark;
border-bottom: 1px solid $blue-light;
padding-bottom: 0.5rem;
padding-right: 1rem;
&:hover{
text-decoration: underline;
}
}
}
}
}
.layout__region--second{ // paragraphe texte
.block-entity-fieldnodefield-textes{
background-color: $white;
.field--name-field-titre{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
}
h4{
text-transform: none !important;
img{
width: 100%;
height: auto;
}
}
.field--type-text-long{
padding-right: 2rem;
}
p{
margin-top: 0;
}
}
}
.layout__region--third{ // colone de droite fichiers et ressources liées
.block-region-third{
display: flex;
flex-direction: column;
width: 70%;
.block-entity-fieldnodefield-fichiers{
height: fit-content;
border: 2px solid $blue-light;
background-color: $white;
}
.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{
.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;
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.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{
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{
width: 50%;
img{
width: 100%;
height: auto;
}
}
}
}
}
}
}
.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{
.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;
h2{
font-size: 0.8rem;
color: $black;
font-weight: 900;
}
.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{
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{
width: 50%;
img{
width: 100%;
height: auto;
}
}
}
}
}
}
+3 -1
View File
@@ -29,7 +29,9 @@
@import "pages/_contact";
@import "pages/_faq";
@import "pages/_mentions-legales";
@import "pages/_toutesressources";
@import "pages/_ressource";
@import "pages/_offreDeService";
/*partials*/
@import "partials/_header";