I have over time messed up my navigation/URL bar region with adding/deducting code to make adjustments. I have these selectors in my userChrome.css file.
#nav-bar
#urlbar-container
#urlbar-iput-container
urlbar > #urlbar-background
#urlbar-input
#urlbar
And a few labels like this:
--urlbar-toolbar-height
Is there a diagram of what is the outermost field and work the way inward with selector names?
help with Navigation/URL bar selectors
- BruceAWittmeier
- Posts: 3076
- Joined: June 9th, 2008, 10:53 am
- Location: Near 37.501685 -80.147967
help with Navigation/URL bar selectors
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.
-
- Posts: 322
- Joined: April 16th, 2014, 8:54 pm
- Location: Colorado
Re: help with Navigation/URL bar selectors
Sounds like time to start over. Seriously, the urlbar code itself changes and gets more complicated as new features are added, so no static "diagram" would suffice. Just use Browser Toolbox to find each element you (still) want to restyle; it shows the area on screen, and the structure of the code. You can also find some useful information here:
https://www.userchrome.org/megabar-styl ... s-bar.html
https://www.userchrome.org/megabar-styl ... s-bar.html
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: help with Navigation/URL bar selectors
Try to familiarize you with the Browser Toolbox.
https://firefox-source-docs.mozilla.org ... er_toolbox
https://firefox-source-docs.mozilla.org ... er_toolbox
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: help with Navigation/URL bar selectors
Maybe use the searchfox.org site as well as the Browser Toolbox.
In order:
#nav-bar
#urlbar-container
#urlbar
#urlbar-background
#urlbar-input-container
#urlbar-input
Reference
http://searchfox.org/mozilla-release/se ... egexp=true
In order:
#nav-bar
#urlbar-container
#urlbar
#urlbar-background
#urlbar-input-container
#urlbar-input
Reference
http://searchfox.org/mozilla-release/se ... egexp=true
- BruceAWittmeier
- Posts: 3076
- Joined: June 9th, 2008, 10:53 am
- Location: Near 37.501685 -80.147967
Re: help with Navigation/URL bar selectors
Thank you both for the links. They will be useful.
I often take a long windy road to my destination. Upon arrival, I wonder how I missed the shortcut.