intégration du design il manque que les images de fond
This commit is contained in:
parent
cb35336870
commit
a0137d95ac
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
|
@ -32,6 +32,12 @@
|
|||
font-style: normal;
|
||||
}
|
||||
/* BREAKPOINTS */
|
||||
.layout-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* SIZES */
|
||||
/* MIXINS */
|
||||
a {
|
||||
|
@ -75,12 +81,12 @@ a {
|
|||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logorepublique a img {
|
||||
padding-right: 1.5vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logorepublique {
|
||||
width: 10vw;
|
||||
}
|
||||
|
@ -104,7 +110,7 @@ a {
|
|||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logoerable {
|
||||
width: 10vw;
|
||||
}
|
||||
|
@ -138,7 +144,7 @@ a {
|
|||
font-weight: 400;
|
||||
background-color: #00ff80;
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-navigationprincipale {
|
||||
display: block;
|
||||
}
|
||||
|
@ -167,7 +173,7 @@ a {
|
|||
.layout-container header div #block-erabletheme-socialmedialinks ul li a svg.ext {
|
||||
display: none;
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-socialmedialinks {
|
||||
display: block;
|
||||
}
|
||||
|
@ -213,7 +219,7 @@ a {
|
|||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:last-of-type {
|
||||
transform: translate(0rem, -0.5rem) rotate(45deg);
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
display: none;
|
||||
height: auto;
|
||||
max-height: 0vh;
|
||||
|
@ -225,16 +231,21 @@ a {
|
|||
width: 100vw;
|
||||
z-index: 0;
|
||||
padding: 0;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul li {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 6px 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
max-width: 60vw;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul li a {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a {
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
color: white;
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-weight: 800;
|
||||
|
@ -242,23 +253,56 @@ a {
|
|||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul li a:hover {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a:hover {
|
||||
background-color: white;
|
||||
color: #314e41;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul li a.is-active {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a.is-active {
|
||||
background-color: white;
|
||||
color: #314e41;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul li.visible {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
max-width: 30vw;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper {
|
||||
display: flex;
|
||||
width: auto;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li {
|
||||
width: auto;
|
||||
padding: 0 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a span {
|
||||
color: white;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a svg {
|
||||
display: none;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
.layout-container header div #block-erabletheme-header ul {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(1),
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(2),
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(6) {
|
||||
border-bottom: solid 1px white;
|
||||
padding: 12px 0;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
width: 25vw;
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li {
|
||||
width: calc(100% - 6vw);
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li a {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul.active {
|
||||
padding: 30px 0;
|
||||
|
@ -287,7 +331,7 @@ a {
|
|||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logorep {
|
||||
width: 10vw;
|
||||
}
|
||||
|
@ -299,13 +343,13 @@ a {
|
|||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logoepau {
|
||||
width: 15vw;
|
||||
padding-left: 2vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_left > div {
|
||||
width: 25vw;
|
||||
padding-left: 3vw;
|
||||
|
@ -335,13 +379,13 @@ a {
|
|||
font-weight: 800;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_section #footer_center nav ul {
|
||||
width: 50vw;
|
||||
padding: 0 15vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_section #footer_center {
|
||||
padding-left: 0;
|
||||
width: auto;
|
||||
|
@ -367,19 +411,19 @@ a {
|
|||
.layout-container > footer #footer_middle #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a svg.ext {
|
||||
display: none;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle #footer_section #footer_right {
|
||||
width: 25vw;
|
||||
padding-left: 15vw;
|
||||
padding-right: 3vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer #footer_middle {
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.layout-container > footer {
|
||||
padding: 0;
|
||||
}
|
||||
|
@ -395,7 +439,7 @@ a {
|
|||
}
|
||||
.slick-container div.views-row article > div:first-of-type {
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
height: 30vh !important;
|
||||
overflow-y: hidden;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
@ -409,6 +453,64 @@ a {
|
|||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.slick-container div.views-row article .preview_meta {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
}
|
||||
.slick-container div.views-row article .preview_meta > div:last-of-type {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
.slick-container div.views-row article h2, .slick-container div.views-row article .preview_sous_titre {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.slick-container div.views-row article {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
border-bottom: solid 1px #038788;
|
||||
}
|
||||
.slick-container div.views-row article > div:first-of-type {
|
||||
width: calc(50% + 6.25vw);
|
||||
}
|
||||
.slick-container div.views-row article > div:last-of-type {
|
||||
width: calc(50% - 6.25vw);
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
.slick-container div.views-row article > div:last-of-type > div, .slick-container div.views-row article > div:last-of-type > h2 {
|
||||
padding-left: 3vw;
|
||||
}
|
||||
.slick-container div.views-row article > div:last-of-type > div:first-of-type {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
.slick-container div.views-row article > div:last-of-type > div:last-of-type {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
.slick-container .slick-arrow {
|
||||
display: none !important;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border-radius: 1.5rem;
|
||||
border: solid 1px #038788;
|
||||
top: unset;
|
||||
bottom: 5%;
|
||||
background-color: rgba(255, 255, 255, 0.4) !important;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.slick-container .slick-arrow:hover {
|
||||
background-color: rgba(255, 255, 255, 0.8) !important;
|
||||
}
|
||||
.slick-container .slick-arrow::before {
|
||||
color: #038788;
|
||||
font-family: "Marianne", sans-serif;
|
||||
display: block;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
.slick-container #carousel_dots {
|
||||
position: relative;
|
||||
margin-top: -15px;
|
||||
|
@ -423,6 +525,12 @@ a {
|
|||
.slick-container #carousel_dots ul li button::before {
|
||||
color: rgb(1, 1, 1);
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.slick-container #carousel_dots {
|
||||
margin-top: 8vh;
|
||||
margin-left: 12.5vw;
|
||||
}
|
||||
}
|
||||
.slick-container footer {
|
||||
text-align: center;
|
||||
margin-top: 4rem;
|
||||
|
@ -445,19 +553,51 @@ a {
|
|||
.slick-container footer a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
|
||||
.actu_full {
|
||||
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
|
||||
font-family: "Marianne", sans-serif;
|
||||
padding-top: 3vh;
|
||||
width: 100vw;
|
||||
@media (min-width: 1080px) {
|
||||
.slick-container footer {
|
||||
margin-top: -2vh;
|
||||
position: absolute;
|
||||
right: 12.5vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.slick-container {
|
||||
padding: 0 12.5vw;
|
||||
}
|
||||
.slick-container .slick-prev, .slick-container .slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
.slick-container .slick-prev {
|
||||
left: -5rem;
|
||||
}
|
||||
.slick-container .slick-next {
|
||||
right: -5rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.slick-container {
|
||||
padding: 0;
|
||||
padding-right: 12.5vw;
|
||||
padding-bottom: 10vh;
|
||||
}
|
||||
.slick-container .slick-prev, .slick-container .slick-next {
|
||||
bottom: 20%;
|
||||
}
|
||||
.slick-container .slick-prev {
|
||||
display: none !important;
|
||||
}
|
||||
.slick-container .slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
.actu_full div {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.actu_full .retour_actus {
|
||||
padding-top: 3vh;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 800;
|
||||
color: #038788;
|
||||
|
@ -472,39 +612,44 @@ a {
|
|||
margin-bottom: 5px;
|
||||
}
|
||||
.actu_full h2 {
|
||||
font-family: "Barlow", sans-serif;
|
||||
font-size: 2.3rem;
|
||||
padding: 0 3vw;
|
||||
margin-top: 1rem;
|
||||
color: #038788;
|
||||
}
|
||||
.actu_full h2 a {
|
||||
color: #038788;
|
||||
padding-top: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.actu_full h2 + div {
|
||||
padding: 3vw;
|
||||
position: relative;
|
||||
padding: 0 3vw;
|
||||
}
|
||||
.actu_full h2 + div .visually-hidden {
|
||||
width: 0% !important;
|
||||
}
|
||||
.actu_full h2 + div div:first-of-type {
|
||||
margin-top: -10px;
|
||||
.actu_full h2 + div .sous_titre > div > div {
|
||||
font-size: 1.3rem;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.actu_full h2 + div div:nth-of-type(2) > div {
|
||||
.actu_full h2 + div > div:nth-of-type(2) > div {
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.actu_full h2 + div div:nth-of-type(2) > div img {
|
||||
.actu_full h2 + div > div:nth-of-type(2) > div img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.actu_full .liens_fixed {
|
||||
.actu_full p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.actu_full h3, .actu_full h4, .actu_full h5, .actu_full h6 {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1.3rem;
|
||||
color: #038788;
|
||||
font-weight: 800;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
|
||||
padding: 0 3vw;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
.actu_full .liens_fixed a {
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
|
||||
text-align: center;
|
||||
color: black;
|
||||
font-family: "Marianne", sans-serif;
|
||||
|
@ -515,17 +660,41 @@ a {
|
|||
padding: 9px 18px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.actu_full .liens_fixed a svg {
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a svg, .actu_full .file_fixed > div > div > div a svg {
|
||||
display: none;
|
||||
}
|
||||
.actu_full .liens_fixed a:hover {
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a:hover, .actu_full .file_fixed > div > div > div a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2) a, .actu_full .file_fixed > div > div > div a {
|
||||
display: inline-block;
|
||||
max-width: 19vw;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2), .actu_full .file_fixed > div > div > div {
|
||||
margin-bottom: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0 3vw;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 10vh;
|
||||
}
|
||||
.actu_full .liens_fixed > div > div:nth-of-type(2) > div, .actu_full .file_fixed > div > div > div > div {
|
||||
height: 3vh;
|
||||
}
|
||||
}
|
||||
.actu_full .file_fixed span:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.views-row article > div:first-of-type {
|
||||
width: 100%;
|
||||
max-height: 30vh;
|
||||
height: auto;
|
||||
height: 30vh;
|
||||
overflow: hidden;
|
||||
padding-left: 3vw;
|
||||
padding-right: 3vw;
|
||||
|
@ -534,6 +703,11 @@ a {
|
|||
height: auto;
|
||||
width: 100%;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.views-row article > div:first-of-type {
|
||||
height: 20vh;
|
||||
}
|
||||
}
|
||||
.views-row article .preview_meta {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
|
@ -551,8 +725,13 @@ a {
|
|||
}
|
||||
.views-row article .preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
padding: 2px 3vw;
|
||||
font-size: 1.3rem;
|
||||
padding: 5px 3vw;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.views-row article .preview_sous_titre {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
.views-row article h2 {
|
||||
font-family: "Barlow", sans-serif;
|
||||
|
@ -569,19 +748,48 @@ a {
|
|||
.home_introduction {
|
||||
border-bottom: solid 2px #038788;
|
||||
width: 100%;
|
||||
padding: 2rem 0;
|
||||
padding: 4rem 0;
|
||||
}
|
||||
.home_introduction h2 {
|
||||
display: none;
|
||||
}
|
||||
.home_introduction > .logo {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-bottom: 3rem;
|
||||
}
|
||||
.home_introduction > .logo img {
|
||||
width: 35vw;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_introduction > .logo img {
|
||||
width: 25vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_introduction > .logo img {
|
||||
width: 18vw;
|
||||
}
|
||||
}
|
||||
.home_introduction article > div {
|
||||
max-height: none !important;
|
||||
height: unset !important;
|
||||
}
|
||||
.home_introduction article > div p {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_introduction article > div p {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_introduction article > div {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
.home_introduction div.more-link {
|
||||
margin-top: 3rem;
|
||||
margin-bottom: 1.5rem;
|
||||
|
@ -606,11 +814,23 @@ a {
|
|||
.home_introduction div.more-link a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_introduction div.more-link {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_introduction {
|
||||
padding-left: 12.5vw;
|
||||
padding-right: 12.5vw;
|
||||
}
|
||||
}
|
||||
|
||||
.home_consultation {
|
||||
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
|
||||
width: 100%;
|
||||
padding: 2rem 0;
|
||||
padding: 4rem 0;
|
||||
}
|
||||
.home_consultation h2 {
|
||||
font-family: "Barlow", sans-serif;
|
||||
|
@ -623,14 +843,36 @@ a {
|
|||
.home_consultation h2 a {
|
||||
color: #038788;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_consultation h2 {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_consultation h2 {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
.home_consultation article > div {
|
||||
max-height: none !important;
|
||||
height: unset !important;
|
||||
}
|
||||
.home_consultation article > div p {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_consultation article > div p {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_consultation article > div {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
.home_consultation div.more-link {
|
||||
margin-top: 3rem;
|
||||
display: flex;
|
||||
|
@ -654,8 +896,21 @@ a {
|
|||
.home_consultation div.more-link a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.home_consultation div.more-link {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.home_consultation {
|
||||
padding-left: 12.5vw;
|
||||
padding-right: 12.5vw;
|
||||
}
|
||||
}
|
||||
|
||||
.fullpage {
|
||||
margin-bottom: 10vh;
|
||||
margin-top: -3vh;
|
||||
padding-top: 3vh;
|
||||
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
|
||||
|
@ -687,6 +942,7 @@ a {
|
|||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
font-size: 1.3rem;
|
||||
padding: 0 3vw;
|
||||
}
|
||||
.fullpage .fullpage_content p {
|
||||
|
@ -699,12 +955,12 @@ a {
|
|||
.fullpage .fullpage_content p:first-of-type {
|
||||
margin-top: 7vh;
|
||||
}
|
||||
.fullpage .fullpage_content .liens_fixed {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
|
||||
padding: 0 3vw;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
.fullpage .fullpage_content .liens_fixed a {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div a, .fullpage .fullpage_content .file_fixed > div > div a {
|
||||
text-align: center;
|
||||
color: black;
|
||||
font-family: "Marianne", sans-serif;
|
||||
|
@ -715,16 +971,41 @@ a {
|
|||
padding: 9px 18px;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.fullpage .fullpage_content .liens_fixed a svg {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div a svg, .fullpage .fullpage_content .file_fixed > div > div a svg {
|
||||
display: none;
|
||||
}
|
||||
.fullpage .fullpage_content .liens_fixed a:hover {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div a:hover, .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 {
|
||||
display: inline-block;
|
||||
max-width: 19vw;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.fullpage .fullpage_content .liens_fixed > div > div, .fullpage .fullpage_content .file_fixed > div > div {
|
||||
margin-bottom: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0 3vw;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 10vh;
|
||||
}
|
||||
.fullpage .fullpage_content .liens_fixed > div > div > div, .fullpage .fullpage_content .file_fixed > div > div > div {
|
||||
height: 3vh;
|
||||
}
|
||||
}
|
||||
.fullpage .fullpage_content .file_fixed span:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
.fullpage .views-row {
|
||||
margin-bottom: 8vh;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.fullpage {
|
||||
margin-top: 10vh;
|
||||
padding-top: 0;
|
||||
|
@ -732,13 +1013,30 @@ a {
|
|||
margin-left: 12.5vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1280px) {
|
||||
@media (min-width: 1080px) {
|
||||
.fullpage {
|
||||
width: 50vw;
|
||||
margin-left: 25vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 760px) {
|
||||
.fullpage.actus {
|
||||
width: auto;
|
||||
margin-left: 3vw;
|
||||
margin-right: 3vw;
|
||||
}
|
||||
.fullpage.actus .actus_list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.fullpage.actus .actus_list {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.content_gouvernance .views-row {
|
||||
margin-bottom: 2vh;
|
||||
}
|
||||
|
@ -751,7 +1049,7 @@ a {
|
|||
font-size: 1.6rem;
|
||||
}
|
||||
.content_gouvernance .views-row article > div:first-of-type {
|
||||
max-height: none;
|
||||
height: unset;
|
||||
}
|
||||
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
|
||||
height: auto;
|
||||
|
@ -791,7 +1089,7 @@ a {
|
|||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
}
|
||||
@media (min-width: 960px) {
|
||||
@media (min-width: 760px) {
|
||||
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
|
||||
grid-template-columns: 10vw 1fr;
|
||||
}
|
||||
|
@ -820,13 +1118,13 @@ a {
|
|||
font-size: 1.6rem;
|
||||
}
|
||||
.content_partenaires .views-row article > div:first-of-type {
|
||||
max-height: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: unset !important;
|
||||
display: grid;
|
||||
grid-template-columns: 0.3fr 1fr;
|
||||
align-items: center;
|
||||
}
|
||||
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
|
||||
width: 40vw;
|
||||
width: 30vw;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1rem;
|
||||
|
@ -836,13 +1134,25 @@ a {
|
|||
height: auto;
|
||||
mix-blend-mode: darken;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
|
||||
width: 20vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.content_partenaires .views-row article > div:first-of-type > div:first-of-type > div {
|
||||
width: 15vw;
|
||||
}
|
||||
}
|
||||
.content_partenaires .views-row article > div:first-of-type > div:nth-of-type(2) {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 1.4;
|
||||
margin-bottom: 2rem;
|
||||
padding-left: 3vw;
|
||||
}
|
||||
.content_partenaires .views-row article > div:first-of-type > div:last-of-type {
|
||||
grid-column: 1/3;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
padding-bottom: 2rem;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -9,10 +9,12 @@
|
|||
Drupal.behaviors.erabletheme = {
|
||||
attach: function (context, settings) {
|
||||
|
||||
//
|
||||
// Carrousel
|
||||
//
|
||||
(function($, window) {
|
||||
let slickEl = $('.slick-container').children().first().children().first().children().first().children().first();
|
||||
$(slickEl).slick({
|
||||
arrows: false,
|
||||
dots: true,
|
||||
appendDots: $('#carousel_dots')
|
||||
});
|
||||
|
@ -40,7 +42,7 @@
|
|||
delay += opacityDelay;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Toggle menu visibility on hamburger click
|
||||
hamburgerBtn.addEventListener("click", function(event) {
|
||||
event.stopPropagation();
|
||||
|
@ -51,7 +53,7 @@
|
|||
}, 700);
|
||||
toggleMenuItems('hide');
|
||||
} else {
|
||||
menu.style.display = "block";
|
||||
menu.style.display = "flex";
|
||||
toggleMenuItems('show');
|
||||
}
|
||||
setTimeout(() => {
|
||||
|
@ -68,8 +70,54 @@
|
|||
hamburgerIcon.classList.remove('open');
|
||||
menu.classList.remove("active");
|
||||
toggleMenuItems('hide');
|
||||
setTimeout(() => {
|
||||
menu.style.display = "none";
|
||||
}, 700);
|
||||
}
|
||||
});
|
||||
|
||||
//
|
||||
// Fixed links
|
||||
//
|
||||
let fluoButtons;
|
||||
if (document.querySelector('.actu_full')) {
|
||||
fluoButtons = document.querySelectorAll('.liens_fixed > div > div:nth-of-type(2):not(.visually-hidden), .file_fixed > div > .visually-hidden + div > div');
|
||||
} else {
|
||||
fluoButtons = document.querySelectorAll('.liens_fixed > div > div:not(.visually-hidden), .file_fixed > div > div');
|
||||
}
|
||||
|
||||
let footer = document.querySelector('#footer_top');
|
||||
function positionFluoLinks() {
|
||||
for (let i = fluoButtons.length; i > 0 ; i--) {
|
||||
let prevButtonBottom = fluoButtons[i] ? parseInt(fluoButtons[i].style.bottom) : 0;
|
||||
let prevButtonHeight = fluoButtons[i] ? fluoButtons[i].offsetHeight : 0;
|
||||
if (footer.offsetTop < window.innerHeight + window.scrollY && i === fluoButtons.length) {
|
||||
fluoButtons[i - 1].style.bottom = `${window.innerHeight - footer.offsetTop + window.scrollY + 30}px`;
|
||||
} else {
|
||||
fluoButtons[i - 1].style.bottom = i === fluoButtons.length ? '30px' : `${prevButtonBottom + prevButtonHeight + 15}px`;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (document.querySelector('.fullpage')) {
|
||||
positionFluoLinks();
|
||||
document.addEventListener('scroll', () => {
|
||||
positionFluoLinks();
|
||||
});
|
||||
window.addEventListener('resize', () => {
|
||||
positionFluoLinks();
|
||||
});
|
||||
}
|
||||
|
||||
//
|
||||
// Ajouter les logos réseaux sociaux dans le menu togglable
|
||||
//
|
||||
let socials = document.querySelector('.social-media-links--platforms');
|
||||
let socialsClone = socials.cloneNode(true);
|
||||
socialsClone.id = 'socials-in-menu-wrapper';
|
||||
let menuContainer = document.querySelector('#hamburger + ul');
|
||||
let socialsContainer = document.createElement('li');
|
||||
socialsContainer.append(socialsClone);
|
||||
menuContainer.append(socialsContainer);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
.fullpage {
|
||||
margin-bottom: 10vh;
|
||||
margin-top: -3vh;
|
||||
padding-top: 3vh;
|
||||
@include beige_gradient();
|
||||
|
@ -16,6 +17,7 @@
|
|||
|
||||
.sous_titre {
|
||||
@include main_text_content();
|
||||
font-size: $l_font_size;
|
||||
padding: 0 $x_margin;
|
||||
}
|
||||
|
||||
|
@ -29,11 +31,33 @@
|
|||
margin-top: 7vh;
|
||||
}
|
||||
|
||||
.liens_fixed {
|
||||
|
||||
.liens_fixed > div > div, .file_fixed > div > div {
|
||||
padding: 0 $x_margin;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
@include fluo_button();
|
||||
a {
|
||||
display: inline-block;
|
||||
max-width: calc(25vw - $x_margin * 2);
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-bottom: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0 $x_margin;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 10vh;
|
||||
> div {
|
||||
height: 3vh;
|
||||
}
|
||||
}
|
||||
}
|
||||
.file_fixed span:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,3 +75,21 @@
|
|||
margin-left: 25vw;
|
||||
}
|
||||
}
|
||||
|
||||
.fullpage.actus {
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
width: auto;
|
||||
margin-left: $x_margin;
|
||||
margin-right: $x_margin;
|
||||
.actus_list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
.actus_list {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
}
|
||||
}
|
||||
> div:first-of-type {
|
||||
max-height: none;
|
||||
height: unset;
|
||||
}
|
||||
.paragraph--type--membre-equipe {
|
||||
height: auto;
|
||||
|
|
|
@ -1,14 +1,35 @@
|
|||
.home_introduction {
|
||||
border-bottom: solid 2px $teal;
|
||||
width: 100%;
|
||||
padding: 2rem 0;
|
||||
padding: 4rem 0;
|
||||
h2 {
|
||||
display: none;
|
||||
}
|
||||
> .logo {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
margin-bottom: 3rem;
|
||||
img {
|
||||
width: 35vw;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
width: 25vw;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 18vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
article > div {
|
||||
max-height: none !important;
|
||||
height: unset !important;
|
||||
p {
|
||||
@include main_text_content();
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
div.more-link {
|
||||
|
@ -18,21 +39,43 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-left: 12.5vw;
|
||||
padding-right: 12.5vw;
|
||||
}
|
||||
}
|
||||
|
||||
.home_consultation {
|
||||
@include beige_gradient();
|
||||
width: 100%;
|
||||
padding: 2rem 0;
|
||||
padding: 4rem 0;
|
||||
h2 {
|
||||
@include main_title();
|
||||
margin-bottom: 1.2rem;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
article > div {
|
||||
max-height: none !important;
|
||||
height: unset !important;
|
||||
p {
|
||||
@include main_text_content();
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-left: 12.5vw;
|
||||
max-width: 50vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
div.more-link {
|
||||
|
@ -41,5 +84,13 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-left: 12.5vw;
|
||||
padding-right: 12.5vw;
|
||||
}
|
||||
}
|
|
@ -9,13 +9,13 @@
|
|||
}
|
||||
}
|
||||
> div:first-of-type {
|
||||
max-height: none;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: unset !important;
|
||||
display: grid;
|
||||
grid-template-columns: 0.3fr 1fr;
|
||||
align-items: center;
|
||||
> div:first-of-type {
|
||||
> div {
|
||||
width: 40vw;
|
||||
width: 30vw;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
margin-bottom: 1rem;
|
||||
|
@ -24,21 +24,30 @@
|
|||
height: auto;
|
||||
mix-blend-mode: darken;
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
width: 20vw;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 15vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
> div:nth-of-type(2) {
|
||||
@include main_text_content();
|
||||
margin-bottom: 2rem;
|
||||
padding-left: $x_margin;
|
||||
}
|
||||
|
||||
> div:last-of-type {
|
||||
grid-column: 1 / 3;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
padding-bottom: 2rem;
|
||||
margin-top: 1rem;
|
||||
@include fluo_button();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,5 +3,11 @@ $y_margins: 2vh;
|
|||
|
||||
/* BREAKPOINTS */
|
||||
|
||||
$breakpoint_tablet: 960px;
|
||||
$breakpoint_desktop: 1280px;
|
||||
$breakpoint_tablet: 760px;
|
||||
$breakpoint_desktop: 1080px;
|
||||
|
||||
.layout-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
|
@ -1,12 +1,9 @@
|
|||
.actu_full {
|
||||
@include beige_gradient();
|
||||
font-family: "Marianne", sans-serif;
|
||||
padding-top: 3vh;
|
||||
width: 100vw;
|
||||
div {
|
||||
@include main_text_content();
|
||||
}
|
||||
.retour_actus {
|
||||
padding-top: 3vh;
|
||||
font-size: $sm_font_size;
|
||||
font-weight: 800;
|
||||
color: $teal;
|
||||
|
@ -21,18 +18,20 @@
|
|||
}
|
||||
}
|
||||
h2 {
|
||||
@include main_title();
|
||||
padding-top: 0 !important;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
h2 + div {
|
||||
padding: $x_margin;
|
||||
position: relative;
|
||||
padding: 0 $x_margin;
|
||||
.visually-hidden {
|
||||
width: 0% !important;
|
||||
}
|
||||
div:first-of-type {
|
||||
margin-top: -10px;
|
||||
.sous_titre > div > div {
|
||||
font-size: $l_font_size;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
div:nth-of-type(2) {
|
||||
> div:nth-of-type(2) {
|
||||
> div {
|
||||
width: 100%;
|
||||
margin-bottom: 40px;
|
||||
|
@ -44,10 +43,40 @@
|
|||
}
|
||||
}
|
||||
|
||||
.liens_fixed {
|
||||
p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
h3, h4, h5, h6 {
|
||||
@include sous_titre();
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.liens_fixed > div > div:nth-of-type(2), .file_fixed > div > div > div {
|
||||
padding: 0 $x_margin;
|
||||
text-align: right;
|
||||
margin: 2rem 0;
|
||||
@include fluo_button();
|
||||
a {
|
||||
display: inline-block;
|
||||
max-width: calc(25vw - $x_margin * 2);
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-bottom: 0 !important;
|
||||
margin: 0;
|
||||
padding: 0 $x_margin;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
bottom: 10vh;
|
||||
> div {
|
||||
height: 3vh;
|
||||
}
|
||||
}
|
||||
}
|
||||
.file_fixed span:last-of-type {
|
||||
display: none;
|
||||
}
|
||||
}
|
|
@ -2,8 +2,7 @@
|
|||
article {
|
||||
> div:first-of-type {
|
||||
width: 100%;
|
||||
max-height: 30vh;
|
||||
height: auto;
|
||||
height: 30vh;
|
||||
overflow: hidden;
|
||||
padding-left: $x_margin;
|
||||
padding-right: $x_margin;
|
||||
|
@ -13,6 +12,9 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
height: 20vh;
|
||||
}
|
||||
}
|
||||
|
||||
.preview_meta {
|
||||
|
@ -33,8 +35,11 @@
|
|||
|
||||
.preview_sous_titre {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: $m_font_size;
|
||||
padding: 2px $x_margin;
|
||||
font-size: $l_font_size;
|
||||
padding: 5px $x_margin;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
width: 100%;
|
||||
> div:first-of-type { // container du lien image
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
height: 30vh !important;
|
||||
overflow-y: hidden;
|
||||
padding: 0 !important;
|
||||
> div {
|
||||
|
@ -20,7 +20,62 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
.preview_meta {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
justify-content: flex-start;
|
||||
flex-direction: column;
|
||||
> div:last-of-type {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
h2, .preview_sous_titre {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
border-bottom: solid 1px $teal;
|
||||
> div:first-of-type {
|
||||
width: calc(50% + 6.25vw);
|
||||
}
|
||||
> div:last-of-type {
|
||||
width: calc(50% - 6.25vw);
|
||||
padding-bottom: 4rem;
|
||||
> div, > h2 {
|
||||
padding-left: $x_margin;
|
||||
}
|
||||
> div:first-of-type {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
> div:last-of-type {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.slick-arrow {
|
||||
display: none !important;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
border-radius: 1.5rem;
|
||||
border: solid 1px $teal;
|
||||
top: unset;
|
||||
bottom: 5%;
|
||||
background-color: rgba(255, 255, 255, 0.4) !important;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.slick-arrow:hover {
|
||||
background-color: rgba(255, 255, 255, 0.8) !important;
|
||||
}
|
||||
.slick-arrow::before {
|
||||
color: $teal;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
display: block;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
#carousel_dots {
|
||||
position: relative;
|
||||
|
@ -35,11 +90,46 @@
|
|||
color: rgba(0.9, 0.9, 0.9, 1);
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: 8vh;
|
||||
margin-left: 12.5vw;
|
||||
}
|
||||
}
|
||||
footer {
|
||||
@include fluo_button();
|
||||
text-align: center;
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 4rem;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: -2vh;
|
||||
position: absolute;
|
||||
right: 12.5vw;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding: 0 12.5vw;
|
||||
.slick-prev, .slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
.slick-prev {
|
||||
left: -5rem;
|
||||
}
|
||||
.slick-next {
|
||||
right: -5rem;
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
padding: 0;
|
||||
padding-right: 12.5vw;
|
||||
padding-bottom: 10vh;
|
||||
.slick-prev, .slick-next {
|
||||
bottom: 20%;
|
||||
}
|
||||
.slick-prev {
|
||||
display: none !important;
|
||||
}
|
||||
.slick-next {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -161,7 +161,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
ul {
|
||||
ul:not(.social-media-links--platforms) {
|
||||
display: none;
|
||||
height: auto;
|
||||
max-height: 0vh;
|
||||
|
@ -173,14 +173,19 @@
|
|||
width: 100vw;
|
||||
z-index: 0;
|
||||
padding: 0;
|
||||
li {
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
> li {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 6px 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
a {
|
||||
max-width: 60vw;
|
||||
> a {
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
color: white;
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-weight: 800;
|
||||
|
@ -188,22 +193,57 @@
|
|||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
> a:hover {
|
||||
background-color: white;
|
||||
color: $dark_green;
|
||||
}
|
||||
a.is-active {
|
||||
> a.is-active {
|
||||
background-color: white;
|
||||
color: $dark_green;
|
||||
}
|
||||
@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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
li.visible {
|
||||
> li.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
> li:nth-of-type(1),
|
||||
> li:nth-of-type(2),
|
||||
> li:nth-of-type(6) {
|
||||
border-bottom: solid 1px white;
|
||||
padding: 12px 0;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 25vw;
|
||||
right: 0;
|
||||
left: auto;
|
||||
li {
|
||||
width: calc(100% - $x_margin * 2);
|
||||
a {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ul.active {
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#}
|
||||
<div{{ attributes }}>
|
||||
<div class="home_introduction">
|
||||
<div class="logo">
|
||||
<img src="{{ directory }}/assets/logo_erable.png" alt="Logo Érable" />
|
||||
</div>
|
||||
{% block content %}
|
||||
{{ content }}
|
||||
{% endblock %}
|
||||
|
|
|
@ -0,0 +1,74 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for a field.
|
||||
*
|
||||
* To override output, copy the "field.html.twig" from the templates directory
|
||||
* to your theme's directory and customize it, just like customizing other
|
||||
* Drupal templates such as page.html.twig or node.html.twig.
|
||||
*
|
||||
* Instead of overriding the theming for all fields, you can also just override
|
||||
* theming for a subset of fields using
|
||||
* @link themeable Theme hook suggestions. @endlink For example,
|
||||
* here are some theme hook suggestions that can be used for a field_foo field
|
||||
* on an article node type:
|
||||
* - field--node--field-foo--article.html.twig
|
||||
* - field--node--field-foo.html.twig
|
||||
* - field--node--article.html.twig
|
||||
* - field--field-foo.html.twig
|
||||
* - field--text-with-summary.html.twig
|
||||
* - field.html.twig
|
||||
*
|
||||
* Available variables:
|
||||
* - attributes: HTML attributes for the containing element.
|
||||
* - label_hidden: Whether to show the field label or not.
|
||||
* - title_attributes: HTML attributes for the title.
|
||||
* - label: The label for the field.
|
||||
* - multiple: TRUE if a field can contain multiple items.
|
||||
* - items: List of all the field items. Each item contains:
|
||||
* - attributes: List of HTML attributes for each item.
|
||||
* - content: The field item's content.
|
||||
* - entity_type: The entity type to which the field belongs.
|
||||
* - field_name: The name of the field.
|
||||
* - field_type: The type of the field.
|
||||
* - label_display: The display settings for the label.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
{%
|
||||
set title_classes = [
|
||||
label_display == 'visually_hidden' ? 'visually-hidden',
|
||||
]
|
||||
%}
|
||||
|
||||
<div class="file_fixed">
|
||||
{% if label_hidden %}
|
||||
{% if multiple %}
|
||||
<div{{ attributes }}>
|
||||
{% for item in items %}
|
||||
<div{{ item.attributes }}>{{ item.content }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% for item in items %}
|
||||
<div{{ attributes }}>{{ item.content }}</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div{{ attributes }}>
|
||||
<div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div>
|
||||
{% if multiple %}
|
||||
<div>
|
||||
{% endif %}
|
||||
{% for item in items %}
|
||||
<div{{ item.attributes }}>{{ item.content }}</div>
|
||||
{% endfor %}
|
||||
{% if multiple %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
|
@ -68,7 +68,7 @@
|
|||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<article{{ attributes }} class="actu_full">
|
||||
<article{{ attributes }} class="actu_full fullpage">
|
||||
|
||||
<div class="retour_actus">
|
||||
← Retour aux actualités
|
||||
|
|
|
@ -70,14 +70,16 @@
|
|||
#}
|
||||
<article{{ attributes }}>
|
||||
{{ content.field_image }}
|
||||
<div class="preview_meta">
|
||||
{{ content.field_date }}
|
||||
{{ content.field_type_d_actualite }}
|
||||
</div>
|
||||
<h2{{ title_attributes }}>
|
||||
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
||||
</h2>
|
||||
<div class="preview_sous_titre">
|
||||
{{ content.field_sous_titre }}
|
||||
<div class="preview_infos">
|
||||
<div class="preview_meta">
|
||||
{{ content.field_date }}
|
||||
{{ content.field_type_d_actualite }}
|
||||
</div>
|
||||
<h2{{ title_attributes }}>
|
||||
<a href="{{ url }}" rel="bookmark">{{ label }}</a>
|
||||
</h2>
|
||||
<div class="preview_sous_titre">
|
||||
{{ content.field_sous_titre }}
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
@ -18,4 +18,5 @@
|
|||
<div{{ attributes }}>
|
||||
{{ content }}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
|
@ -37,7 +37,7 @@
|
|||
dom_id ? 'js-view-dom-id-' ~ dom_id,
|
||||
]
|
||||
%}
|
||||
<div{{ attributes.addClass(classes).addClass('fullpage') }}>
|
||||
<div{{ attributes.addClass(classes).addClass('fullpage', 'actus') }}>
|
||||
<h2>
|
||||
{{ view_array['#title']['#markup'] }}
|
||||
</h2>
|
||||
|
@ -50,13 +50,14 @@
|
|||
|
||||
{{ exposed }}
|
||||
{{ attachment_before }}
|
||||
|
||||
{% if rows -%}
|
||||
{{ rows }}
|
||||
{% elseif empty -%}
|
||||
{{ empty }}
|
||||
{% endif %}
|
||||
{{ pager }}
|
||||
<div class="actus_list">
|
||||
{% if rows -%}
|
||||
{{ rows }}
|
||||
{% elseif empty -%}
|
||||
{{ empty }}
|
||||
{% endif %}
|
||||
{{ pager }}
|
||||
</div>
|
||||
|
||||
{{ attachment_after }}
|
||||
{{ more }}
|
||||
|
|
Loading…
Reference in New Issue