GENERAL discussion, feedback, questions belong here! (v13)
Make sure you have updated your configuration to the most recent version of this projects files and are using the latest version of the "options" required by your Firefox version >before< reporting problems!
Continued from https://github.com/Aris-t2/CustomCSSforFx/issues/3, https://github.com/Aris-t2/CustomCSSforFx/issues/41, https://github.com/Aris-t2/CustomCSSforFx/issues/88, https://github.com/Aris-t2/CustomCSSforFx/issues/109, https://github.com/Aris-t2/CustomCSSforFx/issues/133, https://github.com/Aris-t2/CustomCSSforFx/issues/163, https://github.com/Aris-t2/CustomCSSforFx/issues/189, https://github.com/Aris-t2/CustomCSSforFx/issues/211, https://github.com/Aris-t2/CustomCSSforFx/issues/241, https://github.com/Aris-t2/CustomCSSforFx/issues/273, https://github.com/Aris-t2/CustomCSSforFx/issues/308 and https://github.com/Aris-t2/CustomCSSforFx/issues/368.
Instead of opening new "issues" for general talk we can use this area for discussions, feedback and questions. Open new "issues" for real bugs and problems.
Custom JS scripts to restore more classic features https://github.com/Aris-t2/CustomJSforFx
Things this project will not target/recreate
- a CTR like plugin/application to generate ready-to-use CSS
- curved tabs (thanks those are finally gone!)
- old complete themes
Things not possible with CSS
- more toolbars like add-on/status bar (CSS can not create new toolbars)
- displaying full sized status popup below window content is possible
- bookmarks toolbar at windows bottom is possible (simulated addon-bar)
- new buttons (CSS can not create new buttons)
- additional menuitems (CSS can not create new items)
- custom/new/different functions for buttons/menuitems/menus
- activity indicator (see 'custom JS scripts')
- preference/options window
- additional location bar
- favicon in location bars identity box (see 'custom JS scripts')
- moving menubar items to a different toolbar
- restart button (see 'custom JS scripts')
- ... many more
Classic squared tabs do not provide an container indicator (on purpose)
Why is that, if I may ask? The code I found works as far as I can see.
#tabbrowser-tabs .tab-context-line {display: none;} /* 2px container line */
#tabbrowser-tabs .tab-background {border-bottom: solid 2px var(--identity-icon-color) !important;} /* 2px highlight line for active tab */
@Aris-t2
Try this for toolbar buttons and new-tab tab icons:
#TabsToolbar toolbarbutton .toolbarbutton-icon {
fill: red !important;
}
That works, thank you :)
But because the "tab_background_text" also sets the new-tab brackground hover color, it is too bright when I uninstall the addon. But it would be really good if I didn't have to use it because it causes a couple of other problems.
custom_tab_color_settings.css
#TabsToolbar #tabbrowser-tabs :-moz-any(.tabs-newtab-button,#tabs-newtab-button):hover {
background: #363953 !important;}
Doesn’t work properly bc some white transparent thing is overlaying it and I don't know how that can be colored or removed. The position, offset, etc. are not important, it will have a very low contrast and not really be visible like in fx88.
Not very important, but maybe you know how to recolor this 1px border. It's darker than in fx88. I've tried a few classes and ids but nothing happens. In themes it is called "toolbar_bottom_separator".

