在具有远景皮肤的动态树中,当您将鼠标悬停在树项目上时,它具有蓝色背景的悬停效果。
此外,当您单击该项目进行检查时,它在Chrome中具有橙色边框,在IE中具有虚线边框。
我正在尝试删除所有这两个,以便对悬停或单击不起作用。
有关示例,请参见selectMode 3:wwwendt.de/tech/dynatree/doc/sample-select.html
更新:我在/src/skin-vista/ui.dynatree.css中找到了,如果您注释掉以下块,它将阻止蓝色突出显示颜色。另外,您需要取消注释以固定web浏览器放入的轮廓,如下所示。
/*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 */
}
Run Code Online (Sandbox Code Playgroud)
小智 2
要解决此问题,您只需删除
边框:1px 灰色虚线;
来自ui.dynatree.css 上的ul.dynatree-container
代码最终应该是这样的:
ul.dynatree-container
{
font-family: tahoma, arial, helvetica;
font-size: 10pt;
white-space: nowrap;
padding: 3px;
margin: 0;
background-color: #CCCCCC solid 1px;
/*border: 1px dotted gray;*/
overflow: auto;
height: 100%;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
}
Run Code Online (Sandbox Code Playgroud)
或者只是删除点
边框:1px 灰色;
归档时间: |
|
查看次数: |
1440 次 |
最近记录: |