From 185b3be0b64f07544a40fd593fb6f33268d911e0 Mon Sep 17 00:00:00 2001 From: Anri Dellal Date: Fri, 21 May 2021 13:36:14 +0300 Subject: [PATCH] Change about:preferences style (MR 10) - Remove policy container as it is misleading and not required to access policy preferences (see https://gitlab.com/postmarketOS/mobile-config-firefox/-/merge_requests/10#note_581408851 for more details); - Move search bar to the left; - Hide Firefox Mobile ad in #sync; - Hide Sync illustration on small screens. --- src/userContent/preferences.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/userContent/preferences.css diff --git a/src/userContent/preferences.css b/src/userContent/preferences.css new file mode 100644 index 0000000..70df5de --- /dev/null +++ b/src/userContent/preferences.css @@ -0,0 +1,23 @@ +/* Copyright 2021 Anri Dellal + SPDX-License-Identifier: GPL-3.0-or-later */ + +@-moz-document regexp("about:preferences.*") { + .sticky-container { + display: flex; + } + + #policies-container { + display: none; + } + + /* #sync page */ + .fxaMobilePromo { + display: none; + } + + @media (max-width: 700px) { + .fxaSyncIllustration { + display: none; + } + } +}