Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/bcgov/moh-pidp into PIDP…
Browse files Browse the repository at this point in the history
…-1088-New-PHR-Card
  • Loading branch information
kakarlavinodkumar committed Nov 21, 2024
2 parents 838e517 + 9f9db55 commit f98d10d
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ export class BcProviderEditPage
height: '24rem',
cancelHide: true,
actionHide: true,
progressBar: true,
};
this.dialog.open(this.mfaDialogTemplate, { data });
}
Expand All @@ -335,6 +336,7 @@ export class BcProviderEditPage
actionText: 'Continue',
actionTypePosition: 'center',
cancelHide: true,
progressBar: true,
};
this.dialog
.open(this.mfaDialogTemplate, { data, disableClose: true })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ <h1>Enrol for Access</h1>
</section>
<section class="main">
<div class="card main-stepper">
<div class="stepper-title">Instructions</div>
<mat-stepper
orientation="vertical"
#stepper
Expand Down Expand Up @@ -168,9 +169,9 @@ <h1>Enrol for Access</h1>
<div class="pas-button-container">
<div class="card pas-button">
<img
class="img-doctor"
ngSrc="/assets/images/doctor1.jpg"
alt="doctor"
class="img-checkup"
ngSrc="/assets/images/checkup.png"
alt="checkup"
priority
fill />
<div class="card-container auth-card">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
--header-margin: var(--gap) 0 0;
--content-padding: var(--gap) 0;
--form-card-width: 25rem;
.card-body {
img.logo {
padding: 1.5rem 0 !important;
}
}
}

.viewport-all {
Expand All @@ -41,36 +46,41 @@

.main {
display: grid;
grid-template-columns: calc(70% - 15px) calc(30% - 15px);
grid-template-columns: calc(60% - 15px) calc(40% - 15px);
gap: 20px;
min-height: 340px;
margin: calc(var(--gap) * 2) 0;
margin: calc(var(--gap)) 0;

& .card {
display: flex;
flex-direction: column;
padding-right: calc(var(--gap) * 0.9);
position: relative;
line-height: 1.5rem;
margin-left: -1.5rem;

.stepper-title {
color: #313132;
font-size: 1.5rem;
font-weight: 700;
margin-bottom: calc(var(--gap) / 2);
padding-left: 1.8rem;
}
}
.pas-button {
height: 15rem;
background: linear-gradient(
270deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0) 40%,
rgba(158, 204, 211, 1) 100%
);
img {
object-fit: cover;
z-index: -2;
}

img.img-doctor {
object-position: -10px -100px;
}

div.auth-card {
padding: 23px 0px 7px 34px;
padding: 2rem;
}

.card-container {
Expand All @@ -90,7 +100,18 @@
}

.card-header {
color: #1a5a96;
color: white;
display: flex;
padding: 0.65rem 1rem;
border-radius: 0.25rem;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
background: rgba(0, 0, 0, 0.7);

h3 {
margin: 0;
}
}

.card-body {
Expand All @@ -101,14 +122,21 @@
position: relative !important;
height: 45px;
width: 175px;
padding: 10px;
padding: 1rem 0;
}
}

.card-footer {
button {
z-index: 1;
padding: 10px 25px;
padding: 0.35rem 2rem;
&:disabled {
border-radius: var(--layout-borderRadius-medium, 0.25rem);
background: var(
--surface-color-primary-button-disabled,
#edebe9
);
}
}
}
}
Expand All @@ -127,7 +155,6 @@
}

.viewport-xsmall {

.content-header {
margin: 0px 20px 0px 20px;
}
Expand All @@ -141,32 +168,24 @@
display: flex !important;
flex-direction: column !important;

& .card {
margin-left: 0 !important;
}

.pas-step-label {
line-height: 1.1;
}

.pas-button {
img.img-doctor {
height: 15rem !important;
object-position: -12px -72px !important;
}

div.auth-card {
padding: 20px 0px 0px 0px !important;
padding: 20px 0px 0px 20px !important;
}

.card-container {
height: 50% !important;
.auth-card-header {
padding-left: 20px;
}

.auth-card-body {
padding-left: 15px;
}

.auth-card-footer {
padding: 15px 0px 0px 30px;
padding: 7.5px 0px 7.5px 0px;
}
}
}
Expand Down
Binary file added workspace/apps/pidp/src/assets/images/checkup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed workspace/apps/pidp/src/assets/images/doctor1.jpg
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,18 @@
}">
<p *ngIf="options.message">{{ options.message }}</p>
<ng-template #dialogContentHost></ng-template>
<mat-progress-bar
*ngIf="loading$ | async"
class="progress-bar"
mode="determinate"
[value]="progressBarValue"></mat-progress-bar>
<mat-progress-bar
*ngIf="progressComplete"
class="progress-bar-complete"
mode="determinate"
[value]="100"></mat-progress-bar>
<div *ngIf="options.progressBar">
<mat-progress-bar
*ngIf="loading$ | async"
class="progress-bar"
mode="determinate"
[value]="progressBarValue"></mat-progress-bar>
<mat-progress-bar
*ngIf="progressComplete"
class="progress-bar-complete"
mode="determinate"
[value]="100"></mat-progress-bar>
</div>
</mat-dialog-content>
<mat-dialog-actions
[class]="{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ export interface DialogOptions {
/** overload the dialog height, if undefined the default value will be used */
height?: string;
class?: string;
progressBar?: boolean;
}

0 comments on commit f98d10d

Please sign in to comment.