aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-06-09 09:34:49 +0000
committernikrou <nikrou@piwigo.org>2010-06-09 09:34:49 +0000
commitde5ded6fa218ad0f71b491958c76263036f11937 (patch)
tree8a687b4fab919bc379e0df4b291bae1e27c27f3c /admin/themes
parent497203da33a14f99033dee0e5a53931edd3883f7 (diff)
Feature 1728 fixed : use autoHeight accordion param
merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6497 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r--admin/themes/clear/theme.css11
-rw-r--r--admin/themes/default/template/admin.tpl1
-rw-r--r--admin/themes/roma/theme.css11
3 files changed, 10 insertions, 13 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index 87ca406c1..30c0a8e09 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -166,18 +166,17 @@ margin-top:4px; padding-bottom:3px; padding-top:3px; top:1px;
.tabsheet a span { display:block; font-size:10px; margin-right:2px; padding:0 3px 0 1px; }
.sort { clear: none; }
-#214ug { margin-left:248px; font-size:12px; }
+#debug { margin-left:248px; font-size:12px; }
/* menubar is on all admin pages => No specific css file */
#menubar {
-display:inline; float:left; left:0; margin: 10px 0 0 10px; min-height:475px; height:475px; /* should be 477 */
+display:inline; float:left; left:0; margin: 10px 0 0 10px;
padding:0; width:207px; z-index:99; text-align: left; }
-#menubar ul.scroll { height:163px; overflow-y:auto;
+#menubar ul.scroll { overflow-y:auto;
/* 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;
scrollbar-arrow-color: #0cccc; }
-
-#menubar dd { margin: 0; padding: 0; height:232px; }
+#menubar dd { margin: 0; padding: 0;}
#menubar dl { width: 207px; border:0; margin: 0; padding: 0; display: block; min-height:35px; border:1px solid #ddd; background-color:#f1f1f1; border-left:1px solid #aaa; border-right:1px solid #aaa;}
#menubar dl.first {border-top:1px solid #aaa;}
#menubar dl.last {border-bottom:1px solid #aaa;}
@@ -190,7 +189,6 @@ position:relative; padding: 5px 1px 4px 5px; font-size: 13px; color: #777; }
#menubar li:hover {background-color:#dbe8f3;}
#menubar ul { color: #ccc; margin:0; line-height: 25px;
list-style-type: none; list-style-position: inside; padding: 0; }
-
#adminHome {background-color:#ddd;}
#adminHome:hover {background-color:#d0d0d0;}
@@ -249,7 +247,6 @@ position:relative; z-index: 50;}
display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0;}
.bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;}
/* hacks */
-html>body #menubar {min-height:477px; height:477px;} /* IE 7 and modern browsers */
* html[lang="en"] body .content h2 , *+html[lang="en"] body .content h2 { text-transform:capitalize; } /* IE */
*+html .bigtext { left: 70px; }
*+html .bigbutton input, * html .bigbutton input { left:0px; position:relative; top:-40px; }
diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl
index f95173a02..5ec46d4e6 100644
--- a/admin/themes/default/template/admin.tpl
+++ b/admin/themes/default/template/admin.tpl
@@ -7,6 +7,7 @@ jQuery().ready(function(){ldelim}
jQuery('#menubar').accordion({ldelim}
header: "dt.rdion",
event: "click",
+ autoHeight: false,
active: {$ACTIVE_MENU}
});
});
diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css
index 0399ae736..b6cc920cd 100644
--- a/admin/themes/roma/theme.css
+++ b/admin/themes/roma/theme.css
@@ -149,24 +149,24 @@ margin-top:4px; padding-bottom:3px; padding-top:3px; top:1px;
/* menubar is on all admin pages => No specific css file */
#menubar {
background:transparent url(images/menuBoxBottom_new.png) no-repeat scroll left bottom;
-border:0; display:inline; float:left; left:0; margin: 10px 0 0 10px; min-height:522px; height:522px; /* should be 477 */
+border:0; display:inline; float:left; left:0; margin: 10px 0 0 10px;
padding:0; width:230px; z-index:99; text-align: left; }
-#menubar ul.scroll { height:163px; overflow-y:auto;
+#menubar ul.scroll { overflow-y:auto;
/* Only IE family supports colored scrollbar */
scrollbar-face-color: #222; scrollbar-shadow-color: #444; scrollbar-highlight-color: #000;
scrollbar-3dlight-color: #292929; scrollbar-darkshadow-color: #333; scrollbar-track-color: #111;
scrollbar-arrow-color: #ff3333; }
-
#menubar dd {
background: transparent url(images/menubar-detail.png) repeat-y top left;
-margin: 10px 0 0 0; padding: 0; height:232px; }
+margin: 0; padding: 0 0 10px 0; }
#menubar dl {
background:transparent url(images/menuBoxTop_new.png) no-repeat scroll left top;
width: 207px; border:0; margin: 0; padding: 0; display: block; min-height:35px; }
#menubar dl.first {
background:transparent url(images/menubar-top.png) no-repeat scroll left 1px; }
+#menubar dl.last { padding: 0 0 24px 0;}
#menubar dt { margin: 0; display: block; background: none; left:10px; font-weight:bold;
-position:relative; padding: 5px 1px 4px 5px; top:-10px; font-size: 13px; color: #666; outline:none;}
+position:relative; padding: 5px 1px 4px 5px; top:-8px; font-size: 13px; color: #666; outline:none;}
#menubar dt span { background-color: #111; cursor:pointer; }
#menubar li { margin: 0 0 0 6px; }
#menubar li.external { list-style-image:url(images/external_inactive.png); padding:10px 0px 0pt 10px; }
@@ -232,7 +232,6 @@ position:relative; z-index: 50;}
display:block; height:85px; left:225px; position:relative; top:-42px; width:313px; z-index:99; padding:0;}
.bigbutton input:hover { cursor:pointer; background:transparent url(images/transparent.gif) repeat scroll left top; border:0; padding:0;}
/* hacks */
-html>body #menubar {min-height:522px; height:522px;} /* IE 7 and modern browsers */
* html[lang="en"] body .content h2 , *+html[lang="en"] body .content h2 { text-transform:capitalize; } /* IE */
*+html .bigtext { left: 70px; }
*+html .bigbutton input, * html .bigbutton input { left:0px; position:relative; top:-40px; }