1
0
mirror of https://github.com/MailHops/mailhops-plugin.git synced 2025-05-31 21:10:14 -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.mailhopsDataPaneHops.addEventListener("click", function () {
this.classList.toggle('active'); this.parentElement.classList.toggle('active');
if(mailHopsDisplay.resultDetails.style.display !== 'block') if(mailHopsDisplay.resultDetails.style.display !== 'block')
mailHopsDisplay.resultDetails.style.display = 'block'; mailHopsDisplay.resultDetails.style.display = 'block';
else else

View File

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

View File

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

View File

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

View File

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