aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/network.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-01-12 08:59:00 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-01-12 08:59:00 +0800
commitb0a6bfdeece8a5afb860bc47f01373d08a0895b8 (patch)
tree5eb65fe24bee89132a25f5279bc9638fc391b7b6 /ui/app/components/network.js
parent376e1365727a97344d70d627ae27e8e70830a17a (diff)
downloadtangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar.gz
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar.bz2
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar.lz
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar.xz
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.tar.zst
tangerine-wallet-browser-b0a6bfdeece8a5afb860bc47f01373d08a0895b8.zip
Change styling for network dropdown
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r--ui/app/components/network.js41
1 files changed, 10 insertions, 31 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 5a8d0763d..3f147159b 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -39,7 +39,6 @@ Network.prototype.render = function () {
},
src: 'images/loading.svg',
}),
- h('i.fa.fa-caret-down.network-caret'),
])
} else if (providerName === 'mainnet') {
hoverText = 'Main Ethereum Network'
@@ -85,12 +84,8 @@ Network.prototype.render = function () {
backgroundColor: '#038789', // $blue-lagoon
nonSelectBackgroundColor: '#15afb2',
}),
- h('.network-name', {
- style: {
- color: '#039396',
- }},
- 'Main Network'),
- h('i.fa.fa-caret-down.fa-lg.network-caret'),
+ h('.network-name', 'Main Network'),
+ h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
case 'ropsten-test-network':
return h('.network-indicator', [
@@ -98,12 +93,8 @@ Network.prototype.render = function () {
backgroundColor: '#e91550', // $crimson
nonSelectBackgroundColor: '#ec2c50',
}),
- h('.network-name', {
- style: {
- color: '#ff6666',
- }},
- 'Ropsten Test Net'),
- h('i.fa.fa-caret-down.fa-lg.network-caret'),
+ h('.network-name', 'Ropsten Test Net'),
+ h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
case 'kovan-test-network':
return h('.network-indicator', [
@@ -111,12 +102,8 @@ Network.prototype.render = function () {
backgroundColor: '#690496', // $purple
nonSelectBackgroundColor: '#b039f3',
}),
- h('.network-name', {
- style: {
- color: '#690496',
- }},
- 'Kovan Test Net'),
- h('i.fa.fa-caret-down.fa-lg.network-caret'),
+ h('.network-name', 'Kovan Test Net'),
+ h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
case 'rinkeby-test-network':
return h('.network-indicator', [
@@ -124,12 +111,8 @@ Network.prototype.render = function () {
backgroundColor: '#ebb33f', // $tulip-tree
nonSelectBackgroundColor: '#ecb23e',
}),
- h('.network-name', {
- style: {
- color: '#e7a218',
- }},
- 'Rinkeby Test Net'),
- h('i.fa.fa-caret-down.fa-lg.network-caret'),
+ h('.network-name', 'Rinkeby Test Net'),
+ h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
default:
return h('.network-indicator', [
@@ -140,12 +123,8 @@ Network.prototype.render = function () {
},
}),
- h('.network-name', {
- style: {
- color: '#AEAEAE',
- }},
- 'Private Network'),
- h('i.fa.fa-caret-down.fa-lg.network-caret'),
+ h('.network-name', 'Private Network'),
+ h('i.fa.fa-chevron-down.fa-lg.network-caret'),
])
}
})(),