Bug 1301851 - Fix the message icons for plugin notifications. r=florian, a=ritu
authorJohann Hofmann <jhofmann@mozilla.com>
Tue, 13 Sep 2016 15:05:49 +0200
changeset 350269 1fa0170cde4115a43d7f0c1fc7c4110071a54936
parent 350268 0a758b4f6289f29b5bda37c4e52873242e9cf669
child 350270 7b2e925d6979d30cfa8f318e700e15e007061c60
push id1230
push userjlund@mozilla.com
push dateMon, 31 Oct 2016 18:13:35 +0000
treeherdermozilla-release@5e06e3766db2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersflorian, ritu
bugs1301851
milestone50.0a2
Bug 1301851 - Fix the message icons for plugin notifications. r=florian, a=ritu 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: #808080;
 }
 
 /* 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;
 }