Add: Activity Stream - Background Image

This commit is contained in:
alstjr7375 2023-02-27 17:15:28 +09:00
parent 2b6424e9d4
commit f15d12193b
3 changed files with 22 additions and 0 deletions

View file

@ -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") {

View file

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

View file

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