Skip to content

Commit

Permalink
Merge pull request #109 from nhumblot/99-module-eligibilite
Browse files Browse the repository at this point in the history
#99 Add vaccination eligibility government link
  • Loading branch information
fcamblor authored May 2, 2021
2 parents 1d30376 + fd16462 commit dbf7e42
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
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 {
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

0 comments on commit dbf7e42

Please sign in to comment.