From 9382bbd9112b48676e3c308921e0285f632f9126 Mon Sep 17 00:00:00 2001 From: hackademix Date: Fri, 20 Jul 2018 16:19:49 +0200 Subject: Replaced unicode glyphs missing on some platforms and in the Tor Browser. --- src/content/PlaceHolder.js | 2 +- src/content/content.css | 3 ++- src/ui/popup.css | 10 +++++++--- src/ui/popup.html | 4 ++-- 4 files changed, 12 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index ce579c2..d8c422b 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -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}`; diff --git a/src/content/content.css b/src/content/content.css index 015fb2d..596da6d 100644 --- a/src/content/content.css +++ b/src/content/content.css @@ -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; diff --git a/src/ui/popup.css b/src/ui/popup.css index f8b31e2..ad5e3d0 100644 --- a/src/ui/popup.css +++ b/src/ui/popup.css @@ -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; diff --git a/src/ui/popup.html b/src/ui/popup.html index d4bab21..d988429 100644 --- a/src/ui/popup.html +++ b/src/ui/popup.html @@ -19,9 +19,9 @@ __MSG_Reload__ __MSG_Options__
-- cgit v1.2.3