One question came up, since reading the new 4.x compatibility. Using FF78.12.xESR, I wonder how does ESR fit into this release scheme? Is using latest ESR with 4.x safe because I use only 78.* compatible settings in custom_css_for_fx_v3.3.1 right now, (TabsBelowContent "/* - Fx 74+ Windows/Linux"). Which version setting should I use in ESR, on 4.x?
Sounds dumb, but I am only a user with limited knowledge.
@nicolaasjan Container tabs did not exist back then, when "classic squared tabs" were the "current tabs" used by Firefox. You also see an container indicator inside location bar, so I never bothered adding a line for classic squared tabs. Your code works fine. I might add something like that in a future update as a separate option.
@jack-ii
Replace the content of custom_tab_color_settings.css with this an report how it is working:
css
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/
/* color names, hexcodes, rgb(a) and hsl(a) and gradients can be used */
:root {
--default_tabs_bg_selected: linear-gradient(to bottom,#FF8800,#FFCC99);
--default_tabs_toolbar_background: linear-gradient(to bottom,#FFCC99,#FFCC99);
--default_tabs_bg_default: linear-gradient(to bottom,#FFCC99,#CCCCCC);
--default_tabs_bg_hovered: linear-gradient(to bottom,#FF9900,#FF6600);
--default_tabs_bg_unloaded: linear-gradient(to bottom,#FFCC99,#CCCCCC);
--default_tabs_bg_newtab: linear-gradient(to bottom,#FFCC99,#CCCCCC);
--default_tabs_bg_newtab_hovered: linear-gradient(to bottom,#FF9900,#FF6600);
}
/* selected tab ****************************/
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab[selected] .tab-content {
background: var(--default_tabs_bg_selected) !important;
}
/* background color on toolbars */
/*#main-window #navigator-toolbox toolbar:not(#TabsToolbar):not(#toolbar-menubar) {
background: var(--default_tabs_toolbar_background) !important;
}*/
/* background color for 'tabs below navigation toolbar' option */
/*#main-window #navigator-toolbox #TabsToolbar {
background: var(--default_tabs_toolbar_background) !important;
}*/
/* default tab *****************************/
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-content {
background: var(--default_tabs_bg_default) !important;
}
/* hovered tab ****************************/
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab:hover:not([selected]) .tab-content {
background: var(--default_tabs_bg_hovered) !important;
}
/* unloaded/pending tab ********************/
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab[pending] .tab-content {
background: var(--default_tabs_bg_unloaded) !important;
}
/* new tab *********************************/
#TabsToolbar #tabbrowser-tabs #tabs-newtab-button .toolbarbutton-icon {
background: unset !important;
}
#TabsToolbar #tabbrowser-tabs #tabs-newtab-button {
background: var(--default_tabs_bg_newtab) !important;
}
/* hovered new tab *************************/
#TabsToolbar #tabbrowser-tabs #tabs-newtab-button:hover {
background: var(--default_tabs_bg_newtab_hovered) !important;
}
Firefox uses this rule to color navigator toolboxes bottom border. Replace the color with your own.
#navigator-toolbox {
border-bottom: 1px solid var(--chrome-content-separator-color);
}
@WDenda v4 is also for ESR, but ESR 91.
https://ftp.mozilla.org/pub/firefox/candidates/91.0-candidates/
https://ftp.mozilla.org/pub/firefox/candidates/91.0esr-candidates/
@Aris-t2 Yes remove :-moz-any solves the problem. Now everything is okay so far and I can update my Fox, thank you very much for your great work!
@Aris-t2 v4 is also for ESR, but ESR 91.
https://ftp.mozilla.org/pub/firefox/candidates/91.0-candidates/
https://ftp.mozilla.org/pub/firefox/candidates/91.0esr-candidates/
Ok, I thank you very much for this answer and your further going work. When FF_ESR 91 arrives here, I'll upgrade my v3.3.1/2 to 4.x, and everything is fine.
91/91esr will be officially released tomorrow: https://wiki.mozilla.org/Release_Management/Calendar
They are even already inside "release" area on Mozillas server:
https://ftp.mozilla.org/pub/firefox/releases/91.0/
https://ftp.mozilla.org/pub/firefox/releases/91.0esr/
Hello how can I make this window have square corners instead of rounded corners?

Yellow star button on favicon is not showing up on Fx89+ when ./css/locationbar/starbutton_alternative_icon_v2.css is active.
.urlbarView-row[type="bookmark"] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-type-icon {
fill: var(--toolbarbutton-icon-fill-attention);
}
seems to be the culprit and adding the following to my_userChrome.css fixed the issue on my end.
.urlbarView .urlbarView-row[type=bookmark] > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-type-icon {
fill: #ffd100 !important;
}

@import "./css/locationbar/megabar_expanding_breakout_disabled.css";
@import "./css/tabs/tabs_below_navigation_toolbar_default_tabs.css";
@import "./css/tabs/tabs_container_indicator_for_classic_squared_tabs.css";
#editBookmarkPanelImage, #editBookmarkPanelFaviconContainer {
display: none !important;
}
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#urlbar .urlbar-history-dropmarker {
display: none !important;
}
#page-action-buttons #pageActionButton {
display: none !important;
}
#PanelUI-menu-button {
display: none !important;
}
menupopup.textbox-contextmenu :-moz-any(menu,menuitem),
popupset > menupopup :-moz-any(menu,menuitem),
popupset >*:not(menupopup) menupopup :-moz-any(menu,menuitem),
toolbarbutton:not(#bookmarks-menu-button):not(#alltabs-button):not(.bookmark-item) menupopup :-moz-any(menu,menuitem),
#PlacesToolbar :-moz-any(menu,menuitem),
#main-menubar menupopup :-moz-any(menu,menuitem),
#sourceeditor-context :-moz-any(menu,menuitem) {
-moz-appearance: none !important;
color: black !important;
background: #f2f2f2 !important;
}
menupopup.textbox-contextmenu :-moz-any(menu,menuitem)[_moz-menuactive="true"],
popupset > menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"]:not([id^="BMB"]),
popupset > menupopup menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"]:not([id^="BMB"]),
popupset >*:not(menupopup) menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"],
toolbarbutton:not(#bookmarks-menu-button):not(#alltabs-button):not(.bookmark-item) menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"],
#PlacesToolbar :-moz-any(menu,menuitem)[_moz-menuactive="true"],
#main-menubar menupopup :-moz-any(menu,menuitem)[_moz-menuactive="true"],
#sourceeditor-context :-moz-any(menu,menuitem)[_moz-menuactive="true"] {
-moz-appearance: none !important;
background-color:LightSkyBlue !important;
/* font-weight: bold !important;*/
color:black!important;
}
menuseparator {
-moz-appearance: none !important;
border-top: solid 1px #d7d7d7 !important;
margin: 0px 0px 0px 0px !important;
}
menupopup > menuitem, menupopup > menu {
padding-block: 2px !important;
}
#tabbrowser-tabs {
--tab-min-height: 22px !important;
}
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {
padding-bottom: 30px !important;
}
Proton is disabled. Now how could I get rid of the tiny black bar between the tab-row and the viewport with the grey website? It is about 1px in size and part of the Firefox-UI. Any wizard here who can spare me just a moment of their time? Please.
@Marvinoo
.dialogBox {
border-radius: 0 !important;
}
@Jee-Hex This will be fixed on next update.
@vaporwave9 Remove the line using this:
#navigator-toolbox {
border-bottom: 0px !important;
}
or change color using this:
#navigator-toolbox {
border-bottom: 1px solid grey !important;
}
@Aris-t2 Thank you Zen master of CSS! I am off to a good run with ESR 91. At least 1 year of peace now thanks to v4.0.1pre1 🙏
Hi Aris,
For the 90.0.2, Mac, with Proton fully enabled, had location bar and separate search bar outlines mostly resolved using the following, found by chance elsewhere: (Note: haven't found a way to transpose the first CSS to Search Bar. Although for some reason, this happened anyway in the 90.0.2. Btw, not seeing anything for this in the 4.0.1pre1.)
#urlbar-background {
border-width: 1px !important;
border-radius: 1px !important;
}
/*remove URL bar shadow*/
#urlbar-background, #searchbar {
box-shadow: none !important;
}
However, now with the 91ESR (using the 90.0.2 Profile, updated) no black outline on either URL bar or Search bar until hover. Clicking outside both fields shows no outline at all - they both just "float." Clicking inside either does produce blue outline.
I'm wondering if you might be able to suggest something that produces the previous behavior with the 90.0.2. Or ideally, the way these fields appear in the 78.12ESR before the arrival of Proton, where there is a black outline without hover, and blue outline with same 1px appears stronger on clicking inside on both fields.
91ESR click outside no outline/floats

