mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-07 10:07:13 +02:00
Fix popup tooltips and sizing for Firefox
This commit is contained in:
parent
5ec300602a
commit
7d2fe49eb0
@ -1224,7 +1224,7 @@ vAPI.toolbarButton.onBeforeCreated = function(doc) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
new win.MutationObserver(delayedResize).observe(win.body, {
|
new win.MutationObserver(delayedResize).observe(win.document.body, {
|
||||||
attributes: true,
|
attributes: true,
|
||||||
characterData: true,
|
characterData: true,
|
||||||
subtree: true
|
subtree: true
|
||||||
|
@ -36,7 +36,8 @@ body:not(.advancedUser) [data-tip]:hover:after {
|
|||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
opacity: 0;
|
animation: tooltip 0.8s;
|
||||||
|
-webkit-animation: tooltip 0.8s;
|
||||||
}
|
}
|
||||||
[data-tip]:hover::after {
|
[data-tip]:hover::after {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@ -60,6 +61,17 @@ body[dir=rtl] [data-tip][data-tip-anchor="top"]:hover:after {
|
|||||||
right: -500%;
|
right: -500%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes tooltip {
|
||||||
|
0% { opacity: 0; }
|
||||||
|
85% { opacity: 0; }
|
||||||
|
100% { opacity: 1; }
|
||||||
|
}
|
||||||
|
@-webkit-keyframes tooltip {
|
||||||
|
0% { opacity: 0; }
|
||||||
|
85% { opacity: 0; }
|
||||||
|
100% { opacity: 1; }
|
||||||
|
}
|
||||||
|
|
||||||
.hiddenFileInput {
|
.hiddenFileInput {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
width: 0;
|
width: 0;
|
||||||
|
@ -162,7 +162,7 @@ body.dirty #refresh {
|
|||||||
body.dirty #refresh:hover {
|
body.dirty #refresh:hover {
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
#dynamicFilteringContainer {
|
#dynamicFilteringContainer {
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user