mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-20 05:30:25 +02:00
2b34aeea5d
Signed-off-by: Leah Rowe <leah@libreboot.org>
67 lines
1.7 KiB
Diff
67 lines
1.7 KiB
Diff
From b746f4cbe29321eeca3955c6ea04cb993f5960e2 Mon Sep 17 00:00:00 2001
|
|
From: LibreWolf Developers <noreply@librewolf.net>
|
|
Date: Sun, 6 Sep 2026 10:12:32 +0100
|
|
Subject: [PATCH 46/52] ui-patches/trustpanel.patch
|
|
|
|
---
|
|
browser/themes/shared/controlcenter/panel.css | 43 +++++++++++++++++++
|
|
1 file changed, 43 insertions(+)
|
|
|
|
diff --git a/browser/themes/shared/controlcenter/panel.css b/browser/themes/shared/controlcenter/panel.css
|
|
index 7a5d6a777c54..db270a154bbd 100644
|
|
--- a/browser/themes/shared/controlcenter/panel.css
|
|
+++ b/browser/themes/shared/controlcenter/panel.css
|
|
@@ -828,6 +828,49 @@
|
|
padding-block-end: var(--space-small);
|
|
}
|
|
|
|
+/* Hide ETP description (reads like ad) */
|
|
+#trustpanel-etp-description {
|
|
+ display: none;
|
|
+}
|
|
+
|
|
+/* Hide most of graphic but show tracker count */
|
|
+#trustpanel-graphic-image,
|
|
+#trustpanel-graphic-section-text,
|
|
+#trustpanel-blocker-section > label:nth-child(2) {
|
|
+ display: none;
|
|
+}
|
|
+#trustpanel-graphic-section,
|
|
+#trustpanel-blocker-section,
|
|
+#trustpanel-toggle-section {
|
|
+ background: none !important;
|
|
+ border: none !important;
|
|
+ padding: 0 !important;
|
|
+}
|
|
+#trustpanel-toggle-section {
|
|
+ margin-bottom: 0 !important;
|
|
+}
|
|
+#trustpanel-graphic-section {
|
|
+ margin-top: 0 !important;
|
|
+}
|
|
+#trustpanel-blocker-section {
|
|
+ flex-direction: row;
|
|
+ justify-content: space-between;
|
|
+ align-items: start;
|
|
+}
|
|
+
|
|
+/* Make tracker count non-bold */
|
|
+#trustpanel-blocker-section > label:nth-child(1) {
|
|
+ font-weight: normal;
|
|
+}
|
|
+
|
|
+/* Place toggle before tracker count */
|
|
+#trustpanel-header-row {
|
|
+ order: -2;
|
|
+}
|
|
+#trustpanel-toggle-section {
|
|
+ order: -1;
|
|
+}
|
|
+
|
|
#trustpanel-header-row {
|
|
justify-content: space-between;
|
|
padding-block-start: var(--space-small);
|
|
--
|
|
2.47.3
|
|
|