From 3706f37666b678c020f4c3cd21ee175a1d921f0e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 19 Dec 2018 19:45:01 +0200 Subject: [PATCH] Add fallback color to :root so windows won't break without variables --- chrome/theme_additional_windows.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chrome/theme_additional_windows.css b/chrome/theme_additional_windows.css index fb07649..5ba9f4d 100644 --- a/chrome/theme_additional_windows.css +++ b/chrome/theme_additional_windows.css @@ -4,7 +4,7 @@ /* Library window */ @-moz-document url(chrome://browser/content/places/places.xul){ - :root{ background-color: var(--uc-light-bkgnd-color) !important;} + :root{ background-color: var(--uc-light-bkgnd-color,black) !important;} #placesToolbar, tree{ background: transparent !important; @@ -32,8 +32,8 @@ @-moz-document url(chrome://browser/content/pageinfo/pageInfo.xul){ #main-window, #topBar{ - background-color: var(--uc-dark-bkgnd-color) !important; - color: var(--uc-text-color) !important; + background-color: var(--uc-dark-bkgnd-color,black) !important; + color: var(--uc-text-color,white) !important; } textbox{ color: var(--uc-text-color) !important; }