demarches-normaliennes/app/assets/stylesheets/new_design/login.scss

134 lines
2 KiB
SCSS
Raw Normal View History

2017-06-13 17:46:08 +02:00
@import "colors";
@import "placeholders";
2017-06-14 18:21:24 +02:00
@import "mixins";
2017-06-13 17:46:08 +02:00
2017-06-14 18:21:24 +02:00
$login-breakpoint: 820px;
2017-06-13 17:46:08 +02:00
.login-wrapper {
@extend %page-width-container;
display: flex;
flex-direction: row;
align-items: center;
}
$login-padding: 60px;
.preview,
.login-form {
width: 50%;
padding: $login-padding;
}
2017-06-14 18:21:24 +02:00
@media (max-width: $login-breakpoint) {
.preview {
display: none;
}
.login-form {
@include horizontal-padding(0);
width: 100%;
}
}
@media (min-width: $login-breakpoint) {
.two-columns {
background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 50%, $light-grey 50%, $light-grey 100%);
}
}
2017-06-13 17:46:08 +02:00
@media (min-width: $page-width + (2 * $login-padding)) {
.preview {
padding-left: 0;
}
.login-form {
padding-right: 0;
}
}
.preview {
font-size: 24px;
2017-06-15 18:08:13 +02:00
.paperless-logo {
2017-06-13 17:46:08 +02:00
width: 100%;
margin-bottom: 60px;
}
h3 {
color: $blue;
font-weight: bold;
}
2017-06-15 18:08:13 +02:00
.close-procedure {
font-size: 12px;
}
.procedure-title {
font-size: 30px;
margin: 50px 0 32px;
}
.procedure-description {
font-size: 14px;
}
.procedure-logos {
display: flex;
justify-content: space-around;
img {
max-height: 130px;
margin: 0 10px;
}
}
2017-06-13 17:46:08 +02:00
}
.login-form {
font-size: 14px;
.reset-password {
margin-top: 8px;
}
.separation {
font-size: 14px;
color: $grey;
margin: 24px 0;
}
.login-with-fc {
display: inline-block;
height: 52px;
width: 186px;
margin: auto;
margin-bottom: 8px;
background-image: image-url("login-with-fc.svg");
background-repeat: no-repeat;
background-size: cover;
cursor: pointer;
&:hover {
background-image: image-url("login-with-fc-hover.svg");
}
}
hr {
margin-top: 60px;
margin-bottom: 20px;
background-color: $grey;
border: none;
height: 1px;
}
.register {
display: flex;
justify-content: space-between;
align-items: center;
span {
font-size: 18px;
font-weight: bold;
}
}
}