Add fallback color to :root so windows won't break without variables

This commit is contained in:
MrOtherGuy 2018-12-19 19:45:01 +02:00
parent 692e62a5ad
commit 3706f37666

View file

@ -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; }