diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-07 08:46:18 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-07 08:46:18 +0800 |
commit | f06a18a09c1ed018b23776faa7da84a421d1a3ed (patch) | |
tree | ef6a92458d63999473a37f376ebfd7cfbdbd543d /ui/app/css | |
parent | ebf39831c416dab12367175d48f494ebae5c7114 (diff) | |
download | tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar.gz tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar.bz2 tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar.lz tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar.xz tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.tar.zst tangerine-wallet-browser-f06a18a09c1ed018b23776faa7da84a421d1a3ed.zip |
Adjust hero balance on mobile
Diffstat (limited to 'ui/app/css')
-rw-r--r-- | ui/app/css/itcss/components/hero-balance.scss | 57 |
1 files changed, 31 insertions, 26 deletions
diff --git a/ui/app/css/itcss/components/hero-balance.scss b/ui/app/css/itcss/components/hero-balance.scss index be5b69e0a..b0766bead 100644 --- a/ui/app/css/itcss/components/hero-balance.scss +++ b/ui/app/css/itcss/components/hero-balance.scss @@ -28,13 +28,13 @@ $break-large: 576px; text-align: center; .token-amount { - font-size: 1.8em; - margin-top: 1em; + font-size: 175%; + margin-top: 15%; } .fiat-amount { - font-size: 1.1em; - margin-top: 0.8em; + font-size: 115%; + margin-top: 8.5%; } } @@ -55,46 +55,51 @@ $break-large: 576px; } .hero-balance-icon { - border-radius: 10vw; + border-radius: 30px; + width: 60px; + height: 60px; // TODO: colors border: 1px solid #DEDEDE; - width: 5vw; - height: 5vw; - min-width: 45px; - min-height: 45px; - max-width: 65px; - max-height: 65px; + + @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 { + @media screen and (max-width: $break-small) { + width: 100%; + height: 100px; // needed a round number to set the heights of the buttons inside + } + + @media screen and (min-width: $break-large) { + flex-grow: 2; + } + button.btn-clear { - width: 5%; - height: 32px; - font-size: .7em; + font-size: 75%; background: white; border: 1px solid; @media screen and (max-width: $break-small) { - width: 100%; - margin-top: 1.3em; + width: 22%; + height: 55%; } @media screen and (min-width: $break-large) { + width: 5%; flex-grow: 2; height: 4.2vh; min-height: 28px; font-size: .7em; } - - } - - @media screen and (max-width: $break-small) { - width: 100%; - margin-top: 1.3em; - } - - @media screen and (min-width: $break-large) { - flex-grow: 2; } } |