From a9fc9abf1834192dc9b0b2c483bf9dd70f14ce7a Mon Sep 17 00:00:00 2001 From: Luzifr Date: Mon, 14 Nov 2011 16:08:49 +0100 Subject: [PATCH] Small changes to the ACP-Sidebar --- wcfsetup/install/files/acp/style/style.css | 10 +++++----- wcfsetup/install/files/js/WCF.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/acp/style/style.css b/wcfsetup/install/files/acp/style/style.css index 2039a4e718..0d9c5aafd4 100644 --- a/wcfsetup/install/files/acp/style/style.css +++ b/wcfsetup/install/files/acp/style/style.css @@ -756,6 +756,7 @@ aside.sidebar .collapsibleSidebarButton { right: -17px; bottom: 0; width: 15px; + height: 100%; z-index: 500; opacity: .3; @@ -773,7 +774,7 @@ aside.sidebar .collapsibleSidebarButton { display: none; } -aside.sidebar .collapsedSidebar .collapsibleSidebarButton { +aside.sidebar.collapsedSidebar .collapsibleSidebarButton { /*border-right: 1px solid transparent; border-left: 1px solid transparent;*/ background-image: url('../../icon/arrowRight1.svg'), url('../../icon/arrowRight1.svg'), url('../../icon/arrowRight1.svg'); @@ -789,17 +790,16 @@ aside.sidebar .collapsibleSidebarButton:hover { opacity: 1; } -aside.sidebar .collapsedSidebar .collapsibleSidebarButton:hover { +aside.sidebar.collapsedSidebar .collapsibleSidebarButton:hover { border-right-color: rgba(0, 0, 0, .15); border-left-color: transparent; } -aside.sidebar .collapsedSidebar { - overflow: hidden; +aside.sidebar.collapsedSidebar { width: 0; } -aside.sidebar .collapsedSidebar nav { +aside.sidebar.collapsedSidebar nav { overflow: hidden; width: 0; display: none; diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 8e5534da75..aa963eec6c 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -3007,7 +3007,7 @@ $.widget('ui.wcfSidebar', { */ _create: function() { this.element.wrap('
'); - this._container = this.element.parent('div'); + this._container = this.element.parents('aside:eq(0)'); // create toggle button this._button = $('').appendTo(this._container); -- 2.20.1