##// END OF EJS Templates
Context menu: keep parent item highlighted when hovering a submenu item....
Jean-Philippe Lang -
r5117:393df388fce8
parent child
Show More
@@ -21,6 +21,7
21 21 position:relative;
22 22 padding:1px;
23 23 z-index:39;
24 border:1px solid white;
24 25 }
25 26 #context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; max-height:300px; overflow:hidden; overflow-y: auto; }
26 27 #context-menu li.folder>ul { left:148px; }
@@ -30,7 +31,6
30 31 #context-menu.reverse-x li.folder>ul { right:148px; }
31 32
32 33 #context-menu a {
33 border:1px solid white;
34 34 text-decoration:none !important;
35 35 background-repeat: no-repeat;
36 36 background-position: 1px 50%;
@@ -40,8 +40,8
40 40 #context-menu li>a { width:auto; } /* others */
41 41 #context-menu a.disabled, #context-menu a.disabled:hover {color: #ccc;}
42 42 #context-menu li a.submenu { background:url("../images/bullet_arrow_right.png") right no-repeat; }
43 #context-menu a:hover { border-color:gray; background-color:#eee; color:#2A5685; }
44 #context-menu li.folder a:hover { background-color:#eee; }
43 #context-menu li:hover { border:1px solid gray; background-color:#eee; }
44 #context-menu a:hover {color:#2A5685;}
45 45 #context-menu li.folder:hover { z-index:40; }
46 46 #context-menu ul ul, #context-menu li:hover ul ul { display:none; }
47 47 #context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
General Comments 0
You need to be logged in to leave comments. Login now