Navigation Menu

Skip to content

Commit

Permalink
Feature 1728 fixed : use autoHeight accordion param
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@6496 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
nikrou committed Jun 9, 2010
1 parent 35275b9 commit 6b0aebc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
11 changes: 4 additions & 7 deletions admin/themes/clear/theme.css
Expand Up @@ -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;}
Expand All @@ -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;}

Expand Down Expand Up @@ -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; }
Expand Down
1 change: 1 addition & 0 deletions admin/themes/default/template/admin.tpl
Expand Up @@ -7,6 +7,7 @@ jQuery().ready(function(){ldelim}
jQuery('#menubar').accordion({ldelim}
header: "dt.rdion",
event: "click",
autoHeight: false,
active: {$ACTIVE_MENU}
});
});
Expand Down
11 changes: 5 additions & 6 deletions admin/themes/roma/theme.css
Expand Up @@ -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; }
Expand Down Expand Up @@ -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; }
Expand Down

0 comments on commit 6b0aebc

Please sign in to comment.