add missing theme, fix hardcoded CSS

This commit is contained in:
Ted Serbinski 2007-11-22 05:03:10 +00:00
parent 57a7629b29
commit f9b542c391
5 changed files with 55 additions and 3 deletions

View File

@ -34,6 +34,8 @@ jQuery Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/
----------------------
- new CHANGELOG to keep track of changes
- #156256 upgrade to SuperFish 1.3
- upgrade to bgIframe 2.1.1 (for IE6 compatibility with forms)
- upgrade to bgIframe 2.1.1 (for IE6 compatibility with forms)
- #136478 - fix Opera compatibility
- remove RTL option; this conflicts with other changes and is properly implemented in Drupal 6
- new option to select which theme to style SimpleMenu with, or provide a custom one
- new option to select which theme to style SimpleMenu with, or provide a custom one
- #184051 - don't hardcode CSS, add class to body

View File

@ -19,7 +19,7 @@ $(document).ready(function() {
break;
}
$('body').css('margin-top', '20px');
$('body').addClass('simplemenu-enabled')
// Build menu
$('#simplemenu')

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

View File

@ -0,0 +1,50 @@
/* $Id$ */
body.simplemenu-enabled {
margin-top: 20px;
}
#simplemenu {
background:#ddd;
color:#333;
border-bottom:1px solid #999;
font:11px Verdana, Helvetica, sans-serif;
left:0;
position:absolute;
top:0;
width:100%;
height:20px;
z-index:9999;
}
#simplemenu a {
color:#333;
text-decoration:none;
background:#ddd;
border-right:1px solid #999;
border-left:1px solid #eee;
padding:2px 6px 3px 6px;
width:auto;
}
#simplemenu li {
background:#ddd;
text-align: left;
}
#simplemenu li.expanded > a
{
background:url(right-green.gif) no-repeat 97%;
padding-right:2em;
}
#simplemenu li.root > a
{
font-weight:700;
background:url(down-green.gif) no-repeat 97%;
}
#simplemenu li:hover, #simplemenu li.sfHover,
#simplemenu a:focus, #simplemenu a:hover, #simplemenu a:active {
background:#3875d7;
color:#fff;
}
#simplemenu li:hover ul,
ul#simplemenu li.sfHover ul {
border-bottom:1px solid #999;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 893 B