Chris@0: #context-menu { position: absolute; z-index: 40; font-size: 0.9em;} Chris@0: Chris@0: #context-menu ul, #context-menu li, #context-menu a { Chris@1115: display:block; Chris@1115: margin:0; Chris@1115: padding:0; Chris@1115: border:0; Chris@0: } Chris@0: Chris@0: #context-menu ul { Chris@1115: width:150px; Chris@1115: border: 1px solid #ccc; Chris@1115: background:white; Chris@1115: list-style:none; Chris@1115: padding:2px; Chris@1115: border-radius:2px; Chris@0: } Chris@0: Chris@0: #context-menu li { Chris@1115: position:relative; Chris@1115: padding:1px; Chris@1115: z-index:39; Chris@1115: border:1px solid white; Chris@0: } Chris@0: #context-menu li.folder ul { position:absolute; left:168px; /* IE6 */ top:-2px; max-height:300px; overflow:hidden; overflow-y: auto; } Chris@0: #context-menu li.folder>ul { left:148px; } Chris@0: Chris@0: #context-menu.reverse-y li.folder>ul { top:auto; bottom:0; } Chris@0: #context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ } Chris@0: #context-menu.reverse-x li.folder>ul { right:148px; } Chris@0: Chris@0: #context-menu a { Chris@1115: text-decoration:none !important; Chris@1115: background-repeat: no-repeat; Chris@1115: background-position: 1px 50%; Chris@1115: padding: 2px 0px 2px 20px; Chris@1115: width:100%; /* IE */ Chris@0: } Chris@0: #context-menu li>a { width:auto; } /* others */ Chris@1115: #context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;} Chris@1115: #context-menu li a.submenu { padding-right:16px; background:url("../images/bullet_arrow_right.png") right no-repeat; } Chris@1115: #context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; } Chris@441: #context-menu a:hover {color:#2A5685;} Chris@909: #context-menu li.folder:hover { z-index:40; } Chris@0: #context-menu ul ul, #context-menu li:hover ul ul { display:none; } Chris@909: #context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; } Chris@1115: #context-menu a.icon-checked {background: url(../images/toggle_check.png) no-repeat 3px 40%;} Chris@0: Chris@0: /* selected element */ Chris@0: .context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; } Chris@0: .context-menu-selection a, .context-menu-selection a:hover { color:#f8f8f8 !important; } Chris@0: .context-menu-selection:hover { background-color:#507AAA !important; color:#f8f8f8 !important; }