diff --git a/css/leptonContent.css b/css/leptonContent.css index b5f29b2..30a70e2 100644 --- a/css/leptonContent.css +++ b/css/leptonContent.css @@ -456,6 +456,16 @@ padding-top: 0 !important; } } + /** Activity Stream - Hide Firefox's logo ***********************************/ + @supports -moz-bool-pref("userContent.newTab.background_image") { + body { + background-image: var(--uc-newTab-wallpaper); + background-size: cover; /* or auto auto */ + background-repeat: no-repeat; + background-position: right top; + background-attachment: fixed; + } + } } /** Error Page - Restore illustrations ****************************************/ @supports -moz-bool-pref("userContent.page.illustration") { diff --git a/src/contents/_activity_stream.scss b/src/contents/_activity_stream.scss index a45a1cf..c60dd40 100644 --- a/src/contents/_activity_stream.scss +++ b/src/contents/_activity_stream.scss @@ -217,4 +217,15 @@ padding-top: 0 !important; } } + + /** Activity Stream - Hide Firefox's logo ***********************************/ + @include Option("userContent.newTab.background_image") { + body { + background-image: var(--uc-newTab-wallpaper); + background-size: cover; /* or auto auto */ + background-repeat: no-repeat; + background-position: right top; + background-attachment: fixed; + } + } } diff --git a/user.js b/user.js index 4f98273..1a160f0 100644 --- a/user.js +++ b/user.js @@ -203,6 +203,7 @@ user_pref("userChrome.rounding.square_tab", false); // user_pref("userContent.player.ui.twoline", true); // user_pref("userContent.newTab.hidden_logo", true); +// user_pref("userContent.newTab.background_image", true); // Need wallpaper image --uc-newTab-wallpaper: url("../icons/background_image.png"); // user_pref("userContent.page.proton_color.dark_blue_accent", true); // user_pref("userContent.page.proton_color.system_accent", true);