summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-28 19:24:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-28 19:24:02 +0000
commit393df388fce8c5633ce548882535715f585179c5 (patch)
tree5eb8ac692c161265b4d5ca3ded00bb27419732b2 /public
parent86eed08fbf4960737b43aa93db979781c54ac888 (diff)
downloadredmine-393df388fce8c5633ce548882535715f585179c5.tar.gz
redmine-393df388fce8c5633ce548882535715f585179c5.zip
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
Diffstat (limited to 'public')
-rw-r--r--public/stylesheets/context_menu.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/stylesheets/context_menu.css b/public/stylesheets/context_menu.css
index f1d69d2fa..f86e12e00 100644
--- a/public/stylesheets/context_menu.css
+++ b/public/stylesheets/context_menu.css
@@ -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; }