From 218b6b41ecc8014bfecf6d3485e266ad07eaba6d Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Sun, 16 Dec 2018 22:48:20 -0600 Subject: [PATCH] Add applies to config modal --- js/prefs.js | 3 +- manage.html | 350 +++++++++++++++++++++++++-------------- manage/manage-actions.js | 98 +++++++++-- manage/manage-ui.js | 29 ++-- manage/manage.css | 36 ++-- 5 files changed, 349 insertions(+), 167 deletions(-) diff --git a/js/prefs.js b/js/prefs.js index 9bfd780b..b98dd1fe 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -27,8 +27,7 @@ self.prefs = self.INJECTED === 1 ? self.prefs : (() => { 'manage.onlyEnabled.invert': false, // display only disabled styles 'manage.onlyLocal.invert': false, // display only externally installed styles 'manage.onlyUsercss.invert': false, // display only non-usercss (standard) styles - // the new compact layout doesn't look good on Android yet - 'manage.newUI': !navigator.appVersion.includes('Android'), + 'manage.newUI.favicons': false, // show favicons for the sites in applies-to 'manage.newUI.faviconsGray': true, // gray out favicons 'manage.newUI.targets': 3, // max number of applies-to targets visible: 0 = none diff --git a/manage.html b/manage.html index bd37bb71..66b0e1c6 100644 --- a/manage.html +++ b/manage.html @@ -67,22 +67,22 @@ - - + + @@ -142,6 +142,7 @@ @@ -227,34 +228,62 @@
- + + + + + + + + + + + + - + - + - + - + - + @@ -266,12 +295,99 @@
@@ -411,12 +447,21 @@
- - + + +
-
+
+ + + +
@@ -426,15 +471,40 @@ - - - - - -
+ + +