/* Overrides for pages that use new layout conventions */
-.header-illustration-heading {
- height: 200px;
-}
-
.header-illustration {
background-position: 0 0;
background-repeat: no-repeat;
- position: absolute;
- height: 200px;
+ position: relative;
+ min-height: 200px;
width: 100%;
left: 0;
bottom: 0;
&.new-user-arm {
height: 110px;
width: 130px;
- left: 260px;
- top: 160px;
+ left: 280px;
+ top: 180px;
background-image: image-url("sign-up-illustration-arm.png");
+ position: absolute;
z-index: 100;
}
}
-<% content_for :heading_class, "header-illustration-heading" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
- <h1><%= t ".heading" %></h1>
- <div class='header-illustration confirm-main'></div>
+ <div class='header-illustration confirm-main'>
+ <h1><%= t ".heading" %></h1>
+ </div>
<% end %>
<% if params[:confirm_string] %>
-<% content_for :heading_class, "header-illustration-heading" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
- <h1><%= t "users.new.title" %></h1>
- <div class='header-illustration new-user-main'></div>
+ <div class='header-illustration new-user-main'>
+ <h1><%= t "users.new.title" %></h1>
+ </div>
<div class='header-illustration new-user-arm'></div>
<% end %>
<%= javascript_include_tag "user" %>
<% end %>
-<% content_for :heading_class, "header-illustration-heading" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
- <h1><%= t ".title" %></h1>
- <div class='header-illustration new-user-main'></div>
+ <div class='header-illustration new-user-main'>
+ <h1><%= t ".title" %></h1>
+ </div>
<div class='header-illustration new-user-arm'></div>
<% end %>
<%= javascript_include_tag "user" %>
<% end %>
-<% content_for :heading_class, "header-illustration-heading" %>
+<% content_for :heading_class, "pb-0" %>
<% content_for :heading do %>
- <h1><%= t ".heading" %></h1>
- <div class='header-illustration new-user-terms'></div>
+ <div class='header-illustration new-user-terms'>
+ <h1><%= t ".heading" %></h1>
+ </div>
<% end %>
<%= form_tag({ :action => "save" }) do %>