Added github button to invitation and invitation html structure refactor :octocat:

stable
Xavier Julián 2014-10-27 17:07:03 +01:00 committed by David Barragán Merino
parent 21555fd440
commit 80e34ae1ee
2 changed files with 23 additions and 3 deletions

View File

@ -23,4 +23,10 @@ form.register-form
a.button.button-register.button-gray(href="", title="Sign up") Sign up
input(type="submit", style="display:none")
tg-terms-notice
fieldset
a.button.button-github(href="", title="Enter with your github account")
span.icon.icon-github
span Sign Up with Github
input(type="submit", style="display:none")
tg-terms-notice

View File

@ -44,10 +44,12 @@
}
.invitation-form {
@include table-flex();
fieldset {
margin-bottom: .5rem;
}
input {
background: $white;
color: $gray;
margin-bottom: 1rem;
position: relative;
@include placeholder {
color: $gray-light;
@ -80,16 +82,28 @@
background: $fresh-taiga;
}
}
.button-github {
&:hover {
background: $black;
}
}
}
.login-form,
.register-form {
@include table-flex-child(1, 200px, 0, 200px);
padding: 1rem;
text-align: center;
.form-header {
color: #999;
}
}
.register-form {
fieldset {
&:last-child {
margin-bottom: 1rem;
}
}
}
.register-text {
@extend %small;
color: $white;