Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the blockchain application removal flow- Closes #4375 #4393

4 changes: 4 additions & 0 deletions setup/react/assets/images/icons/success-check-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
"An initial one-time transfer fee will be deducted from the new account.": "An initial one-time transfer fee will be deducted from the new account.",
"Anonymous analytics collection": "Anonymous analytics collection",
"Appearance": "Appearance",
"Application has now been removed": "Application has now been removed",
"Applications": "Applications",
"Apply filters": "Apply filters",
"At this moment there is a connection problem with the tweets feed": "At this moment there is a connection problem with the tweets feed",
Expand Down Expand Up @@ -407,6 +408,8 @@
"Remove": "Remove",
"Remove Account?": "Remove Account?",
"Remove an account": "Remove an account",
"Remove application": "Remove application",
"Remove application now": "Remove application now",
"Remove from watched": "Remove from watched",
"Remove now": "Remove now",
"Remove vote": "Remove vote",
Expand Down Expand Up @@ -620,6 +623,7 @@
"Written by": "Written by",
"You are about to send your entire balance": "You are about to send your entire balance",
"You are disconnected": "You are disconnected",
"You can always add": "You can always add",
"You can download or copy the transaction and share it with other members.": "You can download or copy the transaction and share it with other members.",
"You can learn more": "You can learn more",
"You can now download your encrypted secret recovery phrase and use it to add your account on other devices.": "You can now download your encrypted secret recovery phrase and use it to add your account on other devices.",
Expand All @@ -643,6 +647,7 @@
"Your username": "Your username",
"[Tomorrow], hh:mm A": "[Tomorrow], hh:mm A",
"added": "added",
"again to your application list.": "again to your application list.",
"available to unlock": "available to unlock",
"block": "block",
"e.g. peter_pan": "e.g. peter_pan",
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
@import '../../../../../../setup/react/app/mixins.css';

.wrapper {
width: 100%;
box-sizing: border-box;
max-width: 757px;
min-width: 450px;
border-radius: 16px;
overflow: hidden;
background-color: var(--color-white);
}

.headerContainer {
--content-font: 'gilroy';

width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
margin-bottom: 14px;
font-family: var(--content-font);

& > p {
font-size: 20px;
font-weight: 600;
color: var(--color-maastricht-blue);
margin-top: 32px;
margin-bottom: 34px;
}

& > div > img {
display: flex;
align-items: center;
justify-content: center;
width: 70px;
height: 70px;
background-color: white;
border-radius: 40px;
}

& > div::after,
& > div::before {
position: absolute;
content: '';
display: block;
width: 98px;
height: 2px;
background-color: var(--color-red);
transform: rotate(-45deg) translateY(-35px) translateX(16px);
}

& > div::before {
transform: rotate(45deg) translateX(14px) translateY(35px);
}
}

.detailsWrapper {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.chainNameWrapper {
& > span {
--content-font: 'gilroy';

font-family: var(--content-font);
font-size: 28px;
font-weight: 700;
color: var(--color-maastricht-blue);
}

& > span ~ button {
padding: 0px 0px !important;
min-width: fit-content;
margin-left: 16px;
}

& img {
width: 17px;
}
}

.addressRow {
margin-top: -2px;

& span {
font-size: 14px;
}
}

.appLink {
margin-top: 14px;
display: flex;
font-size: 14px;
font-weight: 400;

& > img {
width: 16px;
height: 16px;
margin-right: 8px;
}
}

.balanceRow {
display: flex;
align-items: center;
margin-top: 17px;
column-gap: 8px;

& > span:first-child {
font-size: 14px;
color: var(--color-blue-gray);
}

& > span:nth-child(2) {
font-size: 20px;
font-weight: 600;
color: var(--color-link-active);
}
}

.cancelButton {
color: var(--color-maastricht-blue);
}

.button {
@mixin contentLarge semi-bold;

width: 100%;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
border-radius: 10px;
}

.actionsRow {
width: 100%;
padding: 32px;
padding-top: 0px;
box-sizing: border-box;
flex-direction: row;
align-items: center;
justify-content: space-between;
column-gap: 16px;
}

.footerDetailsRow {
width: 100%;
padding: 32px;
box-sizing: border-box;
flex-direction: row;
column-gap: 10px;
align-items: flex-start;

& .headerText {
font-size: 13px;
font-weight: 400;
color: var(--color-blue-gray);
}

& .detailContentText {
font-size: 15px;
}

& .chainId {
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
text-align: left;
}

& .statusChip {
font-size: 14px !important;
padding: 10px 16px;
border-radius: 40px;
}

& .active {
background-color: #00d5631a;
color: var(--color-jade-green);
}

& .registered {
background-color: #4070f41a;
color: var(--color-ultramarine-blue);
}

& .terminated {
background-color: var(--color-maastricht-blue);
color: var(--color-ghost-white);
}
}

.detail {
width: 20%;
}

.detail:first-of-type {
width: 35%;
}

.detail:last-of-type {
width: 25%;
}
Loading