2009-09-25 59 views
7

如何更改超级菜单的颜色?超级菜单颜色?

+1

能否请你说明究竟是“快鱼菜单”是什么? –

+0

@TonyC superfish的作者认为superfish是“Suckerfish on'roids”。它是一个下拉菜单的jQuery插件。 – Tim

回答

11

编辑superfish.css,并修改颜色以下(加注释):

.sf-menu a, .sf-menu a:visited { 
    /* text color */ 
    color:   #13a; 
} 
.sf-menu li { 
    /* box color for top-level menu items */ 
    background:  #BDD2FF; 
} 
.sf-menu li li { 
    /* box color for second-level menu items */ 
    background:  #AABDE6; 
} 
.sf-menu li li li { 
    /* box color for third-level menu items */ 
    background:  #9AAEDB; 
} 
.sf-menu li:hover, .sf-menu li.sfHover, 
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { 
    /* box color for menu items when the mouse hovers over them */ 
    background:  #CFDEFF; 
    outline:  0; 
}