fix design for auto archive procedure date display

This commit is contained in:
Lisa Durand 2023-06-05 17:28:38 +02:00
parent 84909b8597
commit 7e1d88da03
2 changed files with 5 additions and 32 deletions

View file

@ -30,30 +30,6 @@ $procedure-context-breakpoint: $two-columns-breakpoint;
font-size: 12px; font-size: 12px;
} }
.procedure-configuration--auto-archive {
cursor: pointer;
summary {
font-size: 20px;
// Hide the default triangle details marker
list-style: none;
// (using the non-standard way for Chrome.)
&::-webkit-details-marker {
display: none;
}
}
p {
padding-top: 8px;
font-size: 16px;
}
}
.procedure-auto-archive-title {
border-bottom: 1px dotted $blue-france-500;
}
.procedure-logos { .procedure-logos {
display: flex; display: flex;
align-items: center; align-items: center;

View file

@ -14,17 +14,14 @@
%span.fr-icon-timer-line %span.fr-icon-timer-line
= t('shared.procedure_description.estimated_fill_duration', estimated_minutes: estimated_fill_duration_minutes(procedure)) = t('shared.procedure_description.estimated_fill_duration', estimated_minutes: estimated_fill_duration_minutes(procedure))
- if procedure.auto_archive_on
%p
%small
%span.fr-icon-calendar-line
Date limite : #{procedure_auto_archive_datetime(procedure)}.
= yield = yield
- if procedure.auto_archive_on
%details.procedure-configuration--auto-archive
%summary
%span.icon.edit
%span.procedure-auto-archive-title Date limite : #{procedure_auto_archive_date(procedure)}
%p Vous pouvez déposer vos dossiers jusquau #{procedure_auto_archive_datetime(procedure)}.
- unless @no_description - unless @no_description
.fr-accordions-group .fr-accordions-group
%section.fr-accordion %section.fr-accordion