fix css, modified text of open in open default

This commit is contained in:
Matteo Manzinello
2019-05-17 10:31:42 +02:00
parent 5f820d1ffc
commit ae33ab4419
6 changed files with 19 additions and 7 deletions

View File

@@ -90,6 +90,7 @@
.mailgo-modal-content a.mailgo-copy {
padding: 16px 10px;
font-size: 16px;
}
.mailgo-modal-content a.mailgo-default:hover,

View File

@@ -126,8 +126,12 @@ const mailgoInit = () => {
open.href = "#mailgo-open";
open.classList.add("mailgo-open");
open.classList.add("mailgo-default");
open.classList.add("mailgo-weight-500");
let openContent = document.createTextNode("open");
let openSpan = document.createElement("span");
openSpan.className = "mailgo-weight-500";
let openSpanContent = document.createTextNode("open");
openSpan.appendChild(openSpanContent);
let openContent = document.createTextNode(" default");
open.appendChild(openSpan);
open.appendChild(openContent);
modalContent.appendChild(open);
@@ -148,6 +152,7 @@ const mailgoInit = () => {
by.href = "https://mailgo.js.org";
by.className = "mailgo-by";
by.target = "_blank";
by.rel = "noopener noreferrer";
let textBy = document.createTextNode("mailgo.js.org");
by.appendChild(textBy);