From df3cb1b0515f06a5a3f99acb05ca55d43373a52a Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Mon, 10 Aug 2020 13:43:24 +0200 Subject: [PATCH] popups.css: new file --- src/userChrome/popups.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/userChrome/popups.css diff --git a/src/userChrome/popups.css b/src/userChrome/popups.css new file mode 100644 index 0000000..ecfa38b --- /dev/null +++ b/src/userChrome/popups.css @@ -0,0 +1,31 @@ +/* Copyright 2020 Oliver Smith + SPDX-License-Identifier: GPL-3.0-or-later */ + +/* Popup notifications (install add-on etc.): set max-width, remove icon and + * make font smaller so it fits the box */ +.popup-notification-body-container { + max-width: 170px; +} +.popup-notification-icon { + display: none; +} +.popup-notification-body { + font-size: 8pt; +} + +/* "Site information" (displayed when clicking the lock icon) + * Making everything so small doesn't look terribly nice, but least it fits the + * popup and everything is clickable. */ +#identity-popup-multiView .panel-viewcontainer { + font-size: 4pt; +} +#identity-popup-clear-sitedata-footer, +#identity-popup-more-info-footer { + font-size: 7pt; +} + +/* "Protections" (displayed when clicking the shield icon) + * Same reasoning for small font, as for identity-popup above. */ +#protections-popup-mainView { + font-size: 4pt; +}