From dc5ccffe43441bf5ee5912f90555582b64d28c24 Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Tue, 26 Aug 2014 03:11:24 -0500 Subject: [PATCH] Use Mozilla's colors for itembox and tagbox background This way, the colors play nicely with Windows themes (e.g. high contrast) Re https://forums.zotero.org/discussion/38870/make-zotero-fully-recognize-windowsff-high-contrast-themes/ and https://twitter.com/stuffilike2know/status/504167872567189504 --- chrome/content/zotero-platform/win/overlay.css | 2 +- chrome/skin/default/zotero/bindings/tagselector.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero-platform/win/overlay.css b/chrome/content/zotero-platform/win/overlay.css index b90ec7c58..5a384e911 100644 --- a/chrome/content/zotero-platform/win/overlay.css +++ b/chrome/content/zotero-platform/win/overlay.css @@ -90,7 +90,7 @@ #zotero-view-item { padding: 0 !important; -moz-appearance: none; - background-color: white; + background-color: -moz-field; border-width: 1px 0 0 1px; } diff --git a/chrome/skin/default/zotero/bindings/tagselector.css b/chrome/skin/default/zotero/bindings/tagselector.css index e67b6211b..f5f11e569 100644 --- a/chrome/skin/default/zotero/bindings/tagselector.css +++ b/chrome/skin/default/zotero/bindings/tagselector.css @@ -11,7 +11,7 @@ groupbox overflow-x: hidden; overflow-y: auto; display: block; /* allow labels to wrap instead of all being in one line */ - background-color: white; + background-color: -moz-field; } checkbox