znood
2018-12-17 19:44:37 +08:00
userChrome.css 自动隐藏那个图标
/* Hide info icon for sites that don't have permissions */
#urlbar :not(.grantedPermissions) #identity-icon {
transition: 300ms !important; /* Animate icon hiding */
opacity: 0 !important; /* Make icons transparent */
-moz-margin-end: -1.1em !important; /* Hide icons by offsetting them */
}
/* Show info icon on navbar hover, except for new tab page search icon */
#urlbar[pageproxystate="valid"]:hover #identity-icon {
transition: 300ms !important; /* Animate icon showing */
opacity: 1 !important; /* Make icons opaque */
-moz-margin-end: initial !important; /* Use initial margins to show icons */
}