mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/11552] Tweaks to responsive navigation
PHPBB3-11552
This commit is contained in:
parent
7b972204ae
commit
2c15b653cc
3 changed files with 7 additions and 3 deletions
|
@ -468,7 +468,7 @@ function insert_single_user(formId, user)
|
||||||
});
|
});
|
||||||
|
|
||||||
// Responsive breadcrumbs
|
// Responsive breadcrumbs
|
||||||
$('.breadcrumbs:not(.skip-responsive)').each(function() {
|
$('.breadcrumbs:not(.skip-responsive, .linklist .breadcrumbs)').each(function() {
|
||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
$body = $('body'),
|
$body = $('body'),
|
||||||
links = $this.find('.crumb'),
|
links = $this.find('.crumb'),
|
||||||
|
@ -606,7 +606,7 @@ function insert_single_user(formId, user)
|
||||||
links = $this.children().not('.skip-responsive'),
|
links = $this.children().not('.skip-responsive'),
|
||||||
html = '<li class="responsive-menu" style="display:none;"><a href="javascript:void(0);" class="responsive-menu-link"> </a><ul class="responsive-popup" style="display:none;" /></li>',
|
html = '<li class="responsive-menu" style="display:none;"><a href="javascript:void(0);" class="responsive-menu-link"> </a><ul class="responsive-popup" style="display:none;" /></li>',
|
||||||
// List of items that should be hidden last
|
// List of items that should be hidden last
|
||||||
filterString = '.pagination, .icon-notifications, .icon-pm, .icon-logout, .icon-login, .mark-read',
|
filterString = '.pagination, .icon-notifications, .icon-pm, .icon-logout, .icon-login, .mark-read, .breadcrumbs',
|
||||||
filtered = links.filter(filterString);
|
filtered = links.filter(filterString);
|
||||||
|
|
||||||
if (links.is('.rightside'))
|
if (links.is('.rightside'))
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<ul class="linklist rightside">
|
<ul class="linklist rightside<!-- IF S_IS_BOT or not S_USER_LOGGED_IN --> fullwidth<!-- ENDIF -->">
|
||||||
<!-- EVENT overall_header_navigation_prepend -->
|
<!-- EVENT overall_header_navigation_prepend -->
|
||||||
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
|
<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
|
||||||
<!-- IF not S_IS_BOT -->
|
<!-- IF not S_IS_BOT -->
|
||||||
|
|
|
@ -389,6 +389,10 @@ ul.linklist li.responsive-menu a.responsive-menu-link:before {
|
||||||
max-width: 48%;
|
max-width: 48%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hasjs ul.linklist.fullwidth {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
/* Bulletin icons for list items
|
/* Bulletin icons for list items
|
||||||
----------------------------------------*/
|
----------------------------------------*/
|
||||||
ul.linklist.bulletin li:before {
|
ul.linklist.bulletin li:before {
|
||||||
|
|
Loading…
Add table
Reference in a new issue