@charset "utf-8"; /*********************************************** 横向主导航条 ***********************************************/ .ddsmoothmenu{} .ddsmoothmenu ul{margin:0;padding:0} /*主菜单设置*/ .ddsmoothmenu ul li{position:relative;display:inline;float:left;margin:0px 4px} .ddsmoothmenu ul li a{display:block;height:30px;line-height:30px} .ddsmoothmenu ul li a span{display:block;padding:0px 15px} /*主菜单连接效果设置*/ .ddsmoothmenu ul li a:link,.ddsmoothmenu ul li a:visited{color:#000} .ddsmoothmenu ul li a:hover{background:url(../images/mainmenu.gif) no-repeat center -30px} .ddsmoothmenu ul li a:hover span{color:#FFF} .ddsmoothmenu ul li a:active{background:url(../images/mainmenu.gif) no-repeat center top} .ddsmoothmenu ul li a:active span{color:#FFF} /*主菜单有子集菜单选中效果*/ .ddsmoothmenu ul li a.selected{background:url(../images/mainmenu.gif) no-repeat center -30px} .ddsmoothmenu ul li a.selected span{color:#FFF} /*主菜单当前所在页面*/ .ddsmoothmenu ul li a#menu_selected{background:url(../images/mainmenu.gif) no-repeat center top} .ddsmoothmenu ul li a#menu_selected span{color:#FFF} /*子集菜单设置*/ .ddsmoothmenu ul.menulevel{position:absolute;left:0;display:none;visibility:hidden} .ddsmoothmenu ul.menulevel li{background:none;margin:0px;padding:0px;display:list-item;float:none} .ddsmoothmenu ul.menulevel li a{min-width:180px;_width:180px;white-space:nowrap;padding:0px 20px 0px 5px;margin:0px;background:url(../images/mainmenu.gif) repeat-x left -60px;height:26px;line-height:26px;border-right:1px solid #999;border-bottom:1px solid #DFDFDF;border-left:1px solid #CCC} /*子集菜单连接效果设置*/ .ddsmoothmenu ul.menulevel li ul{top:0} .ddsmoothmenu ul.menulevel li a:link,.ddsmoothmenu ul.menulevel li a:visited{color:#000} .ddsmoothmenu ul.menulevel li a:hover{background:url(../images/mainmenu.gif) repeat-x left -90px;color:#034fab} .ddsmoothmenu ul.menulevel li a.selected{background:url(../images/mainmenu.gif) repeat-x left -90px;color:#034fab} /*.ddsmoothmenu ul.menulevel li a:link span,.ddsmoothmenu ul.menulevel li a:visited span,.ddsmoothmenu ul.menulevel li a:hover span,.ddsmoothmenu ul.menulevel li a:active span{color:#000;background:none;padding:0px}*/ * html .ddsmoothmenu{height:1%}/* Holly Hack for IE \*//*Holly Hack for IE7 and below*/ * html .ddsmoothmenu ul li a{display:inline-block}/*IE6 hack to get sub menu links to behave correctly*/ /*下拉箭头*/ .ddsmoothmenu .downarrowclass{position:absolute;top:12px;right:5px} .ddsmoothmenu .rightarrowclass{position:absolute;top:8px;right:5px} /*阴影*/ .ddshadow{position:absolute;left:0;top:0;width:0;height:0;background:#000;z-index:60} .toplevelshadow{opacity:0.4;filter:alpha(opacity=40)} /*********************************************** 纵向主导航条 ***********************************************/ .ddsmoothmenu-v{padding:0px 5px 0px 5px} .ddsmoothmenu-v ul{} /*主菜单设置*/ .ddsmoothmenu-v ul li{position:relative} .ddsmoothmenu-v ul li a{display:block;height:31px;line-height:31px;vertical-align:middle} .ddsmoothmenu-v ul li a span{display:block;padding:0px 20px} /*主菜单连接效果设置*/ .ddsmoothmenu-v ul li a:link,.ddsmoothmenu-v ul li a:visited{background:url(../images/leftmenu.gif) no-repeat center -31px;color:#000} .ddsmoothmenu-v ul li a:hover{background:url(../images/leftmenu.gif) no-repeat center top} .ddsmoothmenu-v ul li a:hover span{color:#FFF} .ddsmoothmenu-v ul li a:active{background:url(../images/leftmenu.gif) no-repeat center top} .ddsmoothmenu-v ul li a:active span{color:#FFF} /*主菜单有子集菜单选中效果*/ .ddsmoothmenu-v ul li .selected:link,.ddsmoothmenu-v ul li a.selected:visited,.ddsmoothmenu-v ul li a.selected:active{background:url(../images/leftmenu.gif) no-repeat center top} .ddsmoothmenu-v ul li a.selected span{color:#FFF} /*主菜单当前所在页面*/ .ddsmoothmenu-v ul li a#menu_selected{background:url(../images/leftmenu.gif) no-repeat center top} .ddsmoothmenu-v ul li a#menu_selected span{color:#FFF} /*子集菜单设置*/ .ddsmoothmenu-v ul.menulevel{position:absolute;top:0;visibility:hidden;border-top:1px solid #CCC} .ddsmoothmenu-v ul.menulevel li{background:none;margin:0px;padding:0px;display:list-item} .ddsmoothmenu-v ul.menulevel li a{min-width:180px;_width:180px;white-space:nowrap;padding:0px 20px 0px 5px;margin:0px;background:url(../images/mainmenu.gif) repeat-x left -60px;height:26px;line-height:26px;border-right:1px solid #999;border-bottom:1px solid #DFDFDF;border-left:1px solid #CCC} /*子集菜单连接效果设置*/ .ddsmoothmenu-v ul.menulevel li a:link,.ddsmoothmenu-v ul.menulevel li a:visited{color:#000} .ddsmoothmenu-v ul.menulevel li a:hover{background:url(../images/mainmenu.gif) repeat-x left -90px;color:#034fab} .ddsmoothmenu-v ul.menulevel li a.selected{background:url(../images/mainmenu.gif) repeat-x left -90px;color:#034fab} /*.ddsmoothmenu-v ul.menulevel li a:link span,.ddsmoothmenu-v ul.menulevel li a:visited span,.ddsmoothmenu-v ul.menulevel li a:hover span,.ddsmoothmenu-v ul.menulevel li a:active span{color:#000;background:none;padding:0px} /*左侧箭头*/ .ddsmoothmenu-v .rightarrowclass{position:absolute;top:10px;right:5px} .ddsmoothmenu-v ul.menulevel .rightarrowclass{position:absolute;top:8px;right:5px} /* Holly Hack for IE \*/ * html .ddsmoothmenu-v ul li {float:left;height:1%} * html .ddsmoothmenu-v ul li a {height:1%}