aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-06-29 07:15:26 +0800
committerDan Finlay <somniac@me.com>2016-06-29 07:15:26 +0800
commite4956c3123a23cf4bddaf2617e36456735fddced (patch)
treee0fc08ace5f951ed6e7f392da4cfdd2775386d30 /ui
parentc6187b080af0cc63bea113b8e6c115a5dfe4bb4d (diff)
downloadtangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar.gz
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar.bz2
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar.lz
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar.xz
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.tar.zst
tangerine-wallet-browser-e4956c3123a23cf4bddaf2617e36456735fddced.zip
Modify network icons to reflect current design. (#355)
* Modify network icons to reflect current design. * Switch icons around.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js4
-rw-r--r--ui/app/components/network.js4
-rw-r--r--ui/app/css/lib.css21
3 files changed, 13 insertions, 16 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 80521d220..8aab63a6a 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -212,14 +212,14 @@ App.prototype.renderNetworkDropdown = function () {
label: 'Main Ethereum Network',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => props.dispatch(actions.setProviderType('mainnet')),
- icon: h('.menu-icon.ether-icon'),
+ icon: h('.menu-icon.diamond'),
}),
h(DropMenuItem, {
label: 'Morden Test Network',
closeMenu: () => this.setState({ isNetworkMenuOpen: false }),
action: () => props.dispatch(actions.setProviderType('testnet')),
- icon: h('.menu-icon.morden-icon'),
+ icon: h('.menu-icon.red-dot'),
}),
h(DropMenuItem, {
diff --git a/ui/app/components/network.js b/ui/app/components/network.js
index 771be5f32..9f7287371 100644
--- a/ui/app/components/network.js
+++ b/ui/app/components/network.js
@@ -47,9 +47,9 @@ Network.prototype.render = function () {
(function () {
switch (iconName) {
case 'ethereum-network':
- return h('.menu-icon.ether-icon')
+ return h('.menu-icon.diamond')
case 'morden-test-network':
- return h('.menu-icon.morden-icon')
+ return h('.menu-icon.red-dot')
default:
return h('i.fa.fa-question-circle.fa-lg', {
ariaHidden: true,
diff --git a/ui/app/css/lib.css b/ui/app/css/lib.css
index 425f41b20..a7da11e77 100644
--- a/ui/app/css/lib.css
+++ b/ui/app/css/lib.css
@@ -168,17 +168,14 @@ hr.horizontal-line {
}
.red-dot {
- position: inherit;
- background: red;
+ background: #E91550;
color: white;
border-radius: 10px;
- height: 12px;
- min-width: 12px;
- margin-left: 6px;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 4px;
+}
+
+.diamond {
+ transform: rotate(45deg);
+ background: #038789;
}
.pending-dot {
@@ -203,8 +200,8 @@ hr.horizontal-line {
.menu-icon {
display: inline-block;
- width: 14px;
- height: 14px;
+ height: 9px;
+ min-width: 9px;
margin: 13px;
}
.ether-icon {
@@ -222,4 +219,4 @@ hr.horizontal-line {
.invisible {
visibility: hidden;
-} \ No newline at end of file
+}