1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-27 19:30:09 -07:00

Updated button styles

This commit is contained in:
Andrew Van Tassel 2020-01-10 13:39:49 -07:00
parent 084327f8a6
commit 5830023fb5
5 changed files with 26 additions and 15 deletions

View File

@ -60,7 +60,7 @@ var mailHopsDisplay =
});
this.mailhopsDataPaneHops.addEventListener("click", function () {
this.classList.toggle('active');
this.parentElement.classList.toggle('active');
if(mailHopsDisplay.resultDetails.style.display !== 'block')
mailHopsDisplay.resultDetails.style.display = 'block';
else

View File

@ -8,7 +8,7 @@ var mailHops = {
msgURI: null,
isLoaded: false,
options: {
'version':'MailHops Plugin 3.7.5',
'version':'MailHops Plugin 3.7.6',
'lan':'en',
'unit':'mi',
'api_http':'https://',

View File

@ -29,9 +29,15 @@
<toolbarbutton id="mailhopsDataPaneHops" label="&mailhops_hops;" class="toolbarbutton"></toolbarbutton>
<vbox id="mailhopsDataPaneDetails"></vbox>
</hbox>
<toolbarbutton id="mailhopsDataPaneRefresh" label="&mailhops_route_nav_refresh_label;" class="toolbarbutton"></toolbarbutton>
<toolbarseparator />
<hbox id="mailhopsRefreshBox">
<toolbarbutton id="mailhopsDataPaneRefresh" label="&mailhops_route_nav_refresh_label;" class="toolbarbutton"></toolbarbutton>
</hbox>
<toolbarseparator />
<hbox id="mailhopsUnsubscribeBox">
<toolbarbutton id="mailhopsUnsubscribe" label="&mailhops_unsubscribe;" class="toolbarbutton"></toolbarbutton>
</hbox>
<toolbarseparator />
<label id="mailhopsDataPaneMailer" class="auth-item" is="text-link" value="" tooltiptext="Mailer"></label>
<label id="mailhopsDataPaneSPF" class="auth-item" value="" tooltiptext="SPF"></label>
@ -39,9 +45,7 @@
<label id="mailhopsDataPaneDKIM" class="auth-item" value="" tooltiptext="DKIM"></label>
<label id="mailhopsDataPaneDNSBL" class="bar-link auth-item" value="" tooltiptext="DNSBL"></label>
<label id="mailhopsUnsubscribe" class="bar-link unsubscribe" value="&mailhops_unsubscribe;"></label>
</hbox>
</hbox>
</notification>

View File

@ -131,18 +131,25 @@
margin-left: 22px;
}
#mailhopsNoficationBox toolbarseparator {
appearance: none;
-moz-appearance: none;
margin: 3px 0px 3px 0px!important;
}
#mailhopsNoficationBox .toolbarbutton {
font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;
margin: 0 .25em 0 0;
padding: 0px 9px 9px 9px;
width: 75px;
font-weight: 400;
font-weight: 400;
padding: 0 4px 0 4px;
margin: unset!important;
color: #777!important;
cursor: pointer;
}
#mailhopsNoficationBox .toolbarbutton:hover,
#mailhopsNoficationBox .toolbarbutton.active {
#mailhopsNoficationBox #mailhopsHopsBox:hover,
#mailhopsNoficationBox #mailhopsRefreshBox:hover,
#mailhopsNoficationBox #mailhopsUnsubscribeBox:hover,
#mailhopsNoficationBox #mailhopsHopsBox.active {
color: #333;
background-color: #e5e5e5;
border-radius: 10px;

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"version": "3.7.5",
"version": "3.7.6",
"author": "Hopsware LLC",
"developer": {
"name": "Andrew Van Tassel",