From 6e1798729efd85590b0b7f03f60474af9a5cc790 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 4 Apr 2013 18:19:49 +0400 Subject: [PATCH] #30: update styles --- app/assets/stylesheets/login.scss | 3 +++ app/assets/stylesheets/reg_session.scss | 3 +++ app/views/devise/shared/_providers.haml | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/login.scss b/app/assets/stylesheets/login.scss index 8d7e34d3b..9dea52902 100644 --- a/app/assets/stylesheets/login.scss +++ b/app/assets/stylesheets/login.scss @@ -10,4 +10,7 @@ article { a { text-decoration: none; } + .facebook { + margin-right: -4px; + } } \ No newline at end of file diff --git a/app/assets/stylesheets/reg_session.scss b/app/assets/stylesheets/reg_session.scss index d8f145b3e..696780dac 100644 --- a/app/assets/stylesheets/reg_session.scss +++ b/app/assets/stylesheets/reg_session.scss @@ -34,6 +34,9 @@ article { a { text-decoration: none; } + .facebook { + margin-right: -4px; + } .other { .left { margin-top: 6px; diff --git a/app/views/devise/shared/_providers.haml b/app/views/devise/shared/_providers.haml index f7cdc00c4..d173f01d0 100644 --- a/app/views/devise/shared/_providers.haml +++ b/app/views/devise/shared/_providers.haml @@ -7,5 +7,5 @@ - resource_class.omniauth_providers.each do |provider| = link_to omniauth_authorize_path(resource_name, provider) do - provider = provider.to_s.gsub(/_oauth2/,'') - = image_tag("#{provider}.png", :alt => provider) + = image_tag("#{provider}.png", :alt => provider, :class => provider) .both \ No newline at end of file