From 2319d8be1224882c53f701408b00a9509550dd9f Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 12 Jun 2021 13:13:08 -0400 Subject: [PATCH] [Toolkit] Don't use the "aero" msstyle provided toolbox background on Windows 10 --- toolkit/themes/windows/global/toolbar.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/toolkit/themes/windows/global/toolbar.css b/toolkit/themes/windows/global/toolbar.css index 38c8a617a5..97310e1aeb 100644 --- a/toolkit/themes/windows/global/toolbar.css +++ b/toolkit/themes/windows/global/toolbar.css @@ -17,6 +17,15 @@ toolbox { -moz-border-top-colors: ThreeDShadow ThreeDHighlight; } +@media (-moz-os-version: windows-win10) and (-moz-windows-theme: aero) { + toolbox { + /* Windows 10's "aero" msstyle sourced toolbox background is pure white + so don't use the widget toolbox styling and fallback to -moz-Dialog's + color which by default should be a non-blinding rgb(240, 240, 240) */ + -moz-appearance: none; + } +} + /* ::::: toolbar & menubar ::::: */ toolbar, menubar {