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: 0 0;
+ background-position: right;
background-repeat: no-repeat;
position: relative;
min-height: 200px;
bottom: 0;
&.new-user-main {
- background-image: image-url("sign-up-illustration.png");
- background-position-x: 50px;
+ background-image: image-url("sign-up-illustration.svg");
+ background-position-x: 70px;
}
&.confirm-main {
- background-image: image-url("confirm-illustration.png");
+ background-image: image-url("confirm-illustration.svg");
}
&.new-user-terms {
- background-image: image-url("terms-illustration.png");
+ background-image: image-url("terms-illustration.svg");
}
}
}
}
- .auth-container {
- max-width: 600px;
- }
-
/* Rules for tabs inside secondary background sections */
.bg-body-secondary .nav-tabs {
- <% 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 px-3 fs-6 w-100">
+ <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" %>
</li>
</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>