Bug 1290017 - Override hover state for non-gray permission icons. r?florian draft
authorJohann Hofmann <jhofmann@mozilla.com>
Thu, 28 Jul 2016 11:34:56 +0200
changeset 393770 96edcb580be5f19bdc32972fb591f4c755e08124
parent 393484 db3ed1fdbbeaf5ab1e8fe454780146e7499be3db
child 526673 95d7b5308fcda851f25dd3ac66bacb4c30d385e9
push id24418
push usermail@johann-hofmann.com
push dateThu, 28 Jul 2016 15:04:27 +0000
reviewersflorian
bugs1290017
milestone50.0a1
Bug 1290017 - Override hover state for non-gray permission icons. r?florian MozReview-Commit-ID: DBtZgOvdAvI
browser/themes/shared/notification-icons.inc.css
--- a/browser/themes/shared/notification-icons.inc.css
+++ b/browser/themes/shared/notification-icons.inc.css
@@ -36,17 +36,17 @@
 }
 
 .popup-notification-icon {
   width: 64px;
   height: 64px;
   margin-inline-end: 10px;
 }
 
-#notification-popup-box > .notification-anchor-icon:hover {
+#notification-popup-box > .notification-anchor-icon:not(.in-use):hover {
   fill: #606060;
 }
 
 /* INDIVIDUAL NOTIFICATIONS */
 
 /* For the moment we apply the color filter only on the icons listed here.
    The first two selectors are used by socialchat.xml (bug 1275558). */
 .webRTC-sharingDevices-notification-icon,
@@ -269,17 +269,17 @@
 /* PLUGINS */
 
 .plugin-icon {
   list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin);
 }
 
 .plugin-icon.plugin-blocked {
   list-style-image: url(chrome://browser/skin/notification-icons.svg#plugin-blocked);
-  fill: #d92215;
+  fill: #d92215 !important; /* important! to override the default hover color */
 }
 
 #notification-popup-box[hidden] {
   /* Override display:none to make the pluginBlockedNotification animation work
      when showing the notification repeatedly. */
   display: -moz-box;
   visibility: collapse;
 }