aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/css
diff options
context:
space:
mode:
authorsdtsui <szehungdanieltsui@gmail.com>2017-08-07 06:46:55 +0800
committersdtsui <szehungdanieltsui@gmail.com>2017-08-07 06:46:55 +0800
commit802c29c98642043cf679eb2658934e0420f8ecc7 (patch)
tree9d00b014d10bf4c62ad8e203ebb8b471c64af3fe /ui/app/css
parent17de77f24a11bfcd26f8472628d6ead28ce8dced (diff)
downloadtangerine-wallet-browser-802c29c98642043cf679eb2658934e0420f8ecc7.tar.gz
tangerine-wallet-browser-802c29c98642043cf679eb2658934e0420f8ecc7.tar.zst
tangerine-wallet-browser-802c29c98642043cf679eb2658934e0420f8ecc7.zip
Implement hero balance UI, mobile
Diffstat (limited to 'ui/app/css')
-rw-r--r--ui/app/css/itcss/components/hero-balance.scss53
-rw-r--r--ui/app/css/itcss/components/index.scss1
2 files changed, 54 insertions, 0 deletions
diff --git a/ui/app/css/itcss/components/hero-balance.scss b/ui/app/css/itcss/components/hero-balance.scss
new file mode 100644
index 000000000..8c4d886cb
--- /dev/null
+++ b/ui/app/css/itcss/components/hero-balance.scss
@@ -0,0 +1,53 @@
+$break-small: 575px;
+$break-large: 576px;
+
+.hero-balance {
+ @media screen and (max-width: $break-small) {
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-start;
+ align-items: center;
+ margin: 0.3em 0.9em 0.8em;
+ }
+
+ @media screen and (min-width: $break-large) {
+ }
+
+ .hero-balance-display {
+ @media screen and (max-width: $break-small) {
+ text-align: center;
+ }
+
+ @media screen and (min-width: $break-large) {
+ }
+
+ .token-amount {
+ font-size: 1.8em;
+ margin-top: 1em;
+ }
+
+ .fiat-amount {
+ font-size: 1.1em;
+ margin-top: 0.8em;
+ color: #A0A0A0;
+ // TODO: colors
+ }
+ }
+
+ .hero-balance-icon {
+ border-radius: 30px;
+ // TODO: colors
+ border: 1px solid #DEDEDE;
+ }
+
+ .hero-balance-buttons {
+ @media screen and (max-width: $break-small) {
+ width: 100%;
+ margin-top: 1.3em;
+ }
+
+ @media screen and (min-width: $break-large) {
+ }
+
+ }
+} \ No newline at end of file
diff --git a/ui/app/css/itcss/components/index.scss b/ui/app/css/itcss/components/index.scss
index acd3dc108..8b6698eed 100644
--- a/ui/app/css/itcss/components/index.scss
+++ b/ui/app/css/itcss/components/index.scss
@@ -4,4 +4,5 @@
@import './identicon.scss';
@import './network.scss';
@import './newui-sections.scss';
+@import './hero-balance.scss';
@import './sections.scss';