ajout menu aside pages projets

This commit is contained in:
Valentin 2024-11-06 16:59:14 +01:00
parent e6e9e9f7ac
commit dea01885d7
8 changed files with 318 additions and 129 deletions

View File

@ -25,6 +25,7 @@
padding: 0.5rem 1rem;
transition: opacity 0.3s ease;
opacity: 0;
pointer-events: none;
}
#popup h3,

View File

@ -66,12 +66,14 @@ body {
display: flex;
}
main:has(#block-erabletheme-leprogramme-2) {
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
display: flex;
flex-direction: column-reverse;
}
@media screen and (min-width: 760px) {
main:has(#block-erabletheme-leprogramme-2) {
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
flex-direction: row-reverse;
}
}
@ -1270,14 +1272,14 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
line-height: 1.4;
}
.fullpage {
.layout-content .fullpage {
margin-bottom: 10vh;
padding-top: 3vh;
padding-bottom: 3vh;
background-color: white;
position: relative;
}
.fullpage h2 {
.layout-content .fullpage h2 {
margin-top: 5vh !important;
margin-bottom: 7vh;
z-index: 1;
@ -1291,47 +1293,47 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
color: #038788;
text-transform: uppercase;
}
.fullpage h2 a {
.layout-content .fullpage h2 a {
color: #038788;
}
@media (min-width: 760px) {
.fullpage h2 {
.layout-content .fullpage h2 {
font-size: 2.3rem;
}
}
.fullpage .legende {
.layout-content .fullpage .legende {
display: block !important;
font-size: 0.8rem;
color: #314e41;
}
.fullpage .fullpage_content > h2 {
.layout-content .fullpage .fullpage_content > h2 {
margin-bottom: 1rem;
}
.fullpage .fullpage_content .sous_titre {
.layout-content .fullpage .fullpage_content .sous_titre {
font-size: 1.2rem;
padding: 0 3vw;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
.fullpage .fullpage_content p {
.layout-content .fullpage .fullpage_content p {
padding: 0 3vw;
margin-bottom: 2rem;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
.fullpage .fullpage_content p:first-of-type {
.layout-content .fullpage .fullpage_content p:first-of-type {
margin-top: 7vh;
}
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div,
.fullpage .fullpage_content .liens > div > div, .fullpage .fullpage_content .file_fixed > div > div {
padding: 0 1.5vw;
.layout-content .fullpage .fullpage_content .liens_fixed > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div,
.layout-content .fullpage .fullpage_content .liens > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div {
text-align: right;
padding: 0 1.5vw;
margin: 2rem 0;
}
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a,
.fullpage .fullpage_content .liens > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a,
.layout-content .fullpage .fullpage_content .liens > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a {
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
@ -1342,38 +1344,38 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.fullpage .fullpage_content .liens_fixed > div > div a svg, .fullpage .fullpage_content .file_fixed > div > div a svg,
.fullpage .fullpage_content .liens > div > div a svg, .fullpage .fullpage_content .file_fixed > div > div a svg {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div a svg, .layout-content .fullpage .fullpage_content .file_fixed > div > div a svg,
.layout-content .fullpage .fullpage_content .liens > div > div a svg, .layout-content .fullpage .fullpage_content .file_fixed > div > div a svg {
display: none;
}
.fullpage .fullpage_content .liens_fixed > div > div a:hover, .fullpage .fullpage_content .file_fixed > div > div a:hover,
.fullpage .fullpage_content .liens > div > div a:hover, .fullpage .fullpage_content .file_fixed > div > div a:hover {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div a:hover, .layout-content .fullpage .fullpage_content .file_fixed > div > div a:hover,
.layout-content .fullpage .fullpage_content .liens > div > div a:hover, .layout-content .fullpage .fullpage_content .file_fixed > div > div a:hover {
background-color: #00ff80;
}
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a,
.fullpage .fullpage_content .liens > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a,
.layout-content .fullpage .fullpage_content .liens > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a {
display: inline-block;
}
@media (min-width: 1080px) {
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div,
.fullpage .fullpage_content .liens > div > div, .fullpage .fullpage_content .file_fixed > div > div {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div,
.layout-content .fullpage .fullpage_content .liens > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div {
margin-bottom: 0 !important;
margin: 0;
bottom: 10vh;
}
.fullpage .fullpage_content .liens_fixed > div > div > div, .fullpage .fullpage_content .file_fixed > div > div > div,
.fullpage .fullpage_content .liens > div > div > div, .fullpage .fullpage_content .file_fixed > div > div > div {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div > div,
.layout-content .fullpage .fullpage_content .liens > div > div > div, .layout-content .fullpage .fullpage_content .file_fixed > div > div > div {
height: 3vh;
}
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a,
.fullpage .fullpage_content .liens > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
.layout-content .fullpage .fullpage_content .liens_fixed > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a,
.layout-content .fullpage .fullpage_content .liens > div > div a, .layout-content .fullpage .fullpage_content .file_fixed > div > div a {
max-width: 19vw;
}
}
.fullpage .fullpage_content .file_fixed span:last-of-type {
.layout-content .fullpage .fullpage_content .file_fixed span:last-of-type {
display: none;
}
.fullpage .fullpage_content h3, .fullpage .fullpage_content h4, .fullpage .fullpage_content h5, .fullpage .fullpage_content h6 {
.layout-content .fullpage .fullpage_content h3, .layout-content .fullpage .fullpage_content h4, .layout-content .fullpage .fullpage_content h5, .layout-content .fullpage .fullpage_content h6 {
margin-bottom: 1rem;
padding-left: 3vw;
font-family: "Marianne", sans-serif;
@ -1382,15 +1384,15 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
font-weight: 800;
}
@media (min-width: 760px) {
.fullpage .fullpage_content h3, .fullpage .fullpage_content h4, .fullpage .fullpage_content h5, .fullpage .fullpage_content h6 {
.layout-content .fullpage .fullpage_content h3, .layout-content .fullpage .fullpage_content h4, .layout-content .fullpage .fullpage_content h5, .layout-content .fullpage .fullpage_content h6 {
font-size: 1.2rem;
}
}
.fullpage .views-row {
.layout-content .fullpage .views-row {
margin-bottom: 8vh;
}
@media (min-width: 760px) {
.fullpage {
.layout-content .fullpage {
margin-top: 5vh;
padding-top: 0;
width: 75vw;
@ -1398,14 +1400,14 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
}
}
@media (min-width: 1080px) {
.fullpage {
.layout-content .fullpage {
margin-top: 13vh;
width: 50vw;
margin-left: 25%;
}
}
@media (min-width: 760px) {
.fullpage.large-container {
.layout-content .fullpage.large-container {
width: auto;
margin-left: 7.5vw;
margin-right: 7.5vw;
@ -1413,76 +1415,102 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
}
@media (min-width: 760px) {
main:has(#block-erabletheme-leprogramme-2) .fullpage {
main:has(#block-erabletheme-leprogramme-2) .fullpage,
main:has(#block-erabletheme-views-block-projets-block-1) .fullpage {
width: 70vw;
margin-left: 2vw;
overflow-x: hidden;
}
}
@media (min-width: 1080px) {
main:has(#block-erabletheme-leprogramme-2) .fullpage {
main:has(#block-erabletheme-leprogramme-2) .fullpage,
main:has(#block-erabletheme-views-block-projets-block-1) .fullpage {
width: 50vw;
margin-left: 3vw;
margin-right: 24vw;
}
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2),
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) {
height: auto;
margin-top: 2vh;
margin-bottom: 2vh;
}
@media screen and (min-width: 760px) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2),
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) {
margin-top: 5vh;
margin-bottom: 0;
}
}
@media screen and (min-width: 1080px) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2),
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) {
margin-top: 13vh;
}
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div {
width: auto;
display: inline-block;
}
@media screen and (min-width: 760px) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div {
position: sticky;
top: 5vh;
width: 27vw;
}
}
@media screen and (min-width: 1080px) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div {
top: 12vh;
width: 22vw;
}
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 {
padding: 1.5rem;
background-color: white;
margin-left: 2vw;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > div > div,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > div > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > div > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > div > div {
width: auto !important;
margin: 0 !important;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > h2 {
padding-bottom: 1rem;
border-bottom: solid 1px #038788;
display: flex;
justify-content: space-between;
cursor: pointer;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > span {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
color: #038788;
font-weight: 800;
}
@media (min-width: 760px) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > span {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > h2,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > h2 {
font-size: 1.2rem;
}
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > div {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > div,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > h2 > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > h2 > div,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > h2 > div {
mask-image: url("/themes/erabletheme/assets/icons/arrow-down-s-line.svg");
background-size: contain;
background-color: #038788;
@ -1492,28 +1520,106 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
transform: rotate(0deg);
transition: transform 0.3s ease;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > div.closed {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > h2 > div.closed,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > h2 > div.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > h2 > div.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > h2 > div.closed {
transform: rotate(180deg);
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list {
max-height: 100vh;
overflow: hidden;
padding: 0;
transition: max-height 0.6s ease;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list > li,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul > li,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul > li,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list > li,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul > li,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row {
margin: 1rem 0;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li > a {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list > li a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul > li a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul > li a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list > li a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul > li a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a {
color: black;
font-size: 0.9rem;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li > a:hover, aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li > a.is-active {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li a:hover, aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul .views-row a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list > li a.is-active,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a:hover,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list .views-row a.is-active {
font-weight: 800;
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul.closed {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 > ul.closed,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-leprogramme-2 .projets_list.closed,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 > ul.closed,
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-erabletheme-views-block-projets-block-1 .projets_list.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 > ul.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-leprogramme-2 .projets_list.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 > ul.closed,
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) > div #block-erabletheme-views-block-projets-block-1 .projets_list.closed {
max-height: 0vh;
}
@ -2276,24 +2382,24 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
display: none;
}
.fullpage.projets {
.layout-content .fullpage.projets {
padding-top: 5vh;
}
@media (min-width: 1080px) {
.fullpage.projets > .intro_map {
.layout-content .fullpage.projets > .intro_map {
display: flex;
flex-direction: row;
}
}
.fullpage.projets > .intro_map > header {
.layout-content .fullpage.projets > .intro_map > header {
margin-right: 5vw;
padding: 0 3vw;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
.fullpage.projets > .intro_map > header h1, .fullpage.projets > .intro_map > header h2, .fullpage.projets > .intro_map > header h3,
.fullpage.projets > .intro_map > header h4, .fullpage.projets > .intro_map > header h5, .fullpage.projets > .intro_map > header h6 {
.layout-content .fullpage.projets > .intro_map > header h1, .layout-content .fullpage.projets > .intro_map > header h2, .layout-content .fullpage.projets > .intro_map > header h3,
.layout-content .fullpage.projets > .intro_map > header h4, .layout-content .fullpage.projets > .intro_map > header h5, .layout-content .fullpage.projets > .intro_map > header h6 {
padding: 0 !important;
margin: 0 !important;
font-family: "Barlow", sans-serif;
@ -2301,12 +2407,12 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
font-size: 1.2rem;
}
@media (min-width: 760px) {
.fullpage.projets > .intro_map > header h1, .fullpage.projets > .intro_map > header h2, .fullpage.projets > .intro_map > header h3,
.fullpage.projets > .intro_map > header h4, .fullpage.projets > .intro_map > header h5, .fullpage.projets > .intro_map > header h6 {
.layout-content .fullpage.projets > .intro_map > header h1, .layout-content .fullpage.projets > .intro_map > header h2, .layout-content .fullpage.projets > .intro_map > header h3,
.layout-content .fullpage.projets > .intro_map > header h4, .layout-content .fullpage.projets > .intro_map > header h5, .layout-content .fullpage.projets > .intro_map > header h6 {
font-size: 1.6rem;
}
}
.fullpage.projets > .intro_map > header > h2 {
.layout-content .fullpage.projets > .intro_map > header > h2 {
margin-bottom: 5vh !important;
padding-bottom: 3.5vh !important;
border-bottom: 1px solid #038788;
@ -2317,54 +2423,54 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
color: #038788;
text-transform: uppercase;
}
.fullpage.projets > .intro_map > header > h2 a {
.layout-content .fullpage.projets > .intro_map > header > h2 a {
color: #038788;
}
@media (min-width: 760px) {
.fullpage.projets > .intro_map > header > h2 {
.layout-content .fullpage.projets > .intro_map > header > h2 {
font-size: 2.3rem;
}
}
@media (min-width: 1080px) {
.fullpage.projets > .intro_map > header > h2 {
.layout-content .fullpage.projets > .intro_map > header > h2 {
width: 100%;
}
}
.fullpage.projets > .intro_map .projets_intro {
.layout-content .fullpage.projets > .intro_map .projets_intro {
display: none;
}
.fullpage.projets > .intro_map #sites-map-container {
.layout-content .fullpage.projets > .intro_map #sites-map-container {
width: 70%;
padding: 0 !important;
}
@media screen and (min-width: 760px) {
.fullpage.projets > .intro_map #sites-map-container {
.layout-content .fullpage.projets > .intro_map #sites-map-container {
width: 50%;
}
}
@media (min-width: 1080px) {
.fullpage.projets > .intro_map #sites-map-container {
.layout-content .fullpage.projets > .intro_map #sites-map-container {
margin-right: 8vw !important;
width: 85%;
}
}
.fullpage.projets > .intro_map #sites-map-container #popup h3 {
.layout-content .fullpage.projets > .intro_map #sites-map-container #popup h3 {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
color: #038788;
font-weight: 800;
}
@media (min-width: 760px) {
.fullpage.projets > .intro_map #sites-map-container #popup h3 {
.layout-content .fullpage.projets > .intro_map #sites-map-container #popup h3 {
font-size: 1.2rem;
}
}
.fullpage.projets > .intro_map #sites-map-container #popup p {
.layout-content .fullpage.projets > .intro_map #sites-map-container #popup p {
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
.fullpage.projets > .projets_list {
.layout-content .fullpage.projets > .projets_list {
display: grid;
margin: 3vh 3vw;
margin-top: 8vh;
@ -2372,33 +2478,33 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
gap: 2rem;
}
@media (min-width: 760px) {
.fullpage.projets > .projets_list {
.layout-content .fullpage.projets > .projets_list {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1080px) {
.fullpage.projets > .projets_list {
.layout-content .fullpage.projets > .projets_list {
grid-template-columns: repeat(3, 1fr);
}
}
.fullpage.projets > .projets_list > h3 {
.layout-content .fullpage.projets > .projets_list > h3 {
display: none;
}
.fullpage.projets > .projets_list > .views-row {
.layout-content .fullpage.projets > .projets_list > .views-row {
display: grid;
grid-template-columns: 0.5fr 1fr;
grid-template-rows: repeat(4, auto);
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama {
grid-column: 1;
grid-row: 1/5;
align-self: start;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content {
width: 8rem;
height: 8rem;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content > a {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content > a {
width: 100%;
height: 100%;
overflow: hidden;
@ -2407,7 +2513,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
align-items: center;
justify-content: center;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content > a img {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-diaporama > .field-content > a img {
width: 100%;
height: 100%;
mask-image: url("/themes/erabletheme/assets/shapes/shape_1.svg");
@ -2416,7 +2522,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
mask-position: center;
object-fit: cover;
}
.fullpage.projets > .projets_list > .views-row > .views-field-title {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-title {
grid-column: 2;
grid-row: 1;
margin-bottom: 1rem;
@ -2425,15 +2531,15 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
color: #038788;
font-weight: 800;
}
.fullpage.projets > .projets_list > .views-row > .views-field-title a {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-title a {
color: #038788;
}
@media (min-width: 760px) {
.fullpage.projets > .projets_list > .views-row > .views-field-title {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-title {
font-size: 1.2rem;
}
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre {
grid-column: 2;
grid-row: 2;
font-size: 1.1rem !important;
@ -2443,15 +2549,15 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
color: black;
font-size: 1.2rem;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre a {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre a {
color: black;
}
@media (min-width: 760px) {
.fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-sous-titre {
font-size: 1.6rem;
}
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-localisation-textuel {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-localisation-textuel {
grid-column: 2;
grid-row: 3;
margin-bottom: 1rem;
@ -2459,14 +2565,14 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
font-size: 1rem;
line-height: 1.4;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-localisation-textuel a {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-localisation-textuel a {
color: black;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-th {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-th {
grid-column: 2;
grid-row: 4;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li {
display: inline-block;
font-size: 0.8rem !important;
background-color: #d3f0ea;
@ -2476,18 +2582,15 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
font-size: 1rem;
line-height: 1.4;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li:hover {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li:hover {
background-color: #8ec2b8;
}
.fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li a {
.layout-content .fullpage.projets > .projets_list > .views-row > .views-field-field-th ul li a {
display: block;
color: black;
padding: 0.2rem 0.4rem;
}
.fullpage.projet_full {
overflow-x: hidden;
}
.fullpage.projet_full .retour_projets {
padding-top: 3vh;
padding-left: 3vw;
@ -2744,15 +2847,15 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) > div #block-er
margin: 0;
padding: 0;
}
.fullpage.projet_full .liens > div > div,
.fullpage.projet_full .file_fixed > div > div {
margin: 0 !important;
}
.fullpage.projet_full .liens > div > div > div,
.fullpage.projet_full .file_fixed > div > div > div {
padding: 1rem 0;
}
#block-erabletheme-views-block-projets-block-1 {
display: none;
}
@media (min-width: 760px) {
.fullpage.actus .actus_list {
display: grid;

File diff suppressed because one or more lines are too long

View File

@ -120,7 +120,10 @@
let footer = document.querySelector('#footer_top');
function positionFluoLinks() {
// if window is more than 960px
for (let i = fluoButtons.length; i > 0 ; i--) {
if (window.innerWidth > 1080) {
let prevButtonBottom = fluoButtons[i] ? parseInt(fluoButtons[i].style.bottom) : 0;
let prevButtonHeight = fluoButtons[i] ? fluoButtons[i].offsetHeight : 0;
fluoButtons[i - 1].style.position = 'fixed';
@ -130,6 +133,11 @@
} else {
fluoButtons[i - 1].style.bottom = i === fluoButtons.length ? '30px' : `${prevButtonBottom + prevButtonHeight + 15}px`;
}
} else {
fluoButtons[i - 1].style.position = 'relative';
fluoButtons[i - 1].style.left = '0';
fluoButtons[i - 1].style.bottom = '0';
}
}
}
if (document.querySelector('.fullpage')) {
@ -246,10 +254,14 @@
// Aside menu toggle
//
const sideMenuTitle = document.querySelector('#block-erabletheme-leprogramme-2 h2');
const sideMenuTitle =
document.querySelector('#block-erabletheme-leprogramme-2 h2') ||
document.querySelector('#block-erabletheme-views-block-projets-block-1 h2');
if (sideMenuTitle) {
sideMenuTitle.addEventListener('click', () => {
const sideMenu = document.querySelector('#block-erabletheme-leprogramme-2 > ul');
const sideMenu = document.querySelector('#block-erabletheme-leprogramme-2 > ul') ||
document.querySelector('#block-erabletheme-views-block-projets-block-1 .projets_list');
const titleArrow = sideMenuTitle.querySelector('div');
if (!sideMenu.classList.contains('closed')) {
sideMenu.classList.add('closed');
@ -261,6 +273,26 @@
});
}
//
// set active project in aside project menu
//
const asideProjectMenu = document.querySelector('#block-erabletheme-views-block-projets-block-1 .projets_list');
if (asideProjectMenu) {
for (let item of asideProjectMenu.children) {
const itemTitle = item.innerText;
const contentPage = document.querySelector('.projet_full');
const contentPageTitle = contentPage.querySelector('h2').innerText;
console.log(itemTitle, contentPageTitle);
if (itemTitle.toLowerCase() === contentPageTitle.toLowerCase()) {
item.querySelector('a').classList.add('is-active');
}
}
}
//
// index projets random shape
//
@ -285,7 +317,6 @@
attach: function (context, settings) {
$(context).on('leafletMapInit', function (e, settings, map, mapid, markers) {
const leafletIcons = document.querySelectorAll('.leaflet-marker-pane img');
console.log(leafletIcons);
for (let icon of leafletIcons) {
icon.setAttribute('src', '/themes/erabletheme/assets/leaf.svg');
}

View File

@ -1,4 +1,4 @@
.fullpage {
.layout-content .fullpage {
margin-bottom: 10vh;
padding-top: 3vh;
padding-bottom: 3vh;
@ -44,8 +44,8 @@
.liens_fixed > div > div, .file_fixed > div > div,
.liens > div > div, .file_fixed > div > div {
padding: 0 calc($x_margin / 2);
text-align: right;
padding: 0 calc($x_margin / 2);
margin: 2rem 0;
@include fluo_button();
a {
@ -100,11 +100,13 @@
}
}
main:has(#block-erabletheme-leprogramme-2) {
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
.fullpage {
@media (min-width: $breakpoint_tablet) {
width: 70vw;
margin-left: 2vw;
overflow-x: hidden;
}
@media (min-width: $breakpoint_desktop) {
width: 50vw;
@ -114,7 +116,8 @@ main:has(#block-erabletheme-leprogramme-2) {
}
}
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2),
aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) {
height: auto;
margin-top: 2vh;
margin-bottom: 2vh;
@ -137,7 +140,12 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
top: 12vh;
width: 22vw;
}
#block-erabletheme-leprogramme-2 {
#block-erabletheme-leprogramme-2,
#block-erabletheme-views-block-projets-block-1 {
> div > div {
width: auto !important;
margin: 0 !important;
}
padding: 1.5rem;
background-color: white;
margin-left: 2vw;
@ -147,9 +155,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
display: flex;
justify-content: space-between;
cursor: pointer;
> span {
@include sous_titre();
}
> div {
mask-image: url('/themes/erabletheme/assets/icons/arrow-down-s-line.svg');
background-size: contain;
@ -164,14 +170,18 @@ aside.layout-sidebar-first:has(#block-erabletheme-leprogramme-2) {
}
}
}
> ul {
> ul,
.projets_list {
max-height: 100vh;
overflow: hidden;
padding: 0;
transition: max-height 0.6s ease;
> li {
> li,
.views-row {
margin: 1rem 0;
@include main_text_content();
> a {
a {
color: black;
font-size: $m_font_size;
&:hover,

View File

@ -1,4 +1,4 @@
.fullpage.projets {
.layout-content .fullpage.projets {
padding-top: 5vh;
> .intro_map {
@media (min-width: $breakpoint_desktop) {
@ -150,7 +150,7 @@
}
.fullpage.projet_full {
overflow-x: hidden; // enlever quand on ajoute le menu des projets à gauche
// overflow-x: hidden; // enlever quand on ajoute le menu des projets à gauche
.retour_projets {
padding-top: 3vh;
@ -383,12 +383,15 @@
}
.liens,
.file_fixed {
> div > div > div {
> div > div {
margin: 0 !important;
> div {
padding: 1rem 0;
}
}
}
}
#block-erabletheme-views-block-projets-block-1 {
display: none;
// display: none;
}

View File

@ -14,7 +14,8 @@ body {
display: flex;
}
main:has(#block-erabletheme-leprogramme-2) {
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
display: flex;
flex-direction: column-reverse;
@media screen and (min-width: $breakpoint_tablet) {

View File

@ -0,0 +1,40 @@
{#
/**
* @file
* Default theme implementation to display a block.
*
* Available variables:
* - plugin_id: The ID of the block implementation.
* - label: The configured label of the block if visible.
* - configuration: A list of the block's configuration values.
* - label: The configured label for the block.
* - label_display: The display settings for the label.
* - provider: The module or other provider that provided this block plugin.
* - Block plugin specific settings will also be stored here.
* - in_preview: Whether the plugin is being rendered in preview mode.
* - content: The content of this block.
* - attributes: array of HTML attributes populated by modules, intended to
* be added to the main container tag of this template.
* - id: A valid HTML ID and guaranteed unique.
* - title_attributes: Same as attributes, except applied to the main title
* tag that appears in the template.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @see template_preprocess_block()
*
* @ingroup themeable
*/
#}
<div{{ attributes }}>
{{ title_prefix }}
{% if label %}
<h2{{ title_attributes }}>{{ label }}<div></div></h2>
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
</div>