diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-03-07 12:13:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 12:13:53 +0800 |
commit | abe8bc19a8563520f080f3bea28651343cfc1221 (patch) | |
tree | e8664e704f4f42e37d272433c217576be8d1701d /ui/app | |
parent | 2420ad2477f7b688295a55c038b3473a4516dc52 (diff) | |
parent | 5ebdb215ae37d62bd1757c17b58ce08fb833ff8c (diff) | |
download | tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar.gz tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar.bz2 tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar.lz tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar.xz tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.tar.zst tangerine-wallet-browser-abe8bc19a8563520f080f3bea28651343cfc1221.zip |
Merge branch 'master' into i18n
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/accounts/import/index.js | 15 | ||||
-rw-r--r-- | ui/app/components/dropdowns/components/account-dropdowns.js | 16 | ||||
-rw-r--r-- | ui/app/css/itcss/components/account-menu.scss | 5 | ||||
-rw-r--r-- | ui/app/css/itcss/components/new-account.scss | 10 | ||||
-rw-r--r-- | ui/app/unlock.js | 4 |
5 files changed, 30 insertions, 20 deletions
diff --git a/ui/app/accounts/import/index.js b/ui/app/accounts/import/index.js index ac6517424..c1b190e3d 100644 --- a/ui/app/accounts/import/index.js +++ b/ui/app/accounts/import/index.js @@ -36,6 +36,21 @@ AccountImportSubview.prototype.render = function () { return ( h('div.new-account-import-form', [ + h('.new-account-import-disclaimer', [ + h('span', 'Imported accounts will not be associated with your originally created MetaMask account seedphrase. Learn more about imported accounts '), + h('span', { + style: { + cursor: 'pointer', + textDecoration: 'underline', + }, + onClick: () => { + global.platform.openWindow({ + url: 'https://metamask.helpscoutdocs.com/article/17-what-are-loose-accounts', + }) + }, + }, 'here'), + ]), + h('div.new-account-import-form__select-section', [ h('div.new-account-import-form__select-label', 'Select Type'), diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js index af29a4792..e5359c1d6 100644 --- a/ui/app/components/dropdowns/components/account-dropdowns.js +++ b/ui/app/components/dropdowns/components/account-dropdowns.js @@ -135,22 +135,6 @@ class AccountDropdowns extends Component { ]), ]), -// ======= -// }, -// ), -// this.indicateIfLoose(keyring), -// h('span', { -// style: { -// marginLeft: '20px', -// fontSize: '24px', -// maxWidth: '145px', -// whiteSpace: 'nowrap', -// overflow: 'hidden', -// textOverflow: 'ellipsis', -// }, -// }, identity.name || ''), -// h('span', { style: { marginLeft: '20px', fontSize: '24px' } }, isSelected ? h('.check', '✓') : null), -// >>>>>>> master:ui/app/components/account-dropdowns.js ] ) }) diff --git a/ui/app/css/itcss/components/account-menu.scss b/ui/app/css/itcss/components/account-menu.scss index 8ad7481c7..4752741aa 100644 --- a/ui/app/css/itcss/components/account-menu.scss +++ b/ui/app/css/itcss/components/account-menu.scss @@ -66,8 +66,9 @@ .keyring-label { margin-top: 5px; - background-color: $black; - color: $dusty-gray; + background-color: $dusty-gray; + color: $black; + font-weight: normal; } } diff --git a/ui/app/css/itcss/components/new-account.scss b/ui/app/css/itcss/components/new-account.scss index 81f919df3..c6c254ede 100644 --- a/ui/app/css/itcss/components/new-account.scss +++ b/ui/app/css/itcss/components/new-account.scss @@ -54,6 +54,16 @@ } +.new-account-import-disclaimer { + width: 120%; + background-color: #F4F9FC; + display: inline-block; + align-items: center; + padding: 20px 30px 20px; + font-size: 12px; + line-height: 1.5; +} + .new-account-import-form { display: flex; flex-flow: column; diff --git a/ui/app/unlock.js b/ui/app/unlock.js index 5e44b51ef..185b0b527 100644 --- a/ui/app/unlock.js +++ b/ui/app/unlock.js @@ -72,7 +72,7 @@ UnlockScreen.prototype.render = function () { style: { margin: 10, }, - }, 'Unlock'), + }, 'Log In'), ]), h('.flex-row.flex-center.flex-grow', [ @@ -105,7 +105,7 @@ UnlockScreen.prototype.render = function () { }, }, 'Use classic interface'), ]), - + ]) ) } |