From d0c95da2cb84927dd3116483476ffeec182472e2 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Mon, 14 Jan 2013 20:44:02 +0000 Subject: try to fix buggy admin menu since jquery update git-svn-id: http://piwigo.org/svn/trunk@20156 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/clear/theme.css | 2 +- admin/themes/default/template/admin.tpl | 2 +- admin/themes/roma/theme.css | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css index e782a3a49..174d9a8dd 100644 --- a/admin/themes/clear/theme.css +++ b/admin/themes/clear/theme.css @@ -160,7 +160,7 @@ margin-top:4px; padding-bottom:3px; padding-top:3px; top:1px; margin-left:0; } -#menubar ul.scroll { overflow-y:auto; +#menubar ul.scroll { overflow-y:auto; max-height:500px; /* Only IE family supports colored scrollbar */ scrollbar-face-color: #ddd; scrollbar-shadow-color: #bbb; scrollbar-highlight-color: #fff; scrollbar-3dlight-color: #d6d6d6; scrollbar-darkshadow-color: #ccc; scrollbar-track-color: #eee; diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl index cbf1bf206..9e929d449 100644 --- a/admin/themes/default/template/admin.tpl +++ b/admin/themes/default/template/admin.tpl @@ -4,7 +4,7 @@ jQuery(document).ready(function(){ldelim} jQuery('#menubar').accordion({ldelim} header: "dt.rdion", event: "click", - autoHeight: false, + heightStyle: "content", active: {$ACTIVE_MENU} }); }); diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 8248a9e36..6622fdd2b 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -159,6 +159,8 @@ position:relative; padding: 5px 1px 4px 5px; top:-8px; font-size: 13px; color: # #menubar li.external:hover { list-style-image:url(images/external_active.png); } #menubar ul { color: #333; margin:0 9px 0 9px; line-height: 16px; list-style-type: square; list-style-position: inside; padding: 0; } +#menubar ul.scroll { overflow-y:auto; max-height:500px;} + /* jQuery tooltips */ .cluetip-outer { border-color: #666; color: #666; background-color: #222; } .cluetip-title { color: #ff3363; background-color: #111; } -- cgit v1.2.3