78.12 click outside black outline shows

91ESR click inside/focus/blue border

78.12 click inside/in focus/blue border

91.0 using version 4.0.0 now and option "@import "./css/generalui/context_bfrsb_labels_with_icons.css"; /**/" seems to have a bug now where the icon size next to back, forward, refresh etc is about 1/4 the size of text. This was working fine in FF 90.0/4.0pre10 and I looked at the files but can't figure whats changed.
Edit: Ok, I figured out iwhat messes with context menu icon size when you enable "@import "./css/generalui/popup_compact_menus.css"; /**/"
Edit2 Seems to be something in this section. #context-navigation :is(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) { padding: 2px !important; margin-inline-start: -6px !important; height: 16px !important; }
The best I could do is this #context-navigation :-moz-any(#context-back,#context-forward,#context-reload,#context-stop,#context-bookmarkpage) { padding: 0 !important; margin-inline-start: -6px !important;
} but still has little to much padding, I just don't know how to fix it.
I have the following code for a thin border around the urlbar and the seachbar, which worked in Fx 90, but now in Fx 91 the urlbar has a thick border again...
The searchbar is OK.
4.0.1pre2.
#urlbar-background, #searchbar {
border-width: 1px !important;
/* border-radius: 1px !important; */
}
#urlbar-background, #searchbar {
box-shadow: none !important;
}


@nicolaasjan
This should override browsers default code:
#urlbar-background, #searchbar {
border-width: 1px !important;
}
#urlbar[focused="true"] > #urlbar-background,
#urlbar[open] > #urlbar-background,
#searchbar:focus-within {
box-shadow: unset !important;
}
That did the trick. Thanks!
Hi Aris,
Mac
For the URL bar/Search bar outline issue, as described here https://github.com/Aris-t2/CustomCSSforFx/issues/404#issuecomment-895404927
I have now tried your latest:
#urlbar-background, #searchbar {
border-width: 1px !important;
}
#urlbar[focused="true"] > #urlbar-background,
#urlbar[open] > #urlbar-background,
#searchbar:focus-within {
box-shadow: unset !important;
}
and what I had been using
#urlbar-background {
border-width: 1px !important;
border-radius: 1px !important;
}
/*remove URL bar shadow*/
#urlbar-background, #searchbar {
box-shadow: none !important;
}
But the issue persists. Both fields float without any border until hovering or clicking.
Would appreciate a suggestion to restore the thin black outline, which had been present in the 90.0.2 prior to updating to the 91ESR. You can see the thin black outline I'm referring to in the screenshot "78.12 click outside black outline shows" in my post above.
Thanks
Screenshot both fields just float with no border at all:

@9jkh
Current 4.0.1pre builds offer this by default (urlbar_restore_visible_border.css):
#urlbar:not([focused="true"]) #urlbar-background,
#urlbar[open="true"] #urlbar-background,
#urlbar[focused="true"][open="true"] #urlbar-background,
#searchbar:not(:focus-within) {
border: 1px solid var(--chrome-content-separator-color) !important;
}
I did not test this on macOS yet.
Edit (4.0.1pre3 - default setup - only enabled appbutton_in_titlebar_macOS_fix.css)
