add missing theme, fix hardcoded CSS
This commit is contained in:
parent
57a7629b29
commit
f9b542c391
@ -34,6 +34,8 @@ jQuery Superfish: http://users.tpg.com.au/j_birch/plugins/superfish/
|
|||||||
----------------------
|
----------------------
|
||||||
- new CHANGELOG to keep track of changes
|
- new CHANGELOG to keep track of changes
|
||||||
- #156256 upgrade to SuperFish 1.3
|
- #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
|
- 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
|
@ -19,7 +19,7 @@ $(document).ready(function() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('body').css('margin-top', '20px');
|
$('body').addClass('simplemenu-enabled')
|
||||||
|
|
||||||
// Build menu
|
// Build menu
|
||||||
$('#simplemenu')
|
$('#simplemenu')
|
||||||
|
BIN
themes/original/down-green.gif
Normal file
BIN
themes/original/down-green.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 179 B |
50
themes/original/original.css
Normal file
50
themes/original/original.css
Normal 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;
|
||||||
|
}
|
BIN
themes/original/right-green.gif
Normal file
BIN
themes/original/right-green.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 893 B |
Loading…
x
Reference in New Issue
Block a user