.path-faq{
#block-contenudelapageprincipale{
h2{
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
color: $blue-light;
background-color: $white;
text-transform: uppercase;
width: fit-content;
margin-left: 10%;
margin-top: 8rem;
@media (max-width: 810px){
margin-left: 8%;
margin-right: 1%;
}
}
.block-region-content{
display: grid;
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
@media (max-width: 810px){
display: flex;
flex-direction: column;
margin: auto;
}
// texte
.block-config-pages.block-config-pages-block{
grid-column: 2 / span 3;
@media (max-width: 810px){
width: 80%;
margin: auto;
}
}
// bloc bleu déposer une question
.block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
///////////////// à activer le 19 février /////////////////
display: none;
//////////////////////////////////
grid-column: 5;
grid-row: 1 /span 2;
height: fit-content;
///////////////// à désactiver le 19 février /////////////////
// display: flex;
//////////////////////////////////
flex-direction: column;
max-width: fit-content;
margin-left: 2rem;
padding: 1rem;
background-color: $blue-light;
.field--name-field-lien{
&:before{
margin-top: 1rem;
display: block;
content: url("../images/pictos/picto_faq.svg");
}
text-align: center;
a{
font-size: 0.8rem;
font-weight: 1000;
color: $blue-dark;
text-transform: uppercase;
}
}
.field--name-field-description{
p{
display: flex;
flex-direction: column;
margin-top: 0;
margin-left: 1.5rem;
margin-right: 1.5rem;
text-align: center;
a{
font-weight: 800;
color: $white;
font-size: 1.3rem;
}
&:after{
margin-left: auto;
padding-top: 1rem;
display: block;
content:url("../images/pictos/noun_Arrow_3771902.svg")
}
}
}
@media (max-width: 810px){
margin: auto;
padding: 0rem;
.field--name-field-lien{
&:before{
margin-top: 1rem;
display: block;
content: url("../images/pictos/picto_faq_2.svg");
}
text-align: center;
a{
font-size: 0.8rem;
font-weight: 1000;
color: $blue-dark;
text-transform: uppercase;
}
}
}
}
.block-views-blockfaq-block-1{
margin-top: 2rem;
grid-column: 2 / span 3;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
@media (max-width: 810px){
width: 80%;
margin: auto;
margin-top: 1rem;
}
div:first-child{
grid-column: 1 / span 3;
// width: 70%;
// margin: auto;
.node-type-question_reponse{
border-bottom: 1px solid $blue-light;
padding-bottom: 2rem;
@media (max-width: 810px){
padding-bottom: 1rem;
}
.field--name-title{
display: none;
}
.field--name-field-question{
cursor: pointer;
p{
font-family: 'Source Code Pro' ;
font-weight: 500 ;
color: $blue-dark ;
font-size: 1.3rem;
&:after{
display:inline-flex;
content: url('data:image/svg+xml,');
// justify-self: flex-end;
float: right;
}
}
:hover {
&:after{
display:inline-flex;
content: url('data:image/svg+xml,');
// justify-self: flex-end;
float: right;
}
}
}
.field--name-field-reponse{
display: none;
}
.field--name-field-fichiers{
display: none;
span:nth-of-type(2){
display: none;
}
.file--mime-application-pdf{
span:nth-of-type(2){
display: none;
}
::before{
display: inline-block;
content: url("../images/pictos/noun_Download_file_307900.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem;
}
a{
display: inline-flex;
align-items: center;
color: $black;
font-weight: 800;
}
}
}
.field--name-field-liens{
display: none;
a{
&:before{
display: inline-block;
content: url("../images/pictos/noun_External Link_674151.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem;
}
display:flex;
flex-direction: row;
justify-content: left;
align-items: center;
color: $black;
font-weight: 800;
}
svg{
display: none;
}
}
.field--name-field-ress{
display: none;
margin-top: 0.5rem;
a{
color: $black;
text-decoration: underline;
font-weight: 800;
}
}
.opened{
display: block;
}
}
}
}
}
}
}