From 3747a5949cfb4ec9f6267506f9559211f8eb4383 Mon Sep 17 00:00:00 2001 From: Rami James Date: Fri, 12 Jul 2019 15:50:38 +0300 Subject: [PATCH 1/2] Style updates for Wallet to match new assets panel --- src/components/misc/KeysAndAccountList.vue | 36 +++++++++++++++++----- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/src/components/misc/KeysAndAccountList.vue b/src/components/misc/KeysAndAccountList.vue index 5ce6e7be..eacb2c71 100644 --- a/src/components/misc/KeysAndAccountList.vue +++ b/src/components/misc/KeysAndAccountList.vue @@ -295,23 +295,42 @@ } .keypair-info { - display:flex; align-items: center; margin-bottom:10px; + position: relative; .blockchain { font-size: 36px; background:$blue; - border:1px solid $darkblue; color:$white; - border-radius:$radius; + border-radius:24px; height:50px; width:50px; display:flex; justify-content: center; align-items: center; - margin-right:10px; - position: relative; + margin: 1rem auto; + position: relative; + + &.token-eos-eos { + + } + + &.token-trx-trx { + background:linear-gradient(60deg, #304352 0%, lighten(#304352, 10%) 100%); + } + + &.token-eos-eos { + background:linear-gradient(60deg, $blue 0%, lighten($blue, 10%) 100%); + } + + &.token-eth-eth { + background:linear-gradient(60deg, #F15F79 0%, lighten(#F15F79, 10%) 100%); + } + + &.token-btc-btc { + background:linear-gradient(60deg, #757519 0%, lighten(#757519, 10%) 100%); + } .icon-spin4 { font-size: 28px; @@ -321,7 +340,7 @@ } .info { - flex:1; + text-align: center; .name { font-size: $large; @@ -343,7 +362,10 @@ .actions { display:flex; padding-right:10px; - position: relative; + position: absolute; + right: 0rem; + top: 0; + text-align: left; .action-menu { position:absolute; From e1ffb6fa4258fff0f836f702efcc977379a73bc1 Mon Sep 17 00:00:00 2001 From: Rami James Date: Fri, 12 Jul 2019 17:19:15 +0300 Subject: [PATCH 2/2] Accounts in assets now on white, easier to parse --- src/components/misc/Assets.vue | 18 ++++++++++-------- src/components/misc/KeysAndAccountList.vue | 11 +++++++---- src/styles/styles.scss | 10 ++++++++++ 3 files changed, 27 insertions(+), 12 deletions(-) diff --git a/src/components/misc/Assets.vue b/src/components/misc/Assets.vue index b01f4e39..bcfb9755 100644 --- a/src/components/misc/Assets.vue +++ b/src/components/misc/Assets.vue @@ -7,6 +7,7 @@
+
Accounts