début de l'intégration design desktop

This commit is contained in:
Valentin
2023-12-14 09:38:25 +01:00
parent 6c4cf6f696
commit cb35336870
8 changed files with 442 additions and 101 deletions

View File

@@ -31,6 +31,7 @@
font-weight: 300;
font-style: normal;
}
/* BREAKPOINTS */
/* SIZES */
/* MIXINS */
a {
@@ -63,7 +64,7 @@ a {
justify-content: space-between;
}
.layout-container header div #block-erabletheme-logorepublique {
max-width: 15vw;
width: 15vw;
}
.layout-container header div #block-erabletheme-logorepublique a {
display: flex;
@@ -74,27 +75,106 @@ a {
height: auto;
width: 100%;
}
.layout-container header div #block-erabletheme-logoerable {
max-width: 30vw;
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-logorepublique a img {
padding-right: 1.5vw;
}
}
.layout-container header div #block-erabletheme-logoerable a {
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-logorepublique {
width: 10vw;
}
}
.layout-container header div #block-erabletheme-logoerable {
max-height: 100%;
width: 20vw;
}
.layout-container header div #block-erabletheme-logoerable > div {
width: auto;
}
.layout-container header div #block-erabletheme-logoerable > div a {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.layout-container header div #block-erabletheme-logoerable a img {
height: auto;
width: 100%;
.layout-container header div #block-erabletheme-logoerable > div a img {
height: 100%;
width: auto;
padding-top: 3px;
padding-bottom: 3px;
}
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-logoerable {
width: 10vw;
}
}
.layout-container header div #block-erabletheme-navigationprincipale {
display: none;
}
.layout-container header div #block-erabletheme-navigationprincipale ul {
width: 60vw;
display: flex;
height: 100%;
align-items: center;
justify-content: space-around;
padding: 0 5vw;
}
.layout-container header div #block-erabletheme-navigationprincipale ul li {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
}
.layout-container header div #block-erabletheme-navigationprincipale ul li a {
font-weight: 800;
padding: 4px 6px;
color: black;
background-color: rgba(255, 255, 255, 0);
transition: background-color 0.3s ease;
}
.layout-container header div #block-erabletheme-navigationprincipale ul li a:hover {
background-color: #00ff80;
}
.layout-container header div #block-erabletheme-navigationprincipale ul li a.is-active {
font-weight: 400;
background-color: #00ff80;
}
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-navigationprincipale {
display: block;
}
}
.layout-container header div #block-erabletheme-socialmedialinks {
width: 7vw;
margin: 0 calc((20vw - (7vw + 7vh)) / 2);
display: none;
}
.layout-container header div #block-erabletheme-socialmedialinks ul {
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.layout-container header div #block-erabletheme-socialmedialinks ul 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: #038788;
}
.layout-container header div #block-erabletheme-socialmedialinks ul li a svg.ext {
display: none;
}
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-socialmedialinks {
display: block;
}
}
.layout-container header div #block-erabletheme-header #hamburger {
width: 4rem;
cursor: pointer;
width: 7vh;
height: 100%;
background-color: #00ff80;
display: flex;
@@ -159,6 +239,12 @@ a {
font-family: "Marianne", sans-serif;
font-weight: 800;
padding: 4px 6px;
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 {
background-color: white;
color: #314e41;
}
.layout-container header div #block-erabletheme-header ul li a.is-active {
background-color: white;
@@ -167,6 +253,13 @@ a {
.layout-container header div #block-erabletheme-header ul li.visible {
opacity: 1;
}
@media (min-width: 1280px) {
.layout-container header div #block-erabletheme-header ul {
width: 25vw;
right: 0;
left: auto;
}
}
.layout-container header div #block-erabletheme-header ul.active {
padding: 30px 0;
max-height: 100vh;
@@ -180,28 +273,45 @@ a {
margin-top: 50px;
padding: 0 3vw;
}
.layout-container > footer #footer_left div {
.layout-container > footer #footer_middle #footer_left > div {
margin-top: 5px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: nowrap;
}
.layout-container > footer #footer_left div #block-erabletheme-logorep {
max-width: 30vw;
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logorep {
width: 30vw;
}
.layout-container > footer #footer_left div #block-erabletheme-logorep img {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logorep img {
width: 100%;
height: auto;
}
.layout-container > footer #footer_left div #block-erabletheme-logoepau {
max-width: 50vw;
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logorep {
width: 10vw;
}
}
.layout-container > footer #footer_left div #block-erabletheme-logoepau img {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logoepau {
width: 50vw;
}
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logoepau img {
width: 100%;
height: auto;
}
.layout-container > footer #footer_section {
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_left > div #block-erabletheme-logoepau {
width: 15vw;
padding-left: 2vw;
}
}
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_left > div {
width: 25vw;
padding-left: 3vw;
}
}
.layout-container > footer #footer_middle #footer_section {
display: flex;
width: 100%;
justify-content: space-between;
@@ -210,29 +320,41 @@ a {
margin-bottom: 20px;
position: relative;
}
.layout-container > footer #footer_section #footer_center {
.layout-container > footer #footer_middle #footer_section #footer_center {
padding-left: 2vw;
width: 50%;
}
.layout-container > footer #footer_section #footer_center nav ul {
.layout-container > footer #footer_middle #footer_section #footer_center nav ul {
display: flex;
justify-content: space-between;
}
.layout-container > footer #footer_section #footer_center nav ul li a {
.layout-container > footer #footer_middle #footer_section #footer_center nav ul li a {
color: #314e41;
font-size: 0.8rem;
font-family: "Marianne", sans-serif;
font-weight: 800;
text-decoration: underline;
}
.layout-container > footer #footer_section #footer_right {
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_section #footer_center nav ul {
width: 50vw;
padding: 0 15vw;
}
}
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_section #footer_center {
padding-left: 0;
width: auto;
}
}
.layout-container > footer #footer_middle #footer_section #footer_right {
width: 30%;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul {
.layout-container > footer #footer_middle #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul {
display: flex;
justify-content: space-between;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a span {
.layout-container > footer #footer_middle #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a span {
font-weight: lighter;
font-size: 1.4rem;
width: 2.2rem;
@@ -242,10 +364,26 @@ a {
color: white;
background-color: #038788;
}
.layout-container > footer #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a svg.ext {
background-color: red;
.layout-container > footer #footer_middle #footer_section #footer_right #block-erabletheme-socialmedialinks-2 ul li a svg.ext {
display: none;
}
@media (min-width: 960px) {
.layout-container > footer #footer_middle #footer_section #footer_right {
width: 25vw;
padding-left: 15vw;
padding-right: 3vw;
}
}
@media (min-width: 960px) {
.layout-container > footer #footer_middle {
display: flex;
}
}
@media (min-width: 960px) {
.layout-container > footer {
padding: 0;
}
}
.slick-container {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
@@ -299,10 +437,14 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.slick-container footer a svg {
display: none;
}
.slick-container footer a:hover {
background-color: #00ff80;
}
.actu_full {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
@@ -371,10 +513,14 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.actu_full .liens_fixed a svg {
display: none;
}
.actu_full .liens_fixed a:hover {
background-color: #00ff80;
}
.views-row article > div:first-of-type {
width: 100%;
@@ -452,10 +598,14 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.home_introduction div.more-link a svg {
display: none;
}
.home_introduction div.more-link a:hover {
background-color: #00ff80;
}
.home_consultation {
background: linear-gradient(to bottom, #fcf9ee 80%, white 100%);
@@ -496,10 +646,14 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.home_consultation div.more-link a svg {
display: none;
}
.home_consultation div.more-link a:hover {
background-color: #00ff80;
}
.fullpage {
margin-top: -3vh;
@@ -559,13 +713,31 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.fullpage .fullpage_content .liens_fixed a svg {
display: none;
}
.fullpage .fullpage_content .liens_fixed a:hover {
background-color: #00ff80;
}
.fullpage .views-row {
margin-bottom: 8vh;
}
@media (min-width: 960px) {
.fullpage {
margin-top: 10vh;
padding-top: 0;
width: 75vw;
margin-left: 12.5vw;
}
}
@media (min-width: 1280px) {
.fullpage {
width: 50vw;
margin-left: 25vw;
}
}
.content_gouvernance .views-row {
margin-bottom: 2vh;
@@ -609,6 +781,7 @@ a {
color: #038788;
font-weight: 800;
margin-bottom: 2vh;
align-self: center;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(3) {
display: none;
@@ -618,6 +791,22 @@ a {
font-size: 1rem;
line-height: 1.4;
}
@media (min-width: 960px) {
.content_gouvernance .views-row article .paragraph--type--membre-equipe {
grid-template-columns: 10vw 1fr;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:first-of-type > div {
width: 10vw;
height: 10vw;
border-radius: 5vw;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:nth-of-type(2) {
padding-left: 3vw;
}
.content_gouvernance .views-row article .paragraph--type--membre-equipe > div:last-of-type {
padding-left: 3vw;
}
}
.content_partenaires .views-row {
margin-bottom: 2vh;
@@ -668,9 +857,13 @@ a {
background-color: white;
border: solid 2px #00ff80;
padding: 9px 18px;
transition: background-color 0.3s ease;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type a svg {
display: none;
}
.content_partenaires .views-row article > div:first-of-type > div:last-of-type a:hover {
background-color: #00ff80;
}
/*# sourceMappingURL=styles.css.map */