Patch #962 » context_menu.css
1 |
#context-menu { position: absolute; z-index: 10;} |
---|---|
2 |
|
3 |
#context-menu ul, #context-menu li, #context-menu a { |
4 |
display:block; |
5 |
margin:0; |
6 |
padding:0; |
7 |
border:0; |
8 |
}
|
9 |
|
10 |
#context-menu ul { |
11 |
width:150px; |
12 |
border-top:1px solid #ddd; |
13 |
border-left:1px solid #ddd; |
14 |
border-bottom:1px solid #777; |
15 |
border-right:1px solid #777; |
16 |
background:white; |
17 |
list-style:none; |
18 |
}
|
19 |
|
20 |
#context-menu li { |
21 |
position:relative; |
22 |
padding:1px; |
23 |
z-index:9; |
24 |
}
|
25 |
#context-menu li.folder ul { |
26 |
position:absolute; |
27 |
left:168px; /* IE6 */ |
28 |
top:-2px; |
29 |
}
|
30 |
#context-menu li.folder>ul { left:148px; } |
31 |
|
32 |
#context-menu a { |
33 |
border:1px solid white; |
34 |
text-decoration:none; |
35 |
background-repeat: no-repeat; |
36 |
background-position: 1px 50%; |
37 |
padding: 2px 0px 2px 20px; |
38 |
width:100%; /* IE */ |
39 |
}
|
40 |
#context-menu li>a { width:auto; } /* others */ |
41 |
#context-menu a.disabled, #context-menu a.disabled:hover {color: #ccc;} |
42 |
#context-menu li a.submenu { background:url("../images/sub.gif") right no-repeat; } |
43 |
#context-menu a:hover { border-color:gray; background-color:#eee; color:#2A5685; } |
44 |
#context-menu li.folder a:hover { background-color:#eee; } |
45 |
#context-menu li.folder:hover { z-index:10; } |
46 |
#context-menu ul ul, #context-menu li:hover ul ul { display:none; } |
47 |
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; } |
48 |
|
49 |
/* selected element */
|
50 |
.context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; } |
51 |
.context-menu-selection a, .context-menu-selection a:hover { color:#f8f8f8 !important; } |
52 |
.context-menu-selection:hover { background-color:#507AAA !important; color:#f8f8f8 !important; } |
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »