mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-24 17:31:14 +00:00
git-svn-id: https://svn.redmine.org/redmine/trunk@23571 e93f8b46-1217-0410-a6f0-8f06a7374b81
67 lines
2.5 KiB
CSS
67 lines
2.5 KiB
CSS
/**
|
|
* Redmine - project management software
|
|
* Copyright (C) 2006- Jean-Philippe Lang
|
|
* This code is released under the GNU General Public License.
|
|
*/
|
|
|
|
#context-menu { position: absolute; z-index: 40; font-size: 0.9em;}
|
|
|
|
#context-menu ul, #context-menu li, #context-menu a {
|
|
margin:0;
|
|
padding:0;
|
|
border:0;
|
|
}
|
|
|
|
#context-menu ul {
|
|
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;
|
|
display: flex;
|
|
}
|
|
#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; }
|
|
|
|
#context-menu.reverse-y li.folder>ul, #context-menu li.folder.up>ul { top:auto; bottom:0; }
|
|
#context-menu.reverse-x li.folder ul { left:auto; right:168px; /* IE6 */ }
|
|
#context-menu.reverse-x li.folder>ul { right:148px; }
|
|
|
|
#context-menu.reverse-y li.folder.down>ul {
|
|
position:absolute; top:-2px; bottom: auto; max-height:300px; overflow:hidden; overflow-y: auto;
|
|
}
|
|
|
|
#context-menu a {
|
|
text-decoration:none !important;
|
|
padding: 2px 8px;
|
|
}
|
|
#context-menu li>a { flex-grow: 1; }
|
|
#context-menu a.disabled, #context-menu a.disabled:hover {color: #aaa;}
|
|
#context-menu li a.submenu:not(:has(+ span)) { padding-right:16px; background:url("/arrow_right.png") right no-repeat;}
|
|
#context-menu li a.submenu { padding-left: 28px;}
|
|
#context-menu li:hover { border:1px solid #628db6; background-color:#eef5fd; border-radius:3px; }
|
|
#context-menu a:hover {color:#2A5685;}
|
|
#context-menu li.folder ul li a:not(.icon) {
|
|
padding-left: 28px;
|
|
}
|
|
#context-menu li.folder:hover { z-index:40; }
|
|
#context-menu ul ul, #context-menu li:hover ul ul { display:none; }
|
|
#context-menu li:hover ul, #context-menu li:hover li:hover ul { display:block; }
|
|
|
|
/* selected element */
|
|
.context-menu-selection { background-color:#507AAA !important; color:#f8f8f8 !important; }
|
|
.context-menu-selection a, .context-menu-selection a:hover { color:#f8f8f8 !important; }
|
|
.context-menu-selection:hover { background-color:#507AAA !important; color:#f8f8f8 !important; }
|
|
.context-menu-selection svg.icon-svg { stroke: #fff !important; }
|
|
div#gantt_area .context-menu-selection { background-color: rgba(80, 122, 170, 0.48) !important; }
|
|
div#gantt_area .context-menu-selection:hover { background-color: rgba(80, 122, 170, 0.48) !important; }
|
|
div#gantt_area .context-menu-selection a { color: #169 !important; }
|