diff --git a/skins/base/css/molecules/ServerConfig.css b/skins/base/css/molecules/ServerConfig.css new file mode 100644 index 00000000..db0572c8 --- /dev/null +++ b/skins/base/css/molecules/ServerConfig.css @@ -0,0 +1,31 @@ +/* +Copyright 2015 OpenMarket Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +.mx_ServerConfig { + margin-top: 7px; +} + +.mx_ServerConfig .mx_Login_field { + margin-top: 4px; + margin-bottom: 5px; +} + +.mx_ServerConfig_help:link { + opacity: 0.8; + font-size: 14px; + font-weight: 300; + color: #4a4a4a; +} \ No newline at end of file diff --git a/skins/base/css/templates/Login.css b/skins/base/css/templates/Login.css index 7dbcde1c..b8cab4a4 100644 --- a/skins/base/css/templates/Login.css +++ b/skins/base/css/templates/Login.css @@ -15,8 +15,81 @@ limitations under the License. */ .mx_Login { - width: 600px; - height: 350px; - position: relative; + width: 100%; + height: 100%; + display: -webkit-box; + display: -moz-box; + display: -ms-flexbox; + display: -webkit-flex; + display: flex; + -webkit-align-items: center; + align-items: center; + -webkit-justify-content: center; + justify-content: center; +} + +.mx_Login h2 { + color: #4a4a4a; + font-weight: 300; + margin-top: 32px; + margin-bottom: 20px; +} + +.mx_Login_box { + width: 300px; +} + +.mx_Login_logo { + text-align: center; +} + +.mx_Login_field { + width: 100%; + border-radius: 3px; + border: 1px solid #c7c7c7; + font-weight: 300; + font-size: 14px; + padding: 9px; + margin-bottom: 14px; +} + +.mx_Login_submit { + margin-top: 35px; + margin-bottom: 24px; + width: 100%; + border-radius: 40px; + height: 40px; + border: 0px; + background-color: #76cfa6; + font-size: 16px; + color: #fff; +} + +.mx_Login_label { + font-size: 14px; + opacity: 0.8; +} + +.mx_Login_advanced_checkbox { + margin-right: 10px; +} + +.mx_Login_create { + display: block; + text-align: center; + width: 100%; + font-size: 14px; + opacity: 0.8; +} + +.mx_Login_error { + color: #ff2020; + font-weight: bold; + text-align: center; + margin-bottom: 24px; +} + +.mx_Login_create:link { + color: #4a4a4a; } diff --git a/skins/base/img/logo.png b/skins/base/img/logo.png new file mode 100644 index 00000000..7cea081a Binary files /dev/null and b/skins/base/img/logo.png differ diff --git a/skins/base/views/molecules/ServerConfig.js b/skins/base/views/molecules/ServerConfig.js index e06536c5..c533cf94 100644 --- a/skins/base/views/molecules/ServerConfig.js +++ b/skins/base/views/molecules/ServerConfig.js @@ -26,17 +26,12 @@ module.exports = React.createClass({ render: function() { return ( -
- - - - - - - - - -
Home Server URL
Identity Server URL
+
+ + + + + What does this mean?
); } diff --git a/skins/base/views/templates/Login.js b/skins/base/views/templates/Login.js index 0fd64ce5..ee7273b8 100644 --- a/skins/base/views/templates/Login.js +++ b/skins/base/views/templates/Login.js @@ -111,13 +111,13 @@ module.exports = React.createClass({ } return (
- - Use custom server options (advanced) + +
- +
); @@ -126,10 +126,10 @@ module.exports = React.createClass({ return (
-
-
+
+
{this.componentForStep('choose_hs')} - +
); @@ -144,10 +144,10 @@ module.exports = React.createClass({ } else { return (
-

Please log in:

+

Sign in

{this.componentForStep(this.state.step)} -
{this.state.errorText}
- Create a new account +
{this.state.errorText}
+ Create a new account
); } @@ -156,7 +156,12 @@ module.exports = React.createClass({ render: function() { return (
- {this.loginContent()} +
+
+ vector +
+ {this.loginContent()} +
); } diff --git a/skins/base/views/templates/Register.js b/skins/base/views/templates/Register.js index 23367378..866f777b 100644 --- a/skins/base/views/templates/Register.js +++ b/skins/base/views/templates/Register.js @@ -129,7 +129,7 @@ module.exports = React.createClass({ case 'stage_m.login.recaptcha': return (
- This Home Server would like to make sure you're not a robot + This Home Server would like to make sure you are not a robot
); @@ -180,8 +180,13 @@ module.exports = React.createClass({ render: function() { return ( -
- {this.registerContent()} +
+
+
+ vector +
+ {this.registerContent()} +
); }