Use :has selector to let toolbars show if appMenu popup is hovered
This requires :has selector support which should be in fx 120
This commit is contained in:
@@ -36,15 +36,18 @@ See the above repository for updates as well as full license text. */
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* #mainPopupSet:hover ~ toolbox, */
|
||||
/* Uncomment the above line to make toolbar visible if some popup is hovered */
|
||||
#navigator-toolbox:hover,
|
||||
#navigator-toolbox:focus-within{
|
||||
transition-delay: 33ms !important;
|
||||
transform: rotateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
/* This ruleset is separate, because not having :has support breaks other selectors as well */
|
||||
#mainPopupSet:has(> #appMenu-popup:hover) ~ toolbox{
|
||||
transition-delay: 33ms !important;
|
||||
transform: rotateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#navigator-toolbox > *{ line-height: normal; pointer-events: auto }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user