From b2b05f3868055578b8d0cafb7d08dd7742bd4bed Mon Sep 17 00:00:00 2001 From: Tayane Fernandes Date: Mon, 6 Feb 2017 19:01:09 -0200 Subject: [#922] Add back link with @anikarni --- web-ui/app/js/account_recovery.js | 2 ++ web-ui/app/js/account_recovery/page.js | 6 ++++ web-ui/app/scss/account_recovery/page.scss | 52 +++++++++++++++++++++--------- 3 files changed, 45 insertions(+), 15 deletions(-) (limited to 'web-ui/app') diff --git a/web-ui/app/js/account_recovery.js b/web-ui/app/js/account_recovery.js index a48415f8..441a8936 100644 --- a/web-ui/app/js/account_recovery.js +++ b/web-ui/app/js/account_recovery.js @@ -3,6 +3,8 @@ import { render } from 'react-dom' import Page from 'js/account_recovery/page' import a11y from 'react-a11y' +import 'font-awesome/scss/font-awesome.scss' + if(process.env.NODE_ENV === 'development') a11y(React); render( diff --git a/web-ui/app/js/account_recovery/page.js b/web-ui/app/js/account_recovery/page.js index 4dda8fff..5d4f2c36 100644 --- a/web-ui/app/js/account_recovery/page.js +++ b/web-ui/app/js/account_recovery/page.js @@ -14,6 +14,12 @@ const Page = () => ( +
+ + + Voltar + +
); diff --git a/web-ui/app/scss/account_recovery/page.scss b/web-ui/app/scss/account_recovery/page.scss index 9fe85d5c..8bba1b5a 100644 --- a/web-ui/app/scss/account_recovery/page.scss +++ b/web-ui/app/scss/account_recovery/page.scss @@ -29,6 +29,20 @@ p { margin-after: 0.5em; } +a { + text-decoration: none; + color: $dark_blue; + font-style: italic; + + .fa { + font-size: 1.6em; + position: relative; + top: 3px; + margin-right: 0.3em; + } + +} + .field-group { position:relative; margin: 1.5em 0; @@ -83,6 +97,7 @@ button { border-radius: 2px; font-weight: 300; width: 100%; + margin-bottom: 1em; } .container { @@ -110,10 +125,17 @@ img { font-size: 1.3em; } - .field-group, button { - width: 70%; - -webkit-align-self: center; - align-self: center; + form { + display: flex; + -webkit-display: flex; + -webkit-flex-direction: column; + flex-direction: column; + + .field-group, button, div { + width: 70%; + -webkit-align-self: center; + align-self: center; + } } } @@ -130,21 +152,21 @@ img { form { margin-left: 2.5em; - } - img { - width: 300px; - } + .field-group, button, div { + width: 300px; + -webkit-align-self: flex-start; + align-self: flex-start; + } - .field-group, button { - width: 300px; - -webkit-align-self: center; - align-self: center; + .field-group { + margin-top: 3em; + font-size: 1em; + } } - .field-group { - margin-top: 3em; - font-size: 1em; + img { + width: 300px; } button { -- cgit v1.2.3