r/FirefoxCSS • u/Skyyblaze • 8h ago
Solved How do I target the [focused] state of the URL-Bar properly?
I'm using 153.5.0 ESR and I changed the border-radius of the URL-Bar to 5px with:
.urlbar-input-container {
border-radius: 5px !important;
}
and that worked, however the blue glow when the URL-Bar is selected still has the default border radius making it look wrong.
I tried to do this:
.urlbar-input-container[focused] {
border-radius: 5px !important;
}
but it didn't work. How do you properly target focused state in the Inspector? When I click something in the UI while the inspector is active the code jumps around and I can't seem to properly use the Element Selector Tool on items that have an active or focused state. Is there a trick to that?
Thanks for help in advance!
