hid elements from homepage
This commit is contained in:
parent
da6a7aadfb
commit
870b4e2829
3 changed files with 11 additions and 3 deletions
|
@ -829,6 +829,10 @@
|
||||||
left: 29px;
|
left: 29px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.homePage .infoAndHelp {
|
||||||
|
display:none;
|
||||||
|
}
|
||||||
|
|
||||||
.infoAndHelp {
|
.infoAndHelp {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 20px;
|
bottom: 20px;
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
/* =USERVOICE ICON DEFINE
|
/* =USERVOICE ICON DEFINE
|
||||||
--------------------------------------------------------*/
|
--------------------------------------------------------*/
|
||||||
|
|
||||||
|
.unauthenticated .uv-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
div.uv-icon.uv-bottom-left {
|
div.uv-icon.uv-bottom-left {
|
||||||
background-image:url(feedback_sprite.png);
|
background-image:url(feedback_sprite.png);
|
||||||
color:#FFFFFF;
|
color:#FFFFFF;
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body data-env="<%= Rails.env %>">
|
<body data-env="<%= Rails.env %>" class="<%= authenticated? ? "authenticated" : "unauthenticated" %>">
|
||||||
|
|
||||||
<% if devise_error_messages? %>
|
<% if devise_error_messages? %>
|
||||||
<p id="toast"><%= devise_error_messages! %></p>
|
<p id="toast"><%= devise_error_messages! %></p>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
<p id="toast"><%= notice %></p>
|
<p id="toast"><%= notice %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>
|
<%= content_tag :div, class: "main" do %>
|
||||||
|
|
||||||
<% classes = action_name == "home" ? "homePage" : ""
|
<% classes = action_name == "home" ? "homePage" : ""
|
||||||
classes += action_name == "home" && authenticated? ? " explorePage" : ""
|
classes += action_name == "home" && authenticated? ? " explorePage" : ""
|
||||||
|
|
Loading…
Reference in a new issue