From fd3fd945c87069851a745685896f5375b1e5560f Mon Sep 17 00:00:00 2001 From: CatalinScr Date: Wed, 16 Aug 2017 07:56:18 +0300 Subject: [PATCH] Updated the Log in Page --- customize.dist/pages.js | 4 +- .../src/less2/pages/page-login.less | 59 +++++++++++++++++++ customize.dist/translations/messages.js | 2 +- 3 files changed, 62 insertions(+), 3 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index a05cd526a..480538800 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -496,8 +496,8 @@ define([ placeholder: Msg.login_password, }), h('div.extra', [ - h('button.btn.btn-primary.login.first', Msg.login_login), - h('button#register.btn.btn-success.register', Msg.login_register) + h('button.login.first.btn', Msg.login_login), + h('button#register.btn.register.cp-login-register', Msg.login_register) ]) ]) ]), diff --git a/customize.dist/src/less2/pages/page-login.less b/customize.dist/src/less2/pages/page-login.less index 8bfc79c5c..cbde08893 100644 --- a/customize.dist/src/less2/pages/page-login.less +++ b/customize.dist/src/less2/pages/page-login.less @@ -17,3 +17,62 @@ } } } +.cp-container { + #data { + background: #4591C4; + padding-top: 3em; + padding-bottom: 7em; + padding-left: 30px; + padding-right: 30px; + p { + color: #fff; + } + h2 { + font-weight: 700; + color: @cryptpad_header_col; + } + } + #userForm { + padding-top: 3em; + padding-bottom: 2em; + .form-control { + border-radius: 0; + color: @cryptpad_text_col; + margin-top: 1em; + &:focus { + border-color: @cryptpad_color_blue; + } + } + .checkbox-container { + color: @cryptpad_text_col; + } + } + .align-items-center { + box-shadow: 0 5px 15px rgba(69,145,196, 0.3); + background: #fff; + } + .extra { + margin-top: 1em; + .cp-login-register { + color: @cryptpad_color_blue; + background: #fff; + border: 2px solid @cryptpad_color_blue; + border-radius: 0; + &:hover { + transform: scale(1.05); + } + } + .login { + background: transparent; + color: @cryptpad_color_blue; + padding: 0; + &:hover { + transform: scale(1.05); + } + } + } +} +.cp-container { + padding-top: 0; + min-height: 66vh; +} \ No newline at end of file diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index a8383a421..9d6937286 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -510,7 +510,7 @@ define(function () { // contact.html out.main_about_p2 = 'If you have any questions or comments, feel free to reach out! You can tweet us, open an issue on GitHub. Come say hi on our Matrix channel or IRC (#cryptpad on irc.freenode.net), or send us an email.'; - out.main_info = "

Collaborate in Confidence


Grow your ideas together with shared documents while Zero Knowledge technology secures your privacy; even from us."; + out.main_info = "

Collaborate in Confidence

Grow your ideas together with shared documents while Zero Knowledge technology secures your privacy; even from us."; out.main_catch_phrase = "The Zero Knowledge Cloud"; out.main_howitworks = 'How It Works';