From 542127d98caac8e45208c72d95a79f0ed7e92483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A3o=20Gottwald?= Date: Tue, 6 Nov 2018 16:50:29 +0000 Subject: [PATCH] Bug 1503304 - Make toolbar_text fall back to textcolor. r=ntim Differential Revision: https://phabricator.services.mozilla.com/D11026 --HG-- extra : moz-landing-system : lando --- browser/base/content/browser.css | 2 +- browser/themes/shared/compacttheme.inc.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 6e0af3d3b303..a5a6fa4fa531 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -19,7 +19,7 @@ :root:-moz-lwtheme { --toolbar-bgcolor: rgba(255,255,255,.4); --toolbar-bgimage: none; - --toolbar-color: inherit; + --toolbar-color: var(--lwt-text-color, inherit); background-color: var(--lwt-accent-color); color: var(--lwt-text-color); diff --git a/browser/themes/shared/compacttheme.inc.css b/browser/themes/shared/compacttheme.inc.css index 320879c123b0..7391289ab45c 100644 --- a/browser/themes/shared/compacttheme.inc.css +++ b/browser/themes/shared/compacttheme.inc.css @@ -7,7 +7,6 @@ there are overrides for each platform in their compacttheme.css files. */ :root:-moz-lwtheme { - --toolbar-color: var(--lwt-text-color); --toolbar-non-lwt-bgcolor: var(--toolbar-bgcolor); --toolbar-non-lwt-textcolor: var(--lwt-text-color); --toolbar-non-lwt-bgimage: none;