{/capture}
{if $__sidebarRightContent|trim}
- {if !$__sidebarRightShow|isset}{assign var='__sidebarRightShow' value='wcf.global.button.showSidebarRight'|phrase}{/if}
- {if !$__sidebarRightHide|isset}{assign var='__sidebarRightHide' value='wcf.global.button.hideSidebar'|phrase}{/if}
-
- <aside class="sidebar boxesSidebarRight" aria-label="{lang}wcf.page.sidebar.right{/lang}" data-show-sidebar="{$__sidebarRightShow}" data-hide-sidebar="{$__sidebarRightHide}">
+ <aside class="sidebar boxesSidebarRight" aria-label="{lang}wcf.page.sidebar.right{/lang}">
<div class="boxContainer">
{if MODULE_WCF_AD && $__disableAds|empty && $__wcf->getAdHandler()->getAds('com.woltlab.wcf.sidebar.top')}
<div class="box boxBorderless">
_enableMobileMenu = enableMobileMenu;
_pageMenuMainProvider = pageMenuMainProvider;
- document.querySelectorAll(".sidebar").forEach((sidebar: HTMLElement) => {
+ document.querySelectorAll(".boxesSidebarLeft").forEach((sidebar: HTMLElement) => {
_sidebars.push(sidebar);
});
function setup(enableMobileMenu, pageMenuMainProvider) {
_enableMobileMenu = enableMobileMenu;
_pageMenuMainProvider = pageMenuMainProvider;
- document.querySelectorAll(".sidebar").forEach((sidebar) => {
+ document.querySelectorAll(".boxesSidebarLeft").forEach((sidebar) => {
_sidebars.push(sidebar);
});
if (Environment.touch()) {
> .content {
flex: 0 0 100%;
- order: 3;
+ order: 2;
}
> .boxesSidebarLeft {
}
> .boxesSidebarRight {
- order: 2;
+ order: 3;
}
}
- .boxesSidebarLeft,
- .boxesSidebarRight {
+ .boxesSidebarLeft {
flex: 1 0 100%;
pointer-events: none;
content: attr(data-hide-navigation);
}
}
-
- .boxesSidebarLeft:not(.open) + .content + .boxesSidebarRight:not(.open) {
- border-left: 1px solid $wcfContentBackground;
- margin-left: 10px;
- margin-top: 0;
- }
-
- .content:first-child + .boxesSidebarRight {
- margin-bottom: 20px;
- margin-top: 0;
- }
}
/* styling for boxes in <contentTop>/<contentBottom> position */
<item name="wcf.global.button.hideSidebar"><![CDATA[Sidebar verbergen]]></item>
<item name="wcf.global.button.showSidebar"><![CDATA[Sidebar anzeigen]]></item>
<item name="wcf.global.button.showSidebarLeft"><![CDATA[Linke Sidebar]]></item>
- <item name="wcf.global.button.showSidebarRight"><![CDATA[Rechte Sidebar]]></item>
<item name="wcf.global.button.showMenu"><![CDATA[Menü anzeigen]]></item>
<item name="wcf.global.button.hideMenu"><![CDATA[Menü verbergen]]></item>
<item name="wcf.global.button.markAsRead"><![CDATA[Als gelesen markieren]]></item>
<item name="wcf.search.matchExactly" />
<item name="wcf.search.subjectOnly" />
<item name="wcf.article.search.categories" />
+ <item name="wcf.global.button.showSidebarRight" />
</delete>
</language>
<item name="wcf.global.button.hideSidebar"><![CDATA[Hide Sidebar]]></item>
<item name="wcf.global.button.showSidebar"><![CDATA[Show Sidebar]]></item>
<item name="wcf.global.button.showSidebarLeft"><![CDATA[Sidebar Left]]></item>
- <item name="wcf.global.button.showSidebarRight"><![CDATA[Sidebar Right]]></item>
<item name="wcf.global.button.showMenu"><![CDATA[Show Menu]]></item>
<item name="wcf.global.button.hideMenu"><![CDATA[Hide Menu]]></item>
<item name="wcf.global.button.markAsRead"><![CDATA[Mark as Read]]></item>
<item name="wcf.search.matchExactly" />
<item name="wcf.search.subjectOnly" />
<item name="wcf.article.search.categories" />
+ <item name="wcf.global.button.showSidebarRight" />
</delete>
</language>