From 147c187bac046ada3cc1c46a7a615aac31935bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 10 May 2021 23:33:33 +0000 Subject: [PATCH] Bug 1710324 - Don't specify background color on native scrollbar elements on Windows / Linux. r=Gijs This allow the automatic scrollbar darkening logic to work without further tweaks. We don't set appearance: none in any scrollbar on desktop (and we support scrollbar-{width,color} to customize them anyways). Differential Revision: https://phabricator.services.mozilla.com/D114696 --- toolkit/themes/windows/global/xulscrollbars.css | 6 ------ 1 file changed, 6 deletions(-) diff --git a/toolkit/themes/windows/global/xulscrollbars.css b/toolkit/themes/windows/global/xulscrollbars.css index 473f15a3c963..0a2f225d9aeb 100644 --- a/toolkit/themes/windows/global/xulscrollbars.css +++ b/toolkit/themes/windows/global/xulscrollbars.css @@ -15,7 +15,6 @@ scrollbar { appearance: auto; -moz-default-appearance: scrollbar-horizontal; cursor: default; - background-color: #f0f0f0; } @media all and (-moz-overlay-scrollbars) { @@ -48,10 +47,6 @@ slider[orient="vertical"] { /* ::::: thumb (horizontal) ::::: */ -thumb { - background-color: #cdcdcd; -} - thumb[orient="vertical"] { appearance: auto; -moz-default-appearance: scrollbarthumb-vertical; @@ -71,7 +66,6 @@ scrollcorner { -moz-default-appearance: scrollcorner; width: 16px; cursor: default; - background-color: -moz-Dialog; } /* ..... increment .... */