2023-12-06 05:01:23 +01:00
|
|
|
|
|
|
|
.layout-container {
|
|
|
|
width: 100vw;
|
|
|
|
overflow: hidden;
|
|
|
|
header {
|
|
|
|
width: 100vw;
|
|
|
|
background: white;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
|
|
|
z-index: 99;
|
|
|
|
div {
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 7vh;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
#block-erabletheme-logorepublique {
|
2023-12-14 09:38:25 +01:00
|
|
|
width: 15vw;
|
2023-12-06 05:01:23 +01:00
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
img {
|
|
|
|
padding-left: $x_margin;
|
|
|
|
height: auto;
|
|
|
|
width: 100%;
|
2023-12-14 09:38:25 +01:00
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
padding-right: 1.5vw;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
}
|
2023-12-14 09:38:25 +01:00
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
width: 10vw;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
#block-erabletheme-logoerable {
|
2023-12-14 09:38:25 +01:00
|
|
|
max-height: 100%;
|
|
|
|
width: 20vw;
|
|
|
|
> div {
|
|
|
|
width: auto;
|
|
|
|
a {
|
2023-12-06 05:01:23 +01:00
|
|
|
width: 100%;
|
2023-12-14 09:38:25 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
img {
|
|
|
|
height: 100%;
|
|
|
|
width: auto;
|
|
|
|
padding-top: 3px;
|
|
|
|
padding-bottom: 3px;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
}
|
2023-12-14 09:38:25 +01:00
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
width: 10vw;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
#block-erabletheme-navigationprincipale {
|
|
|
|
display: none;
|
2023-12-14 09:38:25 +01:00
|
|
|
ul {
|
|
|
|
width: 60vw;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
padding: 0 5vw;
|
|
|
|
li {
|
|
|
|
font-family: 'Marianne', sans-serif;
|
|
|
|
font-size: $m_font_size;
|
|
|
|
a {
|
|
|
|
font-weight: 800;
|
|
|
|
padding: 4px 6px;
|
|
|
|
color: black;
|
|
|
|
background-color: rgba(255, 255, 255, 0);
|
|
|
|
transition: background-color 0.3s ease;
|
|
|
|
}
|
|
|
|
a:hover {
|
|
|
|
background-color: $fluo_green;
|
|
|
|
}
|
|
|
|
a.is-active {
|
|
|
|
font-weight: 400;
|
|
|
|
background-color: $fluo_green;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
display: block;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
#block-erabletheme-socialmedialinks {
|
2023-12-14 09:38:25 +01:00
|
|
|
width: 7vw;
|
|
|
|
margin: 0 calc((20vw - (7vw + 7vh)) / 2);
|
2023-12-06 05:01:23 +01:00
|
|
|
display: none;
|
2023-12-14 09:38:25 +01:00
|
|
|
ul {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
li a {
|
|
|
|
span {
|
|
|
|
font-weight: lighter;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
width: 2.2rem;
|
|
|
|
height: 2.2rem;
|
|
|
|
padding: 0.4rem;
|
|
|
|
border-radius: 1.1rem;
|
|
|
|
color: white;
|
|
|
|
background-color: $teal;
|
|
|
|
}
|
|
|
|
svg.ext {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
display: block;
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
#block-erabletheme-header {
|
|
|
|
#hamburger {
|
2023-12-14 09:38:25 +01:00
|
|
|
cursor: pointer;
|
|
|
|
width: 7vh;
|
2023-12-06 05:01:23 +01:00
|
|
|
height: 100%;
|
|
|
|
background-color: $fluo_green;
|
|
|
|
display: flex;
|
2023-12-14 06:01:09 +01:00
|
|
|
flex-direction: column;
|
2023-12-06 05:01:23 +01:00
|
|
|
align-items: center;
|
2023-12-14 06:01:09 +01:00
|
|
|
justify-content: space-around;
|
2023-12-06 05:01:23 +01:00
|
|
|
h2 {
|
|
|
|
font-size: $sm_font_size;
|
|
|
|
font-family: 'Marianne', sans-serif;
|
|
|
|
font-weight: 800;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-12-14 06:01:09 +01:00
|
|
|
.burger-icon {
|
|
|
|
width: 2rem;
|
|
|
|
height: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
div {
|
|
|
|
border-bottom: solid 1px black;
|
|
|
|
width: 100%;
|
|
|
|
background-color: black;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.2s ease-out, transform 0.4s ease-out;
|
|
|
|
transform: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.burger-icon.open {
|
|
|
|
div:first-of-type {
|
|
|
|
transform: translate(0rem, 0.5rem) rotate(-45deg);
|
|
|
|
}
|
|
|
|
div:nth-of-type(2) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
div:last-of-type {
|
|
|
|
transform: translate(0rem, -0.5rem) rotate(45deg);
|
|
|
|
}
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
ul:not(.social-media-links--platforms) {
|
2023-12-06 05:01:23 +01:00
|
|
|
display: none;
|
2023-12-14 06:01:09 +01:00
|
|
|
height: auto;
|
|
|
|
max-height: 0vh;
|
|
|
|
transition: max-height 0.9s ease, padding 0.5s ease-out;
|
2023-12-06 05:01:23 +01:00
|
|
|
position: fixed;
|
|
|
|
background-color: $dark_green;
|
|
|
|
top: 7vh;
|
|
|
|
left: 0;
|
|
|
|
width: 100vw;
|
|
|
|
z-index: 0;
|
2023-12-14 06:01:09 +01:00
|
|
|
padding: 0;
|
2023-12-15 20:04:59 +01:00
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
> li {
|
2023-12-06 05:01:23 +01:00
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 6px 0;
|
2023-12-14 06:01:09 +01:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.3s ease;
|
2023-12-15 20:04:59 +01:00
|
|
|
max-width: 60vw;
|
|
|
|
> a {
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1.2;
|
2023-12-06 05:01:23 +01:00
|
|
|
color: white;
|
|
|
|
font-family: 'Marianne', sans-serif;
|
|
|
|
font-weight: 800;
|
|
|
|
padding: 4px 6px;
|
2023-12-14 09:38:25 +01:00
|
|
|
background-color: rgba(255, 255, 255, 0);
|
|
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
> a:hover {
|
2023-12-14 09:38:25 +01:00
|
|
|
background-color: white;
|
|
|
|
color: $dark_green;
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
> a.is-active {
|
2023-12-06 05:01:23 +01:00
|
|
|
background-color: white;
|
|
|
|
color: $dark_green;
|
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
@media (min-width: $breakpoint_tablet) {
|
|
|
|
max-width: 30vw;
|
|
|
|
}
|
|
|
|
#socials-in-menu-wrapper {
|
|
|
|
display: flex;
|
|
|
|
width: auto;
|
|
|
|
li {
|
|
|
|
width: auto;
|
|
|
|
padding: 0 1rem;
|
|
|
|
margin-top: 1rem;
|
|
|
|
a {
|
|
|
|
span {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
svg {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
> li.visible {
|
2023-12-14 06:01:09 +01:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2023-12-15 20:04:59 +01:00
|
|
|
> li:nth-of-type(1),
|
|
|
|
> li:nth-of-type(2),
|
|
|
|
> li:nth-of-type(6) {
|
|
|
|
border-bottom: solid 1px white;
|
|
|
|
padding: 12px 0;
|
|
|
|
}
|
2023-12-14 09:38:25 +01:00
|
|
|
@media (min-width: $breakpoint_desktop) {
|
|
|
|
width: 25vw;
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
2023-12-15 20:04:59 +01:00
|
|
|
li {
|
|
|
|
width: calc(100% - $x_margin * 2);
|
|
|
|
a {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
}
|
2023-12-14 09:38:25 +01:00
|
|
|
}
|
2023-12-14 06:01:09 +01:00
|
|
|
}
|
|
|
|
ul.active {
|
|
|
|
padding: 30px 0;
|
|
|
|
max-height: 100vh;
|
2023-12-06 05:01:23 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|