From e6b579d027361b3fd5d228df1778ba1a76ec875e Mon Sep 17 00:00:00 2001 From: Erica Wright Date: Tue, 6 Nov 2018 20:20:13 +0000 Subject: [PATCH] Bug 1504852 - Turn off Content Blocking label color is visible in dark theme and icon is spaced from text. r=dao In windows and linux, ensure that the text color inside the content blocking button is visible. Add 5px of margin beside the icon to separate it from the text. Differential Revision: https://phabricator.services.mozilla.com/D11099 --HG-- extra : moz-landing-system : lando --- browser/themes/linux/controlcenter/panel.css | 4 ++++ browser/themes/shared/controlcenter/panel.inc.css | 1 + browser/themes/windows/controlcenter/panel.css | 3 +++ 3 files changed, 8 insertions(+) diff --git a/browser/themes/linux/controlcenter/panel.css b/browser/themes/linux/controlcenter/panel.css index 0c2f3af688c7..231caf877bb6 100644 --- a/browser/themes/linux/controlcenter/panel.css +++ b/browser/themes/linux/controlcenter/panel.css @@ -14,3 +14,7 @@ outline: 1px -moz-dialogtext dotted; outline-offset: -1px; } + +.tracking-protection-button > .button-box > .button-icon { + margin-inline-end: 5px; +} diff --git a/browser/themes/shared/controlcenter/panel.inc.css b/browser/themes/shared/controlcenter/panel.inc.css index 51bf0c9038cb..465c704eecea 100644 --- a/browser/themes/shared/controlcenter/panel.inc.css +++ b/browser/themes/shared/controlcenter/panel.inc.css @@ -468,6 +468,7 @@ description#identity-popup-content-verifier, display: none; height: 32px; background-color: var(--arrowpanel-dimmed); + color: inherit; } .tracking-protection-button:hover { diff --git a/browser/themes/windows/controlcenter/panel.css b/browser/themes/windows/controlcenter/panel.css index 2254899b578a..cc9bab6f857b 100644 --- a/browser/themes/windows/controlcenter/panel.css +++ b/browser/themes/windows/controlcenter/panel.css @@ -4,3 +4,6 @@ %include ../../shared/controlcenter/panel.inc.css +.tracking-protection-button > .button-box > .button-icon { + margin-inline-end: 5px; +}