From: Robert Kaiser Date: Mon, 22 Sep 2014 01:24:00 +0000 (+0200) Subject: take in fixes for bug 1043797, bug 1043803, and bug 1043805 to make content blocking... X-Git-Tag: EarlyBlue-2.29 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=3d1c0d3614ab440cb9e2e01aa2bada3c4fcdecdf;p=themes.git take in fixes for bug 1043797, bug 1043803, and bug 1043805 to make content blocking notifications work in 34 and newer --- diff --git a/LCARStrek/browser/mixed-content-blocked-16.png b/LCARStrek/browser/bad-content-blocked-16.png similarity index 100% rename from LCARStrek/browser/mixed-content-blocked-16.png rename to LCARStrek/browser/bad-content-blocked-16.png diff --git a/LCARStrek/browser/mixed-content-blocked-64.png b/LCARStrek/browser/bad-content-blocked-64.png similarity index 100% rename from LCARStrek/browser/mixed-content-blocked-64.png rename to LCARStrek/browser/bad-content-blocked-64.png diff --git a/LCARStrek/browser/bad-content-unblocked-16.png b/LCARStrek/browser/bad-content-unblocked-16.png new file mode 100644 index 00000000..51bbf4ab Binary files /dev/null and b/LCARStrek/browser/bad-content-unblocked-16.png differ diff --git a/LCARStrek/browser/bad-content-unblocked-64.png b/LCARStrek/browser/bad-content-unblocked-64.png new file mode 100644 index 00000000..7c54cae1 Binary files /dev/null and b/LCARStrek/browser/bad-content-unblocked-64.png differ diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 49339400..987b42e1 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -3009,8 +3009,14 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] { list-style-image: url("chrome://global/skin/icons/webapps-64.png"); } -.popup-notification-icon[popupid="mixed-content-blocked"] { - list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png"); +.popup-notification-icon[popupid="mixed-content-blocked"], +.popup-notification-icon[popupid="bad-content"] { + list-style-image: url("chrome://browser/skin/bad-content-blocked-64.png"); +} + +.popup-notification-icon[popupid="bad-content"][mixedblockdisabled], +.popup-notification-icon[popupid="bad-content"][trackingblockdisabled] { + list-style-image: url(chrome://browser/skin/bad-content-unblocked-64.png); } .popup-notification-icon[popupid="webRTC-sharingDevices"], @@ -3140,8 +3146,15 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled } .mixed-content-blocked-notification-icon, -#mixed-content-blocked-notification-icon { - list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png"); +#mixed-content-blocked-notification-icon, +.bad-content-blocked-notification-icon, +#bad-content-blocked-notification-icon { + list-style-image: url("chrome://browser/skin/bad-content-blocked-16.png"); +} + +.bad-content-unblocked-notification-icon, +#bad-content-unblocked-notification-icon { + list-style-image: url(chrome://browser/skin/bad-content-unblocked-16.png); } .webRTC-shareDevices-notification-icon, @@ -4487,6 +4500,27 @@ notification.pluginVulnerable .messageImage { /* === END plugin-doorhanger.inc.css === */ +/* === BEGIN badcontent-doorhanger.inc.css === */ + +.popup-notification-item-title[popupid="bad-content"] { + font-weight: bold; +} + +.popup-notification-item-message[popupid="bad-content"] { + width: 17em; +} + +.popup-notification-item-message-critical[popupid="bad-content"] { + color: #FF0000; + font-style: italic; +} + +.popup-notification-footer[popupid="bad-content"] { + padding-top: 1em; +} + +/* === END badcontent-doorhanger.inc.css === */ + /* === BEGIN customizeMode.inc.css === */ /* Customization mode */