diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 0ef13f01a..0af34b334 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -600,12 +600,23 @@ 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; a { color: white; @@ -621,16 +632,15 @@ h2.sidebar-title { } } -.auth { +.auth-form { + + @include breakpoint(medium) { + padding-top: $line-height*4; + } p, a, .checkbox { font-size: $small-font-size; } - - .panel { - background: white; - border: 0; - } } // 06. Forms diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index 9704795a7..e8dc2a99e 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -13,28 +13,28 @@
-