fix page flashes when loading some websites

This commit is contained in:
bmFtZQ 2021-12-07 16:01:36 +08:00
parent 1dea5bc95a
commit 2b3976a2c7
2 changed files with 10 additions and 2 deletions

View file

@ -107,3 +107,11 @@
border-block-color: transparent currentColor !important;
}
}
/* fix page flashes when loading some websites */
@-moz-document url(about:blank) {
body {
background: var(--in-content-page-background);
color: var(--in-content-page-color);
}
}

View file

@ -119,11 +119,11 @@
/* Change Colour of page when loading */
:root:not(:-moz-lwtheme) #tabbrowser-tabpanels {
background-color: var(--toolbar-bgcolor) !important;
background-color: #f7f7f7 !important;
}
:root[lwt-default-theme-in-dark-mode="true"] #tabbrowser-tabpanels {
background-color: var(--lwt-accent-color) !important;
background-color: #252525 !important;
}
/* needed for theming the private browsing indicator */