Fix #3849: Forum Button in the topbar has broken css

This commit is contained in:
evazion
2018-08-29 14:29:15 -05:00
parent 512629b1d5
commit a8ae4d3f36
3 changed files with 10 additions and 10 deletions

View File

@@ -24,15 +24,6 @@ a.active {
font-weight: bold;
}
a.login {
font-weight: bold;
color: #e00;
}
a.forum-updated {
font-style: italic;
}
a.wiki-link {
margin-right: 0.3em;
}

View File

@@ -42,5 +42,14 @@ header#top {
background: $menu_color;
font-weight: bold;
}
li#nav-sign-in a {
font-weight: bold;
color: #e00;
}
li.forum-updated a {
font-style: italic;
}
}
}

View File

@@ -1,6 +1,6 @@
<menu class="main">
<% if CurrentUser.is_anonymous? %>
<%= nav_link_to("Sign in", new_session_path, :class => "login") %>
<%= nav_link_to("Sign in", new_session_path) %>
<% else %>
<%= nav_link_to("My Account #{CurrentUser.dmail_count}", user_path(CurrentUser.user)) %>
<% end %>