aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-07 09:06:23 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-07 09:14:48 +0800
commit403d9c52b506e31fa31b385b61fd167f81b5ff88 (patch)
treef48f9f2adc468bd2380cfd7b0f50afbe5a1be87a
parentf06a18a09c1ed018b23776faa7da84a421d1a3ed (diff)
downloadtangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar.gz
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar.bz2
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar.lz
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar.xz
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.tar.zst
tangerine-wallet-browser-403d9c52b506e31fa31b385b61fd167f81b5ff88.zip
Add fine css tweaks to hero balance - laptop
-rw-r--r--ui/app/components/tx-view.js2
-rw-r--r--ui/app/css/itcss/components/hero-balance.scss30
2 files changed, 11 insertions, 21 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js
index 193abe8dc..164684821 100644
--- a/ui/app/components/tx-view.js
+++ b/ui/app/components/tx-view.js
@@ -104,7 +104,7 @@ TxView.prototype.render = function () {
// laptop: 5vw?
// phone: 50vw?
- h('div.hero-balance-display', {}, [
+ h('div.flex-column.hero-balance-display', {}, [
h('div.token-amount', {
style: {}
}, '1001.124 ETH'),
diff --git a/ui/app/css/itcss/components/hero-balance.scss b/ui/app/css/itcss/components/hero-balance.scss
index b0766bead..61d7f7c92 100644
--- a/ui/app/css/itcss/components/hero-balance.scss
+++ b/ui/app/css/itcss/components/hero-balance.scss
@@ -16,14 +16,11 @@ $break-large: 576px;
flex-direction: row;
justify-content: flex-start;
align-items: center;
- margin: 1.5em 0.9em 0.8em 0.9em;
+ margin: 2.8em 0.9em 0.8em 0.9em;
}
.hero-balance-display {
- .fiat-amount {
- color: #A0A0A0;
- // TODO: colors
- }
+
@media screen and (max-width: $break-small) {
text-align: center;
@@ -35,18 +32,22 @@ $break-large: 576px;
.fiat-amount {
font-size: 115%;
margin-top: 8.5%;
+ color: #A0A0A0;
}
}
@media screen and (min-width: $break-large) {
flex-grow: 3;
margin-left: 3%;
+ justify-content: flex-start;
+ align-items: flex-start;
.token-amount {
- font-size: 125%;
+ font-size: 135%;
}
.fiat-amount {
+ margin-top: 0.25%;
font-size: 105%;
}
@@ -55,22 +56,11 @@ $break-large: 576px;
}
.hero-balance-icon {
- border-radius: 30px;
- width: 60px;
- height: 60px;
+ border-radius: 25px;
+ width: 45px;
+ height: 45px;
// TODO: colors
border: 1px solid #DEDEDE;
-
- @media screen and (min-width: $break-large) {
- border-radius: 10vw;
- width: 5vw;
- height: 5vw;
- min-width: 45px;
- min-height: 45px;
- max-width: 65px;
- max-height: 65px;
- }
-
}
.hero-balance-buttons {