2013-07-11 23:02:18 +04:00
|
|
|
/*
|
2013-09-12 12:59:58 +04:00
|
|
|
* These styles control elements specific to the Ghost admin login / signup screens.
|
2013-07-11 23:02:18 +04:00
|
|
|
*
|
|
|
|
* Table of Contents:
|
|
|
|
*
|
2013-09-08 22:39:55 +04:00
|
|
|
* 0. General
|
|
|
|
* 1. Login
|
|
|
|
* 2. Signup
|
2013-07-11 23:02:18 +04:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* =============================================================================
|
2013-09-08 22:39:55 +04:00
|
|
|
0. General
|
2013-07-11 23:02:18 +04:00
|
|
|
============================================================================= */
|
|
|
|
|
2013-09-09 10:58:24 +04:00
|
|
|
.ghost-login,
|
2013-09-12 12:59:58 +04:00
|
|
|
.ghost-signup,
|
2013-09-09 10:58:24 +04:00
|
|
|
.ghost-forgotten {
|
2013-07-11 23:02:18 +04:00
|
|
|
color: $midgrey;
|
|
|
|
background: $darkgrey;
|
|
|
|
|
|
|
|
@include breakpoint($mobile) {
|
|
|
|
background: $darkgrey;
|
|
|
|
}
|
|
|
|
|
2013-09-08 20:08:11 +04:00
|
|
|
main {
|
|
|
|
top: 15px;
|
|
|
|
}
|
|
|
|
|
2013-07-11 23:02:18 +04:00
|
|
|
}//.ghost-login
|
|
|
|
|
2013-09-12 12:59:58 +04:00
|
|
|
.login-box,
|
|
|
|
.signup-box,
|
|
|
|
.forgotten-box {
|
2013-07-11 23:02:18 +04:00
|
|
|
max-width: 530px;
|
2013-09-08 19:12:25 +04:00
|
|
|
height: 90%;
|
2013-07-11 23:02:18 +04:00
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0;
|
2013-09-08 19:12:25 +04:00
|
|
|
display: table;
|
2013-07-11 23:02:18 +04:00
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
max-width: 264px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-08 22:39:55 +04:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
1. Login
|
|
|
|
============================================================================= */
|
|
|
|
|
2013-07-11 23:02:18 +04:00
|
|
|
#login {
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
max-width: 530px;
|
|
|
|
color: lighten($midgrey, 15%);
|
2013-09-08 19:12:25 +04:00
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
2013-07-11 23:02:18 +04:00
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
max-width: 264px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div { // Yes. Really.
|
|
|
|
position:relative;
|
|
|
|
margin:0 0 5px 0;
|
|
|
|
background: lighten($darkgrey, 10%);
|
|
|
|
float: left;
|
|
|
|
|
|
|
|
@include breakpoint(630px) { margin-bottom: 1em; }
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
display:inline-block;
|
|
|
|
clear:both;
|
|
|
|
margin:0;
|
|
|
|
padding: 8px 0 8px 8px;
|
2013-09-15 02:50:04 +04:00
|
|
|
width: 216px;
|
2013-07-11 23:02:18 +04:00
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: 200;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
@include transition(background ease 0.25s);
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
2013-09-15 02:50:04 +04:00
|
|
|
width:264px;
|
2013-07-11 23:02:18 +04:00
|
|
|
@include transition(none);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($darkgrey, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-wrap {
|
|
|
|
position:relative;
|
|
|
|
@include icon($i-mail, 12px) {
|
|
|
|
position:absolute;
|
|
|
|
bottom:11px;
|
|
|
|
left:8px;
|
|
|
|
z-index:100;
|
|
|
|
}
|
|
|
|
margin-right: 3px;
|
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
margin-right:0;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.email {
|
|
|
|
padding-left: 28px;
|
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.password-wrap {
|
|
|
|
position:relative;
|
|
|
|
@include icon($i-lock, 10px) {
|
|
|
|
position:absolute;
|
|
|
|
bottom:12px;
|
|
|
|
left:11px;
|
|
|
|
z-index:100;
|
|
|
|
}
|
|
|
|
border-radius: 0 2px 2px 0;
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.password {
|
|
|
|
padding-left: 28px;
|
|
|
|
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;
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
margin:0;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.meta {
|
|
|
|
clear:both;
|
|
|
|
color: $midgrey;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: darken($midgrey, 10%);
|
|
|
|
font-size: 0.9em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: lighten($midgrey, 5%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-09-08 22:39:55 +04:00
|
|
|
/* =============================================================================
|
|
|
|
2. Signup
|
|
|
|
============================================================================= */
|
|
|
|
|
|
|
|
#signup {
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
max-width: 280px;
|
|
|
|
color: lighten($midgrey, 15%);
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
2013-09-15 02:50:04 +04:00
|
|
|
width: 264px;
|
2013-09-08 22:39:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
div { // Yes. Really.
|
|
|
|
position:relative;
|
|
|
|
margin:0 0 1em 0;
|
|
|
|
background: lighten($darkgrey, 10%);
|
|
|
|
float: left;
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin:0;
|
2013-09-15 02:50:04 +04:00
|
|
|
width: 280px;
|
2013-09-08 22:39:55 +04:00
|
|
|
padding: 8px 10px;
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: 200;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
@include transition(background ease 0.25s);
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
@include transition(none);
|
2013-09-15 02:50:04 +04:00
|
|
|
width: 264px;
|
2013-09-08 22:39:55 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($darkgrey, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-09-09 10:58:24 +04:00
|
|
|
}
|
2013-09-08 22:39:55 +04:00
|
|
|
|
2013-09-09 10:58:24 +04:00
|
|
|
|
|
|
|
/* =============================================================================
|
|
|
|
3. Forgotten
|
|
|
|
============================================================================= */
|
|
|
|
|
|
|
|
#forgotten {
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
max-width: 280px;
|
|
|
|
color: lighten($midgrey, 15%);
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
max-width: 264px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div { // Yes. Really.
|
|
|
|
position:relative;
|
|
|
|
margin:0 0 1em 0;
|
|
|
|
background: lighten($darkgrey, 10%);
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
margin:0;
|
|
|
|
padding: 8px 10px;
|
|
|
|
position: relative;
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: 200;
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
@include transition(background ease 0.25s);
|
|
|
|
|
|
|
|
@include breakpoint(630px) {
|
|
|
|
@include transition(none);
|
|
|
|
max-width: 244px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background: lighten($darkgrey, 15%);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.email-wrap {
|
|
|
|
position:relative;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
.email {
|
|
|
|
border-radius: 2px;
|
2013-09-08 22:39:55 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-09-09 10:58:24 +04:00
|
|
|
button {
|
|
|
|
@include box-sizing(border-box);
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2013-09-08 22:39:55 +04:00
|
|
|
}
|