Reduce toolbar button opacity when inactive or disabled

This commit is contained in:
Simon Kornblith 2011-10-02 23:13:18 +00:00
parent 5ed3cba50b
commit 24742691b8

View file

@ -27,6 +27,14 @@
background: url("chrome://zotero/skin/mac/menubutton-end.png") right center no-repeat;
}
:root:not([active]) #zotero-pane:not([ignoreActiveAttribute]) .zotero-tb-button, .zotero-tb-button[disabled="true"]{
opacity: 0.7;
}
.zotero-tb-button:-moz-window-inactive {
opacity: 0.7;
}
.zotero-tb-button[open="true"],
.zotero-tb-button:hover:active {
background: url("chrome://zotero/skin/mac/menubutton-end-pressed.png") right center no-repeat;