From 856d0c991c097eff35ed098a1e30992c0f57165a Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 19 Jun 2018 19:44:40 +0200 Subject: Issue #517 Part 1: Import newtab page from Basilisk (sans directory service provider module) --- application/palemoon/app/profile/palemoon.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'application/palemoon/app/profile') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index 38559888b..b7622caa5 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1056,11 +1056,18 @@ pref("browser.newtabpage.enabled", true); // XXX: Remove this when "enhanced" tiles are dead pref("browser.newtabpage.enhanced", false); +// enables showing basic placeholders for missing thumbnails +pref("browser.newtabpage.thumbnailPlaceholder", false); + +pref("browser.newtabpage.compact", false); + +pref("privacy.usercontext.about_newtab_segregation.enabled", false); + // number of columns of newtab grid pref("browser.newtabpage.columns", 4); // number of rows of newtab grid -pref("browser.newtabpage.rows", 4); +pref("browser.newtabpage.rows", 3); // Enable the DOM fullscreen API. pref("full-screen-api.enabled", true); -- cgit v1.2.3 From c850e5ab026ef275d451bf122d6f81e4b0bf6a90 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Wed, 20 Jun 2018 17:46:33 +0200 Subject: Issue #517 Part 3b: Remove compact style pref --- application/palemoon/app/profile/palemoon.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'application/palemoon/app/profile') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index b7622caa5..dc4d79ac4 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1059,8 +1059,6 @@ pref("browser.newtabpage.enhanced", false); // enables showing basic placeholders for missing thumbnails pref("browser.newtabpage.thumbnailPlaceholder", false); -pref("browser.newtabpage.compact", false); - pref("privacy.usercontext.about_newtab_segregation.enabled", false); // number of columns of newtab grid -- cgit v1.2.3 From 072b81e0a5d4ea4dedc9ae98632a49b7cb4c24ef Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 21 Jun 2018 11:32:13 +0200 Subject: Issue #517 Part 6: Restyle for Pale Moon. This splits out common rules for different OSes to themes/shared and applies new styling to the newtab page. --- application/palemoon/app/profile/palemoon.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'application/palemoon/app/profile') diff --git a/application/palemoon/app/profile/palemoon.js b/application/palemoon/app/profile/palemoon.js index dc4d79ac4..1894a30f2 100644 --- a/application/palemoon/app/profile/palemoon.js +++ b/application/palemoon/app/profile/palemoon.js @@ -1122,6 +1122,12 @@ pref("browser.padlock.urlbar_background", 2); //Pale Moon standalone image background color pref("browser.display.standalone_images.background_color", "#2E3B41"); +// These are the thumbnail width/height set in about:newtab. +// If you change this, ENSURE IT IS THE SAME SIZE SET +// by about:newtab. These values are in CSS pixels. +pref("toolkit.pageThumbs.minWidth", 250); +pref("toolkit.pageThumbs.minHeight", 180); + // ****************** domain-specific UAs ****************** // AMO needs "Firefox", obviously - pass on the OS (determined at build time) -- cgit v1.2.3