Ghost/core/client/assets/sass/layouts/login.scss

159 lines
3.1 KiB
SCSS
Raw Normal View History

2013-05-11 20:44:25 +04:00
/*
* These styles control elements specific to the Ghost admin login screen.
*
* Table of Contents:
*
*
*/
/* =============================================================================
Login
============================================================================= */
.ghost-login {
color: $midgrey;
background: $darkgrey;
2013-05-11 20:44:25 +04:00
@include breakpoint($mobile) {
background: $darkgrey;
2013-05-11 20:44:25 +04:00
}
main {
top: 0;
}
}//.ghost-login
.login-box {
max-width: 530px;
margin: 0 auto;
padding: 0;
display: none;
@include breakpoint(630px) {
max-width: 264px;
text-align: center;
2013-05-11 20:44:25 +04:00
}
}
#login {
@include box-sizing(border-box);
max-width: 530px;
color: lighten($midgrey, 15%);
2013-05-11 20:44:25 +04:00
@include breakpoint(630px) {
max-width: 264px;
}
2013-05-11 20:44:25 +04:00
div { // Yes. Really.
position:relative;
margin:0 0 5px 0;
background: lighten($darkgrey, 10%);
float: left;
@include breakpoint(630px) { margin-bottom: 1em; }
}
2013-05-11 20:44:25 +04:00
input {
display:inline-block;
clear:both;
margin:0;
padding: 8px 0 8px 8px;
width: 188px;
position: relative;
border: none;
color: #fff;
font-size: 1.1em;
font-weight: 200;
background: transparent;
box-shadow: none;
@include transition(background ease 0.25s);
2013-05-11 20:44:25 +04:00
@include breakpoint(630px) {
width:236px;
2013-05-11 20:44:25 +04:00
@include transition(none);
}
&:focus {
background: lighten($darkgrey, 15%);
}
2013-05-11 20:44:25 +04:00
}
2013-05-11 20:44:25 +04:00
.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;
2013-05-11 20:44:25 +04:00
@include breakpoint(630px) {
margin-right:0;
border-radius: 2px;
2013-05-11 20:44:25 +04:00
}
.email {
padding-left: 28px;
border-radius: 2px 0 0 2px;
}
}
2013-05-11 20:44:25 +04:00
.password-wrap {
position:relative;
@include icon($i-lock, 10px) {
position:absolute;
bottom:12px;
left:11px;
z-index:100;
}
border-radius: 0 2px 2px 0;
2013-05-11 20:44:25 +04:00
@include breakpoint(630px) {
border-radius: 2px;
2013-05-11 20:44:25 +04:00
}
.password {
padding-left: 28px;
border-radius: 0 2px 2px 0;
}
2013-05-11 20:44:25 +04:00
}
2013-05-11 20:44:25 +04:00
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;
2013-05-11 20:44:25 +04:00
@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-05-11 20:44:25 +04:00
}
}
}
2013-05-11 20:44:25 +04:00