Browse Source

Improve whitelist button

For #535
pull/562/head
kkapsner 2 months ago
parent
commit
bce494e744
  1. 19
      browserAction/browserAction.css
  2. 6
      browserAction/browserAction.html
  3. 205
      icons/browserAction-CBoff.svg
  4. 205
      icons/browserAction-CBon.svg
  5. 4
      versions/updates.json

19
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 {

6
browserAction/browserAction.html

@ -7,8 +7,10 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<button id="addonStatus" class="undefined"></button>
<span id="reload" class="hidden"></span>
<div id="headerActions">
<button id="addonStatus" class="undefined"></button>
<div id="reload" class="hidden"></div>
</div>
<div id="actions" class="stackedInputs"></div>
<script src="../lib/require.js"></script>
<script src="../lib/logging.js"></script>

205
icons/browserAction-CBoff.svg
File diff suppressed because it is too large
View File

205
icons/browserAction-CBon.svg
File diff suppressed because it is too large
View File

4
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"
}
]
}

Loading…
Cancel
Save