Fix #3849: Forum Button in the topbar has broken css
This commit is contained in:
@@ -24,15 +24,6 @@ a.active {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.login {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #e00;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.forum-updated {
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
a.wiki-link {
|
a.wiki-link {
|
||||||
margin-right: 0.3em;
|
margin-right: 0.3em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,5 +42,14 @@ header#top {
|
|||||||
background: $menu_color;
|
background: $menu_color;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
li#nav-sign-in a {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #e00;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.forum-updated a {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<menu class="main">
|
<menu class="main">
|
||||||
<% if CurrentUser.is_anonymous? %>
|
<% if CurrentUser.is_anonymous? %>
|
||||||
<%= nav_link_to("Sign in", new_session_path, :class => "login") %>
|
<%= nav_link_to("Sign in", new_session_path) %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= nav_link_to("My Account #{CurrentUser.dmail_count}", user_path(CurrentUser.user)) %>
|
<%= nav_link_to("My Account #{CurrentUser.dmail_count}", user_path(CurrentUser.user)) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user