diff --git a/phpBB/adm/images/toggle.gif b/phpBB/adm/images/toggle.gif index abb697e3c3..8af6861bd1 100644 Binary files a/phpBB/adm/images/toggle.gif and b/phpBB/adm/images/toggle.gif differ diff --git a/phpBB/adm/images/toggle_inverse.gif b/phpBB/adm/images/toggle_inverse.gif deleted file mode 100644 index 0562784b34..0000000000 Binary files a/phpBB/adm/images/toggle_inverse.gif and /dev/null differ diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 43310fb4ae..398cbac150 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -353,7 +353,7 @@ span.corners-bottom span { margin-left: 2px; } -#toggle_handle { +#toggle-handle { display: block; width: 18px; height: 19px; diff --git a/phpBB/adm/style/overall_header.html b/phpBB/adm/style/overall_header.html index 1681a04676..acbf00dff5 100644 --- a/phpBB/adm/style/overall_header.html +++ b/phpBB/adm/style/overall_header.html @@ -120,27 +120,31 @@ function switch_menu() var menu = document.getElementById('menu'); var main = document.getElementById('main'); var toggle = document.getElementById('toggle'); - var handle = document.getElementById('toggle_handle'); + var handle = document.getElementById('toggle-handle'); switch(menu_state) { - //hide + //hidden case 'shown': main.style.width = 'auto'; menu.style.display = 'none'; menu_state = 'hidden'; toggle.style.left = '0'; toggle.style.width = '20px'; - handle.style.backgroundImage = 'url(images/toggle_inverse.gif)'; + handle.style.backgroundImage = 'url(images/toggle.gif)'; + handle.style.backgroundPosition = '100% 50%'; + handle.style.backgroundRepeat = 'no-repeat'; break; - //show + //shown case 'hidden': main.style.width = '76%'; menu.style.display = 'block'; menu_state = 'shown'; toggle.style.left = '15%'; toggle.style.width = '5%'; - handle.style.backgroundImage = 'url(images/toggle.gif)'; + handle.style.backgroundImage = 'url(images/toggle.gif)'; + handle.style.backgroundPosition = '0% 50%'; + handle.style.backgroundRepeat = 'no-repeat'; break; } } @@ -172,7 +176,7 @@ function switch_menu()
-
+