Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#99 Add vaccination eligibility government link #109

Merged
merged 2 commits into from
May 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/views/vmd-rdv.view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,32 @@

}

.eligibility-criteria {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faudrait peut-être rajouter un petit coup d'animation pour fadein/fadeout la div progressivement lors de l'affichage/masquage

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je regarde ce point.

position: fixed;
bottom: 0;
left: 0;
color: $red;
width: 100%;
background-color: $pink-100;
text-align: center;
vertical-align: center;

p {
margin: .5em;
}
}

.fade-in-then-fade-out {
animation-name: fade-in-then-fade-out;
animation-duration: 10s;
animation-fill-mode: forwards;
}

@keyframes fade-in-then-fade-out {
0%, 100% {opacity: 0}
10%, 90% {opacity: 1}
}

vmd-appointment-card {
display: block;
opacity: 1;
Expand Down
3 changes: 3 additions & 0 deletions src/views/vmd-rdv.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ export abstract class AbstractVmdRdvView extends LitElement {
/>`;
})}
</div>
<div class="eligibility-criteria fade-in-then-fade-out">
<p>Les critères d'éligibilité sont vérifiés lors de la prise de rendez-vous</p>
</div>
`}
`;
}
Expand Down