From 24742691b87574871f53370410ff2a24f2bc48bc Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 2 Oct 2011 23:13:18 +0000 Subject: [PATCH] Reduce toolbar button opacity when inactive or disabled --- chrome/content/zotero-platform/mac/overlay.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chrome/content/zotero-platform/mac/overlay.css b/chrome/content/zotero-platform/mac/overlay.css index b965810f2b..6ebaacf7e9 100644 --- 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;