Skip to content

Instantly share code, notes, and snippets.

@narqo
Last active August 21, 2021 20:59
Show Gist options
  • Save narqo/10d6b9af87e5c9e8216c9217ab6762c5 to your computer and use it in GitHub Desktop.
Save narqo/10d6b9af87e5c9e8216c9217ab6762c5 to your computer and use it in GitHub Desktop.
Make Firefox UI ~great~ different
/**
* For available xHTML tags and classes, refer to
* https://searchfox.org/mozilla-central/source/browser/base/content/navigator-toolbox.inc.xhtml
* https://searchfox.org/mozilla-central/source/browser/base/content/browser.css
* Links
* https://raymii.org/s/blog/Firefox-89-proton-ui-tab-styling.html
*/
#TabsToolbar > .toolbar-items {
//opacity: 0;
//pointer-events: none;
margin-left: 760px;
margin-right: 10px;
position: relative;
z-index: 10;
}
#alltabs-button {
display: none !important;
}
#scrollbutton-up,
#scrollbutton-down {
display: none !important;
opacity: 0 !important;
pointer-events: none !important;
}
#main-window #nav-bar {
margin-top: -36px;
}
#main-window #nav-bar-customization-target {
margin-left: 65px;
max-width: 728px;
}
:root:not([inFullscreen]) .titlebar-spacer[type="post-tabs"] {
display: none !important;
}
:root[inFullscreen] #nav-bar-customization-target {
max-width: 720px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment