From 673c7fe00cea5b539ffe15399b0962f0bc16401b Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Wed, 7 Nov 2018 14:16:24 -0700 Subject: [PATCH] Color variables for pdf viewer fix #218 --- alternative_user_files/userContent_no_addons.css | 3 ++- css/common-files/color_variables.css | 3 ++- userChrome.css | 3 ++- userContent.css | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/alternative_user_files/userContent_no_addons.css b/alternative_user_files/userContent_no_addons.css index 65db2ef..c1839ae 100644 --- a/alternative_user_files/userContent_no_addons.css +++ b/alternative_user_files/userContent_no_addons.css @@ -17,7 +17,8 @@ url-prefix(about:), url(https://www.mozilla.org/credits/), url-prefix(https://addons.mozilla.org), url-prefix(http://addons.mozilla.org), -url-prefix(moz-extension) { +url-prefix(moz-extension), +regexp(".*\\.(p|P)(d|D)(f|F).*") { :root { --magenta-50: #ff1ad9; --magenta-60: #ed00b5; diff --git a/css/common-files/color_variables.css b/css/common-files/color_variables.css index 020bcab..ef99085 100644 --- a/css/common-files/color_variables.css +++ b/css/common-files/color_variables.css @@ -17,7 +17,8 @@ url-prefix(about:), url(https://www.mozilla.org/credits/), url-prefix(https://addons.mozilla.org), url-prefix(http://addons.mozilla.org), -url-prefix(moz-extension) { +url-prefix(moz-extension), +regexp(".*\\.(p|P)(d|D)(f|F).*") { :root { --magenta-50: #ff1ad9; --magenta-60: #ed00b5; diff --git a/userChrome.css b/userChrome.css index b7f8bba..0d1fa11 100644 --- a/userChrome.css +++ b/userChrome.css @@ -17,7 +17,8 @@ url-prefix(about:), url(https://www.mozilla.org/credits/), url-prefix(https://addons.mozilla.org), url-prefix(http://addons.mozilla.org), -url-prefix(moz-extension) { +url-prefix(moz-extension), +regexp(".*\\.(p|P)(d|D)(f|F).*") { :root { --magenta-50: #ff1ad9; --magenta-60: #ed00b5; diff --git a/userContent.css b/userContent.css index 731bc9f..78fc032 100644 --- a/userContent.css +++ b/userContent.css @@ -17,7 +17,8 @@ url-prefix(about:), url(https://www.mozilla.org/credits/), url-prefix(https://addons.mozilla.org), url-prefix(http://addons.mozilla.org), -url-prefix(moz-extension) { +url-prefix(moz-extension), +regexp(".*\\.(p|P)(d|D)(f|F).*") { :root { --magenta-50: #ff1ad9; --magenta-60: #ed00b5;