Merge branch 'master' of gogs-figureslibres.io:bachir/d9-eql

This commit is contained in:
2021-12-14 12:15:08 +01:00
14 changed files with 767 additions and 243 deletions
+359 -161
View File
@@ -99,7 +99,15 @@
top: 0%; top: 0%;
left: 0%; left: 0%;
width: 100%; width: 100%;
overflow: hidden; } overflow: hidden;
display: flex;
flex-flow: row wrap; }
.layout-container header {
flex: 0 0 100%; }
.layout-container main {
position: relative; }
.layout-container footer {
flex: 0 0 100%; }
.layout-content { .layout-content {
padding-top: 7rem; padding-top: 7rem;
@@ -114,6 +122,9 @@
.path-faq { .path-faq {
margin: 0; } margin: 0; }
.path-ressources {
margin: 0; }
.main-content { .main-content {
margin-top: 7rem; } margin-top: 7rem; }
@@ -166,149 +177,152 @@ a {
/* /*
@import "pages/partials/header_footer"; @import "pages/partials/header_footer";
@import "pages/home";*/ @import "pages/home";*/
.path-node.page-node-type-static .layout-container { .path-node.page-node-type-static .layout-container .layout-content .layout__region--top {
padding-bottom: 3rem;
height: 30vh; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--top .block-entity-fieldnodetitle {
width: fit-content;
margin-left: 13%;
margin-top: 15vh; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--top .block-entity-fieldnodetitle .field--name-title {
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
text-transform: uppercase; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--first {
position: relative; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--first .block-region-first {
display: flex;
justify-content: end;
position: sticky;
top: 7rem; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--first .block-region-first .block-entity-fieldnodefield-textes {
display: flex;
width: 50%;
background-color: white;
padding-right: 2rem; }
.path-node.page-node-type-static .layout-container .layout-content .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; }
.path-node.page-node-type-static .layout-container .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 .layout-content .layout__region--second .block-entity-fieldnodefield-textes {
background-color: white; }
.path-node.page-node-type-static .layout-container .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 .layout-content .layout__region--second .block-entity-fieldnodefield-textes h4 {
text-transform: none !important; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes h4 img {
width: 100%;
height: auto; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
padding-right: 2rem; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes p {
margin-top: 0; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex-flow: row wrap; } width: 70%; }
.path-node.page-node-type-static .layout-container header { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-fichiers {
flex: 0 0 100%; } height: fit-content;
.path-node.page-node-type-static .layout-container main { border: 2px solid #009ee3;
flex: 0 0 100%; } background-color: white; }
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--top .block-entity-fieldnodetitle { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers {
width: fit-content; min-height: 4rem;
margin-left: 13%; background: white;
margin-top: 15vh; } color: #009ee3;
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first { padding-left: 1rem;
position: relative; } padding-top: 1rem;
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first { margin-bottom: 1rem; }
display: flex; .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
justify-content: end; display: none; }
position: sticky; .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
top: 7rem; } height: inherit;
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--first .block-region-first .block-entity-fieldnodefield-textes { margin: auto; }
display: flex; .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf ::before {
width: 50%; content: url("../images/pictos/noun_Download_file_307900.svg");
background-color: white; min-width: 50px;
padding-right: 2rem; } height: auto;
.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 { padding-right: 1rem; }
display: flex; .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf a {
font-size: 1rem; hyphens: auto;
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; }
.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 { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
content: url("../images/pictos/noun_External Link_674151.svg"); margin: auto;
min-width: 50px; height: fit-content;
height: auto; border: 2px solid #009ee3;
padding-right: 1rem; } min-height: 4rem;
.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 { background: white;
color: #009ee3;
padding-left: 1rem;
padding-top: 1rem;
margin-bottom: 1rem; }
.path-node.page-node-type-static .layout-container .layout-content .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; }
.path-node.page-node-type-static .layout-container .layout-content .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; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
display: none; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
margin-top: 3rem; }
.path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
font-size: 0.8rem;
color: black;
font-weight: 900; }
.path-node.page-node-type-static .layout-container .layout-content .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; }
.path-node.page-node-type-static .layout-container .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 .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 .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 .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 .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 .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-auteur-s- .field__label {
display: none; } display: none; }
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition p {
margin-top: 3rem; } margin: 0; }
.path-node.page-node-type-static .layout-container main .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-edition .field__label {
font-size: 0.8rem; display: none; }
color: black; .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
font-weight: 900; } 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 { .path-node.page-node-type-static .layout-container .layout-content .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
display: flex; width: 100%;
flex-direction: column; height: auto; }
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;
@@ -686,20 +700,144 @@ 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 {
display: flex;
justify-content: end;
margin-top: 18rem; } margin-top: 18rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes {
display: flex;
width: 50%;
background-color: white;
padding-right: 2rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__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; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--first .block-entity-fieldnodefield-textes .field--name-field-titre:hover {
text-decoration: underline; }
.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: 18rem; } 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-fieldnodefield-textes {
background-color: white; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-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-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 {
text-transform: none !important; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes h4 img {
width: 100%;
height: auto; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes .field--type-text-long {
padding-right: 2rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--second .block-region-second .block-entity-fieldnodefield-textes p {
margin-top: 0; }
.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: 18rem; } 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 {
display: flex;
flex-direction: column;
width: 65%; } width: 65%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers span:nth-of-type(2) {
display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .field--name-field-fichiers .file--mime-application-pdf {
height: inherit;
margin: auto; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens a svg.ext {
display: none; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress {
margin-top: 3rem; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress h2 {
font-size: 0.8rem;
color: black;
font-weight: 900; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .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-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images {
width: 50%; }
.path-node.page-node-type-actualite .layout--threecol-25-50-25 .layout__region--third .block-region-third .block-entity-fieldnodefield-ress .node-type-ressource .field--name-field-images img {
width: 100%;
height: auto; }
.node-id-35 .region-content { .node-id-35 .region-content {
background: url("../images/pictos/carre-contour-bleu_gouvernance.svg"); background: url("../images/pictos/carre-contour-bleu_gouvernance.svg");
@@ -722,24 +860,17 @@ a {
text-transform: uppercase; } text-transform: uppercase; }
.node-id-3 { .node-id-3 {
background: url("../images/pictos/carre_site.mp4"); background: url("../images/pictos/carre-contour-bleu_programme.svg");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position-y: 7rem; background-position-y: 7rem;
max-width: 100vw; max-width: 100vw;
background-size: contain; } background-size: contain; }
.node-id-3 .layout__region--top { .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
padding-bottom: 3rem; display: none;
height: 30vh; } height: inherit; }
.node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodefield-images { .node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
display: none; color: #009ee3;
height: inherit; } background-color: white; }
.node-id-3 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
color: #009ee3;
background-color: white;
text-transform: uppercase; }
.node-id-3 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item { .node-id-3 .layout__region--third .block-region-third .block-entity-fieldnodefield-liens .field--name-field-liens .field__item {
background: #009ee3 !important; background: #009ee3 !important;
color: white !important; } color: white !important; }
@@ -924,6 +1055,11 @@ a {
grid-column: 2 / span 3; } grid-column: 2 / span 3; }
.path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 { .path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 {
grid-column: 5; grid-column: 5;
display: flex;
flex-direction: column;
max-width: fit-content;
margin-left: 2rem;
padding: 1rem;
background-color: #009ee3; } background-color: #009ee3; }
.path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-lien { .path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-lien {
text-align: center; } text-align: center; }
@@ -937,6 +1073,8 @@ a {
color: #09398b; color: #09398b;
text-transform: uppercase; } text-transform: uppercase; }
.path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-description p { .path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-description p {
display: flex;
flex-direction: column;
margin-top: 0; margin-top: 0;
margin-left: 1.5rem; margin-left: 1.5rem;
margin-right: 1.5rem; margin-right: 1.5rem;
@@ -946,6 +1084,8 @@ a {
color: white; color: white;
font-size: 1.3rem; } font-size: 1.3rem; }
.path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-description p:after { .path-faq #block-contenudelapageprincipale .block-region-content .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398 .field--name-field-description p:after {
margin-left: auto;
padding-top: 1rem;
display: block; display: block;
content: url("../images/pictos/noun_Arrow_3771902.svg"); } content: url("../images/pictos/noun_Arrow_3771902.svg"); }
.path-faq #block-contenudelapageprincipale .block-region-content .block-views-blockfaq-block-1 { .path-faq #block-contenudelapageprincipale .block-region-content .block-views-blockfaq-block-1 {
@@ -1029,19 +1169,62 @@ a {
background-color: #009ee3; background-color: #009ee3;
text-transform: uppercase; } text-transform: uppercase; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale span h2 {
font-family: "Source Code Pro";
font-size: 2rem;
font-weight: 500; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div {
display: grid;
grid-template-areas: "contact contact contact" "ancre texte liens"; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-type-de-ressource {
text-transform: uppercase; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-type-de-ressource a {
color: #009ee3;
font-size: 0.8rem;
font-weight: 800; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-auteur-s- {
grid-area: contact;
font-size: 1.2rem;
font-weight: 900; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-edition {
grid-area: contact; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-images {
display: none; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-textes {
grid-area: texte; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-fichiers {
grid-area: liens; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-actu-liee {
grid-area: liens; }
.path-node.page-node-type-ressource #block-contenudelapageprincipale .node-type-ressource div .field--name-field-liens {
grid-area: liens; }
.node-type-offre_de_service { .node-type-offre_de_service {
display: flex; } display: flex; }
.node-type-offre_de_service .field--type-text-with-summary { .node-type-offre_de_service .field--type-text-with-summary {
flex: 0 1 50%; } flex: 0 1 50%; }
.node-id-40 {
background: url("../images/pictos/carre-contour-bleu_programme.svg");
background-repeat: no-repeat;
background-position-y: 7rem;
max-width: 100vw;
background-size: contain; }
.node-id-40 .layout__region--top .block-region-top .block-entity-fieldnodefield-images {
display: none;
height: inherit; }
.node-id-40 .layout__region--top .block-region-top .block-entity-fieldnodetitle .field--name-title {
background-color: white !important;
color: #009ee3; }
/*partials*/ /*partials*/
.layout-container { .layout-container {
position: relative; } position: relative; }
.layout-container header {
header { width: 100%;
width: 100%; position: fixed;
position: fixed; z-index: 99; }
z-index: 99; }
#header-top { #header-top {
height: 7rem; height: 7rem;
@@ -1075,16 +1258,19 @@ header {
#header-top .region-header-top-left #block-logoeql img { #header-top .region-header-top-left #block-logoeql img {
width: 80%; width: 80%;
height: auto; } height: auto; }
#header-top .region-header-top-left #block-headermenu {
align-self: baseline;
width: 70%; }
#header-top .region-header-top-left ul { #header-top .region-header-top-left ul {
font-size: 1.2rem; font-size: 1rem;
list-style: none; list-style: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between;
width: 100%; } width: 100%; }
#header-top .region-header-top-left ul :is(.sous-liste) { #header-top .region-header-top-left ul :is(.sous-liste) {
display: flex; display: flex;
flex-direction: column; flex-direction: column; }
padding: 1rem; }
#header-top .region-header-top-left ul li a { #header-top .region-header-top-left ul li a {
color: black; } color: black; }
#header-top .region-header-top-left ul li .is-active { #header-top .region-header-top-left ul li .is-active {
@@ -1093,10 +1279,14 @@ header {
color: #009ee3; } color: #009ee3; }
#header-top .region-header-top-left ul div:first-child li div { #header-top .region-header-top-left ul div:first-child li div {
display: none; } display: none; }
#header-top .region-header-top-left ul div:nth-child(2) li div {
display: none; }
#header-top .region-header-top-left ul:is(.ul1 .sous-liste .ul2) {
display: none; }
#header-top .region-header-top-left :hover ul div:first-child li div { #header-top .region-header-top-left :hover ul div:first-child li div {
display: block; display: block;
background-color: white; background-color: white;
padding: 1rem; } padding: 0.2rem; }
#header-top .region-header-top-left :hover ul div:first-child li div a { #header-top .region-header-top-left :hover ul div:first-child li div a {
color: black; } color: black; }
#header-top .region-header-top-left :hover ul div:first-child li div a:hover { #header-top .region-header-top-left :hover ul div:first-child li div a:hover {
@@ -1104,11 +1294,19 @@ header {
#header-top .region-header-top-left :hover ul div:nth-child(2) li div { #header-top .region-header-top-left :hover ul div:nth-child(2) li div {
display: block; display: block;
background-color: white; background-color: white;
padding: 1rem; } padding: 0.2rem; }
#header-top .region-header-top-left :hover ul div:nth-child(2) li div a { #header-top .region-header-top-left :hover ul div:nth-child(2) li div a {
color: black; } color: black; }
#header-top .region-header-top-left :hover ul div:nth-child(2) li div a:hover { #header-top .region-header-top-left :hover ul div:nth-child(2) li div a:hover {
color: #009ee3; } color: #009ee3; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) {
display: block;
background-color: white;
padding: 0.2rem; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) a {
color: black; }
#header-top .region-header-top-left :hover ul:is(.ul1 .sous-liste .ul2) a:hover {
color: #009ee3; }
#header-top #block-socialnetwork-2 { #header-top #block-socialnetwork-2 {
position: relative; position: relative;
top: -33px; top: -33px;
@@ -8,8 +8,8 @@
id="svg8" id="svg8"
sodipodi:docname="noun_Arrow_3771902.svg" sodipodi:docname="noun_Arrow_3771902.svg"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)" inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
width="52" width="45"
height="33" height="auto"
inkscape:export-filename="/home/ouidade/Sites/EQL/docker-eql/src_d9/web/themes/custom/eql/images/pictos/noun_Arrow_3771902.png" inkscape:export-filename="/home/ouidade/Sites/EQL/docker-eql/src_d9/web/themes/custom/eql/images/pictos/noun_Arrow_3771902.png"
inkscape:export-xdpi="300" inkscape:export-xdpi="300"
inkscape:export-ydpi="300" inkscape:export-ydpi="300"

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg <svg
width="30mm" width="80px"
height="30mm" height="80px"
viewBox="0 0 126.18079 126.18081" viewBox="0 0 126.18079 126.18081"
version="1.1" version="1.1"
id="svg868" id="svg868"

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

