fix(nav): sans flèche sur les cartes, min-width seulement, zone de navigation nommée, espacements en tokens (checkpoint B14b du 03/11)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PWGVn3kY4vPBaWF9EFkZbz
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
46a8c976c3
commit
03a382c26e
@@ -20,6 +20,7 @@
|
||||
:actif="courant?.echelle ?? null"
|
||||
:lien="lienEntree"
|
||||
courant="page"
|
||||
libelle="Échelles S, M, XL : ouvrir une échelle"
|
||||
:nom="false"
|
||||
:bouton="{ ouvert, controle: ID_VOLET, choisir: basculer }"
|
||||
/>
|
||||
@@ -194,13 +195,16 @@ onBeforeUnmount(() => {
|
||||
.nav-portes__pas :deep(.pas__item + .pas__item)::before { width: 16px; }
|
||||
.nav-portes__ici { display: block; }
|
||||
}
|
||||
/* 768-1023 : l'échelle et l'onglet l'un sous l'autre (la barre est étroite) */
|
||||
@media (min-width: 768px) and (max-width: 1023px) {
|
||||
/* À partir de 768 : l'échelle et l'onglet l'un sous l'autre (la barre est étroite) ; sur une ligne à partir de 1024 (min-width seulement, PROTOCOLE) */
|
||||
@media (min-width: 768px) {
|
||||
.nav-portes__echelle,
|
||||
.nav-portes__onglet { display: block; white-space: nowrap; }
|
||||
.nav-portes__sep { display: none; }
|
||||
}
|
||||
@media (min-width: 1024px) {
|
||||
.nav-portes__echelle,
|
||||
.nav-portes__onglet,
|
||||
.nav-portes__sep { display: inline; }
|
||||
.nav-portes__ici { white-space: nowrap; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
:class="{ 'volet__carte--courante': o.actif(route) }"
|
||||
:aria-current="o.actif(route) ? 'page' : undefined"
|
||||
@click="emit('choisi')"
|
||||
>{{ o.libelle }}<span aria-hidden="true">→</span></NuxtLink>
|
||||
>{{ o.libelle }}</NuxtLink>
|
||||
</li>
|
||||
</ul>
|
||||
<p class="volet__pied">
|
||||
@@ -209,7 +209,7 @@ defineExpose({ premierFocus })
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 1.75rem;
|
||||
padding: 2px 6px;
|
||||
padding: var(--space-2xs) var(--space-xs);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--accent);
|
||||
color: var(--on-accent);
|
||||
@@ -224,7 +224,7 @@ defineExpose({ premierFocus })
|
||||
.volet__mots {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 2px 0;
|
||||
gap: var(--space-2xs) 0;
|
||||
margin: var(--space-xs) 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
@@ -249,7 +249,6 @@ defineExpose({ premierFocus })
|
||||
.volet__carte {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-xs);
|
||||
min-height: 48px;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user