2014-07-30 11:56:43 +04:00
|
|
|
//
|
|
|
|
// Auth
|
|
|
|
// --------------------------------------------------
|
|
|
|
// Slug: /ghost/signin/
|
|
|
|
// --------------------------------------------------
|
|
|
|
// Covers styles for all auth screens, login, signup
|
|
|
|
// forgot password, and so on.
|
|
|
|
|
|
|
|
.ghost-login,
|
|
|
|
.ghost-signup,
|
|
|
|
.ghost-forgotten,
|
|
|
|
.ghost-reset {
|
|
|
|
color: $midgrey;
|
|
|
|
background: $darkgrey;
|
|
|
|
|
|
|
|
main {
|
2014-09-27 13:44:54 +04:00
|
|
|
padding-top: 15px;
|
2014-07-30 11:56:43 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
line-height: 1.4em;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: 200;
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
2014-10-08 00:49:58 +04:00
|
|
|
background: lighten($darkgrey, 10%);
|
2014-07-30 11:56:43 +04:00
|
|
|
box-shadow: none;
|
|
|
|
margin: 0;
|
|
|
|
position: relative;
|
2014-10-08 00:49:58 +04:00
|
|
|
transition: background ease 0.25s;
|
|
|
|
&:focus {
|
|
|
|
border: none;
|
|
|
|
background: lighten($darkgrey, 15%);
|
|
|
|
}
|
2014-07-30 11:56:43 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
input:-webkit-autofill {
|
|
|
|
-webkit-box-shadow: 0 0 0px 1000px $lightgrey inset !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.login-box,
|
|
|
|
.signup-box,
|
|
|
|
.forgotten-box,
|
|
|
|
.reset-box {
|
|
|
|
max-width: 530px;
|
|
|
|
height: 90%;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
max-width: 264px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Sign In
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.login-form {
|
|
|
|
max-width: 530px;
|
|
|
|
color: lighten($midgrey, 15%);
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
max-width: 264px;
|
|
|
|
}
|
|
|
|
|
2014-08-19 18:25:24 +04:00
|
|
|
.email-wrap,
|
|
|
|
.password-wrap {
|
2014-07-30 11:56:43 +04:00
|
|
|
position: relative;
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-19 18:25:24 +04:00
|
|
|
.email,
|
|
|
|
.password {
|
2014-07-30 11:56:43 +04:00
|
|
|
display: inline-block;
|
|
|
|
clear: both;
|
|
|
|
padding: 8px 0 8px 8px;
|
|
|
|
width: 216px;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
width: 264px;
|
|
|
|
}
|
2014-08-19 18:25:24 +04:00
|
|
|
} // .email, .password
|
2014-07-30 11:56:43 +04:00
|
|
|
|
|
|
|
.email-wrap {
|
|
|
|
margin-right: 3px;
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2014-08-19 18:25:24 +04:00
|
|
|
} // .email-wrap
|
2014-07-30 11:56:43 +04:00
|
|
|
|
2014-08-19 18:25:24 +04:00
|
|
|
@media (max-width: 630px) {
|
|
|
|
.email,
|
2014-07-30 11:56:43 +04:00
|
|
|
.password {
|
2014-08-19 18:25:24 +04:00
|
|
|
border-radius: 2px;
|
2014-07-30 11:56:43 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 631px) {
|
2014-08-19 18:25:24 +04:00
|
|
|
.email {
|
2014-07-30 11:56:43 +04:00
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
}
|
2014-08-19 18:25:24 +04:00
|
|
|
.password {
|
2014-07-30 11:56:43 +04:00
|
|
|
border-radius: 0 2px 2px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 85px;
|
|
|
|
height: 36px;
|
|
|
|
margin:0 0 0 10px;
|
|
|
|
padding: 0.5em 1.37em;
|
|
|
|
min-height: 30px;
|
|
|
|
min-width: 80px;
|
|
|
|
box-shadow: rgba(255,255,255,0.15) 0 1px 0 inset;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
margin: 0;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
2014-08-19 18:25:24 +04:00
|
|
|
} // button
|
2014-07-30 11:56:43 +04:00
|
|
|
|
|
|
|
.meta {
|
|
|
|
clear: both;
|
|
|
|
color: $midgrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: darken($midgrey, 10%);
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: lighten($midgrey, 5%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
2014-08-19 18:25:24 +04:00
|
|
|
} // a
|
2014-07-30 11:56:43 +04:00
|
|
|
|
|
|
|
} // .login-form
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Signup / Reset
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.signup-form,
|
|
|
|
.reset-form {
|
|
|
|
max-width: 280px;
|
|
|
|
color: lighten($midgrey, 15%);
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
width: 264px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div { // Yes. Really.
|
|
|
|
// TODO: Same here as above
|
|
|
|
position: relative;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
background: lighten($darkgrey, 10%);
|
|
|
|
float: left;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 280px;
|
|
|
|
padding: 8px 10px;
|
|
|
|
|
|
|
|
@media (max-width: 630px) {
|
|
|
|
width: 264px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.name-wrap {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
.name {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-wrap {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
.email {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-wrap {
|
|
|
|
position: relative;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
.password {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
height: 36px;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
padding: 0.5em 1.37em;
|
|
|
|
min-height: 30px;
|
|
|
|
min-width: 80px;
|
|
|
|
box-shadow: rgba(255,255,255,0.15) 0 1px 0 inset;
|
|
|
|
}
|
|
|
|
|
|
|
|
} // .signup-form, .reset-form
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Forgot Password
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
.forgotten-form {
|
|
|
|
max-width: 280px;
|
|
|
|
color: lighten($midgrey, 15%);
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2014-08-19 18:25:24 +04:00
|
|
|
.email-wrap {
|
2014-07-30 11:56:43 +04:00
|
|
|
position: relative;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
float: left;
|
2014-08-19 18:25:24 +04:00
|
|
|
border-radius: 2px;
|
|
|
|
width: 100%;
|
|
|
|
} // .email-wrap
|
2014-07-30 11:56:43 +04:00
|
|
|
|
2014-08-19 18:25:24 +04:00
|
|
|
.email {
|
2014-07-30 11:56:43 +04:00
|
|
|
padding: 8px 10px;
|
2014-08-19 18:25:24 +04:00
|
|
|
border-radius: 2px;
|
|
|
|
} // .email
|
2014-07-30 11:56:43 +04:00
|
|
|
|
|
|
|
button {
|
|
|
|
width: 100%;
|
|
|
|
height: 36px;
|
|
|
|
margin: 0 0 1em 0;
|
|
|
|
padding: 0.5em 1.37em;
|
|
|
|
min-height: 30px;
|
|
|
|
min-width: 80px;
|
|
|
|
box-shadow: rgba(255,255,255,0.15) 0 1px 0 inset;
|
2014-08-19 18:25:24 +04:00
|
|
|
} // button
|
2014-07-30 11:56:43 +04:00
|
|
|
|
|
|
|
} // .forgotten-form
|