Skip to content

Commit 7e5a4f0

Browse files
authored
Merge pull request #10 from liquality/fix-qa-changes
Fix qa changes
2 parents 5ee8cd9 + 93d30ce commit 7e5a4f0

File tree

11 files changed

+229
-244
lines changed

11 files changed

+229
-244
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.4",
3+
"version": "0.8.5",
44
"private": true,
55
"license": "MIT",
66
"author": "Liquality <info@liquality.io>",

src/assets/icons/qr.svg

Lines changed: 10 additions & 0 deletions
Loading

src/assets/scss/_overrides.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ $font-size-tiny: 0.75rem;
1919
$lead-font-size: 1rem;
2020
$small-font-size: $font-size-sm;
2121
$text-muted: $color-text-muted;
22+
$font-size-xs: 0.625rem;
2223

2324
$font-family-base: 'Montserrat', sans-serif;
2425
$headings-font-weight: 600;

src/assets/scss/style.scss

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,17 +164,23 @@ textarea {
164164
line-height: $input-font-size + 4px;
165165
margin-bottom: 0;
166166
}
167+
.confirm-address {
168+
font-size: 14px;
169+
line-height: 18px;
170+
margin-bottom: 0;
171+
}
167172
.form-control-address {
168173
font-size: $font-size-lg;
169174
}
170175
.swap-rate {
171176
&_base,
172177
&_term {
173178
color: $color-text-muted;
179+
font-size: $font-size-tiny;
174180
}
175181

176182
&_value {
177-
font-size: 18px;
183+
font-size: $font-size-tiny;
178184
}
179185

180186
margin-bottom: 0;
@@ -284,3 +290,45 @@ textarea {
284290
border-radius: 26px;
285291
}
286292

293+
.btn-option {
294+
height: 20px;
295+
font-weight: 300 !important;
296+
font-size: $font-size-tiny !important;
297+
border: 1px solid #D9DFE5;
298+
padding: 0.05rem 0.5rem;
299+
border-radius: 26px;
300+
display: flex;
301+
align-items: center;
302+
text-align: center;
303+
color: $color-text-primary;
304+
305+
&.active {
306+
font-weight: $font-weight-base !important;
307+
background-color: $dark;
308+
color: #1D1E21;
309+
}
310+
}
311+
312+
.btn-option-lg {
313+
height: 26px;
314+
}
315+
316+
.mt-20 {
317+
margin-top: 20px;
318+
}
319+
320+
.mt-40 {
321+
margin-top: 40px;
322+
}
323+
324+
.details-text {
325+
color: $color-text-muted;
326+
font-size: $font-size-tiny;
327+
}
328+
329+
.sub-form-group {
330+
display: flex;
331+
flex-wrap: wrap;
332+
justify-content: space-between;
333+
}
334+

src/components/DetailsContainer.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
align-items: center;
4343
flex-wrap: wrap;
4444
align-content: space-between;
45-
font-size: $font-size-tiny;
45+
font-size: $font-size-xs;
4646
4747
svg {
4848
height: 5px;
@@ -56,7 +56,7 @@ export default {
5656
font-weight: bold;
5757
text-transform: uppercase;
5858
padding-right: 0.5em;
59-
font-size: $font-size-tiny;
59+
font-size: $font-size-sm;
6060
}
6161
}
6262
@@ -73,11 +73,12 @@ export default {
7373
align-items: center;
7474
justify-content: left;
7575
border: none;
76-
font-size: $font-size-tiny;
76+
font-size: $font-size-xs;
7777
padding-left: 20px;
7878
7979
label {
8080
float: left;
81+
font-size: $font-size-xs !important;
8182
}
8283
}
8384
}

