rework user dropdown
This commit is contained in:
parent
3fbd018e28
commit
33330d5d1f
2 changed files with 4 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
||||||
<li class="dropdown-header"><%- @T( item.navheader ) %></li>
|
<li class="dropdown-header"><%- @T( item.navheader ) %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<li class="<% if @active_tab[item.target] : %>active<% 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>
|
<span class="flex u-textTruncate"><%- @T( item.name ) %></span>
|
||||||
<% if item['count'] isnt undefined: %><span class="badge count"><%= item['count'] %></span><% end %>
|
<% if item['count'] isnt undefined: %><span class="badge count"><%= item['count'] %></span><% end %>
|
||||||
<% if item.iconClass: %><span class="<%= item.iconClass %> icon"></span><% end %>
|
<% if item.iconClass: %><span class="<%= item.iconClass %> icon"></span><% end %>
|
||||||
|
|
|
@ -1871,11 +1871,13 @@ footer {
|
||||||
|
|
||||||
.user-menu .dropdown-menu > li > a {
|
.user-menu .dropdown-menu > li > a {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 10px 15px;
|
padding: 0 15px;
|
||||||
color: #2594d4;
|
color: #2594d4;
|
||||||
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-menu .dropdown-menu > li > a:hover {
|
.user-menu .dropdown-menu > li > a:hover {
|
||||||
|
color: #2594d4;
|
||||||
background: rgba(0,0,0,.05);
|
background: rgba(0,0,0,.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue