summaryrefslogtreecommitdiffstats
path: root/public/stylesheets/context_menu.css
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 13:48:20 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-13 13:48:20 +0000
commit60574bfb9cec7787743fcb5431747ea23b81e64d (patch)
tree6d385ebc62ceff560e95d790997eca95422db78f /public/stylesheets/context_menu.css
parent3e4cbec95ee417b839be124f84b786abff9e3752 (diff)
downloadredmine-60574bfb9cec7787743fcb5431747ea23b81e64d.tar.gz
redmine-60574bfb9cec7787743fcb5431747ea23b81e64d.zip
Context menu style.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10197 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/stylesheets/context_menu.css')
-rw-r--r--public/stylesheets/context_menu.css41
1 files changed, 20 insertions, 21 deletions
diff --git a/public/stylesheets/context_menu.css b/public/stylesheets/context_menu.css
index 459e4b7f7..1d02ebfba 100644
--- a/public/stylesheets/context_menu.css
+++ b/public/stylesheets/context_menu.css
@@ -1,27 +1,26 @@
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
#context-menu ul, #context-menu li, #context-menu a {
- display:block;
- margin:0;
- padding:0;
- border:0;
+ display:block;
+ margin:0;
+ padding:0;
+ border:0;
}
#context-menu ul {
- width:150px;
- border-top:1px solid #ddd;
- border-left:1px solid #ddd;
- border-bottom:1px solid #777;
- border-right:1px solid #777;
- background:white;
- list-style:none;
+ width:150px;
+ border: 1px solid #ccc;
+ background:white;
+ list-style:none;
+ padding:2px;
+ border-radius:2px;
}
#context-menu li {
- position:relative;
- padding:1px;
- z-index:39;
- border:1px solid white;
+ 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; }
@@ -31,16 +30,16 @@
#context-menu.reverse-x li.folder>ul { right:148px; }
#context-menu a {
- text-decoration:none !important;
- background-repeat: no-repeat;
- background-position: 1px 50%;
- padding: 1px 0px 1px 20px;
- width:100%; /* IE */
+ text-decoration:none !important;
+ background-repeat: no-repeat;
+ background-position: 1px 50%;
+ padding: 2px 0px 2px 20px;
+ width:100%; /* IE */
}
#context-menu li>a { width:auto; } /* others */
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
#context-menu li a.submenu { padding-right:16px; background:url("../images/bullet_arrow_right.png") right no-repeat; }
-#context-menu li:hover { border:1px solid gray; background-color:#eee; }
+#context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; }
#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; }