From 3164fe7be182719a68f8fbe73b8312b6f00909dd Mon Sep 17 00:00:00 2001 From: Alberto Garcia Cabeza Date: Thu, 14 Jan 2016 11:18:04 +0100 Subject: [PATCH] Improves layout and footer for auth pages --- app/assets/stylesheets/layout.scss | 13 +------------ app/views/layouts/devise.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 8c279ff78..66d3b641a 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -639,11 +639,7 @@ footer { background-repeat: no-repeat; background-size: cover; - @media (min-width: $small-breakpoint) { - padding-top: $line-height*2; - } - - h1 { + h1:not(.logo) { @include logo; a { @@ -661,25 +657,18 @@ footer { } .auth { - min-height: $line-height*20; .back, .icon-angle-left { @include back; } p, a { - font-family: $font-sans; font-size: $small-font-size; } .panel { background: white; border: 0; - - h1 { - font-size: rem-calc(30); - font-weight: bolder; - } } } diff --git a/app/views/layouts/devise.html.erb b/app/views/layouts/devise.html.erb index 3593cf4c3..0a6f0ecc6 100644 --- a/app/views/layouts/devise.html.erb +++ b/app/views/layouts/devise.html.erb @@ -13,9 +13,9 @@ -
+
-
+

<%= link_to root_path do %> <%= image_tag('header_logo_madrid.png', class: 'show-for-medium-up left', size: '96x96', alt: t("layouts.header.logo")) %>