summaryrefslogtreecommitdiffstats
path: root/public/stylesheets
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-03 16:38:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-04-03 16:38:06 +0000
commitf6ce427a00650e92f414dc3682e56348d549d7ea (patch)
tree0f8b0d51ae74c4071a01e4d8ed31d9d363d80806 /public/stylesheets
parent7f0aa5611948ebed0c1eaf4c3218762fb50e199e (diff)
downloadredmine-f6ce427a00650e92f414dc3682e56348d549d7ea.tar.gz
redmine-f6ce427a00650e92f414dc3682e56348d549d7ea.zip
Display the context menu above and/or to the left of the click if needed (patch by Mike Duchene, closes #960).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1323 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/stylesheets')
-rw-r--r--public/stylesheets/context_menu.css10
1 files changed, 5 insertions, 5 deletions
diff --git a/public/stylesheets/context_menu.css b/public/stylesheets/context_menu.css
index f68b33fe1..e5a83be0d 100644
--- a/public/stylesheets/context_menu.css
+++ b/public/stylesheets/context_menu.css
@@ -22,13 +22,13 @@
padding:1px;
z-index:9;
}
-#context-menu li.folder ul {
- position:absolute;
- left:168px; /* IE6 */
- top:-2px;
-}
+#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; }
#context-menu li.folder>ul { left:148px; }
+#context-menu.reverse-y li.folder>ul { top:auto; bottom:0; }
+#context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
+#context-menu.reverse-x li.folder>ul { right:148px; }
+
#context-menu a {
border:1px solid white;
text-decoration:none;