Merge pull request #10538 from demarches-simplifiees/a11y-fix-unordered-list
Correction des listes mal structurées
This commit is contained in:
commit
0d744a0eb7
5 changed files with 35 additions and 35 deletions
|
@ -133,7 +133,8 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.number {
|
.number {
|
||||||
@extend %horizontal-list-item;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@ -143,6 +144,8 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.number-value {
|
.number-value {
|
||||||
|
padding-bottom: 0;
|
||||||
|
padding-inline-start: 0;
|
||||||
color: var(--text-action-high-blue-france);
|
color: var(--text-action-high-blue-france);
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
line-height: 2rem;
|
line-height: 2rem;
|
||||||
|
@ -150,8 +153,9 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.number-label {
|
.number-label {
|
||||||
|
order: 2;
|
||||||
max-width: 10rem;
|
max-width: 10rem;
|
||||||
margin: auto;
|
margin: 0 auto;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
|
@ -163,6 +167,10 @@ $landing-breakpoint: 1040px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html[lang="fr"] .landing .number-label-third::before {
|
||||||
|
content: "de ";
|
||||||
|
}
|
||||||
|
|
||||||
$users-breakpoint: 950px;
|
$users-breakpoint: 950px;
|
||||||
|
|
||||||
.users {
|
.users {
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
.fr-skiplinks
|
.fr-skiplinks
|
||||||
%nav.fr-container{ role: "navigation", 'aria-label': t("skiplinks.quick") }
|
%nav.fr-container{ role: "navigation", 'aria-label': t("skiplinks.quick") }
|
||||||
%ul.fr-skiplinks__list
|
%a.fr-link{ href: "#contenu" }= t('skiplinks.content')
|
||||||
%li
|
|
||||||
%a.fr-link{ href: "#contenu" }= t('skiplinks.content')
|
|
||||||
|
|
|
@ -74,28 +74,22 @@
|
||||||
.fr-py-6w.fr-background-alt--blue-france
|
.fr-py-6w.fr-background-alt--blue-france
|
||||||
.container
|
.container
|
||||||
%h2.center.fr-mb-4w #{Current.application_name} en chiffres
|
%h2.center.fr-mb-4w #{Current.application_name} en chiffres
|
||||||
%ul.numbers
|
%dl.numbers
|
||||||
%li.number
|
.number
|
||||||
.number-value
|
%dt.number-label
|
||||||
|
administrations partenaires
|
||||||
|
%dd.number-value
|
||||||
= number_with_delimiter(Administrateur.with_publiees_ou_closes.uniq.count, :locale => :fr)
|
= number_with_delimiter(Administrateur.with_publiees_ou_closes.uniq.count, :locale => :fr)
|
||||||
.number-label<
|
.number
|
||||||
administrations
|
%dt.number-label
|
||||||
%br<>
|
dossiers déposés
|
||||||
partenaires
|
%dd.number-value
|
||||||
%li.number
|
|
||||||
.number-value
|
|
||||||
= number_with_delimiter(Dossier.state_not_brouillon.count, :locale => :fr)
|
= number_with_delimiter(Dossier.state_not_brouillon.count, :locale => :fr)
|
||||||
.number-label<
|
.number
|
||||||
dossiers
|
%dt.number-label
|
||||||
%br<>
|
de réduction des délais de traitement
|
||||||
déposés
|
%dd.number-value
|
||||||
%li.number
|
|
||||||
.number-value
|
|
||||||
= "#{number_with_delimiter(50, :locale => :fr)} %"
|
= "#{number_with_delimiter(50, :locale => :fr)} %"
|
||||||
.number-label<
|
|
||||||
de réduction
|
|
||||||
%br<>
|
|
||||||
des délais de traitement
|
|
||||||
|
|
||||||
= render partial: "root/users" if LANDING_USERS_ENABLED
|
= render partial: "root/users" if LANDING_USERS_ENABLED
|
||||||
|
|
||||||
|
|
|
@ -30,19 +30,19 @@
|
||||||
.container
|
.container
|
||||||
%h2.center.fr-mb-4w= t(".our_numbers", name: Current.application_name)
|
%h2.center.fr-mb-4w= t(".our_numbers", name: Current.application_name)
|
||||||
- cache [I18n.locale, "numbers-panel"], expires_in: 3.hours do
|
- cache [I18n.locale, "numbers-panel"], expires_in: 3.hours do
|
||||||
%ul.numbers
|
%dl.numbers
|
||||||
%li.number
|
.number
|
||||||
.number-value
|
%dt.number-label= t(".numbers.administrations")
|
||||||
|
%dd.number-value
|
||||||
= number_with_delimiter(@stat&.administrations_partenaires)
|
= number_with_delimiter(@stat&.administrations_partenaires)
|
||||||
.number-label= t(".numbers.administrations")
|
.number
|
||||||
%li.number
|
%dt.number-label= t(".numbers.files")
|
||||||
.number-value
|
%dd.number-value
|
||||||
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
= number_with_delimiter(@stat&.dossiers_not_brouillon)
|
||||||
.number-label= t(".numbers.files")
|
.number
|
||||||
%li.number
|
%dt.number-label.number-label-third= t(".numbers.processing_time")
|
||||||
.number-value
|
%dd.number-value
|
||||||
= "#{number_with_delimiter(50)} %"
|
= "#{number_with_delimiter(50)} %"
|
||||||
.number-label.number-label-third= t(".numbers.processing_time")
|
|
||||||
|
|
||||||
.fr-background-alt--blue-france.fr-py-6w
|
.fr-background-alt--blue-france.fr-py-6w
|
||||||
.container
|
.container
|
||||||
|
|
|
@ -18,7 +18,7 @@ fr:
|
||||||
dossiers
|
dossiers
|
||||||
déposés
|
déposés
|
||||||
processing_time: |
|
processing_time: |
|
||||||
de réduction
|
réduction
|
||||||
des délais de traitement
|
des délais de traitement
|
||||||
question: Une question, un problème ?
|
question: Une question, un problème ?
|
||||||
answer_in_faq: La réponse est dans l’aide en ligne
|
answer_in_faq: La réponse est dans l’aide en ligne
|
||||||
|
|
Loading…
Reference in a new issue