Skip to content

Commit ccb323b

Browse files
authored
Merge pull request #12 from liquality/feature-unlock-ui-changes
Feature unlock UI changes
2 parents a072f7f + e07d311 commit ccb323b

File tree

15 files changed

+89
-51
lines changed

15 files changed

+89
-51
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "liquality-wallet",
3-
"version": "0.8.6",
3+
"version": "0.8.7",
44
"private": true,
55
"license": "MIT",
66
"author": "Liquality <info@liquality.io>",

src/assets/scss/_overrides.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $color-text-primary: #1D1E21;
1212
$color-text-secondary: #FFFFFF;
1313
$color-text-muted: #747E8D;
1414

15-
$font-size-base: 0.875rem; // Assumes the browse, typically `16px`
15+
$font-size-base: 0.75rem; // Assumes the browse, typically `16px`
1616
$font-size-lg: 1rem;
1717
$font-size-sm: 0.8125rem;
1818
$font-size-tiny: 0.75rem;

src/assets/scss/style.scss

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,25 @@ textarea {
4747

4848
.login-wrapper {
4949
display: flex;
50-
5150
flex: 1;
52-
justify-content: space-between;
5351
text-align: center;
5452
padding: 70px $wrapper-padding 0 $wrapper-padding;
5553
flex-direction: column;
5654
background: $brand-gradient-secondary;
5755
color: $color-text-secondary;
56+
height: 600px;
57+
58+
.login-footer {
59+
display: flex;
60+
justify-content: flex-end;
61+
flex-direction: column;
62+
flex: 1;
63+
padding-bottom: 1.25rem;
64+
.footer-content {
65+
display: flex;
66+
justify-content: space-between;
67+
}
68+
}
5869

5970
.form input {
6071
color: $color-text-secondary;
@@ -75,7 +86,7 @@ textarea {
7586
}
7687

7788
.login-header {
78-
padding-bottom: 40px;
89+
padding-bottom: 50px;
7990

8091
svg {
8192
height: 75px;
@@ -370,4 +381,19 @@ textarea {
370381

371382
.icon-btn {
372383
cursor: pointer;
384+
}
385+
386+
svg.copy-icon {
387+
cursor: pointer;
388+
width: 12px;
389+
margin-left: 4px;
390+
}
391+
392+
svg.qr-icon {
393+
cursor: pointer;
394+
width: 21px;
395+
}
396+
397+
.btn-footer {
398+
width: 9.5rem;
373399
}

src/components/DetailsContainer.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export default {
4242
align-items: center;
4343
flex-wrap: wrap;
4444
align-content: space-between;
45-
font-size: $font-size-sm;
46-
line-height: $font-size-sm;
45+
font-size: $font-size-tiny;
46+
line-height: $font-size-tiny;
4747
4848
svg {
4949
height: 5px;
@@ -63,6 +63,7 @@ export default {
6363
6464
.details-content {
6565
padding: 0;
66+
font-size: $font-size-tiny;
6667
ul {
6768
list-style-type: none;
6869
background: #ffffff;

src/components/FeeSelector.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ export default {
2121
getTooltip (name) {
2222
let content = '<div class="text-right">'
2323
if (this.fees[name].wait) {
24-
content += `${this.fees[name].wait} sec`
24+
content += `${this.fees[name].wait} sec<br />`
2525
}
2626
2727
if (this.txTypes) {
2828
const total = this.txTypes.reduce((accum, tx) => {
2929
return accum.plus(getTxFee(this.asset, tx, this.fees[name].fee))
3030
}, BN(0))
3131
const totalFiat = prettyFiatBalance(total, this.fiatRates[this.asset])
32-
content += `<br />${total} ${this.asset}`
32+
content += `${total} ${this.asset}`
3333
content += `<br />${totalFiat} USD`
3434
}
3535

src/components/NavBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<router-link v-if="showBack" class="navbar_prev" v-bind:to="backPath">
55
<div><ChevronLeftIcon class="navbar_prev_icon" />{{ backLabel }}</div>
66
</router-link>
7-
<a v-if="showBackButton" class="navbar_prev" href="" @click="backClick">
7+
<a v-else-if="showBackButton" class="navbar_prev" href="#" @click="backClick">
88
<div><ChevronLeftIcon class="navbar_prev_icon" />{{ backLabel }}</div>
99
</a>
1010
<div class="navbar_title">

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 2,
3-
"version": "0.8.6",
3+
"version": "0.8.7",
44
"name": "Liquality Wallet",
55
"description": "Secure multi-crypto wallet with built-in Atomic Swaps!",
66
"homepage_url": "https://liquality.io",

src/views/ImportWallet.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@
1212
<form class="form import-wallet_seed" autocomplete="off">
1313
<div v-for="(e, n) in numWords" :key="n"><input type="text" class="form-control form-control-sm" v-model="wordList[n]" autocomplete="off" required /></div>
1414
</form>
15-
<p><button class="btn btn-primary btn-lg btn-block" :disabled="disableNext" @click="next">Continue</button></p>
16-
<p><button class="btn btn-light btn-outline-primary btn-lg btn-block btn-icon" @click="$router.go(-1)">Cancel</button></p>
15+
</div>
16+
<div class="login-footer bg-white">
17+
<div class="footer-content">
18+
<button class="btn btn-light btn-outline-primary btn-lg btn-footer btn-icon" @click="$router.go(-1)">Cancel</button>
19+
<button class="btn btn-primary btn-lg btn-footer" :disabled="disableNext" @click="next">Continue</button>
20+
</div>
1721
</div>
1822
</div>
1923
</template>

src/views/Onboarding/OnboardingPassword.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@
2121
<small v-show="passwordMatch" class="form-text hidden" >Passwords don't match.</small>
2222
<small class="form-text">Password must be at least 8 characters.</small>
2323
</div>
24-
<p>
25-
<button class="btn btn-primary btn-lg btn-block btn-icon" :disabled="loading || disableNext" @click="next">
24+
</form>
25+
<div class="login-footer">
26+
<div class="footer-content">
27+
<button class="btn btn-light btn-lg btn-footer btn-icon" @click="$router.go(-1)">Cancel</button>
28+
<button class="btn btn-primary btn-lg btn-footer btn-icon" :disabled="loading || disableNext" @click="next">
2629
<SpinnerIcon class="btn-loading" v-if="loading" />
2730
<template v-else>Continue</template>
2831
</button>
29-
</p>
30-
<p><button class="btn btn-light btn-lg btn-block btn-icon" @click="$router.go(-1)">Cancel</button></p>
31-
</form>
32+
</div>
33+
</div>
3234
</div>
3335
</template>
3436

0 commit comments

Comments
 (0)