faq design

This commit is contained in:
2021-11-29 23:10:31 +01:00
parent e812fda99d
commit 438a3e5430
6 changed files with 149 additions and 45 deletions
+56 -21
View File
@@ -298,8 +298,6 @@ a {
.block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-images img {
width: 100vw;
height: auto; }
.block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche {
display: none; }
.block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
grid-column: 2;
grid-row: 1; }
@@ -700,18 +698,59 @@ a {
.block-views-blockfaq-block-1 div:first-child {
grid-column: 2 / span 3; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse {
border-bottom: 1px solid #009ee3; }
.block-views-blockfaq-block-1 div:first-child .field--name-title {
display: none; }
.block-views-blockfaq-block-1 div:first-child .field--name-field-question p {
font-family: 'Source Code Pro';
font-weight: 500;
color: #09398b;
font-size: 1.5rem; }
.block-views-blockfaq-block-1 div:first-child .field--name-field-question p:after {
border-bottom: 1px solid #009ee3;
padding-bottom: 2rem; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-title {
display: none; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-question p {
font-family: 'Source Code Pro';
font-weight: 500;
color: #09398b;
font-size: 1.5rem; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-question p: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; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-reponse .panel-heading {
display: none; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .opened {
display: block; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-fichiers span:nth-of-type(2) {
display: none; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-fichiers .file--mime-application-pdf span:nth-of-type(2) {
display: none; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-fichiers .file--mime-application-pdf ::before {
display: inline-block;
content: url("../images/pictos/noun_Download_file_307900.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-fichiers .file--mime-application-pdf a {
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; }
align-items: center;
color: black;
font-weight: 800; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-liens a {
display: flex;
flex-direction: row;
justify-content: left;
align-items: center;
color: black;
font-weight: 800; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-liens a:before {
display: inline-block;
content: url("../images/pictos/noun_External Link_674151.svg");
width: 30px;
height: 30px;
padding-right: 0.8rem; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-liens svg {
display: none; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-ress {
margin-top: 0.5rem; }
.block-views-blockfaq-block-1 div:first-child .node-type-question_reponse .field--name-field-ress a {
color: black;
text-decoration: underline;
font-weight: 800; }
/*partials*/
.layout-container {
@@ -772,10 +811,12 @@ header {
display: none; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) {
display: block;
background-color: #009ee3;
background-color: white;
padding: 1rem; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) a {
color: white; }
color: black; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) a:hover {
color: #009ee3; }
#header-top #block-burger {
z-index: 1;
background-color: #009ee3;
@@ -837,9 +878,6 @@ header {
margin-top: 0;
color: #09398b;
font-size: 1.2rem; }
#fotter-bottom .region img {
max-width: 5rem;
max-height: 5rem; }
#fotter-bottom .region-footer-bottom-left {
width: 35%;
border: none; }
@@ -862,6 +900,3 @@ header {
#fotter-bottom .view-id-partenaires .view-content .node-type-partenaires_logo_footer_ {
padding-right: 1rem;
padding-bottom: 1rem; }
#fotter-bottom .block-views-blockpartenaires-block-2 img {
filter: grayscale(100%);
-webkit-filter: grayscale(100%); }