From: Luzifr Date: Mon, 14 Nov 2011 15:08:49 +0000 (+0100) Subject: Small changes to the ACP-Sidebar X-Git-Tag: 2.0.0_Beta_1~1599^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9fc9abf1834192dc9b0b2c483bf9dd70f14ce7a;p=GitHub%2FWoltLab%2FWCF.git Small changes to the ACP-Sidebar --- 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);