Bug 1301851 - Fix the message icons for plugin notifications. r=florian
authorJohann Hofmann <jhofmann@mozilla.com>
Tue, 13 Sep 2016 15:05:49 +0200
changeset 313663 26af4399208de016343c799b0dcacc5a732a8d08
parent 313662 533af0114689f1ee9cd34711b2d0f5e92fa20652
child 313664 7ba36633092ec91c05451a10322732628658a8b7
push id30695
push userryanvm@gmail.com
push dateWed, 14 Sep 2016 00:45:02 +0000
treeherdermozilla-central@82d0a583a9a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian
bugs1301851
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1301851 - Fix the message icons for plugin notifications. r=florian MozReview-Commit-ID: 4Ymlr6ZpuBZ
browser/themes/shared/plugin-doorhanger.inc.css
--- a/browser/themes/shared/plugin-doorhanger.inc.css
+++ b/browser/themes/shared/plugin-doorhanger.inc.css
@@ -45,22 +45,25 @@
 }
 
 .click-to-play-plugins-notification-link,
 .center-item-link {
   margin: 0;
 }
 
 .messageImage[value="plugin-hidden"] {
-  list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
-  -moz-image-region: rect(0, 16px, 16px, 0);
+  list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
+  filter: url(chrome://browser/skin/filters.svg#fill);
+  fill: currentColor;
 }
 
 /* Keep any changes to this style in sync with pluginProblem.css */
 notification.pluginVulnerable {
   background-color: rgb(72,72,72);
   background-image: url(chrome://mozapps/skin/plugins/contentPluginStripe.png);
   color: white;
 }
 
 notification.pluginVulnerable .messageImage {
-  list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
+  list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
+  filter: url(chrome://browser/skin/filters.svg#fill);
+  fill: #d92215;
 }