Skip to content

Commit

Permalink
THE-907 layout mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
clementdelafontaine committed Aug 17, 2023
1 parent f430710 commit e5b405d
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions src/components/common/FooterCustom.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-footer class="pa-0">
<div class="footerTop">
<div class="links-container">
<div class="footer-top">
<div class="links-container footer-content">
<h3>
<v-icon>mdi-arrow-top-right</v-icon>
{{ $t("accesDirect") }}
Expand Down Expand Up @@ -29,12 +29,12 @@
</li>
</ul>
</div>
<div class="theses-description">
<div class="theses-description footer-content">
<h4>Theses.fr</h4>
<span>{{ $t("footer.texte") }}</span>&nbsp;<a href="/apropos">{{ $t("footer.plus")
}}</a>
</div>
<div class="logos-container">
<div class="logos-container footer-content">
<a href="https://abes.fr/" target="_blank" :title='$t("footer.logoAbesAlt")'>
<img src="../../assets/abes-logo-cercle.svg" :alt='$t("footer.logoAbesAlt")'></a>
<a href="https://www.enseignementsup-recherche.gouv.fr/fr" target="_blank" :title='$t("footer.logoMesriAlt")'>
Expand Down Expand Up @@ -91,10 +91,15 @@
max-height: 300px;
}
.footerTop {
.footer-top {
display: grid;
grid-template-columns: 30fr 0.5fr 30fr 0.5fr 30fr;
@media #{ map-get(settings.$display-breakpoints, 'sm-and-down')} {
display: flex;
flex-direction: column;
}
width: 90%;
padding-top: 1em;
padding-bottom: 1em;
Expand All @@ -118,7 +123,6 @@
}
ul {
margin-left: 1rem;
list-style: none;
text-align: left;
Expand Down Expand Up @@ -147,25 +151,26 @@
display: grid;
grid-template-rows: 1fr 8fr;
.list-1 {
}
order: 2;
}
.theses-description {
grid-column-start: 1;
order: 1;
span {
opacity: 0.6;
}
}
.logos-container {
order: 3;
grid-column-start: 5;
display: flex;
flex-direction: column;
align-items: center;
justify-content: end;
flex-direction: row;
justify-content: space-around;
a {
Expand Down Expand Up @@ -199,7 +204,6 @@
h3 {
color: rgb(var(--v-theme-primary));
margin-left: 1rem;
}
.orange-link {
Expand All @@ -216,4 +220,8 @@ footer {
background-color: rgb(var(--v-theme-surface));
border-top: 1px solid rgb(var(--v-theme-gris-clair));
}
.footer-content {
margin-top: 1em;
}
</style>

0 comments on commit e5b405d

Please sign in to comment.