remove newtab and home from userContent

This commit is contained in:
Gerome Matilla 2020-08-16 06:36:14 +08:00
parent 0013f6eda5
commit fe717e97cf
2 changed files with 8 additions and 3 deletions

View File

@ -10,6 +10,7 @@
--bf-sidebar-searchbar-radius: 6px; --bf-sidebar-searchbar-radius: 6px;
--bf-accent-bg: #4C5FF9CC; --bf-accent-bg: #4C5FF9CC;
--bf-blank-page-bg: #252525;
--bf-urlbar-hightlight-bg: var(--bf-accent-bg); --bf-urlbar-hightlight-bg: var(--bf-accent-bg);
--bf-urlbar-radius: 9px; --bf-urlbar-radius: 9px;

View File

@ -1,9 +1,13 @@
@import url('userChrome.css'); @import url('userChrome.css');
/* Removes the white loading page */ /* Removes the white loading page */
@-moz-document url(about:blank), url(about:newtab), url(about:home) { /* url(about:newtab), url(about:home) */
html:not(#ublock0-epicker), html:not(#ublock0-epicker) body, #newtab-customize-overlay { @-moz-document url(about:blank) {
background: var(--bf-bg) !important; html:not(#ublock0-epicker),
html:not(#ublock0-epicker)
body,
#newtab-customize-overlay {
background: var(--bf-blank-page-bg) !important;
} }
} }