commit 24742691b87574871f53370410ff2a24f2bc48bc
parent 5ed3cba50bcaee947b17c800a89e84b28275da8a
Author: Simon Kornblith <simon@simonster.com>
Date: Sun, 2 Oct 2011 23:13:18 +0000
Reduce toolbar button opacity when inactive or disabled
Diffstat:
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero-platform/mac/overlay.css b/chrome/content/zotero-platform/mac/overlay.css
@@ -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;