在带有 vista-skin 的 dynatree 中,当您将鼠标悬停在树项目上时,它会在具有蓝色背景的地方产生悬停效果。
此外,当您单击该项目以检查它时,它在 chrome 中具有橙色边框,在 IE 中具有虚线边框。
我正在尝试删除这两个,以便对悬停或单击后没有影响。
有关示例,请参见 selectMode 3:wwwendt.de/tech/dynatree/doc/sample-select.html
更新:我在 /src/skin-vista/ui.dynatree.css 中发现如果您注释掉以下块,它将阻止蓝色突出显示颜色。此外,您需要取消注释以修复 webbrowser 放入的大纲,如下所示。
/*Comment this out
ul.dynatree-container a:hover
{
/* text-decoration: underline; */
background: #F2F7FD; /* light blue */
border-color: #B8D6FB; /* darker light blue */
}
*/
/*Comment this out
span.dynatree-active a
{
border: 1px solid #99DEFD;
background-color: #D8F0FA;
}
*/
ul.dynatree-container a
/*, ul.dynatree-container a:visited*/
{
/*The line below was originally commented out, uncomment it to remove the orange/dotted border*/
outline: 0; /* @ Firefox, prevent dotted border after click */
}