-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vu Van Duc
authored and
Vu Van Duc
committed
Jul 16, 2024
1 parent
58635bc
commit 2c6a0d0
Showing
12 changed files
with
703 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
import { KeriaNotification } from "../../../core/agent/agent.types"; | ||
|
||
interface NotificationDetailState { | ||
notification: KeriaNotification; | ||
step?: number; | ||
openCredId?: string; | ||
selected?: boolean; | ||
} | ||
|
||
interface NotificationDetailsProps { | ||
pageId: string; | ||
activeStatus: boolean; | ||
notificationDetails: KeriaNotification; | ||
handleBack: () => void; | ||
} | ||
|
||
export type { NotificationDetailsProps }; | ||
export type { NotificationDetailsProps, NotificationDetailState }; |
53 changes: 53 additions & 0 deletions
53
src/ui/pages/NotificationDetails/components/CredentialRequest/ChooseCredential.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
.notification-details-credential-choose { | ||
& .page-header { | ||
ion-toolbar { | ||
--background: transparent; | ||
} | ||
} | ||
|
||
.title { | ||
font-size: 1rem; | ||
line-height: 1.115rem; | ||
margin-top: 0.75rem; | ||
margin-bottom: 1.75rem; | ||
font-weight: 500; | ||
text-align: center; | ||
} | ||
|
||
.info-icon { | ||
color: var(--ion-color-secondary); | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
margin-right: 0.75rem; | ||
} | ||
|
||
.checkbox { | ||
width: fit-content; | ||
--checkbox-background-checked: var(--ion-color-primary-gradient); | ||
--checkmark-color: var(--ion-color-primary); | ||
--border-width: 0.115rem; | ||
|
||
&.checkbox-checked { | ||
--border-width: 0; | ||
} | ||
} | ||
|
||
.card-item { | ||
--background-activated: transparent; | ||
} | ||
|
||
.credential-request-footer { | ||
padding: 1rem 0; | ||
} | ||
|
||
@media screen and (min-width: 250px) and (max-width: 370px) { | ||
.title { | ||
font-size: 0.85rem; | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
.checkbox { | ||
--size: 1.25rem; | ||
} | ||
} | ||
} |
Oops, something went wrong.