diff --git a/browser/base/content/abouthome/aboutHome.css b/browser/base/content/abouthome/aboutHome.css index c0b02e257..dc726d41a 100644 --- a/browser/base/content/abouthome/aboutHome.css +++ b/browser/base/content/abouthome/aboutHome.css @@ -354,26 +354,46 @@ body[narrow] #restorePreviousSession::before { width: 32px; } -#aboutMozilla { +#aboutGNU { display: block; - position: relative; /* pin wordmark to edge of document, not of viewport */ -moz-box-ordinal-group: 0; opacity: .2; transition: opacity 150ms; } -#aboutMozilla:hover { +#aboutGNU:hover { opacity: .6; } -#aboutMozilla::before { - content: url("chrome://browser/content/abouthome/mozilla.svg"); +#aboutGNU::before { + content: url("chrome://browser/content/abouthome/gnu_headshadow.png"); display: block; position: absolute; top: 12px; right: 12px; - width: 70px; - height: 20px; + width: 200px; + height: 110px; +} + +#aboutDRMfree { + display: block; + -moz-box-ordinal-group: 0; + opacity: .5; + transition: opacity 150ms; +} + +#aboutDRMfree:hover { + opacity: 1; +} + +#aboutDRMfree::before { + content: url("chrome://browser/content/abouthome/drm-free.png"); + display: block; + position: absolute; + top: 12px; + left: 12px; + width: 120px; + height: 120px; } /* [HiDPI] diff --git a/browser/base/content/abouthome/aboutHome.js b/browser/base/content/abouthome/aboutHome.js index 50f3e01cd..5df008555 100644 --- a/browser/base/content/abouthome/aboutHome.js +++ b/browser/base/content/abouthome/aboutHome.js @@ -11,17 +11,13 @@ // * add a for it in aboutHome.xhtml // * add an entry here in the proper ordering (based on spans) // The part of the snippet will be linked to the corresponding url. -const DEFAULT_SNIPPETS_URLS = [ - "https://www.mozilla.org/firefox/features/?utm_source=snippet&utm_medium=snippet&utm_campaign=default+feature+snippet" -, "https://addons.mozilla.org/firefox/?utm_source=snippet&utm_medium=snippet&utm_campaign=addons" -]; +const DEFAULT_SNIPPETS_URLS = [ "" ]; -const SNIPPETS_UPDATE_INTERVAL_MS = 14400000; // 4 hours. +const SNIPPETS_UPDATE_INTERVAL_MS = 86400000; // 1 Day. // IndexedDB storage constants. const DATABASE_NAME = "abouthome"; const DATABASE_VERSION = 1; -const DATABASE_STORAGE = "persistent"; const SNIPPETS_OBJECTSTORE_NAME = "snippets"; var searchText; diff --git a/browser/base/content/abouthome/aboutHome.xhtml b/browser/base/content/abouthome/aboutHome.xhtml index c288e732e..6d14ee773 100644 --- a/browser/base/content/abouthome/aboutHome.xhtml +++ b/browser/base/content/abouthome/aboutHome.xhtml @@ -48,10 +48,6 @@