+28 -11
View File
@@ -40,21 +40,38 @@ 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');}
// }
// ///////////////// // /////////////////
//// ancre dans texte
document.querySelector('.paragraph--view-mode--textes-toc').click( function() {
var page = this.attr('href');
var speed = 750; // gérer la vitesse de défliement
// document.addEventListener('click', function(e) { // Ici on retranche la hauteur du bandeau (201px dans ta feuille de styles)
// if (e.target.classList.contains('rect_white_left') { document.querySelector('html, body').animate( { scrollTop: page.offset().top - 201 }, speed );
// e.target.parentNode.nextElementSibling... return false;
});
/// sticky header on scroll
// // When the user scrolls the page, execute myFunction
// window.onscroll = function() {stickyHeader()};
// console.log(Event);
// // Get the header
// var header = document.getElementById("header-top");
// // Get the offset position of the navbar
// var sticky = header.offsetTop;
// // Add the sticky class to the header when you reach its scroll position. Remove "sticky" when you leave the scroll position
// function stickyHeader() {
// if (window.pageYOffset > sticky) {
// header.classList.add("sticky");
// } else {
// header.classList.remove("sticky");
// } // }
// }); // }
/////////////////// ///////////////////
@@ -7,6 +7,19 @@
left: 0%; left: 0%;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
display: flex;
flex-flow: row wrap;
;
header{
flex: 0 0 100%;
}
main{
position: relative;
// top: -7rem;
}
footer{
flex: 0 0 100%;
}
} }
.layout-content{ .layout-content{
padding-top: 7rem; padding-top: 7rem;
@@ -21,6 +34,9 @@
.path-faq{ .path-faq{
margin: 0; margin: 0;
} }
.path-ressources{
margin: 0;
}
.main-content{ .main-content{
margin-top: 7rem; margin-top: 7rem;
} }
@@ -56,7 +56,29 @@
} }
} }
.layout__region--first{ .layout__region--first{
display: flex;
justify-content: end;
margin-top: 18rem; margin-top: 18rem;
.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{ .layout__region--second{
// grid-row: 3; // grid-row: 3;
@@ -64,6 +86,32 @@
margin-top: 18rem; margin-top: 18rem;
.block-region-second{ .block-region-second{
width: 90%; width: 90%;
.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;
}
}
.block-entity-fieldnodebody{ .block-entity-fieldnodebody{
.panel-body{ .panel-body{
@@ -79,10 +127,144 @@
// grid-row: 4; // grid-row: 4;
margin-top: 18rem; margin-top: 18rem;
.block-region-third{ .block-region-third{
width: 65%; display: flex;
flex-direction: column;
width: 65%;
.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;
}
}
}
}
} }
} }
} }
+1 -9
View File
@@ -1,32 +1,24 @@
.node-id-3{ .node-id-3{
background: url('../images/pictos/carre_site.mp4'); background: url('../images/pictos/carre-contour-bleu_programme.svg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position-y: 7rem; background-position-y: 7rem;
max-width: 100vw; max-width: 100vw;
background-size: contain; background-size: contain;
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
height: 30vh;
.block-region-top{ .block-region-top{
.block-entity-fieldnodefield-images{ .block-entity-fieldnodefield-images{
display: none; display: none;
height: inherit; height: inherit;
} }
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
.field--name-title{ .field--name-title{
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
color: $blue-light; color: $blue-light;
background-color: $white; background-color: $white;
text-transform: uppercase;
} }
} }
} }
} }
.layout__region--third{ // colone de droite fichiers et ressources liées .layout__region--third{ // colone de droite fichiers et ressources liées
.block-region-third{ .block-region-third{
@@ -0,0 +1,31 @@
.node-id-40{
background: url('../images/pictos/carre-contour-bleu_programme.svg');
background-repeat: no-repeat;
background-position-y: 7rem;
max-width: 100vw;
background-size: contain;
.layout__region--top{ //bandeau titre page static
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
background-color: $white !important;
color: $blue-light;
}
}
}
}
}
+9 -2
View File
@@ -26,14 +26,17 @@
// bloc bleu déposer une question // bloc bleu déposer une question
.block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{ .block-block-content.block-block-content10aba627-5586-4529-b44e-c0b4551a4398{
grid-column: 5; grid-column: 5;
display: flex;
flex-direction: column;
max-width: fit-content;
margin-left: 2rem;
padding: 1rem;
background-color: $blue-light; background-color: $blue-light;
.field--name-field-lien{ .field--name-field-lien{
&:before{ &:before{
margin-top: 1rem; margin-top: 1rem;
display: block; display: block;
content: url("../images/pictos/picto_faq.svg"); content: url("../images/pictos/picto_faq.svg");
} }
text-align: center; text-align: center;
a{ a{
@@ -45,6 +48,8 @@
} }
.field--name-field-description{ .field--name-field-description{
p{ p{
display: flex;
flex-direction: column;
margin-top: 0; margin-top: 0;
margin-left: 1.5rem; margin-left: 1.5rem;
margin-right: 1.5rem; margin-right: 1.5rem;
@@ -55,6 +60,8 @@
font-size: 1.3rem; font-size: 1.3rem;
} }
&:after{ &:after{
margin-left: auto;
padding-top: 1rem;
display: block; display: block;
content:url("../images/pictos/noun_Arrow_3771902.svg") content:url("../images/pictos/noun_Arrow_3771902.svg")
@@ -0,0 +1,65 @@
.path-node.page-node-type-ressource{
#block-contenudelapageprincipale{
// display: grid;
// grid-template-areas: "contact"
// "ancre texte liens"
span{
// grid-column: 2 / span 6;
// grid-area: contact;
h2{
font-family: "Source Code Pro";
font-size: 2rem;
font-weight: 500;
}
}
.node-type-ressource{
div{
display: grid;
grid-template-areas: "contact contact contact"
"ancre texte liens" ;
// display: flex;
// flex-direction: column;
.field--name-field-type-de-ressource{
// grid-area: contact;
text-transform: uppercase;
a{
color: $blue-light;
font-size: 0.8rem;
font-weight: 800;
}
}
.field--name-field-auteur-s-{
grid-area: contact;
font-size: 1.2rem;
font-weight: 900;
}
.field--name-field-edition {
grid-area: contact;
}
.field--name-field-date-de-parution{
}
.field--name-field-images{
display:none;
}
.field--name-field-textes{
grid-area: texte;
}
.field--name-field-fichiers{
grid-area: liens;
}
.field--name-field-actu-liee{
grid-area: liens;
}
.field--name-field-liens{
grid-area: liens;
}
}
// flex:0 1 100%;
}
}
}
+17 -10
View File
@@ -1,22 +1,29 @@
.path-node.page-node-type-static{ .path-node.page-node-type-static{
.layout-container{ .layout-container{
display: flex; // display: flex;
flex-direction: column; // flex-direction: column;
flex-flow: row wrap; // flex-flow: row wrap;
header{ // header{
flex: 0 0 100%; // flex: 0 0 100%;
} // }
main{ // main{
flex: 0 0 100%; // flex: 0 0 100%;
.layout-content{ .layout-content{
// padding-top: 0; // padding-top: 0;
.layout__region--top{ //bandeau titre page static .layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
height: 30vh;
.block-entity-fieldnodetitle{ .block-entity-fieldnodetitle{
width: fit-content; width: fit-content;
margin-left: 13%; margin-left: 13%;
margin-top: 15vh; margin-top: 15vh;
.field--name-title{
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
text-transform: uppercase;
}
} }
// .block-entity-fieldnodefield-images{ // .block-entity-fieldnodefield-images{
// display: none; // display: none;
@@ -228,7 +235,7 @@
} }
} // }
} }
} }
@@ -1,12 +1,19 @@
.layout-container{ .layout-container{
position: relative; position: relative;
} header{
header{ // display: block;
// display: block; width: 100%;
width: 100%; position: fixed;
position: fixed; z-index: 99;
z-index: 99; // position: -webkit-sticky;
// position: sticky;
// top: 0;
// .sticky{
// position: fixed;
// }
}
} }
@@ -55,16 +62,25 @@ header{
} }
} }
#block-headermenu{
align-self: baseline;
width: 70%;
.block-headermenu-menu{
}
}
ul{ ul{
font-size: 1.2rem; font-size: 1rem;
list-style: none; list-style: none;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between;
width: 100%; width: 100%;
:is(.sous-liste){ :is(.sous-liste){
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 1rem; // padding: 1rem;
} }
li{ li{
@@ -82,17 +98,17 @@ header{
ul div:first-child li div{ ul div:first-child li div{
display: none; display: none;
} }
// ul div:nth-child(2) li div{ ul div:nth-child(2) li div{
// display: none; display: none;
// } }
// ul:is(.ul1 .sous-liste .ul2){ ul:is(.ul1 .sous-liste .ul2){
// display: none; display: none;
// } }
:hover ul { :hover ul{
div:first-child li div{ div:first-child li div{
display: block; display: block;
background-color: $white; background-color: $white;
padding: 1rem; padding: 0.2rem;
a{ a{
color: $black; color: $black;
&:hover{ &:hover{
@@ -105,7 +121,7 @@ header{
div:nth-child(2) li div{ div:nth-child(2) li div{
display: block; display: block;
background-color: $white; background-color: $white;
padding: 1rem; padding: 0.2rem;
a{ a{
color: $black; color: $black;
&:hover{ &:hover{
@@ -114,6 +130,18 @@ header{
} }
} }
} }
:hover ul:is(.ul1 .sous-liste .ul2){
display: block;
background-color: $white;
padding: 0.2rem;
a{
color: $black;
&:hover{
color: $blue-light;
}
}
}
} }
// reseaux sociaux // reseaux sociaux
+2
View File
@@ -32,6 +32,8 @@
@import "pages/_toutesressources"; @import "pages/_toutesressources";
@import "pages/_ressource"; @import "pages/_ressource";
@import "pages/_offreDeService"; @import "pages/_offreDeService";
@import "pages/_annuaire-de-recherche";
/*partials*/ /*partials*/
@import "partials/_header"; @import "partials/_header";
@@ -59,20 +59,8 @@
'first_part_home', 'first_part_home',
] ]
%} %}
{# {%
set id_titre = [
'id-' ~ paragraph|clean_id,
'block-' ~ plugin_id|clean_class,
key.value,
'id-' ~ counter,
]
%} #}
{%
set id_hook = [
'hook-id-' ~ paragraph.id()|clean_id,
'paragraph-id--' ~ paragraph.id()|clean_id,
]
%}
{% if label_hidden %} {% if label_hidden %}
@@ -84,16 +72,10 @@
</div> </div>
{% else %} {% else %}
{% for item in items %} {% for item in items %}
{# {% for i in 0..10 %} #}
{# <span> {{index}}</span> #}
{# <span id="{{item[key].value }}"></span> #}
{# <span>{{counter}}</span> #}
{# <div {{ attributes.addClass(classes, 'field__item') }}>{{ item.content }}</div> #}
<div {{ attributes.addClass(classes, 'field__item').setAttribute('id', id_hook) }}>{{ item.content }}</div> <div {{ attributes.addClass(classes, 'field__item') }}>{{ item.content }}</div>
{# {% endfor %} #}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% else %} {% else %}
@@ -113,6 +95,3 @@
{# {% for key, item in items %}
<span id="{{element['#items'][key].value|replace({' ':''}) }}"></span>
<div{{ item.attributes }}>{{ item.content }}</div> #}