fix page flashes when loading some websites
This commit is contained in:
parent
1dea5bc95a
commit
2b3976a2c7
2 changed files with 10 additions and 2 deletions
|
@ -107,3 +107,11 @@
|
||||||
border-block-color: transparent currentColor !important;
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -119,11 +119,11 @@
|
||||||
|
|
||||||
/* Change Colour of page when loading */
|
/* Change Colour of page when loading */
|
||||||
:root:not(:-moz-lwtheme) #tabbrowser-tabpanels {
|
: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 {
|
: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 */
|
/* needed for theming the private browsing indicator */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue