fix design for auto archive procedure date display
This commit is contained in:
parent
84909b8597
commit
7e1d88da03
2 changed files with 5 additions and 32 deletions
|
@ -30,30 +30,6 @@ $procedure-context-breakpoint: $two-columns-breakpoint;
|
|||
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 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
|
@ -14,17 +14,14 @@
|
|||
%span.fr-icon-timer-line
|
||||
= 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
|
||||
|
||||
- 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 jusqu’au #{procedure_auto_archive_datetime(procedure)}.
|
||||
|
||||
- unless @no_description
|
||||
.fr-accordions-group
|
||||
%section.fr-accordion
|
||||
|
|
Loading…
Reference in a new issue