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

delegate rc to new account #1572

Merged
merged 4 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion src/common/i18n/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,14 @@
"failed-message": "Failed to create account",
"try-again": "Try again",
"sign-header-title": "Sign transaction",
"sign-sub-title": "Sign your transaction"
"sign-sub-title": "Sign your transaction",
"rc-to-new-acc": "Delegate some resource credits to",
"minimum-rc": "(Minimum Rc is 5Bn)",
"posts-comments": "Posts/Comments:",
"votes": "Votes:",
"transfers": "Transfers:",
"reblogs-follows": "Reblogs/Follows:",
"rc-error": "You can not delegate below 5bn Rc"
},
"trending-tags": {
"title": "Topics"
Expand Down
76 changes: 55 additions & 21 deletions src/common/pages/onboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,31 @@
.onboard-container {
display: flex;
flex-direction: column;
margin: auto;
padding: 20px;
margin-top: 70px;
width: 690px;
border-radius: 15px;

@media (max-width: $md-break) {
width: 490px;
}

@media (max-width: $sm-break) {
width: 340px;
}

@include themify(day) {
@apply bg-gray-steel-light-040;
}

@include themify(night) {
@apply bg-blue-dark-grey;
}
align-items: center;
margin: 8rem 0;
padding: 1rem;

.asking {
max-width: 690px;
width: 100%;
display: flex;
flex-direction: column;
border-radius: 1rem;

@include themify(day) {
@apply bg-gray-100;
}

@include themify(night) {
@apply bg-gray-800;
}

.reg-details {
display: flex;
flex-direction: column;
gap: 3px;
}

.asking-body {
@media (max-width: $md-break) {
width: 490px;
Expand All @@ -52,6 +46,7 @@
display: flex;
flex-direction: column;
}

.creating-confirm {
display: flex;
flex-direction: column;
Expand All @@ -70,6 +65,7 @@
}
}
}

.login-warning {
display: flex;
justify-content: center;
Expand All @@ -79,10 +75,12 @@
.create-account-dialog {
.create-account-dialog-header {
display: flex;

.create-account-main-title {
margin-top: 11px;
}
}

.model-content {
.confirm-title {
display: flex;
Expand All @@ -92,23 +90,59 @@
.buttons {
display: flex;
justify-content: center;

.cancel-btn {
margin-left: 25px;
background: #6c757d;
border-color: #6c757d;
}
}
}

.create-account-success-dialog-header {
.create-account-main-title {
margin-top: 10px;
}
}

.success-dialog-body {
margin: 2rem 0 1.4rem 0;

.success-dialog-content {
text-align: center;
margin-bottom: 1.4rem;
}
}
}


.onboard-delegate-rc {
.onboard-check {
display: flex;
align-items: center;
gap: 5px;

.onboard-checkbox {
height: 20px;
width: 20px;
}
}
}


@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 1;
}
}

.onboard-blinking-text {
color: rgb(179, 95, 26);
animation: blink 2s infinite;
}
Loading