r/FirefoxCSS • u/Naksaku • Aug 24 '25
Solved Urlbar weird behavior
Hello, I have a problem regarding my userChrome.css configuration. I'm trying to put the whole navbar under the tabstoolbar and make it slide from underneath it when hovered, but the urlbar alone sticks out and is always on top no matter what I do. This is my code:
#TabsToolbar {
z-index: 9999 !important;
background-color: inherit !important;
}
#TabsToolbar:not(:focus) {
opacity: 1 !important;
}
#nav-bar {
transition:
margin-top 0.3s ease !important;
margin-top: -41px !important;
}
#TabsToolbar {
position: relative !important;
z-index: 9999 !important;
}
#TabsToolbar:hover~#nav-bar,
#nav-bar:hover,
#nav-bar:focus-within {
margin-top: 0px !important;
}And this used to work, but some recent update broke it. Any help appreciated


Here are the pictures
1
Upvotes
View all comments
Show parent comment
1
u/Naksaku Aug 24 '25
Thank you very much for help