aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-01-14 20:44:02 +0000
committermistic100 <mistic@piwigo.org>2013-01-14 20:44:02 +0000
commitd0c95da2cb84927dd3116483476ffeec182472e2 (patch)
tree659249afb486d8873abcd7c62611a430d481552a /admin
parentc3357f202eca15d8e1962d592300a9ca9e96180e (diff)
try to fix buggy admin menu since jquery update
git-svn-id: http://piwigo.org/svn/trunk@20156 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/clear/theme.css2
-rw-r--r--admin/themes/default/template/admin.tpl2
-rw-r--r--admin/themes/roma/theme.css2
3 files changed, 4 insertions, 2 deletions
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; }