Customize style with userChrome.css
Hint
Each profile requires a separate userChrome.css copy.
Prerequisites
Profile customization style sheet support must be enabled:
Type about:config into address bar and confirm (accept risk, when asked)
Type toolkit.legacyUserProfileCustomizations.stylesheet into search field
Set the resulting entry value to true and restart the browser
Steps
Open Firefox.
Type about:profiles into search bar and confirm.
For each profile open the Root directory.
Within there, create a new directory called chrome.
Within ./chrome, create a new file called UserChrome.css and open it.
Add or change the content of UserChrome.css.
Save the file and restart Firefox to apply changes.
Get Firefox style elements
Important
Use a clean profile without extensions as those (e.g. uBlock) may break functions of the browser toolbox.
In case you need to inspect elements from pop-up elements (e.g. app menu), open the setting (three dots button in the top right) and check Disable Popup Auto-Hide.
Get your browser into the state in which you have access your desired element.
Select the element picker (top left button) and select the browser element.
On the right side, select the Rules tab to the see all CSS rules applicable to your element.
Edit the rules freely to your needs.
Save the changed or new rules to your
userChrome.cssfile. Make sure to mark them all as!importantto prevent the rules from being overwritten by the browser.Restart the browser using the respective profile to check the result.