diff --git a/browser/base/content/abouthome/aboutHome.css b/browser/base/content/abouthome/aboutHome.css index c1ef3a4..48e1a16 100644 --- a/browser/base/content/abouthome/aboutHome.css +++ b/browser/base/content/abouthome/aboutHome.css @@ -343,26 +343,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: .5; transition: opacity 150ms; } -#aboutMozilla:hover { +#aboutGNU:hover { opacity: 1; } -#aboutMozilla::before { - content: url("chrome://browser/content/abouthome/mozilla.png"); +#aboutGNU::before { + content: url("chrome://browser/content/abouthome/gnu_headshadow.png"); display: block; position: absolute; top: 12px; right: 12px; - width: 69px; - height: 19px; + 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] @@ -435,9 +455,5 @@ body[narrow] #restorePreviousSession::before { transform: scale(-0.5, 0.5) translateX(24px); transform-origin: top center; } - - #aboutMozilla::before { - content: url("chrome://browser/content/abouthome/mozilla@2x.png"); - } } diff --git a/browser/base/content/abouthome/aboutHome.js b/browser/base/content/abouthome/aboutHome.js index 8943165..cd2efd8 100644 --- a/browser/base/content/abouthome/aboutHome.js +++ b/browser/base/content/abouthome/aboutHome.js @@ -9,17 +9,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 655f64b..6dd78e5 100644 --- a/browser/base/content/abouthome/aboutHome.xhtml +++ b/browser/base/content/abouthome/aboutHome.xhtml @@ -49,10 +49,6 @@