diff options
| -rw-r--r-- | css/dropmenu.css | 21 | ||||
| -rw-r--r-- | templates/header_inc.tpl | 4 |
2 files changed, 6 insertions, 19 deletions
diff --git a/css/dropmenu.css b/css/dropmenu.css index 53e0679..0bc6e68 100644 --- a/css/dropmenu.css +++ b/css/dropmenu.css @@ -1,30 +1,17 @@ -/* $Header: /cvsroot/bitweaver/_bit_themes/css/dropmenu.css,v 1.4 2009/05/12 17:57:30 squareing Exp $ */ +/* $Header: /cvsroot/bitweaver/_bit_themes/css/dropmenu.css,v 1.5 2009/05/21 14:12:19 spiderr Exp $ */ /* BEGIN css driven dropdown menus - horizontal */ -/* some notes on the changes i made - these can be removed in due course or moved to the skeleton.css file: - * fixed pixel line-height is needed to move up the nested dropdown by the right amount: - * ul.dropmenu {line-height:x;} - * ul.dropmenu li {padding:y;} - * ul.dropmenu li ul li ul {margin-top:((x + y) * -1)} - * - * removed color ul.dropmenu a {color} since this should not be set in this file - * - * widened the dropmenu slightly to allow avoid line-breaks where possible - * - * - xing - Tuesday May 12, 2009 18:05:16 CEST - */ - /* The top level menu */ ul.dropmenu, ul.dropmenu ul {padding:0; margin:0; list-style:none; line-height:18px; z-index:1000;} -ul.dropmenu a {display:block; width:100%;} +ul.dropmenu a {display:block; width:auto;} ul.dropmenu a:link, ul.dropmenu a:hover {} /* affects all lists in all menus */ ul.dropmenu li ul {position:absolute; background:#fff; left:-999em; z-index:1002; border:1px solid #999;} -ul.dropmenu>li {float:left;} +ul.dropmenu li ul li {float:none;} /* affects all items in all menus */ -ul.dropmenu li {text-align:left; padding:2px; width:auto;} +ul.dropmenu li {float:left;text-align:left; padding:2px; width:auto;} ul.dropmenu>li>ul li:hover {background-color:#eee;} /* main drop menu items */ ul.dropmenu>li>ul li {width:15em; z-index:1001;} diff --git a/templates/header_inc.tpl b/templates/header_inc.tpl index b231200..66ffb40 100644 --- a/templates/header_inc.tpl +++ b/templates/header_inc.tpl @@ -1,4 +1,4 @@ -{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.49 2009/05/11 19:32:28 bitweaver Exp $ *} +{* $Header: /cvsroot/bitweaver/_bit_themes/templates/header_inc.tpl,v 1.50 2009/05/21 14:12:20 spiderr Exp $ *} {strip} {foreach from=$gBitThemes->mRawFiles.css item=cssFile} <link rel="stylesheet" title="{$style}" type="text/css" href="{$cssFile}" media="all" /> @@ -10,6 +10,6 @@ {if $gBrowserInfo.browser eq 'ie'} {if $gBrowserInfo.maj_ver lt '8'} - {jspack ifile=fixes/ie7/IE6.js} + {* jspack ifile=fixes/ie7/IE8.js *} {/if} {/if} |
