Merge pull request #1337 from consul/devise-views

Devise views
This commit is contained in:
Juanjo Bazán
2017-01-11 12:38:41 +01:00
committed by GitHub
10 changed files with 149 additions and 80 deletions

View File

@@ -600,12 +600,28 @@ h2.sidebar-title {
// --------------
.auth-page {
.wrapper {
margin: 0 auto (-$line-height)*14;
}
}
.auth-image {
background: $brand image-url("auth_bg.jpg");
background-repeat: no-repeat;
background-size: cover;
h1:not(.logo) {
@include logo;
@include breakpoint(medium) {
min-height: $line-height*42;
}
h1 {
margin-top: $line-height;
img {
height: rem-calc(80);
width: rem-calc(80);
}
a {
color: white;
@@ -621,15 +637,27 @@ h2.sidebar-title {
}
}
.auth {
.auth-form {
@include breakpoint(medium) {
padding-top: $line-height*4;
}
p, a, .checkbox {
font-size: $small-font-size;
}
}
.panel {
.auth-divider {
border-bottom: 1px solid $border;
height: $line-height/2;
margin: $line-height 0;
text-align: center;
span {
background: white;
border: 0;
font-weight: bold;
padding: 0 $line-height/2;
}
}