Skip to content

Commit

Permalink
EMBCESSMOD 173 - Insurance info pop up (bcgov#872)
Browse files Browse the repository at this point in the history
* Add info popup to Yes option

* Update insurance modal styles to match wireframes
  • Loading branch information
Wes-Reid authored and rafaelponcedeleon committed Jan 27, 2020
1 parent 2c6eb1c commit 9df5b99
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="blue-header h3">INSURANCE</h2>
<section>
<p class="required font-weight-bold">Do you have insurance to cover your immediate needs?</p>
<div class="form-group" tabindex="0">
<div class="form-check">
<div class="form-check" (click)='openInsuranceInfoModal()'>
<input type="radio" [class.is-invalid]="invalid('insuranceCode')" class="form-check-input" value="yes" formControlName="insuranceCode" id="insuranceCodeYes">
<label class="form-check-label" for="insuranceCodeYes">Yes</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<div class="info-header">
<button type="button" class="close close-padding" aria-label="Close" (click)="activeModal.close()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<p>Please continue the registration and contact your insurance provider for support.</p>
<p>Emergency Support Services is intended for those without supports such as insurance coverage or friends and family who can assist.</p>
<button type="button" class="btn btn-primary" (click)="activeModal.close()">Close</button>
<div class="info-container">
<div class="info-header">
<button type="button" class="close close-padding" aria-label="Close" (click)="activeModal.close()">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<p>Please continue the registration and contact your insurance provider for support.</p>
<p>Emergency Support Services is intended for those without supports such as insurance coverage or friends and
family who can assist.</p>
<div class="btn-container">
<button type="button" class="btn btn-primary" (click)="activeModal.close()">Close</button>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
@import "~src/styles/_defaults.scss";
$bgColor: #f1f4fa;
$closeColor: #3d5d8d;

.close-padding {
padding: 5px;
}

.close-color {
color: $closeColor;
}

.cursor-pointer {
cursor: pointer;
}

.info-container {
background-color: $bgColor;
}

.info-header {
display: list-item;
}

.btn-container {
display: flex;
justify-content: center;
}

0 comments on commit 9df5b99

Please sign in to comment.