aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2017-08-25 08:31:01 +0800
committerDaniel Tsui <szehungdanieltsui@gmail.com>2017-08-25 08:31:01 +0800
commit4076496c8ea8c5a771db421b6c6a037c6ad48df1 (patch)
treeaf182cd524dd7f3ebf5564a8e728c1b6de512442 /ui/app/components
parent744b78e9c8c032cdd13acf121f891c28f319ed4d (diff)
downloadtangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.gz
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.bz2
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.lz
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.xz
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.tar.zst
tangerine-wallet-browser-4076496c8ea8c5a771db421b6c6a037c6ad48df1.zip
Patch 3 new account modal (#1962)
* Account details modal styling changes. * Tweaking styles. * New account modal re-styling. * Tweaks to paddings, margins, font sizes, colors and modal dimensions. * Replace colour codes with variables.
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/modals/modal.js10
-rw-r--r--ui/app/components/modals/new-account-modal.js19
2 files changed, 16 insertions, 13 deletions
diff --git a/ui/app/components/modals/modal.js b/ui/app/components/modals/modal.js
index 06a3efd34..fdff4c99e 100644
--- a/ui/app/components/modals/modal.js
+++ b/ui/app/components/modals/modal.js
@@ -66,8 +66,14 @@ const MODALS = {
contents: [
h(NewAccountModal, {}, []),
],
- mobileModalStyle: {},
- laptopModalStyle: {}
+ mobileModalStyle: {
+ width: '95%',
+ top: isPopupOrNotification() === 'popup' ? '52vh' : '36.5vh',
+ },
+ laptopModalStyle: {
+ width: '449px',
+ top: 'calc(33% + 45px)',
+ },
},
DEFAULT: {
diff --git a/ui/app/components/modals/new-account-modal.js b/ui/app/components/modals/new-account-modal.js
index 90a3b7c99..c44b79a2e 100644
--- a/ui/app/components/modals/new-account-modal.js
+++ b/ui/app/components/modals/new-account-modal.js
@@ -33,34 +33,31 @@ NewAccountModal.prototype.render = function () {
return h('div', {}, [
h('div.new-account-modal-wrapper', {
}, [
- h('div', {}, [
+ h('div.new-account-modal-header', {}, [
'New Account',
]),
- h('div', {}, [
- h('i.fa.fa-times', {}, [
- ]),
- ]),
+ h('div.modal-close-x', {}),
- h('div', {}, [
+ h('div.new-account-modal-content', {}, [
'Account Name',
]),
- h('div', {}, [
- h('input', {
+ h('div.new-account-input-wrapper', {}, [
+ h('input.new-account-input', {
placeholder: 'E.g. My new account'
}, []),
]),
- h('div', {}, [
+ h('div.new-account-modal-content', {}, [
'or',
]),
- h('div', {}, [
+ h('div.new-account-modal-content.import', {}, [
'Import an account',
]),
- h('div', {}, [
+ h('div.new-account-modal-content.button', {}, [
h('button.btn-clear', {}, [
'SAVE',
]),