corrections

This commit is contained in:
2026-02-20 22:44:41 +01:00
parent 35d326ab03
commit 8dd7cbbb06
5 changed files with 49 additions and 19 deletions

View File

@@ -206,9 +206,9 @@
list-style: none;
@media (min-width: 742px) and (max-width: 795px) {
@media (min-width: 728px) and (max-width: 795px) {
.decalage_gauche {
margin-left: -23px;
margin-left: -73px;
}
}
@@ -396,17 +396,17 @@
&.is-open {
.burger_line:nth-child(1) {
top: 8px;
transform: rotate(45deg);
top: 8px;
transform: rotate(45deg);
}
.burger_line:nth-child(2) {
opacity: 0;
opacity: 0;
}
.burger_line:nth-child(3) {
top: 8px;
transform: rotate(-45deg);
top: 8px;
transform: rotate(-45deg);
}
}
}
@@ -451,6 +451,7 @@
&.is-open {
border-bottom: none !important;
.header_drawer_sub_menu {
display: block;
visibility: visible;

View File

@@ -16,12 +16,24 @@
</div>
<!-- Hint icon (micro affordance) -->
<div v-if="showHint" class="hc__hint" aria-hidden="true">
<button
v-if="showHint"
type="button"
class="hc__hint"
aria-label="Défiler vers la droite"
@click="scrollByHint(1)"
>
<span class="hc__hint-icon">{{ hintIcon }}</span>
</div>
<div v-if="showHint" class="hc__hint--left" aria-hidden="true">
</button>
<button
v-if="showHint"
type="button"
class="hc__hint--left"
aria-label="Défiler vers la gauche"
@click="scrollByHint(-1)"
>
<span class="hc__hint-icon">{{ hintIcon }}</span>
</div>
</button>
<!-- Scroller -->
<div
@@ -103,6 +115,14 @@
t = setTimeout(() => {}, 80)
}
const scrollByHint = (direction) => {
const el = scroller.value
if (!el) return
const distance = Math.max(140, Math.round(el.clientWidth * 0.8))
el.scrollBy({ left: distance * direction, behavior: 'smooth' })
}
onMounted(() => {
const el = scroller.value
if (!el) return
@@ -187,7 +207,11 @@
/* Hint icon */
.hc__hint {
pointer-events: none;
pointer-events: auto;
border: 0;
padding: 0;
cursor: pointer;
appearance: none;
position: absolute;
right: 10px;
top: 50%;
@@ -204,7 +228,11 @@
z-index: 2;
}
.hc__hint--left {
pointer-events: none;
pointer-events: auto;
border: 0;
padding: 0;
cursor: pointer;
appearance: none;
position: absolute;
left: 10px;
top: 50%;
@@ -300,4 +328,4 @@
opacity: 0.55;
}
}
</style>
</style>

View File

@@ -135,6 +135,7 @@
//règle spécifique après la règle générale
.concert-card-list.concert-card-list--highlight-first > .concert-card:first-child {
flex: 2 1 480px;
min-width: 500px;
}
}

View File

@@ -40,9 +40,9 @@
margin-left: -11px;
}
.img_ticket_mob {
max-height: 37px;
margin-top: 9px;
margin-left: -11px;
max-height: 31px;
margin-top: 10px;
// margin-left: -11px;
}

View File

@@ -68,9 +68,9 @@
</ul>
</li>
<li class="header_nav_item decalage_gauche" :class="{ 'is-active': isMecenat }">
<li class="header_nav_item" :class="{ 'is-active': isMecenat }">
Mécénat
<ul class="header_nav_sub_menu">
<ul class="header_nav_sub_menu decalage_gauche">
<li class="header_nav_sub_menu_item"><NuxtLink to="/mecenat/soutenir">Nous soutenir</NuxtLink></li>
<li class="header_nav_sub_menu_item"><NuxtLink to="/mecenat/entreprises">Entreprises</NuxtLink></li>
<li class="header_nav_sub_menu_item"><NuxtLink to="/mecenat/projets">Les projets</NuxtLink></li>