Merge branch 'prod' of gogs-figureslibres.io:bachir/d9-eql into prod
This commit is contained in:
@@ -166,140 +166,149 @@ a {
|
|||||||
/*
|
/*
|
||||||
@import "pages/partials/header_footer";
|
@import "pages/partials/header_footer";
|
||||||
@import "pages/home";*/
|
@import "pages/home";*/
|
||||||
.layout__region--top .block-entity-fieldnodetitle {
|
.path-node.page-node-type-static .layout-container {
|
||||||
width: fit-content;
|
|
||||||
margin-left: 13%;
|
|
||||||
margin-top: 15vh; }
|
|
||||||
|
|
||||||
.layout__region--first .block-region-first {
|
|
||||||
display: flex;
|
|
||||||
justify-content: end; }
|
|
||||||
.layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
|
|
||||||
display: flex;
|
|
||||||
width: 50%;
|
|
||||||
background-color: white;
|
|
||||||
padding-right: 2rem; }
|
|
||||||
.layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
|
|
||||||
display: flex;
|
|
||||||
font-size: 1rem;
|
|
||||||
font-weight: 1000;
|
|
||||||
color: #09398b;
|
|
||||||
border-bottom: 1px solid #009ee3;
|
|
||||||
padding-bottom: 0.5rem;
|
|
||||||
padding-right: 1rem; }
|
|
||||||
.layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
|
|
||||||
text-decoration: underline; }
|
|
||||||
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes {
|
|
||||||
background-color: white; }
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes .field--name-field-titre {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
font-weight: 1000;
|
|
||||||
font-family: 'Source Code Pro';
|
|
||||||
color: #09398b;
|
|
||||||
text-transform: uppercase; }
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes h4 {
|
|
||||||
text-transform: none !important; }
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes h4 img {
|
|
||||||
width: 100%;
|
|
||||||
height: auto; }
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
|
|
||||||
padding-right: 2rem; }
|
|
||||||
.layout__region--second .block-entity-fieldnodefield-textes p {
|
|
||||||
margin-top: 0; }
|
|
||||||
|
|
||||||
.layout__region--third .block-region-third {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 70%; }
|
flex-flow: row wrap; }
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers {
|
.path-node.page-node-type-static .layout-container header {
|
||||||
height: fit-content;
|
flex: 0 0 100%; }
|
||||||
border: 2px solid #009ee3;
|
.path-node.page-node-type-static .layout-container main {
|
||||||
background-color: white; }
|
flex: 0 0 100%; }
|
||||||
.layout__region--third .block-region-third .field--name-field-fichiers {
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--top .block-entity-fieldnodetitle {
|
||||||
min-height: 4rem;
|
width: fit-content;
|
||||||
background: white;
|
margin-left: 13%;
|
||||||
color: #009ee3;
|
margin-top: 15vh; }
|
||||||
padding-left: 1rem;
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first {
|
||||||
padding-top: 1rem;
|
position: relative; }
|
||||||
margin-bottom: 1rem; }
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first {
|
||||||
.layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
|
display: flex;
|
||||||
display: none; }
|
justify-content: end;
|
||||||
.layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
|
position: sticky;
|
||||||
height: inherit;
|
top: 7rem; }
|
||||||
margin: auto; }
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
|
||||||
.layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
|
display: flex;
|
||||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
width: 50%;
|
||||||
min-width: 50px;
|
background-color: white;
|
||||||
height: auto;
|
padding-right: 2rem; }
|
||||||
padding-right: 1rem; }
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre {
|
||||||
.layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
|
display: flex;
|
||||||
hyphens: auto;
|
font-size: 1rem;
|
||||||
|
font-weight: 1000;
|
||||||
|
color: #09398b;
|
||||||
|
border-bottom: 1px solid #009ee3;
|
||||||
|
padding-bottom: 0.5rem;
|
||||||
|
padding-right: 1rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
|
||||||
|
text-decoration: underline; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes {
|
||||||
|
background-color: white; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--name-field-titre {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
font-weight: 1000;
|
||||||
|
font-family: 'Source Code Pro';
|
||||||
|
color: #09398b;
|
||||||
|
text-transform: uppercase; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes h4 {
|
||||||
|
text-transform: none !important; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes h4 img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
|
||||||
|
padding-right: 2rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--second .block-entity-fieldnodefield-textes p {
|
||||||
|
margin-top: 0; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 70%; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers {
|
||||||
|
height: fit-content;
|
||||||
|
border: 2px solid #009ee3;
|
||||||
|
background-color: white; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .field--name-field-fichiers {
|
||||||
|
min-height: 4rem;
|
||||||
|
background: white;
|
||||||
|
color: #009ee3;
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-top: 1rem;
|
||||||
|
margin-bottom: 1rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
|
||||||
|
display: none; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
|
||||||
|
height: inherit;
|
||||||
|
margin: auto; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
|
||||||
|
content: url("../images/pictos/noun_Download_file_307900.svg");
|
||||||
|
min-width: 50px;
|
||||||
|
height: auto;
|
||||||
|
padding-right: 1rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
|
||||||
|
hyphens: auto;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
color: #009ee3;
|
||||||
|
font-weight: 800; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
|
||||||
|
margin: auto;
|
||||||
|
height: fit-content;
|
||||||
|
border: 2px solid #009ee3;
|
||||||
|
min-height: 4rem;
|
||||||
|
background: white;
|
||||||
|
color: #009ee3;
|
||||||
|
padding-left: 1rem;
|
||||||
|
padding-top: 1rem;
|
||||||
|
margin-bottom: 1rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: #009ee3;
|
color: #009ee3;
|
||||||
font-weight: 800; }
|
font-weight: 800; }
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
|
||||||
margin: auto;
|
content: url("../images/pictos/noun_External Link_674151.svg");
|
||||||
height: fit-content;
|
min-width: 50px;
|
||||||
border: 2px solid #009ee3;
|
height: auto;
|
||||||
min-height: 4rem;
|
padding-right: 1rem; }
|
||||||
background: white;
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
|
||||||
color: #009ee3;
|
|
||||||
padding-left: 1rem;
|
|
||||||
padding-top: 1rem;
|
|
||||||
margin-bottom: 1rem; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a {
|
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
color: #009ee3;
|
|
||||||
font-weight: 800; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a::before {
|
|
||||||
content: url("../images/pictos/noun_External Link_674151.svg");
|
|
||||||
min-width: 50px;
|
|
||||||
height: auto;
|
|
||||||
padding-right: 1rem; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
|
|
||||||
display: none; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
|
|
||||||
margin-top: 3rem; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
|
|
||||||
font-size: 0.8rem;
|
|
||||||
color: black;
|
|
||||||
font-weight: 900; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
border: 2px solid #009ee3;
|
|
||||||
padding: 1rem;
|
|
||||||
height: fit-content;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
background-color: white; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
|
|
||||||
border-top: 1px solid #009ee3;
|
|
||||||
padding-top: 1rem; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after {
|
|
||||||
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
|
||||||
align-self: end; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a {
|
|
||||||
color: black;
|
|
||||||
font-size: 1.4rem;
|
|
||||||
font-weight: 600; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- {
|
|
||||||
font-weight: 800; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p {
|
|
||||||
margin: 0; }
|
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
|
|
||||||
display: none; }
|
display: none; }
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
|
||||||
margin: 0; }
|
margin-top: 3rem; }
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label {
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
|
||||||
display: none; }
|
font-size: 0.8rem;
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
|
color: black;
|
||||||
width: 50%; }
|
font-weight: 900; }
|
||||||
.layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource {
|
||||||
width: 100%;
|
display: flex;
|
||||||
height: auto; }
|
flex-direction: column;
|
||||||
|
border: 2px solid #009ee3;
|
||||||
|
padding: 1rem;
|
||||||
|
height: fit-content;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
background-color: white; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type {
|
||||||
|
border-top: 1px solid #009ee3;
|
||||||
|
padding-top: 1rem; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource:first-of-type::after {
|
||||||
|
content: url("../images/pictos/noun_Arrow_3771902.svg");
|
||||||
|
align-self: end; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-title a {
|
||||||
|
color: black;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
font-weight: 600; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- {
|
||||||
|
font-weight: 800; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- p {
|
||||||
|
margin: 0; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
|
||||||
|
display: none; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
|
||||||
|
margin: 0; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label {
|
||||||
|
display: none; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
|
||||||
|
width: 50%; }
|
||||||
|
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
|
||||||
|
width: 100%;
|
||||||
|
height: auto; }
|
||||||
|
|
||||||
.path-frontpage .block-region-content {
|
.path-frontpage .block-region-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
@@ -327,7 +336,7 @@ a {
|
|||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: #009ee3;
|
color: #009ee3;
|
||||||
line-height: 7rem;
|
line-height: 6.9rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin-bottom: 5rem;
|
margin-bottom: 5rem;
|
||||||
width: fit-content; }
|
width: fit-content; }
|
||||||
@@ -335,8 +344,7 @@ a {
|
|||||||
margin-top: 4rem;
|
margin-top: 4rem;
|
||||||
margin-bottom: 0; }
|
margin-bottom: 0; }
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-field-accroche span {
|
||||||
background-color: white;
|
background-color: white; }
|
||||||
line-height: 2rem; }
|
|
||||||
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
|
.path-frontpage .block-region-content .block-views-blockhome-nodes-block-1 .node-type-static div:first-child .field--name-title {
|
||||||
grid-column: 4;
|
grid-column: 4;
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
@@ -678,18 +686,18 @@ a {
|
|||||||
object-fit: cover; }
|
object-fit: cover; }
|
||||||
|
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first {
|
||||||
margin-top: 15rem; }
|
margin-top: 18rem; }
|
||||||
|
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second {
|
||||||
flex: 0 1 50%;
|
flex: 0 1 50%;
|
||||||
margin-top: 15rem; }
|
margin-top: 18rem; }
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second {
|
||||||
width: 90%; }
|
width: 90%; }
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodebody .panel-body #outputtext {
|
||||||
overflow-y: visible !important; }
|
overflow-y: visible !important; }
|
||||||
|
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third {
|
||||||
margin-top: 15rem; }
|
margin-top: 18rem; }
|
||||||
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third {
|
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third {
|
||||||
width: 65%; }
|
width: 65%; }
|
||||||
|
|
||||||
@@ -732,6 +740,14 @@ a {
|
|||||||
color: #009ee3;
|
color: #009ee3;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
text-transform: uppercase; }
|
text-transform: uppercase; }
|
||||||
|
.node-id-3 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
|
||||||
|
background: #009ee3 !important;
|
||||||
|
color: white !important; }
|
||||||
|
.node-id-3 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item a {
|
||||||
|
color: white !important; }
|
||||||
|
.node-id-3 .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
|
||||||
|
background: #009ee3;
|
||||||
|
color: white; }
|
||||||
.node-id-3 .block-entity-fieldnodefield-ress {
|
.node-id-3 .block-entity-fieldnodefield-ress {
|
||||||
margin-top: 3rem; }
|
margin-top: 3rem; }
|
||||||
.node-id-3 .block-entity-fieldnodefield-ress h2 {
|
.node-id-3 .block-entity-fieldnodefield-ress h2 {
|
||||||
@@ -1013,6 +1029,11 @@ a {
|
|||||||
background-color: #009ee3;
|
background-color: #009ee3;
|
||||||
text-transform: uppercase; }
|
text-transform: uppercase; }
|
||||||
|
|
||||||
|
.node-type-offre_de_service {
|
||||||
|
display: flex; }
|
||||||
|
.node-type-offre_de_service .field--type-text-with-summary {
|
||||||
|
flex: 0 1 50%; }
|
||||||
|
|
||||||
/*partials*/
|
/*partials*/
|
||||||
.layout-container {
|
.layout-container {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ function eql_preprocess_node(&$variables){
|
|||||||
// // $variables['counter'] = $counter++;
|
// // $variables['counter'] = $counter++;
|
||||||
// $variables['elements']['#paragraph']->item_id;
|
// $variables['elements']['#paragraph']->item_id;
|
||||||
// }
|
// }
|
||||||
// la fonction suivante ne sert à rien
|
// la fonction suivante ne fonctionne pas
|
||||||
// function eql_preprocess_field(&$variables) {
|
// function eql_preprocess_field(&$variables) {
|
||||||
|
|
||||||
// $paragraph = &$variables['paragraph'];
|
// $paragraph = &$variables['paragraph'];
|
||||||
|
|||||||
@@ -24,8 +24,6 @@ for (let i = 0; i < questions.length; i++) {
|
|||||||
const question = questions[i]
|
const question = questions[i]
|
||||||
question.addEventListener("click", toggleFaq);
|
question.addEventListener("click", toggleFaq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function toggleFaq(event) {
|
function toggleFaq(event) {
|
||||||
console.log(event, this);
|
console.log(event, this);
|
||||||
// fermé tout
|
// fermé tout
|
||||||
@@ -41,6 +39,31 @@ function toggleFaq(event) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// function toggleFaq(event) {
|
||||||
|
// console.log(event);
|
||||||
|
// for (let i = 0; i < answers.length; i++) {
|
||||||
|
// const answer = answers[i]
|
||||||
|
// answer.classList.toggle('opened');}
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
// /////////////////
|
||||||
|
|
||||||
|
// document.addEventListener('click', function(e) {
|
||||||
|
// if (e.target.classList.contains('rect_white_left') {
|
||||||
|
// e.target.parentNode.nextElementSibling...
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
|
||||||
|
///////////////////
|
||||||
|
|
||||||
|
// document.addEventListener('click', function(e) {
|
||||||
|
// if (e.target.classList.contains('rect_white_left') {
|
||||||
|
// e.target.parentNode.nextElementSibling.classList.toggle('opened');}
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
// fonction pour attribuer la class du parents
|
// fonction pour attribuer la class du parents
|
||||||
|
|
||||||
// var fields = document.getElementsByClassName("field--name-field-titre");
|
// var fields = document.getElementsByClassName("field--name-field-titre");
|
||||||
|
|||||||
@@ -56,12 +56,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.layout__region--first{
|
.layout__region--first{
|
||||||
margin-top: 15rem;
|
margin-top: 18rem;
|
||||||
}
|
}
|
||||||
.layout__region--second{
|
.layout__region--second{
|
||||||
// grid-row: 3;
|
// grid-row: 3;
|
||||||
flex: 0 1 50%;
|
flex: 0 1 50%;
|
||||||
margin-top: 15rem;
|
margin-top: 18rem;
|
||||||
.block-region-second{
|
.block-region-second{
|
||||||
width: 90%;
|
width: 90%;
|
||||||
.block-entity-fieldnodebody{
|
.block-entity-fieldnodebody{
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
|
|
||||||
.layout__region--third{
|
.layout__region--third{
|
||||||
// grid-row: 4;
|
// grid-row: 4;
|
||||||
margin-top: 15rem;
|
margin-top: 18rem;
|
||||||
.block-region-third{
|
.block-region-third{
|
||||||
width: 65%;
|
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{
|
.block-entity-fieldnodefield-ress{
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
font-size: 5rem;
|
font-size: 5rem;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
color: $blue-light;
|
color: $blue-light;
|
||||||
line-height: 7rem;
|
line-height: 6.9rem;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin-bottom: 5rem;
|
margin-bottom: 5rem;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
span {
|
span {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
line-height: 2rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
|
||||||
|
.page-node-type-offre-de-service{
|
||||||
|
|
||||||
|
}
|
||||||
|
.node-type-offre_de_service{
|
||||||
|
|
||||||
|
display: flex;
|
||||||
|
|
||||||
|
|
||||||
|
.field--type-text-with-summary{
|
||||||
|
flex: 0 1 50%;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,215 +1,236 @@
|
|||||||
|
.path-node.page-node-type-static{
|
||||||
|
.layout-container{
|
||||||
.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{
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 70%;
|
flex-flow: row wrap;
|
||||||
.block-entity-fieldnodefield-fichiers{
|
header{
|
||||||
height: fit-content;
|
flex: 0 0 100%;
|
||||||
border: 2px solid $blue-light;
|
|
||||||
background-color: $white;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
.field--name-field-fichiers{
|
main{
|
||||||
min-height: 4rem;
|
flex: 0 0 100%;
|
||||||
background: $white;
|
.layout-content{
|
||||||
color: $blue-light;
|
// padding-top: 0;
|
||||||
padding-left: 1rem;
|
.layout__region--top{ //bandeau titre page static
|
||||||
padding-top: 1rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
|
|
||||||
span:nth-of-type(2){
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.file--mime-application-pdf{
|
.block-entity-fieldnodetitle{
|
||||||
height: inherit;
|
width: fit-content;
|
||||||
margin: auto;
|
margin-left: 13%;
|
||||||
::before{
|
margin-top: 15vh;
|
||||||
content: url("../images/pictos/noun_Download_file_307900.svg");
|
}
|
||||||
min-width:50px;
|
// .block-entity-fieldnodefield-images{
|
||||||
height: auto;
|
// display: none;
|
||||||
padding-right: 1rem;
|
// height: inherit;
|
||||||
|
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
a{
|
|
||||||
hyphens: auto;
|
.layout__region--first{ // menu ancres a gauche
|
||||||
display: inline-flex;
|
position: relative;
|
||||||
align-items: center;
|
.block-region-first{
|
||||||
color: $blue-light;
|
display: flex;
|
||||||
font-weight: 800;
|
justify-content: end;
|
||||||
// max-width: 80px ;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
.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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -29,7 +29,9 @@
|
|||||||
@import "pages/_contact";
|
@import "pages/_contact";
|
||||||
@import "pages/_faq";
|
@import "pages/_faq";
|
||||||
@import "pages/_mentions-legales";
|
@import "pages/_mentions-legales";
|
||||||
|
@import "pages/_toutesressources";
|
||||||
|
@import "pages/_ressource";
|
||||||
|
@import "pages/_offreDeService";
|
||||||
|
|
||||||
/*partials*/
|
/*partials*/
|
||||||
@import "partials/_header";
|
@import "partials/_header";
|
||||||
|
|||||||
Reference in New Issue
Block a user