diff --git a/js/src/ui/ModalBox/modalBox.css b/js/src/ui/ModalBox/modalBox.css index 12b4874e5..4457c9dd9 100644 --- a/js/src/ui/ModalBox/modalBox.css +++ b/js/src/ui/ModalBox/modalBox.css @@ -34,16 +34,12 @@ } .icon { - align-items: center; background: rgb(167, 151, 0); border-radius: 50%; - display: flex; - flex: 0 0 5em; - flex-direction: column; height: 5em; - justify-content: center; margin-right: 1.5em; padding: 0.75em; + text-align: center; width: 5em; img { @@ -51,12 +47,10 @@ padding: 0; } - svg { - fill: white !important; - font-size: 3.5em !important; - height: 3.5em !important; - margin: 0 !important; - width: 3.5em !important; + i { + color: white; + font-size: 3.5rem; + margin: 0.75rem -0.125rem; } } } diff --git a/js/src/ui/Portal/portal.css b/js/src/ui/Portal/portal.css index 3a53fbdca..0826a69e6 100644 --- a/js/src/ui/Portal/portal.css +++ b/js/src/ui/Portal/portal.css @@ -120,7 +120,7 @@ $backgroundOverlay: rgba(255, 255, 255, 0.95); font-size: 3em; position: absolute; right: 1rem; - top: 0.5rem; + top: 1.5rem; z-index: 100; i { diff --git a/js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js b/js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js index ed64ab2c2..fd2bb1b86 100644 --- a/js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js +++ b/js/src/views/Accounts/CreateAccount/TypeIcon/typeIcon.js @@ -28,35 +28,45 @@ export default class TypeIcon extends Component { } render () { - const { className, createStore, type } = this.props; + const { className } = this.props; + + return ( +
+ { this.getIcon() } +
+ ); + } + + getIcon () { + const { createStore, type } = this.props; const { createType, stage } = createStore; if (stage === STAGE_INFO) { - return ; + return ; } switch (type || createType) { case 'fromGeth': - return ; + return ; case 'fromJSON': - return ; + return ; case 'fromPhrase': - return ; + return ; case 'fromPresale': - return ; + return ; case 'fromQr': - return ; + return ; case 'fromRaw': - return ; + return ; case 'fromNew': default: - return ; + return ; } } } diff --git a/js/src/views/Accounts/CreateAccount/createAccount.css b/js/src/views/Accounts/CreateAccount/createAccount.css index 1dd338643..5125bd95d 100644 --- a/js/src/views/Accounts/CreateAccount/createAccount.css +++ b/js/src/views/Accounts/CreateAccount/createAccount.css @@ -111,9 +111,8 @@ .icon { color: rgb(167, 151, 0) !important; flex: 0 0 56px; - height: 56px !important; - margin-right: 0.75em; - width: 56px !important; + font-size: 56px; + margin: 1.5rem 1.5rem 0 0; } .info { diff --git a/js/src/views/Addresses/AddAddress/addAddress.js b/js/src/views/Addresses/AddAddress/addAddress.js index 26e315405..eeea32872 100644 --- a/js/src/views/Addresses/AddAddress/addAddress.js +++ b/js/src/views/Addresses/AddAddress/addAddress.js @@ -19,7 +19,7 @@ import React, { Component, PropTypes } from 'react'; import { FormattedMessage } from 'react-intl'; import { Button, Form, Input, InputAddress, ModalBox, Portal } from '~/ui'; -import { AddIcon, AddressesIcon, CancelIcon } from '~/ui/Icons'; +import { AddIcon, AddressIcon, CancelIcon } from '~/ui/Icons'; import Store from './store'; @@ -97,7 +97,7 @@ export default class AddAddress extends Component { return ( } + icon={ } summary={ } + key='cancel' label={ } + key='load' label={