rework user dropdown

This commit is contained in:
Felix Niklas 2014-09-25 14:42:38 +02:00
parent 3fbd018e28
commit 33330d5d1f
2 changed files with 4 additions and 2 deletions

View file

@ -19,7 +19,7 @@
<li class="dropdown-header"><%- @T( item.navheader ) %></li>
<% end %>
<li class="<% if @active_tab[item.target] : %>active<% end %>">
<a href="<%= item.target %>" class="horizontal">
<a href="<%= item.target %>" class="horizontal center">
<span class="flex u-textTruncate"><%- @T( item.name ) %></span>
<% if item['count'] isnt undefined: %><span class="badge count"><%= item['count'] %></span><% end %>
<% if item.iconClass: %><span class="<%= item.iconClass %> icon"></span><% end %>

View file

@ -1871,11 +1871,13 @@ footer {
.user-menu .dropdown-menu > li > a {
height: 40px;
padding: 10px 15px;
padding: 0 15px;
color: #2594d4;
display: flex;
}
.user-menu .dropdown-menu > li > a:hover {
color: #2594d4;
background: rgba(0,0,0,.05);
}