fix(home): correct size of the create new wallet icon

Fixes #494
This commit is contained in:
Jason Dreyzehner 2016-10-18 18:58:53 -04:00
parent 241ffb7adf
commit e99449689c
2 changed files with 7 additions and 10 deletions

View File

@ -1,6 +1,5 @@
#tab-home {
.icon-create-wallet {
background-image: url("../img/icon-wallet.svg");
background-color: #4A90E2; // default wallet color
}
.icon-buy-bitcoin {
@ -16,19 +15,17 @@
.icon-amazon {
background-image: url("../img/icon-amazon.svg");
}
.bg {
&.wallet{
padding: .25rem
}
}
.card{
.item {
color: #444;
border-top:none;
padding-bottom: 1.5rem;
padding-top:1.5rem;
&.wallet{
.big-icon-svg{
& > .bg{
padding: .25rem
}
}
}
}
.item-sub {
&:first-child:before {

View File

@ -61,7 +61,7 @@
<div>
<a ng-if="!wallets[0]" ui-sref="tabs.add" class="item item-icon-left item-big-icon-left item-icon-right next-step">
<i class="icon big-icon-svg">
<div class="bg icon-create-wallet"></div>
<img src="img/icon-wallet.svg" class="bg wallet icon-create-wallet"/>
</i>
<span translate>Create a bitcoin wallet</span>
<i class="icon bp-arrow-right"></i>
@ -70,7 +70,7 @@
class="item item-sub item-icon-left item-big-icon-left item-icon-right wallet"
ng-click="openWallet(wallet)">
<i class="icon big-icon-svg">
<img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg"/>
<img src="img/icon-wallet.svg" ng-style="{'background-color': wallet.color}" class="bg wallet"/>
</i>
<span>
{{wallet.name || wallet.id}}