From bce494e7444996e8ca3853623bedced329e2a114 Mon Sep 17 00:00:00 2001 From: kkapsner Date: Sun, 13 Jun 2021 21:08:28 +0200 Subject: [PATCH] Improve whitelist button For #535 --- browserAction/browserAction.css | 19 ++- browserAction/browserAction.html | 6 +- icons/browserAction-CBoff.svg | 205 ++++++++++++++++++------------- icons/browserAction-CBon.svg | 205 ++++++++++++++++++------------- versions/updates.json | 4 + 5 files changed, 259 insertions(+), 180 deletions(-) diff --git a/browserAction/browserAction.css b/browserAction/browserAction.css index c38ec98..b868e59 100644 --- a/browserAction/browserAction.css +++ b/browserAction/browserAction.css @@ -21,7 +21,15 @@ div { padding-left: calc(0.5em + 19px + 0.25em); } +#headerActions { + display: grid; + grid-template-columns: 0.5fr 50px 0.5fr; + grid-template-rows: auto; +} + #addonStatus { + grid-row: 1 / 2; + grid-column: 2 / 3; border: none; display: block; margin: 5px auto; @@ -45,18 +53,17 @@ div { } #reload { + grid-row: 1 / 2; + grid-column: 3 / 4; cursor: pointer; - vertical-align: text-bottom; height: 19px; width: 19px; - margin-right: 0.25em; + align-self: center; + justify-self: left; + margin-left: 1em; background-color: currentColor; mask-size: 100%; - display: inline-block; mask-image: url(../icons/browserAction-reload.svg); - position: absolute; - top: calc(5px + 0.5em); - right: 0.5em; } #reload.hidden { diff --git a/browserAction/browserAction.html b/browserAction/browserAction.html index ba17a17..1b42a33 100644 --- a/browserAction/browserAction.html +++ b/browserAction/browserAction.html @@ -7,8 +7,10 @@ - - +
+ + +
diff --git a/icons/browserAction-CBoff.svg b/icons/browserAction-CBoff.svg index b225c1b..07d8bc0 100644 --- a/icons/browserAction-CBoff.svg +++ b/icons/browserAction-CBoff.svg @@ -1,91 +1,122 @@ - + - - - - - - - + + + - - - - - - - + + + + + + + - - - - + + + + + + + diff --git a/icons/browserAction-CBon.svg b/icons/browserAction-CBon.svg index 7242d04..7bd659c 100644 --- a/icons/browserAction-CBon.svg +++ b/icons/browserAction-CBon.svg @@ -1,89 +1,124 @@ - + - - - - - - - + + + - - - - - - - + + + + + + + - - - - + + + + + + + diff --git a/versions/updates.json b/versions/updates.json index 018b6ec..4d6471f 100644 --- a/versions/updates.json +++ b/versions/updates.json @@ -189,6 +189,10 @@ { "version": "1.6Alpha20210611", "update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-1.6Alpha20210611-an+fx.xpi" + }, + { + "version": "1.6Alpha20210613", + "update_link": "https://canvasblocker.kkapsner.de/versions/canvasblocker_beta-1.6Alpha20210613-an+fx.xpi" } ] }