johngraciliano / simplewhite

A minimal theme for Mozilla Firefox.
https://addons.mozilla.org/addon/simplewhitex/
Mozilla Public License 2.0
44 stars 4 forks source link

Test this userstyle for the effect of hidding unsigned extensions warning #6

Closed lychichem closed 3 years ago

lychichem commented 9 years ago

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url("about:addons") { .addon.addon-view[type="extension"][notification="warning"][active="true"]{background-image: none} .addon.addon-view[type="extension"][notification="warning"][active="true"] > .warning{display: none} } I want you to give review of whether it mistakenly hides plugins warning or deprecated add-on warning. And if there's nothing wrong, just publish it to userstyles.org.

lychichem commented 9 years ago

It only works on addon management page, if you click "more", you can still see the warning about extensions as before.

johngraciliano commented 9 years ago

The omission of !important makes no differences, but having the relation character > makes the difference of the warning statements showing in the extension details frame/panel (linked with more). You do not need to state the namespace. The css hides all warnings from the Extensions list in about:addons. If you publish in userstyles.org I will include the link somewhere after the theme description.

It may be best if you only remove the warning statements from the list, but leave the background to warn the user. I would simply make the line regarding the background a comment: @-moz-document url("about:addons"){ /*.addon-view[type="extension"][notification="warning"]{background-image: none;}*/ .addon-view[type="extension"]>.warning{display: none;} }

Now that you have me look at it carefully, I may want to change the icon used in the warning sign and review the background and/or text color. Yet, I will not make changes at this time.