Use default primary color for google login buttons

Red is too much of a warning color
This commit is contained in:
bumi 2020-04-28 11:30:38 +02:00
parent b9f63c5f8c
commit 23184f3266
3 changed files with 2 additions and 7 deletions

View File

@ -64,11 +64,6 @@ h1, h2, h3 {
margin-bottom: 10px;
}
.button.google {
background: rgb(225, 98, 89);
color: white;
}
.button {
vertical-align: middle;
}

View File

@ -8,7 +8,7 @@
Welcome back!
</h3>
<hr>
<%= link_to auth_at_provider_url(provider: 'google'), class: 'button is-medium google' do %>
<%= link_to auth_at_provider_url(provider: 'google'), class: 'button is-primary is-medium google' do %>
<svg viewBox="0 0 15 15" class="googleLogo" style="width: 14px; height: 14px; display: block; fill: currentcolor; flex-shrink: 0; backface-visibility: hidden; margin-right: 6px;"><path d="M 7.28571 6.4125L 7.28571 9L 11.3929 9C 11.2143 10.0875 10.1429 12.225 7.28571 12.225C 4.78571 12.225 2.78571 10.0875 2.78571 7.5C 2.78571 4.9125 4.82143 2.775 7.28571 2.775C 8.71429 2.775 9.64286 3.4125 10.1786 3.9375L 12.1429 1.9875C 10.8929 0.75 9.25 0 7.28571 0C 3.25 0 0 3.3375 0 7.5C 0 11.6625 3.25 15 7.28571 15C 11.5 15 14.25 11.9625 14.25 7.6875C 14.25 7.2 14.2143 6.825 14.1429 6.45L 7.28571 6.45L 7.28571 6.4125Z"></path></svg>
Login with Google
<% end %>

View File

@ -14,7 +14,7 @@
No additional information required.
</p>
<p style="margin-top:1em">
<%= link_to auth_at_provider_url(provider: 'google'), class: 'button is-medium google' do %>
<%= link_to auth_at_provider_url(provider: 'google'), class: 'button is-primary is-medium google' do %>
<svg viewBox="0 0 15 15" class="googleLogo" style="width: 14px; height: 14px; display: block; fill: currentcolor; flex-shrink: 0; backface-visibility: hidden; margin-right: 6px;"><path d="M 7.28571 6.4125L 7.28571 9L 11.3929 9C 11.2143 10.0875 10.1429 12.225 7.28571 12.225C 4.78571 12.225 2.78571 10.0875 2.78571 7.5C 2.78571 4.9125 4.82143 2.775 7.28571 2.775C 8.71429 2.775 9.64286 3.4125 10.1786 3.9375L 12.1429 1.9875C 10.8929 0.75 9.25 0 7.28571 0C 3.25 0 0 3.3375 0 7.5C 0 11.6625 3.25 15 7.28571 15C 11.5 15 14.25 11.9625 14.25 7.6875C 14.25 7.2 14.2143 6.825 14.1429 6.45L 7.28571 6.45L 7.28571 6.4125Z"></path></svg>
Login with Google
<% end %>