Merge pull request #229 from jamal-jackson/feature/home_views_polish

Polish item rows on home page in cards
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-30 16:04:41 -03:00 committed by GitHub
commit 57fe21ab33
2 changed files with 13 additions and 2 deletions

View File

@ -53,7 +53,7 @@
<a ui-sref="tabs.add"><i class="icon ion-ios-plus-empty list-add-button"></i></a> <a ui-sref="tabs.add"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
</div> </div>
<a ng-repeat="wallet in wallets track by $index" <a ng-repeat="wallet in wallets track by $index"
class="item item-icon-left item-big-icon-left item-icon-right" class="item item-icon-left item-big-icon-left item-icon-right wallet"
ng-click="openWallet(wallet)"> ng-click="openWallet(wallet)">
<i class="icon big-icon-svg"> <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"/>

View File

@ -20,7 +20,7 @@
&:before { &:before {
display: block; display: block;
position: absolute; position: absolute;
width: 86%; width: 75%;
height: 1px; height: 1px;
background: rgba(221, 221, 221, 0.3); background: rgba(221, 221, 221, 0.3);
top:0; top:0;
@ -48,12 +48,23 @@
width:0; width:0;
} }
} }
&.wallet{
.big-icon-svg{
& > .bg{
padding: .25rem
}
}
}
} }
} }
.next-step { .next-step {
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
&.item{
padding-top:2rem;
padding-bottom: 2rem;
}
} }
.homeTip { .homeTip {
.item { .item {