Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

Commit

Permalink
remaining styling fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pbca26 committed Jun 24, 2018
1 parent cfc39eb commit bef974d
Show file tree
Hide file tree
Showing 13 changed files with 189 additions and 143 deletions.
1 change: 1 addition & 0 deletions client/main.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<head>
<title>Agama Wallet Mobile</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>

<body id="body">
Expand Down
3 changes: 2 additions & 1 deletion client/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ body {
right: 13px;
z-index: 10;
font-size: 20px;
display: none;
}

.text-center {
Expand Down Expand Up @@ -108,5 +109,5 @@ button:disabled {
.sz350 {
width: 100%;
margin: 0 auto;
max-width: 330px;
max-width: 320px;
}
14 changes: 7 additions & 7 deletions client/styles/overview.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
padding: 0 10px;

.home-inner {
width: 375px;
max-width: 375px;
height: 100%;
position:relative;
margin: auto;
Expand Down Expand Up @@ -41,7 +41,7 @@
background-color: rgba(255, 255, 255, 0.0);
top: 34px;
height: 220px;
width: 347px;
width: 340px;
position: absolute;
margin: 0;
left: 0;
Expand All @@ -61,7 +61,7 @@
background-color: rgba(255, 255, 255, 0.0);
top: 0;
height: 150px;
width: 345px;
width: 340px;
position: absolute;
margin: 0;
left: 1px
Expand All @@ -71,7 +71,7 @@
background-color: rgba(255, 255, 255, 0.0);
top: 0;
height: 150px;
width: 345px;
width: 340px;
position: relative;
margin: 0;
left: 0;
Expand Down Expand Up @@ -416,14 +416,14 @@
/* coin */
.home {
.overview-coins {
width: 347px;
width: 340px;
margin: 0;

.overview-coin {
height: 80px;

.div1 {
width: 347px;
width: 340px;
}

&:last-child {
Expand Down Expand Up @@ -465,7 +465,7 @@
width: 10px;
position: absolute;
margin: 0;
left: 345px
left: 340px
}

.home .btc {
Expand Down
3 changes: 1 addition & 2 deletions client/styles/receive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
left: 0;
top: 60px;
background:#4c4f69;
width: 100%;
height: 100vh;
width: 345px;
padding-top: 15px;
text-align: center;

Expand Down
18 changes: 13 additions & 5 deletions client/styles/send.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.form.send {
.edit {
font-size: 14px;
width: 100%;
max-width: 100%;
width: inherit;
max-width: inherit;
padding: 15px 10px 10px 10px;

input {
Expand Down Expand Up @@ -105,7 +105,8 @@
}
.btn-inner {
&.pull-left {
margin-left: 20px;
margin-left: 10px;
padding: 0 10px;

.group2 {
float: left;
Expand All @@ -114,7 +115,7 @@
.btn {
float: right;
position: relative;
left: 48px;
left: 40px;
top: 1px;
padding-right: 50px;
}
Expand All @@ -124,7 +125,14 @@
}
}
&.pull-right {
margin-right: 20px;
margin-right: 10px;
padding: 0 10px;

.btn {
position: relative;
left: 8px;
top: 0;
}
}
}
}
53 changes: 30 additions & 23 deletions client/styles/transactions.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
@media only screen and (max-width : 370px) {
.app-main .transactions-ui {
padding-left: 7px;
padding-right: 0;
}
}

.transactions-ui {
min-height: 100vh;
padding: 0 10px;
padding-top: 30px;

.individualportfolio-inner {
width: 375px;
height: 100%;
position:relative;
width: 375px;
position: relative;
margin: auto;
min-height: 100vh;
}
Expand All @@ -15,16 +21,16 @@
width: 100%;
min-height: 100vh;
position: relative;
overflow: hidden;
overflow-x: hidden;
margin: 0;
}

a {
text-decoration: none
text-decoration: none;
}

div {
-webkit-text-size-adjust: none
-webkit-text-size-adjust: none;
}

.individualportfolio .lasttransactions {
Expand All @@ -34,7 +40,7 @@
width: auto;
position: absolute;
margin: 0;
left: 0;
left: 3px;
font-family: 'AppleSystemUIFont', Helvetica, Arial, serif;
font-size: 18.0px;
color: rgba(255, 255, 255, 1.0);
Expand All @@ -46,7 +52,7 @@
.cryptocardbtc-block {
border-radius: 4px;
max-width: 345px;
width: calc(100vw - 20px);
width: calc(100vw - 12px);
height: 145px;
background: url('/images/template/transactions/gradient.png') no-repeat;
}
Expand All @@ -55,7 +61,7 @@
background-color: rgba(255, 255, 255, 0.0);
height: 145px;
max-width: 347px;
width: calc(100vw - 20px);
width: calc(100vw - 12px);
position: absolute;
margin: 0;
left: 0;
Expand Down Expand Up @@ -123,18 +129,18 @@
background-color: rgba(255, 255, 255, 0.0);
padding-top: 53px;
height: 1px;
width: 375px;
width: 357px;
position: absolute;
margin: 0;
left: -14px;
opacity: .1
}

.individualportfolio .transactions-list {
top: 292px;
position: absolute;
left: 0;
margin-top: 145px;
position: relative;
left: 4px;

.item {
height: 88px;
width: 335px;
Expand Down Expand Up @@ -268,16 +274,16 @@

.send-receive-block {
position: absolute;
top: 232px;
width: 100%;
text-align: center;
top: 168px;
max-width: 345px;
width: calc(100vw - 12px);
z-index: 10;

.send-receive-block-inner {
text-align: center;
display: inline-block;
text-align: left;
margin: 0 auto;
width: 278px;
width: 345px;

button {
background-color: rgba(255, 255, 255, 0);
Expand Down Expand Up @@ -314,14 +320,15 @@
}
}
&.three-btn {
padding: 0 10px;
width: inherit;
max-width: inherit;

.send-receive-block-inner {
text-align: left;
width: 393px;
max-width: 345px;
width: calc(100vw - 12px);

button {
width: 101px;
width: calc(345px/3 - 16px);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion imports/ui/actions/listtransactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const listtransactions = (proxyServer, electrumServer, address, network,
proto: electrumServer.proto,
address,
raw: true,
maxlength: 2,
// maxlength: 2,
},
}, (error, result) => {
result = JSON.parse(result.content);
Expand Down
47 changes: 0 additions & 47 deletions imports/ui/components/Balance.js

This file was deleted.

4 changes: 3 additions & 1 deletion imports/ui/components/CreateSeed.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ class CreateSeed extends React.Component {
<div className="btn">Sign In</div>
<div className="group2">
<div className="rectangle8copy"></div>
<img className="path6" src="/images/template/login/reset-password-path-6.png" />
<img
className="path6"
src="/images/template/login/reset-password-path-6.png" />
</div>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion imports/ui/components/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ class Login extends React.Component {
<div className="btn">Sign In</div>
<div className="group2">
<div className="rectangle8copy"></div>
<img className="path6" src="/images/template/login/reset-password-path-6.png" />
<img
className="path6"
src="/images/template/login/reset-password-path-6.png" />
</div>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion imports/ui/components/SendCoin.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ class SendCoin extends React.Component {
}

changeSendCoinStep(step, back) {
console.warn(step);
if (back) {
this.setState({
sendCurrentStep: step,
Expand Down
Loading

0 comments on commit bef974d

Please sign in to comment.