aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/network.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2017-12-02 06:19:53 +0800
committerAlexander Tseung <alextsg@gmail.com>2017-12-02 06:19:53 +0800
commit7dba114feb428f7f2f78fee5611377b04bff5be6 (patch)
tree1518258a74392a4c79ec1957d65816ba610d1168 /ui/app/components/network.js
parent2b1f2557c7dbd589724fd690ec72f789f9650e3c (diff)
downloadtangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar.gz
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar.bz2
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar.lz
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar.xz
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.tar.zst
tangerine-wallet-browser-7dba114feb428f7f2f78fee5611377b04bff5be6.zip
Update font weights to 300, remove animation from network dropdown, fix network dropdown not closing from certain click-areas
Diffstat (limited to 'ui/app/components/network.js')
-rw-r--r--ui/app/components/network.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 915818009..5a8d0763d 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -39,7 +39,7 @@ Network.prototype.render = function () {
},
src: 'images/loading.svg',
}),
- h('i.fa.fa-caret-down'),
+ h('i.fa.fa-caret-down.network-caret'),
])
} else if (providerName === 'mainnet') {
hoverText = 'Main Ethereum Network'
@@ -63,7 +63,7 @@ Network.prototype.render = function () {
return (
h('div.network-component.pointer', {
- className: classnames('network-component pointer', {
+ className: classnames({
'network-component--disabled': this.props.disabled,
'ethereum-network': providerName === 'mainnet',
'ropsten-test-network': providerName === 'ropsten' || parseInt(networkNumber) === 3,
@@ -90,7 +90,7 @@ Network.prototype.render = function () {
color: '#039396',
}},
'Main Network'),
- h('i.fa.fa-caret-down.fa-lg'),
+ h('i.fa.fa-caret-down.fa-lg.network-caret'),
])
case 'ropsten-test-network':
return h('.network-indicator', [
@@ -103,7 +103,7 @@ Network.prototype.render = function () {
color: '#ff6666',
}},
'Ropsten Test Net'),
- h('i.fa.fa-caret-down.fa-lg'),
+ h('i.fa.fa-caret-down.fa-lg.network-caret'),
])
case 'kovan-test-network':
return h('.network-indicator', [
@@ -116,7 +116,7 @@ Network.prototype.render = function () {
color: '#690496',
}},
'Kovan Test Net'),
- h('i.fa.fa-caret-down.fa-lg'),
+ h('i.fa.fa-caret-down.fa-lg.network-caret'),
])
case 'rinkeby-test-network':
return h('.network-indicator', [
@@ -129,7 +129,7 @@ Network.prototype.render = function () {
color: '#e7a218',
}},
'Rinkeby Test Net'),
- h('i.fa.fa-caret-down.fa-lg'),
+ h('i.fa.fa-caret-down.fa-lg.network-caret'),
])
default:
return h('.network-indicator', [
@@ -145,7 +145,7 @@ Network.prototype.render = function () {
color: '#AEAEAE',
}},
'Private Network'),
- h('i.fa.fa-caret-down.fa-lg'),
+ h('i.fa.fa-caret-down.fa-lg.network-caret'),
])
}
})(),