r/FirefoxCSS • u/goose_with_adhd • 10h ago
Code how to restore firefox's old design without about:config
r/FirefoxCSS • u/sifferedd • Jan 02 '26
r/FirefoxCSS • u/goose_with_adhd • 10h ago
r/FirefoxCSS • u/TemperatureEven518 • 1d ago
i have made a Github page if people want to make there firefox look older but want it to stay firefox
r/FirefoxCSS • u/KaleidoscopeStill123 • 20h ago
I'm trying to install FF Ultima Version 5.0 Beta theme on my Mac with Firefox. I cant figure out how to use the setup wizard. I download it and its not a zip file. It opens in text editor. How do I run the setup wizard? Is it supposed to be opened in terminal?
Any help would be appreciated.
r/FirefoxCSS • u/homededro • 16h ago
Before one of the recent updates I had:
.tabbrowser-tab:not([pinned]) .tab-close-button {display: none !important;}
.tabbrowser-tab:not([pinned]):hover .tab-close-button {display: flex !important;}
Now it doesn't seem to work. Now the close button will only show if I click on the tab for like a split second.
Thanks.
r/FirefoxCSS • u/Highbrowsheet44 • 23h ago
Does anyone know how to center tabs so that they are all in the middle of the screen rather than left, i saw a 4 year old post and tried to copy it but it doesnt seem to have done anything..
r/FirefoxCSS • u/Jay33721 • 1d ago
/* ==========================================================
Combine Nav Bar and Tabs Bar
========================================================== */
#navigator-toolbox {
display: grid !important;
grid-template-columns: minmax(0, 35vw) minmax(0, 1fr) !important;
}
#nav-bar,
#nav-bar-customization-target,
#TabsToolbar {
min-width: 0 !important;
}
#urlbar-container {
flex-shrink: 1 !important;
min-width: 0 !important;
}
#nav-bar {
grid-column: 1 !important;
grid-row: 1 !important;
border-top: none !important;
padding-block: 0 !important;
height: 32px !important;
min-height: 32px !important;
max-height: 32px !important;
:root[uidensity="compact"] & {
height: 30px !important;
min-height: 30px !important;
max-height: 30px !important;
}
}
#TabsToolbar {
grid-column: 2 !important;
grid-row: 1 !important;
padding-block: 0 !important;
align-items: center !important;
height: 32px !important;
min-height: 32px !important;
max-height: 32px !important;
:root[uidensity="compact"] & {
height: 30px !important;
min-height: 30px !important;
max-height: 30px !important;
}
}
/* ==========================================================
Move Menu Button To The Left
========================================================== */
#PanelUI-button {
order: -999 !important;
margin-inline-start: 0 !important;
}
#nav-bar-customization-target {
& > :is(toolbarbutton, toolbaritem):first-child,
& > toolbarpaletteitem:first-child > :is(toolbarbutton, toolbaritem) {
padding-inline-start: 0px !important;
}
}
/* ==========================================================
Compact Bar Height
========================================================== */
:root {
--toolbarbutton-padding-inner-compact: 4px !important;
--toolbarbutton-padding-inner-narrow: 4px !important;
}
toolbarbutton {
:root[uidensity="compact"] & {
padding-block: 0 !important;
max-height: 40px !important;
}
}
.tab-content {
:root[uidensity="compact"] & {
padding-block: 0 !important;
}
}
#tabbrowser-tabs,
.tabbrowser-tab,
.tab-stack {
min-height: 28px !important;
:root[uidensity="compact"] & {
min-height: 26px !important;
}
}
.tab-background {
height: 28px !important;
min-height: 28px !important;
max-height: 28px !important;
:root[uidensity="compact"] & {
height: 26px !important;
min-height: 26px !important;
max-height: 26px !important;
}
}
.tabbrowser-tab[fadein]:not([style^="max-width"]) {
max-width: 10vw !important;
}
#urlbar {
:root[uidensity="compact"] & {
--urlbar-height: 26px !important;
}
}
/* ==========================================================
Minimalism Stuff
========================================================== */
/* Remove Search Switcher */
.searchmode-switcher {
visibility: collapse !important;
}
/* Hide Extension Name in the identity area unless hovered for half a second (updated for Fx80) */
#identity-box.extensionPage #identity-icon-labels,
#identity-box.extensionPage #identity-icon-label {
visibility: collapse !important;
transition: visibility 250ms ease-in-out;
}
#identity-box.extensionPage:hover #identity-icon-labels,
#identity-box.extensionPage:hover #identity-icon-label {
visibility: visible !important;
transition: visibility 250ms ease-in-out 500ms;
}
/* Hide Back and Forward buttons when disabled */
#back-button[disabled="true"],
#forward-button[disabled="true"] {
display: none !important;
}
/* ==========================================================
System Buttons Fix
========================================================== */
.titlebar-buttonbox-container {
margin-left: 21px !important;
height: 100% !important;
}
.titlebar-spacer {
display: none !important;
}
.titlebar-button {
padding-right: 10px !important;
padding-left: 10px !important;
}
/* ==========================================================
Some Fancy Tab Stuff
========================================================== */
.tabbrowser-tab:not([selected]) .tab-icon-image,
.tabbrowser-tab:not([selected]) .tab-text,
.tabbrowser-tab:not([selected]) .tab-throbber[busy] {
opacity: 0.5 !important;
}
.tabbrowser-tab:hover .tab-icon-image,
.tabbrowser-tab:hover .tab-text {
opacity: 1.0 !important;
}
.tabbrowser-tab .tab-close-button {
visibility: hidden !important;
}
.tabbrowser-tab:hover .tab-close-button {
visibility: visible !important;
}
/* ==========================================================
Remove White Line
========================================================== */
.browserContainer {
border: 0px !important;
}
/* ==========================================================
Theme Tweaks
========================================================== */
:root {
--toolbarbutton-icon-fill-attention: var(--toolbarbutton-icon-fill) !important;
--tab-background-color-hover: transparent !important;
--toolbar-background-color: var(--toolbox-background-color) !important;
--toolbox-background-color-inactive: var(--toolbox-background-color) !important;
--urlbarview-background-color-selected: var(--tab-background-color-selected) !important;
--tab-border-color-selected: transparent !important;
--tab-background-color-selected: var(--button-background-color-ghost-hover) !important;
--panel-border-radius: var(--border-radius-large) !important;
--panel-menuitem-border-radius: var(--border-radius-large) !important;
}
.urlbar .urlbar-background {
--urlbar-background-border-focused: var(--toolbox-background-color) !important;
--urlbar-background-border: var(--toolbox-background-color) !important;
--urlbar-background-color: var(--toolbox-background-color) !important;
--urlbar-background-color-focus: var(--toolbox-background-color) !important;
}
.urlbarView-background {
background-color: var(--toolbox-background-color) !important;
}
/* Remove tab bar background */
:root:not([theme-image-in-toolbox]) body, :root[theme-image-in-toolbox] #navigator-toolbox {
background-image: none !important;
}
/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 7px !important;
--border-radius-small: 7px !important;
--border-radius-medium: 7px !important;
--border-radius-large: 7px !important;
--border-radius-xlarge: 7px !important;
--urlbar-inner-border-radius: 7px !important;
}r/FirefoxCSS • u/Farbyelegy • 1d ago
Huge shoutout to all the contributors who made this happen! We've rolled out version 2 of the FirefoxCSS Store and it’s looking great. You can check it out at this link: https://firefoxcss-store.github.io/.
I really appreciate all the support and enthusiasm you've shown for this project. I’m excited to see what new themes and features we can add moving forward. This update is all for you!
r/FirefoxCSS • u/TemperatureEven518 • 1d ago
r/FirefoxCSS • u/torbulits • 2d ago
ty to the code wizards
r/FirefoxCSS • u/CopyApprehensive3488 • 3d ago
I really liked Helium browser's minimal and modern theme but I didnt want to leave firefox so I built this.
My starting idea was to copy Helium's theme 1:1 but then I decided to add my own twists and add a few things from my past firefox themes. I implemented clean tab switching, popup and fullscreen animations plus a few small QOL things like a cleaned up extension tray and some refreshed icons.
This theme is still in it's first stages so you can expect some issues here and there so pls help me out and report them. I would also love to hear honest feedback.
You can try out the theme here with its one line install script: Argon for firefox
Note: I highly recommend you use the theme in addition of my own firefox compact addon that was built to be universal but has custom features specifically for Argon
r/FirefoxCSS • u/Sleepysheepish • 3d ago
I mean the lines circled here. I've tried the options found in this thread, which turned the red line around the URL bar blue but didn't affect the vertical sidebar at all.
I'd previously hid them by disabling Nova, but apparently that's not going to be an option soon :(
r/FirefoxCSS • u/Big_Leave804 • 5d ago
r/FirefoxCSS • u/SuperJibs_ • 7d ago
A faithful CSS theme and icon pack that restores Firefox's classic Proton interface and iconography on modern Firefox builds where the Nova redesign is enabled by default.
Github : https://github.com/JibsouX/firefox-proton-anti-nova-theme
r/FirefoxCSS • u/coccosoids • 8d ago
r/FirefoxCSS • u/Para_Boo • 9d ago
The worst part about the new native Nova theme IMO is the emphasis on rounded borders and pills and the overall much more spacious design: worse, the new Proton theme for Nova only changes the colours back and otherwise still uses all of Nova's geometry. With `browser.nova.enabled = false` being removed soon, I took matters into my own hands and set up my userChrome to restore Proton's geometry. The attached image is the new Proton theme for Nova (so this is *with* `browser.nova.enabled = true`), but with restored geometry. I sourced all CSS (except for the three lines for `#TabsToolBar`) by digging through the old Proton stylesheets, so for the most part the geometry is identical to Proton's rather than just an approximation.
I also made some cosmetic changes at the bottom of the stylesheet. The two interesting ones are:
restore the old native Proton behaviour of the url-bar's border where it will disappear once the results pop up (as native Proton used to do, and as every other browser still does it), and explicitly set the accent colors because any non-Nova theme now inherits these from the OS, which is particularly annoying for Linux users that don't use a full Desktop Environment.
The other two cosmetic changes I made are specifically for Nova, and remove the gradient around the selected tab as well as the gray border around the url-bar. I wanted to try out what Nova looked like with Proton geometry, and I must say with these cosmetic changes to declutter the toolbar it looks much better than Nova with its default geometry IMO. I'm actually considering running with this now instead of the Proton for Nova theme.
Anyway, I figured people here would appreciate if I shared my userChrome:
Note that I've set the accent colors to Nova's purple, but you can use the commented out code below to set it to Proton's blue.
:root {
/* Border radii. Most borders in the ui eventually inherit from these one way or another. */
--border-radius-xsmall: 2px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 4px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 8px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 16px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: var(--border-radius-medium) !important; /* Nova Default: 24px, [Undefined in Proton, but everything that uses it in Nova used border-radius-medium in Proton] */
/* Border radius of items in most menus. Nova Default: xlarge, Proton Default: small. */
--panel-menuitem-border-radius: var(--border-radius-small) !important;
/* Tab Bar Geometry */
--tab-border-radius: var(--border-radius-medium) !important;
--tab-min-height: 36px !important;
--tab-block-margin: 4px !important;
#TabsToolbar {
/* Hacky approximation of Proton spacing between tabbar and urlbar. */
margin-top: -2px !important;
margin-bottom: -3px !important;
z-index: 2 !important;
}
/*
Nova: "Remove" the gradient around the active tab by making it the same color as the rest of the tab.
Gotta do it like this because outright removing it and/or setting a border color shows clipping artifacts.
*/
--tab-border-color-accent: linear-gradient(var(--tab-background-color-selected), var(--tab-background-color-selected)) !important;
/* Url Bar Geometry */
--urlbar-height: max(32px, 1.4em) !important;
--urlbar-input-container-padding: round(up, 1px, 1.0px) !important; /* Proton default: round(up, 1px, env(hairline)), but env(hairline) does not resolve in userChrome.css */
--urlbar-basic-component-size: calc(var(--urlbar-height) - 2 * (var(--urlbar-input-container-border-width) + var(--urlbar-input-container-padding))) !important;
--urlbar-inner-border-radius: calc(var(--urlbar-border-radius) - 1px) !important;
--urlbar-border-radius: var(--button-border-radius) !important;
--urlbarview-margin-block: 0px !important;
--urlbarview-margin-inline: 7px !important;
--urlbar-background-overhang-open: 0px !important; /* Computed urlbarview-margin block and inline in Proton */
.urlbar {
--urlbar-background-border: var(--urlbar-input-container-border-width) solid var(--toolbar-field-border-color) !important;
--urlbar-background-border-open: var(--urlbar-input-container-border-width) solid var(--panel-border-color) !important;
--urlbar-background-border-focused: var(--urlbar-background-border) !important;
--urlbar-background-box-shadow-open: 0 2px 14px var(--chrome-box-shadow) !important;
--urlbar-background-outline-focused: var(--focus-outline-width) solid var(--toolbar-field-border-color-focus) !important;
--urlbar-input-container-border: var(--urlbar-input-container-border-width) solid transparent !important;
--urlbar-input-container-outline-open: none !important;
--urlbar-input-container-outline-open-focused: none !important;
--urlbar-input-container-outline-offset-open: 0px !important;
--urlbar-input-growth-open-inline: var(--urlbar-margin-inline) !important;
--urlbar-input-growth-open-block: var(--urlbar-container-padding-block) !important;
--urlbar-searchmode-switcher-panel-list-min-width: auto !important;
}
.urlbar-input {
line-height: calc(var(--urlbar-height) - 2 * var(--urlbar-input-container-border-width)) !important;
}
.urlbar-input-container {
border: var(--urlbar-input-container-border) !important;
}
.urlbar-input-container, .urlbar-background {
border-radius: var(--border-radius-medium) !important;
}
/* BELOW IS GEOMETRIC NON-GEOMTERY CSS */
/*
Restore native Proton's behaviour where the URL-Bar's focused border-color disappears
once the results overview opens. Proton implemented this by setting CSS rules for the border when
the class "suppress-focus-border" does NOT exist on the URL bar. This appears to be dynamically
added and removed as needed by Firefox; it still does this in Nova, but the CSS for Nova adds a rule
that sets the value of `border` unconditionally. So we just add an overriding rule to make the
border transparent whenever that class is on there, though it does rely on them not actually
removing this behaviour in the future...
*/
.urlbar:[focused]:is([suppress-focus-border]) {
--toolbar-field-border-color-focus: transparent !important;
}
/*
Accent colors: must be explicitly set, because since Nova every theme besides the default builtin theme
cannot actually set accent colors and just inherits them from the OS (gtk on linux). Stupid change.
https://blog.mozilla.org/addons/2026/09/29/nova-is-here-what-changes-for-your-firefox-theme/
*/
/* Nova's default purple accents (looks quite good on Proton too) */
--color-accent-attention: light-dark(var(--color-green-50), var(--color-green-20)) !important;
--color-accent-primary: light-dark(var(--color-violet-50), var(--color-violet-30)) !important;
--color-accent-primary-hover: light-dark(var(--color-violet-60), var(--color-violet-20)) !important;
--color-accent-primary-active: light-dark(var(--color-violet-70), var(--color-violet-10)) !important;
--color-accent-primary-selected: var(--button-background-color-primary-active) !important;
/* Proton's default blue accents */
/* --color-accent-attention: light-dark(var(--color-green-50), var(--color-green-20)) !important; */
/* --color-accent-primary: light-dark(var(--color-blue-60), var(--color-cyan-30)) !important; */
/* --color-accent-primary-hover: light-dark(var(--color-blue-70), var(--color-cyan-20)) !important; */
/* --color-accent-primary-active: light-dark(var(--color-blue-80), var(--color-cyan-10)) !important; */
/* --color-accent-primary-selected: light-dark(var(--color-blue-60), var(--color-cyan-30)) !important; */
/* These must be manually set as, outside Nova, they still inherit the OS accents for some reason */
--toolbarbutton-icon-fill-attention: var(--color-accent-primary) !important;
--button-text-color-primary: light-dark(var(--color-white), var(--color-gray-70)) !important;
--link-color: var(--color-accent-primary) !important;
/* Nova: Remove the small gray border around the url-bar */
.urlbar:not([focused]) {
--toolbar-field-border-color: transparent !important;
}
/*
Nova: "Remove" the gradient around the active tab by making it the same color as the rest of the tab.
Gotta do it like this because outright removing it and/or setting a border color shows clipping artifacts.
*/
--tab-border-color-accent: linear-gradient(var(--tab-background-color-selected), var(--tab-background-color-selected)) !important;
}r/FirefoxCSS • u/SuspiciousTry3 • 9d ago
A recent update brought on these ugly rounded corners on the context menu. How do remove it? I had these on my CSS script and now it doesn't work.
/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 1px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 2px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 3px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 4px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: 6px !important; /* Nova Default: 24px, [Undefined in Proton] */
}/* Nova Rounding Adjustments */
:root {
--border-radius-xsmall: 1px !important; /* Nova Default: 4px, Proton Default: 2px */
--border-radius-small: 2px !important; /* Nova Default: 8px, Proton Default: 4px */
--border-radius-medium: 3px !important; /* Nova Default: 12px, Proton Default: 8px */
--border-radius-large: 4px !important; /* Proton Default: 16px, [Undefined in Nova] */
--border-radius-xlarge: 6px !important; /* Nova Default: 24px, [Undefined in Proton] */
}r/FirefoxCSS • u/SuperJibs_ • 9d ago
A faithful CSS theme and icon pack that restores Firefox's classic Proton interface and iconography on modern Firefox builds where the Nova redesign is enabled by default.
Github : https://github.com/JibsouX/firefox-proton-anti-nova-theme
r/FirefoxCSS • u/Adryan19 • 10d ago
Hello! i'm having a problem regarding blur on Firefox. I'm using custom userChrome.css to make Firefox transparent and blur with wayfire on Arch Lxqt, all parts are transparent and blured, except sidebar and i don't know how to make it blured. Also, in Xfce with picom sidebar, with the same chrome.css is blured. Please, i need help!, Thank you!
r/FirefoxCSS • u/Acasiop • 11d ago
r/FirefoxCSS • u/sojournerx • 12d ago
Hi guys, I'm a newbie so please forgive my ignorance and sincere apologies beforehand! I'm missing the text from the settings menu, like so:
When I create a new profile with no custom css file, it appears just fine:
Could I pick your collective brains to point me in the right direction, as far as troubleshooting or where to look in my css file to correct this?? Again, I don't really know what I'm doing and installed most of this by monkey see, monkey do instructions from Aminomancer's github. Any and all help is greatly appreciated! Thank you.
https://github.com/aminomancer/uc.css.js#script-descriptions
Sorry, that's the link to the theme and scripts.