bouton foire aux questions home

This commit is contained in:
2021-11-29 13:18:02 +01:00
parent c51801bf1f
commit 054e9dcaf2
3 changed files with 124 additions and 29 deletions
+59 -21
View File
@@ -298,7 +298,46 @@ a {
.block-views-blockhome-nodes-block-1 .links.inline a:after { .block-views-blockhome-nodes-block-1 .links.inline a:after {
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); } content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
.block-block-content.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca .field--type-link {
justify-self: end;
position: relative;
width: fit-content;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: white;
border: 2px solid #009ee3;
list-style: none; }
.block-block-content.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca .field--type-link a {
text-transform: uppercase;
font-weight: 700;
color: #009ee3; }
.block-block-content.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca .field--type-link a::after {
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
.block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483 {
background-color: #009ee3;
width: 25%;
float: right; }
.block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483 .field--name-field-lien.field--type-link {
align-self: flex-end;
width: fit-content;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
list-style: none; }
.block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483 .field--name-field-lien.field--type-link a {
text-transform: uppercase;
font-weight: 700;
color: black; }
.block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483 p {
color: white;
font-size: 1.2rem; }
.block-views-blockactus-blocks-pages-block-1 { .block-views-blockactus-blocks-pages-block-1 {
clear: both;
border-bottom: 5px solid #009ee3; border-bottom: 5px solid #009ee3;
border-top: 5px solid #009ee3; } border-top: 5px solid #009ee3; }
.block-views-blockactus-blocks-pages-block-1 .view-content { .block-views-blockactus-blocks-pages-block-1 .view-content {
@@ -353,31 +392,30 @@ a {
.block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-actu-type { .block-views-blockactus-blocks-pages-block-1 .view-content .node-type-actualite .field--name-field-actu-type {
padding-top: 2rem; } padding-top: 2rem; }
.layout--onecol .block-block-content { .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 {
display: grid; display: grid;
grid-template-columns: 1fr repeat(8, 2fr) 1fr; grid-template-columns: 1fr repeat(8, 2fr) 1fr;
position: relative; position: relative;
height: 0; } height: 0; }
.block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 .field--type-link {
.layout--onecol .field--type-link { grid-area: 8 / span 9;
grid-area: 8 / span 9; justify-self: end;
justify-self: end; position: relative;
position: relative; top: -200%;
top: -200%; width: fit-content;
width: fit-content; height: fit-content;
height: fit-content; padding: 0.4rem 1rem;
padding: 0.4rem 1rem; font-size: 0.8rem;
font-size: 0.8rem; margin: 0;
margin: 0; background-color: white;
background-color: white; border: 2px solid #009ee3;
border: 2px solid #009ee3; list-style: none; }
list-style: none; } .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 .field--type-link a {
.layout--onecol .field--type-link a { text-transform: uppercase;
text-transform: uppercase; font-weight: 700;
font-weight: 700; color: #009ee3; }
color: #009ee3; } .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2 .field--type-link a::after {
.layout--onecol .field--type-link a::after { content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>'); }
.view-display-id-block_2:is(.view-id-home_nodes) { .view-display-id-block_2:is(.view-id-home_nodes) {
padding-top: 2rem; padding-top: 2rem;
+64 -7
View File
@@ -74,11 +74,67 @@
} }
} }
} }
.block-block-content.block-block-content9448ca2a-90e3-488b-89cf-8ec6a986a9ca{
.field--type-link {
justify-self: end;
position: relative;
width: fit-content;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
background-color: $white;
border: 2px solid $blue-light;
list-style: none;
a{
text-transform: uppercase;
font-weight: 700;
color: $blue-light;
}
a::after{
content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
}
}
}
// bouton foire aux questions
.block-block-content.block-block-content1bb9024b-d95f-4137-894c-362abf10a483{
background-color: $blue-light;
width: 25%;
float: right;
.field--name-field-lien.field--type-link{
align-self: flex-end;
width: fit-content;
height: fit-content;
padding: 0.4rem 1rem;
font-size: 0.8rem;
margin: 0;
list-style: none;
a{
text-transform: uppercase;
font-weight: 700;
color: $black;
// &:after{
// // display: block;
// content: url('data:image/svg+xml,<svg width="40" height="20" xmlns="http://www.w3.org/2000/svg" version="1.1"><polyline points="71.9,49 24.3,49 24.3,51 71.9,51 58.1,64.8 59.5,66.2 75.7,50 59.5,33.8 58.1,35.2" transform="scale(0.5) translate(0,-25)" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
// }
}
}
p{
color: $white;
font-size: 1.2rem;
}
}
// bandeau actus // bandeau actus
.block-views-blockactus-blocks-pages-block-1{ .block-views-blockactus-blocks-pages-block-1{
clear: both;
border-bottom: 5px solid $blue-light; border-bottom: 5px solid $blue-light;
border-top: 5px solid $blue-light; border-top: 5px solid $blue-light;
.view-content{ .view-content{
@@ -147,13 +203,13 @@
// bouton voir toutes actus du bandeau bleu // bouton voir toutes actus du bandeau bleu
.layout--onecol{ // .layout--onecol{
.block-block-content{ .block-block-content.block-block-content3ee1f633-aaa7-4b4c-a42a-02206e26d3a2{
display: grid; display: grid;
grid-template-columns: 1fr repeat(8, 2fr) 1fr; grid-template-columns: 1fr repeat(8, 2fr) 1fr;
position: relative; position: relative;
height: 0; height: 0;
}
.field--type-link { .field--type-link {
grid-area: 8 / span 9; grid-area: 8 / span 9;
justify-self: end; justify-self: end;
@@ -180,6 +236,7 @@
} }
} }
} }
// }
// boutons en savoir plus pour lien vers pages statiques // boutons en savoir plus pour lien vers pages statiques