1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 04:40:20 +01:00

Improve whitelist button

For #535
This commit is contained in:
kkapsner 2021-06-13 21:08:28 +02:00
parent 87646a152a
commit bce494e744
5 changed files with 259 additions and 180 deletions

View File

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

View File

@ -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>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

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