src/components/FeeSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="fee-selector btn-group btn-group-toggle" data-toggle="buttons">
3-
<label class="btn btn-light btn-outline-dark btn-sm"
3+
<label class="btn btn-option btn-option-lg"
44
v-for="name in ['slow', 'average', 'fast']" :key="name"
55
:class="{ active: (name === value)}"
66
v-tooltip="{content: getTooltip(name)}"

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.4",
3+
"version": "0.8.5",
44
"name": "Liquality Wallet",
55
"description": "Secure multi-crypto wallet with built-in Atomic Swaps!",
66
"homepage_url": "https://liquality.io",

src/views/Head.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="head">
33
<router-link to="/wallet"><LogoIcon class="head_logo" /></router-link>
44
<div class="head_network" @click.stop="showNetworks = !showNetworks">
5-
{{activeNetwork}}
5+
{{ activeNetwork }}
66
<ChevronUpIcon v-if="showNetworks" />
77
<ChevronDownIcon v-else />
88
</div>

src/views/Send.vue

Lines changed: 18 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,24 @@
4545
>{{ amountError }}</small
4646
>
4747
</div>
48-
<div class="form-group">
49-
<span class="label-sub float-left"
48+
<div class="sub-form-group">
49+
<div class="label-sub"
5050
><span class="text-muted">Available</span> {{ available }}
51-
{{ asset }}</span
51+
{{ asset }}</div
5252
>
5353
<div
54-
class="float-right btn-group btn-group-toggle"
54+
class="btn-group btn-group-toggle"
5555
data-toggle="buttons"
5656
>
57-
<label
58-
class="btn btn-light btn-outline-dark btn-sm"
57+
<button
58+
class="btn btn-option"
5959
@click="setMaxAmount"
6060
>
61-
<input type="radio" name="maxAmount" autocomplete="off" /> Max
62-
</label>
61+
Max
62+
</button>
6363
</div>
6464
</div>
65-
<div class="form-group">
65+
<div class="form-group mt-40">
6666
<label for="address">Send to</label>
6767
<div class="input-group">
6868
<input
@@ -129,46 +129,24 @@
129129
<div class="wrapper_top form">
130130
<div class="form-group">
131131
<label>
132-
Send <span v-if="includeFees" class="text-muted">(INCL FEES)</span>
132+
Send
133133
</label>
134134
<p class="confirm-value" :style="getAssetColorStyle(asset)">
135135
{{ amountToSend }} {{ asset }}
136136
</p>
137-
<p v-if="!includeFees">~{{ totalFee }} ETH FEES</p>
138-
<p class="text-muted">${{ amountToSendInFiat }}</p>
137+
<p class="mb-0 details-text">
138+
FEES:&nbsp; {{ totalFee }} {{ feeType }} / ${{
139+
totalFeeInFiat
140+
}}
141+
</p>
142+
<p class="details-text">TOTAL: ${{ amountToSendInFiat }}</p>
139143
</div>
140-
<div class="form-group">
144+
<div class="form-group mt-20">
141145
<label>Send To</label>
142-
<p class="confirm-value">{{ shortenAddress(this.address) }}</p>
146+
<p class="confirm-address">{{ shortenAddress(this.address) }}</p>
143147
</div>
144148
</div>
145149
<div class="wrapper_bottom">
146-
<DetailsContainer>
147-
<template v-slot:header>
148-
<span class="details-title">Details</span>
149-
</template>
150-
<template v-slot:content>
151-
<ul class="items">
152-
<li>
153-
<label>Send</label>
154-
</li>
155-
<li>
156-
<span class="text-muted">
157-
AMOUNT:&nbsp;{{ amountToSend }} {{ asset }} / ${{
158-
amountToSendInFiat
159-
}}</span
160-
>
161-
</li>
162-
<li>
163-
<span class="text-muted"
164-
>NETWORK FEES:&nbsp; {{ totalFee }} {{ feeType }} / ${{
165-
totalFeeInFiat
166-
}}
167-
</span>
168-
</li>
169-
</ul>
170-
</template>
171-
</DetailsContainer>
172150
<div class="button-group">
173151
<button
174152
class="btn btn-light btn-outline-primary btn-lg"

0 commit comments

Comments
 (0)