[ticket/12662] Move dropdown container from <li> to new inner div

PHPBB3-12662
This commit is contained in:
PayBas 2014-06-24 23:42:59 +02:00
parent 020218fcea
commit 9c2ef168c1
2 changed files with 26 additions and 19 deletions

View file

@ -38,10 +38,10 @@
<!-- EVENT overall_header_navigation_append -->
<!-- IF S_REGISTERED_USER -->
<li id="username_logged_in" class="rightside dropdown-container<!-- IF CURRENT_USER_AVATAR --> no-bulletin<!-- ENDIF -->" data-skip-responsive="true">
<li id="username_logged_in" class="rightside <!-- IF CURRENT_USER_AVATAR --> no-bulletin<!-- ENDIF -->" data-skip-responsive="true">
<!-- EVENT navbar_header_username_prepend -->
<div class="header-profile dropdown-container">
<a href="{U_PROFILE}" class="header-avatar dropdown-trigger"><!-- IF CURRENT_USER_AVATAR -->{CURRENT_USER_AVATAR} <!-- ENDIF -->{CURRENT_USERNAME_SIMPLE}</a>
<!-- EVENT navbar_header_username_append -->
<div class="dropdown hidden">
<div class="pointer"><div class="pointer-inner"></div></div>
<ul class="dropdown-contents" role="menu">
@ -58,6 +58,8 @@
<li class="small-icon icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x" role="menuitem">{L_LOGIN_LOGOUT}</a></li>
</ul>
</div>
</div>
<!-- EVENT navbar_header_username_append -->
</li>
<!-- IF S_DISPLAY_PM -->
<li class="small-icon icon-pm rightside" data-skip-responsive="true">

View file

@ -435,7 +435,12 @@ ul.linklist.bulletin > li.no-bulletin:before {
display: none !important;
}
/* Avatar in overall_header.html */
/* Profile in overall_header.html */
.header-profile {
display: inline-block;
vertical-align: top;
}
.header-avatar:hover {
text-decoration: none;
}