Context menu style.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10197 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3e4cbec95e
commit
60574bfb9c
|
@ -9,12 +9,11 @@
|
||||||
|
|
||||||
#context-menu ul {
|
#context-menu ul {
|
||||||
width:150px;
|
width:150px;
|
||||||
border-top:1px solid #ddd;
|
border: 1px solid #ccc;
|
||||||
border-left:1px solid #ddd;
|
|
||||||
border-bottom:1px solid #777;
|
|
||||||
border-right:1px solid #777;
|
|
||||||
background:white;
|
background:white;
|
||||||
list-style:none;
|
list-style:none;
|
||||||
|
padding:2px;
|
||||||
|
border-radius:2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#context-menu li {
|
#context-menu li {
|
||||||
|
@ -34,13 +33,13 @@
|
||||||
text-decoration:none !important;
|
text-decoration:none !important;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: 1px 50%;
|
background-position: 1px 50%;
|
||||||
padding: 1px 0px 1px 20px;
|
padding: 2px 0px 2px 20px;
|
||||||
width:100%; /* IE */
|
width:100%; /* IE */
|
||||||
}
|
}
|
||||||
#context-menu li>a { width:auto; } /* others */
|
#context-menu li>a { width:auto; } /* others */
|
||||||
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
|
#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 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 a:hover {color:#2A5685;}
|
||||||
#context-menu li.folder:hover { z-index:40; }
|
#context-menu li.folder:hover { z-index:40; }
|
||||||
#context-menu ul ul, #context-menu li:hover ul ul { display:none; }
|
#context-menu ul ul, #context-menu li:hover ul ul { display:none; }
|
||||||
|
|
Loading…
Reference in New Issue