Replaced unicode glyphs missing on some platforms and in the Tor Browser.

This commit is contained in:
hackademix 2018-07-20 16:19:49 +02:00
parent b1e4791d0a
commit 9382bbd911
4 changed files with 12 additions and 7 deletions

View File

@ -101,7 +101,7 @@ var PlaceHolder = (() => {
button.className = replacement.className;
button.setAttribute("aria-label", button.title = _("Close"));
button.value = "close";
button.textContent = "🗙";
button.textContent = "×";
let description = inner.appendChild(createHTMLElement("span"));
description.textContent = `${TYPE}@${this.origin}`;

View File

@ -45,8 +45,9 @@ a.__NoScript_PlaceHolder__ > span {
right: 0;
display: block;
color: #800;
font-size: 16px;
font-size: 24px;
font-family: sans-serif;
font-weight: bold;
padding: 0 4px;
margin: 0;
background: none;

View File

@ -86,9 +86,12 @@ body {
}
.reveal {
#top .hider .reveal {
display: block;
padding: .3em;
font-size: 1.2em;
font-weight: bold;
padding: 0;
text-align: center;
margin: 0;
}
@ -126,7 +129,8 @@ body {
position: absolute;
left: .2em;
top: 0;
font-size: 1em;
font-size: 1.5em;
font-weight: bold;
z-index: 100;
vertical-align: middle;
padding: .2em;

View File

@ -19,9 +19,9 @@
<a aria-role="button" id="reload" class="reload icon">__MSG_Reload__</a>
<a aria-role="button" id="options" class="options icon">__MSG_Options__</a>
<div class="hider">
<a aria-role="button" class="reveal" title="__MSG_Reveal__">🡆</a>
<a aria-role="button" class="reveal" title="__MSG_Reveal__"></a>
<div class="hider-label">__MSG_Hider__</div>
<button class="hider-close">🗙</button>
<button class="hider-close">×</button>
</div>
<div class="spacer"></div>
<a aria-role="button" id="enforce" class="toggle icon"></a>