Fix: AutoHide - Adjust interaction area #501

This commit is contained in:
alstjr7375 2022-11-04 02:55:46 +09:00
parent b4b9e295a3
commit aff13a5984
2 changed files with 14 additions and 11 deletions

View file

@ -7841,10 +7841,15 @@
or -moz-bool-pref("userChrome.autohide.infobar") {
#navigator-toolbox {
position: relative;
}
#navigator-toolbox:is(:hover, :focus-within) {
z-index: 2;
}
#navigator-toolbox:is(:hover, :focus-within) #PersonalToolbar {
z-index: -1;
}
#navigator-toolbox:not(:hover) {
#navigator-toolbox:not(:hover):not(:focus-within) {
animation: 1s keepfront;
}
@ -7856,10 +7861,6 @@
z-index: 3;
}
}
#PersonalToolbar {
z-index: -1;
}
#sidebar-box:is(:hover, :focus-within) {
position: relative;
z-index: 2 !important;

View file

@ -31,9 +31,15 @@
@include Option("userChrome.autohide.tabbar", "userChrome.autohide.navbar", "userChrome.autohide.bookmarkbar", "userChrome.autohide.infobar") {
#navigator-toolbox {
position: relative;
z-index: 2;
&:is(:hover, :focus-within) {
z-index: 2;
#PersonalToolbar {
z-index: -1;
}
}
}
#navigator-toolbox:not(:hover) {
#navigator-toolbox:not(:hover):not(:focus-within) {
animation: 1s keepfront;
}
@keyframes keepfront {
@ -45,10 +51,6 @@
}
}
#PersonalToolbar {
z-index: -1;
}
#sidebar-box:is(:hover, :focus-within) {
position: relative;
z-index: 2 !important;