userChrome/popups.css: rework (MR 19)

Finally get rid of the tiny fonts hack. With the current config, we only
need an offset.
This commit is contained in:
Oliver Smith 2021-12-05 07:39:37 +01:00
parent ab46ecdf00
commit 6bbf387f58
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -13,32 +13,11 @@
bottom: 100px;
}
/* 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: 4pt;
}
/* "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;
/* Now that the navbar is at the bottom, we need to set an offset to have
* the notifications (like the one for installing addons) displayed
* on-screen. */
#notification-popup {
margin-left: -200px !important;
margin-top: -500px !important;
}
}