Disable context menu icons on OS X
This commit is contained in:
parent
fa27e3f3de
commit
d0d0f14edb
2 changed files with 11 additions and 1 deletions
|
@ -328,4 +328,14 @@ treechildren::-moz-tree-image {
|
|||
#zotero-tb-actions-menu
|
||||
{
|
||||
list-style-image: url('chrome://zotero/skin/mac/cog.png');
|
||||
}
|
||||
|
||||
#zotero-collectionmenu > .menuitem-iconic, #zotero-itemmenu > .menuitem-iconic, #zotero-collectionmenu > .menu-iconic, #zotero-itemmenu > .menu-iconic {
|
||||
padding-top: 0px !important;
|
||||
padding-bottom: 2px !important;
|
||||
list-style-image: none !important;
|
||||
}
|
||||
|
||||
#zotero-collectionmenu > .menuitem-iconic > .menu-iconic-left, #zotero-itemmenu > .menuitem-iconic > .menu-iconic-left, #zotero-collectionmenu > .menu-iconic > .menu-iconic-left, #zotero-itemmenu > .menu-iconic > .menu-iconic-left {
|
||||
display: none;
|
||||
}
|
|
@ -126,7 +126,7 @@ var Zotero_LocateMenu = new function() {
|
|||
null, Zotero.getString("locate."+optionName+".tooltip"));
|
||||
if(showIcons) {
|
||||
menuitem.setAttribute("class", "menuitem-iconic");
|
||||
menuitem.setAttribute("image", optionObject.icon);
|
||||
menuitem.style.listStyleImage = "url('"+optionObject.icon+"')";
|
||||
}
|
||||
menuitem.setAttribute("zotero-locate", "true");
|
||||
|
||||
|
|
Loading…
Reference in a new issue