Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03a382c26e |
@@ -20,6 +20,7 @@
|
|||||||
:actif="courant?.echelle ?? null"
|
:actif="courant?.echelle ?? null"
|
||||||
:lien="lienEntree"
|
:lien="lienEntree"
|
||||||
courant="page"
|
courant="page"
|
||||||
|
libelle="Échelles S, M, XL : ouvrir une échelle"
|
||||||
:nom="false"
|
:nom="false"
|
||||||
:bouton="{ ouvert, controle: ID_VOLET, choisir: basculer }"
|
: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__pas :deep(.pas__item + .pas__item)::before { width: 16px; }
|
||||||
.nav-portes__ici { display: block; }
|
.nav-portes__ici { display: block; }
|
||||||
}
|
}
|
||||||
/* 768-1023 : l'échelle et l'onglet l'un sous l'autre (la barre est étroite) */
|
/* À 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) and (max-width: 1023px) {
|
@media (min-width: 768px) {
|
||||||
.nav-portes__echelle,
|
.nav-portes__echelle,
|
||||||
.nav-portes__onglet { display: block; white-space: nowrap; }
|
.nav-portes__onglet { display: block; white-space: nowrap; }
|
||||||
.nav-portes__sep { display: none; }
|
.nav-portes__sep { display: none; }
|
||||||
}
|
}
|
||||||
@media (min-width: 1024px) {
|
@media (min-width: 1024px) {
|
||||||
|
.nav-portes__echelle,
|
||||||
|
.nav-portes__onglet,
|
||||||
|
.nav-portes__sep { display: inline; }
|
||||||
.nav-portes__ici { white-space: nowrap; }
|
.nav-portes__ici { white-space: nowrap; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -57,7 +57,7 @@
|
|||||||
:class="{ 'volet__carte--courante': o.actif(route) }"
|
:class="{ 'volet__carte--courante': o.actif(route) }"
|
||||||
:aria-current="o.actif(route) ? 'page' : undefined"
|
:aria-current="o.actif(route) ? 'page' : undefined"
|
||||||
@click="emit('choisi')"
|
@click="emit('choisi')"
|
||||||
>{{ o.libelle }}<span aria-hidden="true">→</span></NuxtLink>
|
>{{ o.libelle }}</NuxtLink>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p class="volet__pied">
|
<p class="volet__pied">
|
||||||
@@ -209,7 +209,7 @@ defineExpose({ premierFocus })
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-width: 1.75rem;
|
min-width: 1.75rem;
|
||||||
padding: 2px 6px;
|
padding: var(--space-2xs) var(--space-xs);
|
||||||
border-radius: var(--radius-sm);
|
border-radius: var(--radius-sm);
|
||||||
background: var(--accent);
|
background: var(--accent);
|
||||||
color: var(--on-accent);
|
color: var(--on-accent);
|
||||||
@@ -224,7 +224,7 @@ defineExpose({ premierFocus })
|
|||||||
.volet__mots {
|
.volet__mots {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 2px 0;
|
gap: var(--space-2xs) 0;
|
||||||
margin: var(--space-xs) 0 0;
|
margin: var(--space-xs) 0 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
@@ -249,7 +249,6 @@ defineExpose({ premierFocus })
|
|||||||
.volet__carte {
|
.volet__carte {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
|
||||||
gap: var(--space-xs);
|
gap: var(--space-xs);
|
||||||
min-height: 48px;
|
min-height: 48px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user