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.
This commit is contained in:
Anri Dellal 2021-05-21 13:36:14 +03:00 committed by Oliver Smith
parent 4f2204fdd7
commit 185b3be0b6
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -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;
}
}
}