new icon on navigation bar

This commit is contained in:
bechi 2015-12-22 17:27:32 -03:00
commit 470e83df5a
4 changed files with 13 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<a ng-click="index.setTab(item, false, 0, true)" <a ng-click="index.setTab(item, false, 0, true)"
ng-style="{'color': index.tab == item.link ? index.backgroundColor : '#A5B2BF'}" ng-style="{'color': index.tab == item.link ? index.backgroundColor : '#A5B2BF'}"
id="menu-{{item.link}}"> id="menu-{{item.link}}">
<i class="size-18 {{item.icon}} db"></i> <i class="size-18 {{item.icon[index.tab == item.link]}} db"></i>
<span class="size-10 tu"> <span class="size-10 tu">
{{ item.title|translate }} {{ item.title|translate }}
<span class="label round" <span class="label round"

View file

@ -24,6 +24,15 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-activity-active:before {
content: "\e904";
}
.icon-receive-active:before {
content: "\e905";
}
.icon-send-active:before {
content: "\e906";
}
.icon-wallet:before { .icon-wallet:before {
content: "\e903"; content: "\e903";
} }

View file

@ -279,10 +279,6 @@ ul.copayer-list img {
display: block; display: block;
} }
.bottombar-item a.active span, .bottombar-item a.active i {
font-weight: bold;
}
.bottombar-item a.active .label { .bottombar-item a.active .label {
text-shadow: none; text-shadow: none;
} }

View file

@ -21,15 +21,15 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.menu = [{ self.menu = [{
'title': gettext('Receive'), 'title': gettext('Receive'),
'icon': 'icon-receive', 'icon': {false:'icon-receive', true: 'icon-receive-active'},
'link': 'receive' 'link': 'receive'
}, { }, {
'title': gettext('Activity'), 'title': gettext('Activity'),
'icon': 'icon-activity', 'icon': {false:'icon-activity',true: 'icon-activity-active'},
'link': 'walletHome' 'link': 'walletHome'
}, { }, {
'title': gettext('Send'), 'title': gettext('Send'),
'icon': 'icon-send', 'icon': {false:'icon-send', true: 'icon-send-active'},
'link': 'send' 'link': 'send'
}]; }];