generated from gitea_admin/default
corrections
This commit is contained in:
@@ -206,9 +206,9 @@
|
|||||||
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
@media (min-width: 742px) and (max-width: 795px) {
|
@media (min-width: 728px) and (max-width: 795px) {
|
||||||
.decalage_gauche {
|
.decalage_gauche {
|
||||||
margin-left: -23px;
|
margin-left: -73px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -451,6 +451,7 @@
|
|||||||
|
|
||||||
|
|
||||||
&.is-open {
|
&.is-open {
|
||||||
|
border-bottom: none !important;
|
||||||
.header_drawer_sub_menu {
|
.header_drawer_sub_menu {
|
||||||
display: block;
|
display: block;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
|||||||
@@ -16,12 +16,24 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Hint icon (micro affordance) -->
|
<!-- 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>
|
<span class="hc__hint-icon">{{ hintIcon }}</span>
|
||||||
</div>
|
</button>
|
||||||
<div v-if="showHint" class="hc__hint--left" aria-hidden="true">
|
<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>
|
<span class="hc__hint-icon">{{ hintIcon }}</span>
|
||||||
</div>
|
</button>
|
||||||
|
|
||||||
<!-- Scroller -->
|
<!-- Scroller -->
|
||||||
<div
|
<div
|
||||||
@@ -103,6 +115,14 @@
|
|||||||
t = setTimeout(() => {}, 80)
|
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(() => {
|
onMounted(() => {
|
||||||
const el = scroller.value
|
const el = scroller.value
|
||||||
if (!el) return
|
if (!el) return
|
||||||
@@ -187,7 +207,11 @@
|
|||||||
|
|
||||||
/* Hint icon */
|
/* Hint icon */
|
||||||
.hc__hint {
|
.hc__hint {
|
||||||
pointer-events: none;
|
pointer-events: auto;
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
appearance: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
@@ -204,7 +228,11 @@
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
.hc__hint--left {
|
.hc__hint--left {
|
||||||
pointer-events: none;
|
pointer-events: auto;
|
||||||
|
border: 0;
|
||||||
|
padding: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
appearance: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 10px;
|
left: 10px;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
|||||||
@@ -135,6 +135,7 @@
|
|||||||
//règle spécifique après la règle générale
|
//règle spécifique après la règle générale
|
||||||
.concert-card-list.concert-card-list--highlight-first > .concert-card:first-child {
|
.concert-card-list.concert-card-list--highlight-first > .concert-card:first-child {
|
||||||
flex: 2 1 480px;
|
flex: 2 1 480px;
|
||||||
|
min-width: 500px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,9 +40,9 @@
|
|||||||
margin-left: -11px;
|
margin-left: -11px;
|
||||||
}
|
}
|
||||||
.img_ticket_mob {
|
.img_ticket_mob {
|
||||||
max-height: 37px;
|
max-height: 31px;
|
||||||
margin-top: 9px;
|
margin-top: 10px;
|
||||||
margin-left: -11px;
|
// margin-left: -11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -68,9 +68,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="header_nav_item decalage_gauche" :class="{ 'is-active': isMecenat }">
|
<li class="header_nav_item" :class="{ 'is-active': isMecenat }">
|
||||||
Mécénat
|
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/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/entreprises">Entreprises</NuxtLink></li>
|
||||||
<li class="header_nav_sub_menu_item"><NuxtLink to="/mecenat/projets">Les projets</NuxtLink></li>
|
<li class="header_nav_sub_menu_item"><NuxtLink to="/mecenat/projets">Les projets</NuxtLink></li>
|
||||||
|
|||||||
Reference in New Issue
Block a user