summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2021-06-12 13:13:08 -0400
committerMatt A. Tobin <email@mattatobin.com>2021-06-12 13:13:08 -0400
commite8be661944c730cb3b702cd7f7d97e0860eb9132 (patch)
tree03a166c0bb5d7cba7681d45def358f2ba19c40ca
parent5ab5ce9c4fff4c27e187c58449588aa0358927c0 (diff)
downloaduxp-e8be661944c730cb3b702cd7f7d97e0860eb9132.tar.gz
[Toolkit] Don't use the "aero" msstyle provided toolbox background on Windows 10
-rw-r--r--toolkit/themes/windows/global/toolbar.css9
1 files changed, 9 insertions, 0 deletions
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 {