From 6beb1b33bb20a5bb2bf38b030a5838cf9edff413 Mon Sep 17 00:00:00 2001 From: Dan Date: Wed, 6 Sep 2017 20:27:29 -0230 Subject: [PATCH] Replace checkmark with font-awesome equivalent. --- ui/app/components/dropdowns/network-dropdown.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/app/components/dropdowns/network-dropdown.js b/ui/app/components/dropdowns/network-dropdown.js index f79c8b29a..1b6bd2385 100644 --- a/ui/app/components/dropdowns/network-dropdown.js +++ b/ui/app/components/dropdowns/network-dropdown.js @@ -105,7 +105,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - providerType === 'mainnet' ? h('.network-check', '✓') : h('.network-check__transparent', '✓'), + providerType === 'mainnet' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { backgroundColor: '#038789', // $blue-lagoon nonSelectBackgroundColor: '#15afb2', @@ -128,7 +128,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - providerType === 'ropsten' ? h('.network-check', '✓') : h('.network-check__transparent', '✓'), + providerType === 'ropsten' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { backgroundColor: '#e91550', // $crimson nonSelectBackgroundColor: '#ec2c50', @@ -151,7 +151,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - providerType === 'kovan' ? h('.network-check', '✓') : h('.network-check__transparent', '✓'), + providerType === 'kovan' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { backgroundColor: '#690496', // $purple nonSelectBackgroundColor: '#b039f3', @@ -174,7 +174,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - providerType === 'rinkeby' ? h('.network-check', '✓') : h('.network-check__transparent', '✓'), + providerType === 'rinkeby' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { backgroundColor: '#ebb33f', // $tulip-tree nonSelectBackgroundColor: '#ecb23e', @@ -197,7 +197,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - activeNetwork === 'http://localhost:8545' ? h('.network-check', '✓') : h('.network-check__transparent', '✓'), + activeNetwork === 'http://localhost:8545' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { isSelected: activeNetwork === 'http://localhost:8545', innerBorder: '1px solid #9b9b9b', @@ -221,7 +221,7 @@ NetworkDropdown.prototype.render = function () { style: dropdownMenuItemStyle, }, [ - activeNetwork === 'custom' ? h('.check', '✓') : h('.network-check__transparent', '✓'), + activeNetwork === 'custom' ? h('i.fa.fa-check') : h('.network-check__transparent', '✓'), h(NetworkDropdownIcon, { isSelected: activeNetwork === 'custom', innerBorder: '1px solid #9b9b9b',