Skip to content

Commit

Permalink
Make signin form opaque
Browse files Browse the repository at this point in the history
  • Loading branch information
fkotsian committed Jun 5, 2014
1 parent e3b637a commit a94e2b7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions app/assets/stylesheets/devise.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
background-color: white;
}

.short-hr {
margin-top: 6.9px;
margin-bottom: 11px;
}

.devise-header {
color: #1f8dd6;
line-height: 0;
Expand All @@ -34,6 +39,7 @@
margin-top: 29px;
margin-left: 50px;
padding-top: 28px;
background-color: rgba(238, 238, 238, 0.91);
}
}

Expand Down
4 changes: 2 additions & 2 deletions app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<%= f.submit "Sign in", class: 'btn btn-primary form-control', id: 'sign_in_btn' %>
</div>

<hr>
<hr class='short-hr'>
<p class='cursive'>Employer? Click here to sign in</p>

<div class='form-group'>
<%= f.submit "Employer Sign In", class: 'btn btn-warning form-control', id: 'guest_login' %>
<%= f.submit "Employer Sign In", class: 'btn btn-success form-control', id: 'guest_login' %>
</div>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/shared/_links.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<%- if devise_mapping.registerable? && controller_name != 'registrations' %>
<div class='form-group'>
<%= link_to "Sign up", new_registration_path(resource_name), class: 'btn btn-success form-control' %><br /><br />
<%= link_to "Sign up", new_registration_path(resource_name), class: 'btn btn-info form-control' %><br /><br />
<% end -%>

<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
Expand Down

0 comments on commit a94e2b7

Please sign in to comment.