From 0f56d5062cb40f681f483b8fef6ba62d2ee7e352 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Wed, 13 Apr 2022 20:58:40 +0900 Subject: [PATCH] Fix: Windows10 - Top border apply for not accent mode #358 --- userChrome.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index 5fce2d4..f0dce64 100644 --- a/userChrome.css +++ b/userChrome.css @@ -222,13 +222,19 @@ menu[disabled="true"] { } /*= Windows 10 - Top border of accent color at ESR #358 ======================*/ -@media (-moz-windows-accent-color-in-titlebar) { +@media (-moz-os-version: windows-win10), /* Legacy - v99 */ + (-moz-platform: windows-win10) { :root[sizemode=normal][tabsintitlebar] #navigator-toolbox { - border-top: .5px solid -moz-accent-color !important; + border-top: .5px solid rgb(47, 47, 47) !important; } :root[sizemode=normal][tabsintitlebar]:-moz-window-inactive #navigator-toolbox { border-top-color: rgb(57, 57, 57) !important; } + @media (-moz-windows-accent-color-in-titlebar) { + :root[sizemode=normal][tabsintitlebar] #navigator-toolbox { + border-top-color: -moz-accent-color !important; + } + } } @media (-moz-gtk-csd-available) {