Simplify logo layout in admin header
Having the logo inside a list of one item wasn't needed and its classes conflicted with other elements with the `.menu` class.
This commit is contained in:
@@ -111,10 +111,6 @@ $table-header: #ecf1f6;
|
||||
[class^="icon-"] {
|
||||
font-size: $base-font-size;
|
||||
}
|
||||
}
|
||||
|
||||
.menu .menu-text {
|
||||
padding: 0;
|
||||
|
||||
h1 {
|
||||
margin-top: $line-height / 2;
|
||||
@@ -128,14 +124,15 @@ $table-header: #ecf1f6;
|
||||
color: inherit;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
display: inline-block;
|
||||
font-family: "Lato" !important;
|
||||
font-size: rem-calc(24);
|
||||
font-weight: lighter;
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,8 +17,6 @@
|
||||
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-left">
|
||||
<ul class="menu">
|
||||
<li class="menu-text">
|
||||
<% if namespace == "officing" %>
|
||||
<h1>
|
||||
<%= link_to "#" do %>
|
||||
@@ -34,8 +32,6 @@
|
||||
<% end %>
|
||||
</h1>
|
||||
<% end %>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="responsive_menu">
|
||||
|
||||
@@ -16,16 +16,12 @@
|
||||
<div class="expanded row admin-top-bar">
|
||||
<div class="top-bar">
|
||||
<div class="top-bar-left">
|
||||
<ul class="menu">
|
||||
<li class="menu-text">
|
||||
<h1>
|
||||
<%= link_to management_root_path do %>
|
||||
<%= setting["org_name"] %>
|
||||
<br><small><%= t("management.dashboard.index.title") %></small>
|
||||
<% end %>
|
||||
</h1>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<% if show_admin_menu?(manager_logged_in) %>
|
||||
<div id="responsive_menu">
|
||||
|
||||
Reference in New Issue
Block a user