dossier: improve styling of finished dossier infos
This commit is contained in:
parent
a7cb4b6514
commit
de07171acd
2 changed files with 34 additions and 23 deletions
|
@ -55,18 +55,28 @@
|
|||
margin: auto;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
margin-bottom: $default-spacer;
|
||||
}
|
||||
|
||||
p {
|
||||
margin-bottom: $default-padding;
|
||||
}
|
||||
|
||||
.decision {
|
||||
font-size: 1.2em;
|
||||
margin-top: $default-padding * 3;
|
||||
margin-bottom: $default-padding * 3;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: $default-spacer;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: bold;
|
||||
margin-bottom: $default-spacer;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
quotes: "« " " »" "‘" "’";
|
||||
margin-bottom: $default-padding * 3;
|
||||
}
|
||||
|
||||
blockquote::before {
|
||||
|
@ -77,7 +87,7 @@
|
|||
content: close-quote;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: $default-spacer;
|
||||
.action {
|
||||
margin-bottom: $default-padding * 3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,25 +28,25 @@
|
|||
|
||||
- elsif dossier.accepte?
|
||||
.accepte
|
||||
%p
|
||||
%p.decision
|
||||
%span.icon.accept
|
||||
Votre dossier a été
|
||||
= succeed '.' do
|
||||
%strong accepté
|
||||
|
||||
- if dossier.motivation.present?
|
||||
%h3 Motif de l’acceptation
|
||||
%blockquote= dossier.motivation
|
||||
- if dossier.motivation.present?
|
||||
%h3 Motif de l’acceptation
|
||||
%blockquote= dossier.motivation
|
||||
|
||||
- if dossier.attestation.present?
|
||||
.action
|
||||
= link_to attestation_dossier_path(dossier), target: '_blank', class: 'button primary' do
|
||||
%span.icon.download
|
||||
Télécharger l’attestation
|
||||
- if dossier.attestation.present?
|
||||
.action
|
||||
= link_to attestation_dossier_path(dossier), target: '_blank', class: 'button primary' do
|
||||
%span.icon.download
|
||||
Télécharger l’attestation
|
||||
|
||||
- elsif dossier.refuse?
|
||||
.refuse
|
||||
%p
|
||||
%p.decision
|
||||
%span.icon.refuse
|
||||
Nous sommes désolés, votre dossier a malheureusement été
|
||||
= succeed '.' do
|
||||
|
@ -56,16 +56,17 @@
|
|||
%h3 Motif du refus
|
||||
%blockquote= dossier.motivation
|
||||
|
||||
= link_to 'Envoyer un message à l’administration', messagerie_dossier_url(dossier, anchor: 'new_commentaire'), class: 'button'
|
||||
.action
|
||||
= link_to 'Envoyer un message à l’administration', messagerie_dossier_url(dossier, anchor: 'new_commentaire'), class: 'button'
|
||||
|
||||
- elsif dossier.sans_suite?
|
||||
.sans-suite
|
||||
%p
|
||||
%p.decision
|
||||
%span.icon.without-continuation
|
||||
Votre dossier a été classé
|
||||
= succeed '.' do
|
||||
%strong sans suite
|
||||
|
||||
- if dossier.motivation.present?
|
||||
%h3 Motif du classement sans suite
|
||||
%blockquote= dossier.motivation
|
||||
- if dossier.motivation.present?
|
||||
%h3 Motif du classement sans suite
|
||||
%blockquote= dossier.motivation
|
||||
|
|
Loading…
Reference in a new issue