diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 07:59:00 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-22 07:59:00 +0800 |
commit | d6116aaf57e4d27694c2c5a21b6fabb24f072508 (patch) | |
tree | 4d4f82741b36947ab7be1643281b95a25405984b | |
parent | b0759ddc1881179edaf27a6cd57e5fb27bdd2c31 (diff) | |
download | tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar.gz tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar.bz2 tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar.lz tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar.xz tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.tar.zst tangerine-wallet-browser-d6116aaf57e4d27694c2c5a21b6fabb24f072508.zip |
[WIP] Tweak Send Screen Styles
-rw-r--r-- | ui/app/css/itcss/components/index.scss | 3 | ||||
-rw-r--r-- | ui/app/css/itcss/components/sections.scss | 11 | ||||
-rw-r--r-- | ui/app/css/itcss/components/send.scss | 30 | ||||
-rw-r--r-- | ui/app/send.js | 15 |
4 files changed, 37 insertions, 22 deletions
diff --git a/ui/app/css/itcss/components/index.scss b/ui/app/css/itcss/components/index.scss index ebcd0dba6..0733c47a1 100644 --- a/ui/app/css/itcss/components/index.scss +++ b/ui/app/css/itcss/components/index.scss @@ -12,6 +12,9 @@ @import './account-dropdown.scss'; +@import './send.scss'; + + // Balances @import './hero-balance.scss'; diff --git a/ui/app/css/itcss/components/sections.scss b/ui/app/css/itcss/components/sections.scss index c49fc617e..44ec3e862 100644 --- a/ui/app/css/itcss/components/sections.scss +++ b/ui/app/css/itcss/components/sections.scss @@ -283,17 +283,6 @@ textarea.twelve-word-phrase { background: #faf6f0; } -/* Send Screen */ - -.send-screen section { - margin: 4px 16px; -} - -.send-screen input { - width: 100%; - font-size: 12px; -} - /* Ether Balance Widget */ .ether-balance-amount { diff --git a/ui/app/css/itcss/components/send.scss b/ui/app/css/itcss/components/send.scss new file mode 100644 index 000000000..91cbfc7dd --- /dev/null +++ b/ui/app/css/itcss/components/send.scss @@ -0,0 +1,30 @@ +.send-screen-wrapper { + display: flex; + flex-direction: column; + min-width: 355px; + // width: 50%; + z-index: 50; //TODO + position: absolute; + top: 40px; + // height: 65%; +} + +.send-screen-card { + display: flex; + flex-direction: column; + margin-left: 3.5%; + margin-right: 3.5%; + background: $white; + box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08); +} + +/* Send Screen */ + +.send-screen section { + margin: 4px 16px; +} + +.send-screen input { + width: 100%; + font-size: 12px; +} diff --git a/ui/app/send.js b/ui/app/send.js index ab527019f..01f3d543a 100644 --- a/ui/app/send.js +++ b/ui/app/send.js @@ -59,20 +59,13 @@ SendTransactionScreen.prototype.render = function () { return ( - h('div.flex-column.flex-grow', { - style: { - minWidth: '355px', // TODO: maxWidth TBD, use home.html - }, + h('div.send-screen-wrapper', { + style: {}, }, [ // Main Send token Card - h('div.send-screen.flex-column.flex-grow', { - style: { - marginLeft: '3.5%', - marginRight: '3.5%', - background: '#FFFFFF', // $background-white - boxShadow: '0 2px 4px 0 rgba(0,0,0,0.08)', - } + h('div.send-screen-card', { + style: {} }, [ h('section.flex-center.flex-row', { style: { |