Files
d9-eql/web/themes/custom/eql/scss/pages/_faq.scss
T
2022-01-18 11:02:09 +01:00

219 lines
8.3 KiB
SCSS

.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: 6%;
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{
grid-column: 5;
grid-row: 1 /span 2;
height: fit-content;
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{
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,<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)" rotate="-45" fill="rgb(0,158,227)" stroke="rgb(0,158,227)" stroke-width="0.7"/></svg>');
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;
}
}
}
}
}
}
}