From 8a7e3c5389e42b1cda010f2e37b64d0bdaf7c1a8 Mon Sep 17 00:00:00 2001 From: Andrew Van Tassel Date: Sun, 15 Jan 2017 12:03:08 -0700 Subject: [PATCH] Added preferences logo hover styles Removed unused container --- chrome/content/msgNotificationBar.js | 4 ---- chrome/skin/classic/msgNotificationBar.css | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/chrome/content/msgNotificationBar.js b/chrome/content/msgNotificationBar.js index 36de566..f2a3f9c 100644 --- a/chrome/content/msgNotificationBar.js +++ b/chrome/content/msgNotificationBar.js @@ -3,7 +3,6 @@ var mailHopsDisplay = resultBox: null, resultText: null, resultDetails: null, - container: null, mailhopsDataPaneSPF: null, mailhopsDataPaneDKIM: null, mailhopsDataPaneMailer: null, @@ -17,7 +16,6 @@ var mailHopsDisplay = this.options = options; this.mhBox = document.getElementById("mailhopsNoficationBox"); - this.container = document.getElementById("mailhopsBox"); this.resultBox = document.getElementById("mailhopsResult"); this.resultText = document.getElementById("mailhopsResultText"); this.mailhopsResultWeather = document.getElementById("mailhopsResultWeather"); @@ -184,8 +182,6 @@ var mailHopsDisplay = }, error: function(status,data){ - this.container.removeAttribute("route"); - if(data && data.error){ this.resultText.setAttribute('value', status+': '+data.error.message); this.resultText.setAttribute('tooltiptext',data.error.message); diff --git a/chrome/skin/classic/msgNotificationBar.css b/chrome/skin/classic/msgNotificationBar.css index 51d2de2..62f52f3 100644 --- a/chrome/skin/classic/msgNotificationBar.css +++ b/chrome/skin/classic/msgNotificationBar.css @@ -68,3 +68,13 @@ #mailhopsNoficationBox .unsubscribe { color: #CCC; } + +#mailhopsNoficationBox #mailhopsLogo { + -webkit-filter: grayscale(100%); + filter: grayscale(100%); +} + +#mailhopsNoficationBox #mailhopsLogo:hover { + -webkit-filter: none; + filter: none; +}