1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-17 06:40:08 -07:00

Added preferences logo hover styles

Removed unused container
This commit is contained in:
Andrew Van Tassel 2017-01-15 12:03:08 -07:00
parent f74087a09b
commit 8a7e3c5389
2 changed files with 10 additions and 4 deletions

View File

@ -3,7 +3,6 @@ var mailHopsDisplay =
resultBox: null, resultBox: null,
resultText: null, resultText: null,
resultDetails: null, resultDetails: null,
container: null,
mailhopsDataPaneSPF: null, mailhopsDataPaneSPF: null,
mailhopsDataPaneDKIM: null, mailhopsDataPaneDKIM: null,
mailhopsDataPaneMailer: null, mailhopsDataPaneMailer: null,
@ -17,7 +16,6 @@ var mailHopsDisplay =
this.options = options; this.options = options;
this.mhBox = document.getElementById("mailhopsNoficationBox"); this.mhBox = document.getElementById("mailhopsNoficationBox");
this.container = document.getElementById("mailhopsBox");
this.resultBox = document.getElementById("mailhopsResult"); this.resultBox = document.getElementById("mailhopsResult");
this.resultText = document.getElementById("mailhopsResultText"); this.resultText = document.getElementById("mailhopsResultText");
this.mailhopsResultWeather = document.getElementById("mailhopsResultWeather"); this.mailhopsResultWeather = document.getElementById("mailhopsResultWeather");
@ -184,8 +182,6 @@ var mailHopsDisplay =
}, },
error: function(status,data){ error: function(status,data){
this.container.removeAttribute("route");
if(data && data.error){ if(data && data.error){
this.resultText.setAttribute('value', status+': '+data.error.message); this.resultText.setAttribute('value', status+': '+data.error.message);
this.resultText.setAttribute('tooltiptext',data.error.message); this.resultText.setAttribute('tooltiptext',data.error.message);

View File

@ -68,3 +68,13 @@
#mailhopsNoficationBox .unsubscribe { #mailhopsNoficationBox .unsubscribe {
color: #CCC; color: #CCC;
} }
#mailhopsNoficationBox #mailhopsLogo {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
}
#mailhopsNoficationBox #mailhopsLogo:hover {
-webkit-filter: none;
filter: none;
}