Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signup Page for Fabrik #502

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
211 changes: 211 additions & 0 deletions ide/static/css/signup_style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
.container {
background: url("../img/bg.jpg") no-repeat;
background-size: cover;
height: 100%;
width: 100%;
position: fixed;
top: 0;
left: 0;
}

.card {
background: #e9edff;
width: 80%;
height: 48em;
margin-top: 6em;
}

.left {
width: 50%;
height: 100%;
float: left;
transition: all 0.7s ease;
}

.left-content {
transition: all 0.7s ease;
}

.right {
width: 50%;
background: #dde1f4;
height: 100%;
float: right;
transition: all 0.7s ease;
}

.graphic {
transition: all 0.7s ease;
}

.logo {
margin-top: 1em;
margin-left: 2.8em;
}

.logo img {
width: 350%;
}

.form {
margin-top: 7em;
display: inline-block;
}

.form form {
margin-left: -3.3em;
}

.form h1 {
color: #3f4a5c;
font-weight: bold;
font-size: 2.5em;
text-align: justify;
}

.input-component {
position: relative;
margin: 2em;
}

.input-component input[type="text"],
input[type="email"],
input[type="password"] {
background: none;
border: none;
border-bottom: 0.2em solid #8d9ab0;
width: 20em;
margin: 1.5em;
display: block;
padding: 10px 10px 10px 5px;
outline: none;
}

.input-component label {
position: absolute;
color: #3f4a5c;
pointer-events: none;
left: 1.7em;
top: 0.5em;
font-size: 1em;
font-weight: 300;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}

input:focus ~ label,
input:valid ~ label {
font-size: 0.7em;
top: -1em;
left: 2.4em;
}

.line {
width: 0;
}

.line:before,
.line:after {
content: "";
height: 0.2em;
width: 0;
bottom: 0;
position: absolute;
background: #2a3649;
transition: 0.2s ease all;
-moz-transition: 0.2s ease all;
-webkit-transition: 0.2s ease all;
}

.line:before {
left: 50%;
}
.line:after {
right: 50%;
}

input:focus ~ .line:before,
input:focus ~ .line:after {
width: 43.6%;
}

input:focus ~ #line-password1:before,
input:focus ~ #line-password2:before,
input:focus ~ #line-password1:after,
input:focus ~ #line-password2:after {
width: 43.5%;
bottom: 0.05em;
}

#last {
margin-bottom: 0;
}

#form-error-message {
opacity: 0;
display: inline-block;
color: #eb4d4b;
margin: 0;
padding: 0;
margin-top: -2em;
transition: all 0.3s ease;
}

input[type="submit"] {
background: #2a3649;
padding: 1.3em 3em 1.3em 3em;
color: #fff;
border-radius: 20em;
margin: 1em;
outline: none;
border: none;
cursor: pointer;
}

.login-link {
text-decoration: none;
color: #3f4a5c;
display: inline-block;
margin: 1.4em 2em 2em 4em;
}

.login-link:hover {
color: #3f4a5c;
}

.right img {
width: 80%;
margin: 6em 3em 6em 3em;
}

.success {
opacity: 0;
display: none;
transition: all 0.7s ease;
}

.success img {
width: 27%;
margin: 7em 0 0 0;
}

.success h1 {
color: #2a3649;
font-weight: 300;
}

.success p {
font-size: 1.2em;
color: #9eaec6;
}

.success a {
text-decoration: none;
background: #2a3649;
margin: 2em;
display: inline-block;
padding: 1.5em 4em 1.5em 4em;
color: #fff;
border-radius: 20em;
}
Binary file added ide/static/img/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ide/static/img/graphic_signup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ide/static/img/logo_without_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ide/static/img/smile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions ide/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ import React from 'react';
import { render } from 'react-dom';
import { Router, Route, hashHistory } from 'react-router';
import App from './app.js';
import Signup from './signup.js';
import '../css/style.css';

render(
<Router history={hashHistory}>
<Route path="/" component={App} />
<Route path="/signup" component={Signup} />
</Router>, document.getElementById('app')
);
Loading