To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / public / stylesheets / context_menu.css @ 1450:020bc7fe7a2a

History | View | Annotate | Download (1.88 KB)

1
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
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: 1px solid #ccc;
13
  background:white;
14
  list-style:none;
15
  padding:2px;
16
  border-radius:2px;
17
}
18

    
19
#context-menu li {
20
  position:relative;
21
  padding:1px;
22
  z-index:39;
23
  border:1px solid white;
24
}
25
#context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; max-height:300px; overflow:hidden; overflow-y: auto; }
26
#context-menu li.folder>ul { left:148px; }
27

    
28
#context-menu.reverse-y li.folder>ul { top:auto; bottom:0; }
29
#context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
30
#context-menu.reverse-x li.folder>ul { right:148px; }
31

    
32
#context-menu a {
33
  text-decoration:none !important;
34
  background-repeat: no-repeat;
35
  background-position: 1px 50%;
36
  padding: 2px 0px 2px 20px;
37
  width:100%; /* IE */
38
}
39
#context-menu li>a { width:auto; } /* others */
40
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
41
#context-menu li a.submenu { padding-right:16px; background:url("../images/bullet_arrow_right.png") right no-repeat; }
42
#context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; }
43
#context-menu a:hover {color:#2A5685;}
44
#context-menu li.folder:hover { z-index:40; }
45
#context-menu ul ul, #context-menu  li:hover ul ul { display:none; }
46
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
47
#context-menu a.icon-checked {background: url(../images/toggle_check.png) no-repeat 3px 40%;}
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; }