aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/adm/images/toggle.gifbin625 -> 788 bytes
-rw-r--r--phpBB/adm/images/toggle_inverse.gifbin621 -> 0 bytes
-rw-r--r--phpBB/adm/style/admin.css2
-rw-r--r--phpBB/adm/style/overall_header.html16
4 files changed, 11 insertions, 7 deletions
diff --git a/phpBB/adm/images/toggle.gif b/phpBB/adm/images/toggle.gif
index abb697e3c3..8af6861bd1 100644
--- a/phpBB/adm/images/toggle.gif
+++ b/phpBB/adm/images/toggle.gif
Binary files differ
diff --git a/phpBB/adm/images/toggle_inverse.gif b/phpBB/adm/images/toggle_inverse.gif
deleted file mode 100644
index 0562784b34..0000000000
--- a/phpBB/adm/images/toggle_inverse.gif
+++ /dev/null
Binary files 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()
<span class="corners-top"><span></span></span>
<div id="content">
<div id="toggle">
- <a id="toggle_handle" accesskey="m" title="{L_MENU_TOGGLE}" onclick="switch_menu(); return false;" href="#"></a></div>
+ <a id="toggle-handle" accesskey="m" title="{L_MENU_TOGGLE}" onclick="switch_menu(); return false;" href="#"></a></div>
<div id="menu">
<p>{L_LOGGED_IN_AS}<br /><strong>{USERNAME}</strong> [&nbsp;<a href="{U_LOGOUT}">{L_LOGOUT}</a>&nbsp;]</p>
<ul>