diff --git a/src/components/vue/EmbedOnglets.vue b/src/components/vue/EmbedOnglets.vue index f9d6c20..8151142 100644 --- a/src/components/vue/EmbedOnglets.vue +++ b/src/components/vue/EmbedOnglets.vue @@ -1,43 +1,99 @@ @@ -133,7 +205,7 @@ onUnmounted(() => { role="tablist" aria-label="Sites embarqués" class="shrink-0 flex items-stretch border-b border-neutral-200 bg-white" - style="font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;" + :style="typoOnglets" > { role="tab" :id="`onglet-${o.id}`" :aria-selected="actif === i" - :aria-controls="`panneau-${o.id}`" - class="relative px-4 py-2 text-xs cursor-pointer transition-colors" + :aria-controls="`panneau-${o.sites[sousActif[i]].id}`" + class="onglet relative px-4 py-2 text-xs cursor-pointer transition-colors" :class="actif === i ? 'text-neutral-900' : 'text-neutral-500 hover:text-neutral-800'" @click="choisir(i)" > @@ -153,12 +225,12 @@ onUnmounted(() => { class="absolute left-0 bottom-0 h-0.5" :style="{ width: actif === i ? (arrete ? '100%' : `${Math.min(progression, 1) * 100}%`) : '0%', - background: '#0F172A', + background: ENCRE, }" > { - - - + + - {{ o.label }} - {{ o.titre }} - {{ o.description }} - Ouvrir le site ↗ - + {{ s.label }} + - + + + + {{ o.label }} + + {{ + o.sites.length > 1 ? `${o.label} · ${s.label}` : s.label + }} + {{ s.titre }} + {{ s.description }} + Ouvrir le site ↗ + + + + + - Chargement de {{ o.label }}... + Chargement de {{ s.titre }}...
{{ o.label }}