[ADD] Add context menu css.

bzr revid: sma@tinyerp.com-20110519132144-h1tf60au9ozr123u
This commit is contained in:
sma (Tiny)
2011-05-19 18:51:44 +05:30
parent 3ba4b7765c
commit 54fb05b1fd
+43 -1
View File
@@ -843,5 +843,47 @@ body.openerp {
vertical-align: middle;
cursor: pointer;
}
/*----- End Many2one Autosearch ------- */
/*----- End autocomplete ------- */
/* Many2one Contextmenu */
div.contextmenu {
background-color: #444;
border: 1px solid #000;
white-space: nowrap;
position: absolute;
padding: 2px;
z-index: 100;
}
div.contextmenu a,
div.contextmenu span {
display: block;
text-align: left;
text-decoration: none;
white-space: nowrap;
padding: 2px;
color: #FFF;
cursor: pointer;
}
div.contextmenu hr {
margin: 1px 0 !important;
}
div.contextmenu td {
padding: 1px;
}
div.contextmenu a:hover,
div.contextmenu span:hover {
color: #FFF;
background-color: #505050;
text-decoration: none;
}
div.contextmenu a.disabled,
div.contextmenu span.disabled {
color: #C0C0C0;
}
/*----- End Many2one Contextmenu ------- */