mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
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:
parent
ab46ecdf00
commit
6bbf387f58
1 changed files with 6 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue