Commit 4c16235a authored by Vasily Gotovko's avatar Vasily Gotovko

Improve view of google icon

parent 905a556d
......@@ -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 %>
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment