taiga-front/app/styles/layout/login.scss

70 lines
1.4 KiB
SCSS

.login-main {
@include table-flex(center, center, flex, row, wrap, center);
background: url('/images/bg.png') no-repeat center center;
background-size: cover;
bottom: 0;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
.login-container {
@include table-flex-child(0, 400px, 0, 400px);
}
.logo,
.tagline {
margin-bottom: 1rem;
text-align: center;
}
.tagline {
@extend %xlarge;
color: $white;
font-family: 'ostrichSans';
line-height: 2rem;
}
input {
background: $white;
margin-bottom: 1rem;
}
.button-login,
.button-signup {
color: $white;
display: block;
margin-bottom: .5rem;
text-align: center;
}
.button-login {
&:hover {
background: $green-taiga;
}
}
}
.login-error {
background: $red;
border-radius: 4px;
color: $white;
padding: 1rem;
position: absolute;
right: 1rem;
top: 1rem;
width: 20%;
span {
display: block;
}
.title {
@extend %large;
font-family: 'DroidSans-bold';
}
.icon-delete {
color: $red-light;
position: absolute;
right: .5rem;
top: .5rem;
&:hover {
@include transition(color .3s linear);
color: $white;
}
}
}