Activity Stream - Update default background image.

Use original SVGs and add appropriate credit to Mozilla.
This commit is contained in:
Alex Kontos 2023-09-13 09:16:48 +01:00
parent 2998e21838
commit c28a5284f1
No known key found for this signature in database
GPG key ID: F6CE6A3DECC11A70
5 changed files with 299 additions and 6 deletions

10
CREDITS
View file

@ -163,11 +163,6 @@ W: https://github.com/thunderstone135
---------- ----------
Reference Projects & Resources Reference Projects & Resources
N: BEST-WALLPAPER.NET
W: https://best-wallpaper.net/
C: Copyright (c) 2011-2022 best-wallpaper.net
L: Unspecified License
N: Compact Mode Firefox Css N: Compact Mode Firefox Css
W: https://github.com/Godiesc/compactmodefirefoxcss W: https://github.com/Godiesc/compactmodefirefoxcss
C: Copyright (c) 2021 Godiesc C: Copyright (c) 2021 Godiesc
@ -218,6 +213,11 @@ W: https://github.com/muckSponge/MaterialFox
C: Copyright (c) 2018 muckSponge C: Copyright (c) 2018 muckSponge
L: MIT L: MIT
N: Mozilla Foundation
W: https://mozilla.org
C: Copyright (c) 19982023 The Mozilla Foundation
L: Creative Commons Attribution Share-Alike 3.0 Unported
N: Multi-Account-Containers N: Multi-Account-Containers
W: https://github.com/mozilla/multi-account-containers W: https://github.com/mozilla/multi-account-containers
C: Copyright (c) 19982021 The Mozilla Foundation C: Copyright (c) 19982021 The Mozilla Foundation

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

114
icons/horizon-night.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 69 KiB

172
icons/horizon-sunrise.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 96 KiB

View file

@ -222,11 +222,18 @@
@include Option("userContent.newTab.background_image") { @include Option("userContent.newTab.background_image") {
body { body {
// https://best-wallpaper.net/Forest-trees-sunset-art-picture_wallpapers.html // https://best-wallpaper.net/Forest-trees-sunset-art-picture_wallpapers.html
background-image: var(--uc-newTab-wallpaper, url("../icons/Forest-trees-sunset-art-picture_3840x2160.jpg")); background-image: var(--uc-newTab-wallpaper, url("../icons/horizon-sunrise.svg"));
background-size: cover; /* or auto auto */ background-size: cover; /* or auto auto */
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: right top; background-position: right top;
background-attachment: fixed; background-attachment: fixed;
} }
/** Use night sky version in dark mode ************************************/
@include Dark {
body {
background-image: var(--uc-newTab-wallpaper, url("../icons/horizon-night.svg"));
}
}
} }
} }