Commit f26aec0b authored by Jean-Philippe Lang's avatar Jean-Philippe Lang Committed by Eric Davis

Context menu: keep parent item highlighted when hovering a submenu item.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5237 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b944276e
......@@ -21,6 +21,7 @@
position:relative;
padding:1px;
z-index:39;
border:1px solid white;
}
#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; max-height:300px; overflow:hidden; overflow-y: auto; }
#context-menu li.folder>ul { left:148px; }
......@@ -30,7 +31,6 @@
#context-menu.reverse-x li.folder>ul { right:148px; }
#context-menu a {
border:1px solid white;
text-decoration:none !important;
background-repeat: no-repeat;
background-position: 1px 50%;
......@@ -40,8 +40,8 @@
#context-menu li>a { width:auto; } /* others */
#context-menu a.disabled, #context-menu a.disabled:hover {color: #ccc;}
#context-menu li a.submenu { background:url("../images/bullet_arrow_right.png") right no-repeat; }
#context-menu a:hover { border-color:gray; background-color:#eee; color:#2A5685; }
#context-menu li.folder a:hover { background-color:#eee; }
#context-menu li:hover { border:1px solid gray; background-color:#eee; }
#context-menu a:hover {color:#2A5685;}
#context-menu li.folder:hover { z-index:40; }
#context-menu ul ul, #context-menu li:hover ul ul { display:none; }
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment