tidy or line styling

This commit is contained in:
Joshua Arts 2018-07-04 09:43:08 -04:00
parent ecd101833a
commit d383f142ee
2 changed files with 12 additions and 17 deletions

View File

@ -22,18 +22,16 @@
margin-top: 50%;
}
.or-line{
margin-top:32px;
margin-bottom:32px;
div{
width: 100%;
height: 20px;
border-bottom: 1px solid #d3d3d3;
.or-line {
div {
width: 100%;
height: 16px;
border-bottom: 1px solid #d3d3d3;
text-align: center;
span{
font-size: 150%;
span {
font-size: 120%;
background-color: #ffffff;
padding: 0 10px;
padding: 0 10px;
color: #d3d3d3
}
}

View File

@ -6,7 +6,7 @@
<div class="card-title">
<h3>Login</h3>
</div>
<% unless configured_providers.length.zero? %>
<% configured_providers.each do |provider| %>
<%= link_to omniauth_login_url(provider), class: "btn btn-pill btn-#{provider} btn-block" do %>
@ -14,14 +14,11 @@
<% end %>
<% end %>
<div class="or-line">
<div>
<span>
or
</span>
</div>
<div class="or-line my-6">
<div><span class="text-uppercase">or</span></div>
</div>
<% end %>
<%= form_for(:session, url: create_session_path) do |f| %>
<div class="form-group">
<div class="input-icon">