From a1726a82b0bfcd242047db950b02912ce94e0132 Mon Sep 17 00:00:00 2001 From: anewuser Date: Sun, 3 Jul 2016 23:31:12 -0300 Subject: Added css fix for Firefox dark themes --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index d6d7d67..7e0945b 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,12 @@ * [Firefox](https://addons.mozilla.org/firefox/addon/5064) * [Google Chrome and Vivaldi](https://chrome.google.com/webstore/detail/redirector/ocgpenflpmgnfapjedencafcfakcekcd) * [Opera](https://addons.opera.com/extensions/details/redirector-2/) + +## Dark theme +If you are a Firefox user and use a dark theme, you can edit your userChrome.css file and add these lines to it for the extension button to more visible: + + /* Redirector button for dark Firefox themes */ + toolbarbutton[label="Redirector"][image*="active"]{filter:invert(100%) brightness(600%);} + toolbarbutton[label="Redirector"][image*="disabled"]{filter:invert(100%) brightness(250%);} + +If you don't know what the userChrome.css file is or how to edit it, please look it up on Firefox forums instead of asking about it on this repository. -- cgit v1.2.3 From a417c9d23e345a9821a3ca254070d67c7b415c1b Mon Sep 17 00:00:00 2001 From: anewuser Date: Mon, 4 Jul 2016 20:16:35 -0300 Subject: Updated code to work with localized labels Per https://github.com/einaregilsson/Redirector/pull/70#issuecomment-230359106 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7e0945b..6dbd13f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ If you are a Firefox user and use a dark theme, you can edit your userChrome.css file and add these lines to it for the extension button to more visible: /* Redirector button for dark Firefox themes */ - toolbarbutton[label="Redirector"][image*="active"]{filter:invert(100%) brightness(600%);} - toolbarbutton[label="Redirector"][image*="disabled"]{filter:invert(100%) brightness(250%);} + toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="active"]{filter:invert(100%) brightness(600%);} + toolbarbutton#toggle-button--redirectoreinaregilssoncom-redirector[image*="disabled"]{filter:invert(100%) brightness(250%);} If you don't know what the userChrome.css file is or how to edit it, please look it up on Firefox forums instead of asking about it on this repository. -- cgit v1.2.3