From 212cce2ed3cc39dcfea8679d9f17b8e5f7122cf0 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Sun, 19 Aug 2018 23:25:19 +0200 Subject: [PATCH] Set text color for popups Fixes #226. --- browserAction/browserAction.css | 1 + manifest.json | 14 ++++---------- pageAction/pageAction.css | 1 + releaseNotes.txt | 1 + 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/browserAction/browserAction.css b/browserAction/browserAction.css index 97f431f..4dd09e5 100644 --- a/browserAction/browserAction.css +++ b/browserAction/browserAction.css @@ -18,6 +18,7 @@ div { z-index: 1; position: relative; white-space: nowrap; + color: #505050; } .action + .action { diff --git a/manifest.json b/manifest.json index cd38ff8..8096310 100644 --- a/manifest.json +++ b/manifest.json @@ -54,20 +54,14 @@ "page": "options/options.html" }, "browser_action": { - "browser_style": true, - "default_icon": { - "19": "icons/browserAction-notPrinted.svg", - "38": "icons/browserAction-notPrinted.svg" - }, + "browser_style": false, + "default_icon": "icons/browserAction-notPrinted.svg", "default_title": "CanvasBlocker", "default_popup": "browserAction/browserAction.html" }, "page_action": { - "browser_style": true, - "default_icon": { - "19": "icons/pageAction-printed.svg", - "38": "icons/pageAction-printed.svg" - }, + "browser_style": false, + "default_icon": "icons/pageAction-printed.svg", "default_popup": "pageAction/pageAction.html" }, "author": "Korbinian Kapsner", diff --git a/pageAction/pageAction.css b/pageAction/pageAction.css index fd6943b..59ab0b2 100644 --- a/pageAction/pageAction.css +++ b/pageAction/pageAction.css @@ -8,6 +8,7 @@ body { padding-right: 23px; white-space: nowrap; position: relative; + color: black; } #prints { diff --git a/releaseNotes.txt b/releaseNotes.txt index 14ca955..97e2121 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -10,6 +10,7 @@ Version 0.5.3: fixes: - CSP did not work properly for worker-src - detection if the options page was displayed in a separate tab did not work reliably + - popup text not readable in some dark themes known issues: - if a data URL is blocked the page action button does not appear