diff --git a/app/views/hooks/_view_account_login_bottom.html.erb b/app/views/hooks/_view_account_login_bottom.html.erb index df2ee0aaade9d3fdb2f749c85d02dc78ccf58e9b..51a4061d896023997c4e0d5650b98506141b5328 100644 --- a/app/views/hooks/_view_account_login_bottom.html.erb +++ b/app/views/hooks/_view_account_login_bottom.html.erb @@ -3,8 +3,8 @@ <% if Setting.plugin_redmine_omniauth_google[:oauth_authentification] %> <%= link_to oauth_google_path do %> <%= button_tag class: 'button-login' do %> - <%= image_tag('/plugin_assets/redmine_omniauth_google/images/google_login_icon.jpg', class: 'button-login-icon', alt: l(:login_via_google)) %> + <%= image_tag('/plugin_assets/redmine_omniauth_google/images/google_login_icon.png', class: 'button-login-icon', alt: l(:login_via_google)) %> <%= content_tag :div, l(:login_via_google), class: 'button-login-text' %> <% end %> <% end %> -<% end %> \ No newline at end of file +<% end %> diff --git a/assets/images/google_login_icon.jpg b/assets/images/google_login_icon.jpg deleted file mode 100644 index f15c939f0040955560d316a90bf48cb81de5eb95..0000000000000000000000000000000000000000 Binary files a/assets/images/google_login_icon.jpg and /dev/null differ diff --git a/assets/images/google_login_icon.png b/assets/images/google_login_icon.png new file mode 100644 index 0000000000000000000000000000000000000000..30cdaa470afca4dc20403c012be31cb118d626da Binary files /dev/null and b/assets/images/google_login_icon.png differ diff --git a/assets/stylesheets/buttons.css b/assets/stylesheets/buttons.css index eb6d338c9ae3bfe6a3f925f5e275002f62458586..aaf823da2aed5c2646d7900f5ec47e963cc6aacd 100644 --- a/assets/stylesheets/buttons.css +++ b/assets/stylesheets/buttons.css @@ -12,11 +12,12 @@ .button-login-icon { float: left; - height: 25px; + height: 18px; + padding: 1px 0px 0px 4px; } .button-login-text { line-height: 21px; background-image: -webkit-linear-gradient(bottom, #ddd, white); font-size: 12px; -} \ No newline at end of file +}