padding: $lineheight;
}
-/* Overrides for pages that use new layout conventions */
+/* Rules for login and signup pages */
+
+.sessions-new, .users-new, .users-create {
+ #content .content-inner {
+ max-width: 760px;
+ }
+}
.header-illustration {
background-position: right;
}
}
-.auth-container {
- max-width: 600px;
-}
-
/* Rules for tabs inside secondary background sections */
.bg-body-secondary .nav-tabs {
<%= javascript_include_tag "auth_providers" %>
<% end %>
-<% content_for :heading_class, "p-0 mw-100" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
<% if @client_app_name %>
<p class="text-center text-body-secondary fs-6 py-2 mb-0 bg-body"><%= t(".login_to_authorize_html", :client_app_name => @client_app_name) %></p>
<% end %>
- <div class="header-illustration new-user-main auth-container mx-auto">
+ <div class="header-illustration new-user-main">
<ul class="nav nav-tabs position-absolute bottom-0 fs-6 w-100">
<li class="nav-item">
<%= link_to t("sessions.new.tab_title"), "#", :class => "nav-link active" %>
</div>
<% end %>
-<div id="login_login" class="auth-container mx-auto my-0">
+<div id="login_login">
<% if @preferred_auth_provider %>
<%= render :partial => "auth_providers" %>
<%= render :partial => "shared/section_divider", :locals => { :text => t(".or") } %>
-<% content_for :heading_class, "p-0 mw-100" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
- <div class="header-illustration new-user-main auth-container mx-auto">
+ <div class="header-illustration new-user-main">
<ul class="nav nav-tabs position-absolute bottom-0 fs-6 w-100">
<li class="nav-item">
<%= link_to t("sessions.new.tab_title"), url_for(:action => :new, :controller => :sessions), :class => "nav-link" %>
</div>
<% end %>
-<div class="auth-container mx-auto my-0">
+<div>
<p><strong><%= t "users.new.no_auto_account_create" %></strong></p>
<p><%= t "users.new.please_contact_support_html", :support_link => mail_to(Settings.support_email, t("users.new.support")) %></p>
</div>
<%= javascript_include_tag "auth_providers" %>
<% end %>
-<% content_for :heading_class, "p-0 mw-100" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
<% if @client_app_name %>
<p class="text-center text-body-secondary fs-6 py-2 mb-0 bg-body"><%= t(".signup_to_authorize_html", :client_app_name => @client_app_name) %></p>
<% end %>
- <div class="header-illustration new-user-main auth-container mx-auto">
+ <div class="header-illustration new-user-main">
<ul class="nav nav-tabs position-absolute bottom-0 fs-6 w-100">
<li class="nav-item">
<%= link_to t("sessions.new.tab_title"), url_for(:action => :new, :controller => :sessions, :referer => @referer), :class => "nav-link" %>
</div>
<% end %>
-<div class="auth-container mx-auto my-0">
+<div>
<% if current_user.auth_uid.nil? %>
<div class="text-body-secondary fs-6">
<p><strong><%= t ".about.header" %></strong> <%= t ".about.paragraph_1" %></p>