-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): [CSO certificate] Sign CSO certificate on chain: Frontend (#…
…944) * feat(ui): sign undp transaction * feat(ui): update notification type and move mock object * feat(ui): update data structure * feat(ui): remove undp * feat(ui): rename component --------- Co-authored-by: Vu Van Duc <vuvanduc@Vus-MacBook-Pro.local>
- Loading branch information
1 parent
e256048
commit d8e6943
Showing
15 changed files
with
513 additions
and
14 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
141 changes: 141 additions & 0 deletions
141
src/ui/pages/NotificationDetails/components/RemoteSignRequest/RemoteSignRequest.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,141 @@ | ||
.custom-sign-request { | ||
.sign-request-header { | ||
height: 2.75rem; | ||
} | ||
|
||
& .page-header { | ||
ion-toolbar { | ||
--background: transparent; | ||
|
||
& > ion-title.md { | ||
margin: 0; | ||
} | ||
} | ||
} | ||
|
||
.sign-footer { | ||
padding: 0.5rem 0; | ||
|
||
.secondary-button::part(native) { | ||
border: none; | ||
color: var(--ion-color-error-800); | ||
} | ||
} | ||
|
||
.sign-info { | ||
margin: 0 0 0.75rem; | ||
} | ||
|
||
.sign-header { | ||
margin: 1.75rem 0; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
.sign-owner-logo { | ||
width: 5rem; | ||
height: 5rem; | ||
border-radius: 2.5rem; | ||
margin-bottom: 0.75rem; | ||
} | ||
|
||
.sign-name { | ||
font-size: 1.5rem; | ||
line-height: 1.75rem; | ||
margin-bottom: 0.5rem; | ||
color: var(--ion-color-neutral-800); | ||
} | ||
|
||
.sign-link { | ||
font-weight: 500; | ||
font-size: 0.75rem; | ||
line-height: 1rem; | ||
margin: 0; | ||
color: var(--ion-color-neutral-600); | ||
} | ||
} | ||
|
||
.sign-content { | ||
.sign-identifier { | ||
margin-bottom: 1.5rem; | ||
|
||
.identifier { | ||
display: block; | ||
padding: 0.75rem 0; | ||
|
||
@media screen and (min-width: 250px) and (max-width: 370px) { | ||
font-size: 0.8rem; | ||
padding: 0.25rem 0; | ||
} | ||
} | ||
|
||
.action-button { | ||
--color: var(--ion-color-neutral-500); | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
} | ||
} | ||
|
||
.sign-data { | ||
& > .card-details-info-block-inner { | ||
.content-container { | ||
height: 0; | ||
transition: all 0.5s ease-in-out; | ||
overflow: hidden; | ||
|
||
.content { | ||
& > ion-item:last-of-type { | ||
margin-bottom: 0.5rem; | ||
} | ||
} | ||
} | ||
|
||
.action-button { | ||
--color: var(--ion-color-neutral-500); | ||
width: 1.25rem; | ||
height: 1.25rem; | ||
} | ||
} | ||
.card-details-nested-content { | ||
& > .card-details-info-block-inner { | ||
padding: 1rem; | ||
} | ||
} | ||
|
||
.footer { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
& > .card-details-info-block-inner > .sign-info-item { | ||
&:first-child { | ||
margin-top: 0.75rem; | ||
} | ||
|
||
&:last-child { | ||
margin-bottom: 0.75rem; | ||
} | ||
|
||
@media screen and (min-width: 250px) and (max-width: 370px) { | ||
&:first-child { | ||
margin-top: 0.5rem; | ||
} | ||
|
||
&:last-child { | ||
margin-bottom: 0.5rem; | ||
} | ||
} | ||
} | ||
.sign-string { | ||
display: block; | ||
padding: 0.75rem 0; | ||
font-weight: normal; | ||
@media screen and (min-width: 250px) and (max-width: 370px) { | ||
font-size: 0.8rem; | ||
padding: 0.25rem 0; | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.