1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-10 23:28:51 +01:00
CanvasBlocker/browserAction/browserAction.css

71 lines
1.2 KiB
CSS
Raw Normal View History

2018-07-29 21:43:40 +02:00
body {
padding: 0.5em;
margin: 0;
2018-07-29 21:43:40 +02:00
}
div {
display: block;
}
.action .icon {
2018-07-31 14:17:39 +02:00
vertical-align: text-bottom;
height: 19px;
width: 19px;
2018-07-29 21:43:40 +02:00
margin-right: 0.25em;
background-color: currentColor;
mask-size: 100%;
display: inline-block;
}
.action.search {
padding-left: calc(0.5em + 19px + 0.25em);
}
2021-06-13 21:08:28 +02:00
#headerActions {
display: grid;
grid-template-columns: 0.5fr 50px 0.5fr;
grid-template-rows: auto;
}
#addonStatus {
2021-06-13 21:08:28 +02:00
grid-row: 1 / 2;
grid-column: 2 / 3;
border: none;
display: block;
margin: 5px auto;
width: 40px;
min-width: 0;
height: 40px;
background: none;
background-position: 50%;
background-size: 100%;
cursor: pointer;
}
#addonStatus.unknown {
background-image: radial-gradient(black, rgba(0, 0, 0, 0), transparent);;
}
#addonStatus.off {
background-image: url(../icons/browserAction-CBoff.svg);
}
#addonStatus.on {
background-image: url(../icons/browserAction-CBon.svg);
}
#reload {
2021-06-13 21:08:28 +02:00
grid-row: 1 / 2;
grid-column: 3 / 4;
cursor: pointer;
height: 19px;
width: 19px;
2021-06-13 21:08:28 +02:00
align-self: center;
justify-self: left;
margin-left: 1em;
background-color: currentColor;
mask-size: 100%;
mask-image: url(../icons/browserAction-reload.svg);
}
#reload.hidden {
display: none;
2018-07-29 21:43:40 +02:00
}