From 802c29c98642043cf679eb2658934e0420f8ecc7 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Sun, 6 Aug 2017 15:46:55 -0700 Subject: Implement hero balance UI, mobile --- ui/app/css/itcss/components/hero-balance.scss | 53 +++++++++++++++++++++++++++ ui/app/css/itcss/components/index.scss | 1 + 2 files changed, 54 insertions(+) create mode 100644 ui/app/css/itcss/components/hero-balance.scss (limited to 'ui/app/css') 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'; -- cgit v1.2.3