Merge pull request #2696 from bechi/sidebar-color1
change color for sidebar
This commit is contained in:
commit
e973d4cfa0
7 changed files with 26 additions and 29 deletions
|
|
@ -123,7 +123,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
var old = document.getElementById('menu-' + self.tab);
|
||||
if (old) {
|
||||
old.className = '';
|
||||
old.style.borderTopColor = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -132,7 +131,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
var newe = document.getElementById('menu-' + tab);
|
||||
if (newe) {
|
||||
newe.className = 'active';
|
||||
newe.style.borderTopColor = self.backgroundColor;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -340,7 +338,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.updateColor = function() {
|
||||
var config = configService.getSync();
|
||||
config.colorFor = config.colorFor || {};
|
||||
self.backgroundColor = config.colorFor[self.walletId] || '#2C3E50';
|
||||
self.backgroundColor = config.colorFor[self.walletId] || '#7A8C9E';
|
||||
var fc = profileService.focusedClient;
|
||||
fc.backgroundColor = self.backgroundColor;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue