GENERAL discussion, feedback, questions belong here! (v12)
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 and https://github.com/Aris-t2/CustomCSSforFx/issues/308.
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
What do I need to do to remove blue focus outline from megabar, seen when making a new tab? It's also on the Find Bar text box, but I'm not sure if I should remove that one because it becomes red if it doesn't find anything.
@Jgr9
This is what I've been using to remove the blue focus outline on the urlbar and searchbar:
#urlbar, #searchbar { --toolbar-field-focus-border-color: #C0C0C0 }
and for the findbar:
.findbar-textbox { --focus-outline-color: #C0C0C0 }
You can change the #C0C0C0 to whatever you want. I'm using that color cause it matches my theme.
Well I'd like to get rid of it entirely, unless... I need it for Find to tell me it can't find anything.
Good day my friend, thank you for all your hard work all these years. First, I found something which may be an error. In menubar_color.css there is an extra " ) " which I bolded down. If I turn on the file from userChrome, the menubar has a solid black line over it that covers the minimize, maximize and close buttons. If I remove it, it goes back to how it is in the screenshot.
#main-window:not([style*='--lwt-header-image']):-moz-lwtheme #toolbar-menubar { background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)) !important; border: 0px !important; margin-bottom: -1px !important; }
Ironically, this is actually what I want (minus covering the buttons) but also I want it to cover the entirety of the menubar, not just a part of it like in this screenshot https://ibb.co/1vKzkm8 . I also want to remove the grey shading over the buttons and turn the text white so it matches the rest, and make sure the settings stay if I move the burger/firefox button to it. How can I do so? Thank you!
And finally I have also activated addon list colorized icons (addonlists_replace_button_labels_with_icons_fx72.css and addonlists_colorized_button_icons_fx68.css) but they look white instead of matching dark theme and there is one icon missing, shown here https://ibb.co/9qZpcTf . I tried to modify some of those css files but I never could get any icon or the background to change from white.
Leaving a comment here instead of opening a new issue because it's just a small cosmetical thing that doesn't need its thread so, after updating to FF89, disabling proton (followed the instructions in the sticky thread here) and updating some options in the CSS I still need to understand a thing: how can I get rid of the star icon at the end of the address bar? Tried to alter its settings inside the CSS but with no avail, do I need to alter other things somwhere else (like an option in about:config)?
First I want to thank you for all of the hard work you do keeping this updated :)
I have two issues, not sure if I should open a new issue for this or not.
First issue is the spacing of the bookmarks in the bookmark folder are too big now. Anyway to restore them to the way they were before?
Second issue is the Orange Menu button overlaps the tab button when browser is maximized and then has a big space between it and the tab button when browser is not maximized.
Hopefully I explained these issues properly :)
Thanks!
Not maximized

Maximized

@Jgr9
input.findbar-textbox:focus {
border: 1px solid grey !important; /* remove this, if you do not want any border */
outline: unset !important;
}
@Taiyoumaru
I don't see a typo there:
background-image: linear-gradient ( var ( --toolbar-bgcolor ) ,var ( --toolbar-bgcolor ) ) !important;
Using Win7 + AeroGlass requires you to set background color differently.
Try #navigator-toolbox { background: ... }
It looks like the pref browser.in-content.dark-mode is gone. You will have to override the "white buttons" manually through userContent.css/my_userContent.css:
addon-list[type="theme"] addon-card button[data-l10n-id="enable-addon-button"]:not(.theme-enable-button),
.more-options-menu panel-item {
background: black !important;
}
addon-list addon-card panel-list * {
background: black !important;
}
@Thalon77
#star-button-box {
display: none !important;
}
@AMGPilot
- compact_menus_proton.css should take care of this issue.
- classic tabs code removes the space added by Firefox before first tab. It is not present for default tabs. You can remove the space, using this code:
#TabsToolbar .titlebar-spacer[type="pre-tabs"],
#TabsToolbar .titlebar-spacer[type="post-tabs"] {
display: none !important;
}
Hello Aris,
The following code used to create a separator between unselected tabs.
.tabbrowser-tab:not([selected]):not([beforeselected-visible]):not([beforehovered]):not([last-visible-tab]):not(:hover)::after
{
background-image: url("TabSeparator.png");
background-position: left bottom 1px;
background-repeat: no-repeat;
background-size: 2px 100%;
opacity: 0.7 !important;
width: 2px;
}

Why shouldn't it work with Proton?
Thank you. I'd appreciate your help.
TabSeparator.

Hi @Aris-t2
You mentioned "tab_toolbar_color_proton.css" in the other thread. Isn't it possible to dig-up the Windows accent color (via userchrome.js scripts for example) from within Firefox, to be used with this, since -moz-win-glass appears to be dead. (Or even for pre-proton, as long as it exists within FF.)
@Jgr9
That fixed it! You are amazing! Thank you :)
@Taiyoumaru
I don't see a typo there: background-image: linear-gradient
(var(--toolbar-bgcolor),var(--toolbar-bgcolor))!important;Using Win7 + AeroGlass requires you to set background color differently.
Try #navigator-toolbox { background: ... }
First, overriding the white addon buttons with the custom css code you provided worked perfectly, button background is black and hover color works, thank you kindly. The icon for the details is still missing however.
Second, this is how it looks with default menubar_color.css activated: https://ibb.co/0BMK8Qd . I figured the second " ) " was an error since no other lines had one in the file and once I removed it, it looked more "normal" like in here https://ibb.co/1vKzkm8 , especially since it was covering the min/max/close buttons.
I didn't know where to put " #navigator-toolbox { background: ... } " , it didn't work when I copied it into menubar_color.css so I just stuck it into my_userChrome.css . I'm not sure why it even worked, I thought I was trying to edit the menu bar not the navigation bar. Probably something I'm misunderstanding. Now it looks like this: https://ibb.co/4sPs4H4
It is how I want it to be but the grey shading was still there and text was still black instead of white so I just commented out background-image: linear-gradient ( var ( --toolbar-bgcolor ) ,var ( --toolbar-bgcolor ) ) !important; completely and that worked.
However I still cannot get the min,max,close buttons to not be covered. End result seen here: https://ibb.co/dG7Fz0x
Sorry about the headache, I know you're probably facepalming at my patchwork solutions, I just got started with custom css two days ago and it's been very confusing.
@Jgr9
Hope this is not breaking any rules but I wanted to share this with you.
I found another .css file that changes reverts proton back to the Photon compact style.
Here is the link: https://gist.github.com/intrnl/ef2066b9b97b2b6026dab05a6011f8c0
Thank you!!
Hi. How to fix this contextmenu line, i have enable all proton settings in about:config
Hi. How to fix this contextmenu line, i have enable all proton settings in about:config
Uncomment/disable @import "./css/generalui/context_bfrsb_labels_without_icons.css"; /**/ in userChrome.css
Many thanks for bringing back the disappearing downloads button, with v3.2.2 and 3.2.3. One other minor thing I noticed that's related to this is that, on completion of a download, I used to get an animation of the download 'arrow' getting bigger or popping out towards you (I'm not describing this well!) for a second or so. This no longer happens since updating to FF89. I've checked in 'about:config' and 'browser.download.animateNotifications' is set true so they should, in theory, be present still.
@Aris-t2
input.findbar-textbox:focus { border: 1px solid grey !important; /* remove this, if you do not want any border */ outline: unset !important; }
I may keep Find Bar outline enabled since it changes color when it doesn't Find anything, I'm not sure, but what about getting rid of the Megabar focus border/outline?
@Yaron10
Short answer, the rules do not apply anymore, because not even .tabbrowser-tab::after does add anything to the tab ui.
@mzso No idea, but even if JS could restore something there, it would not help solving it the CSS way.
@Taiyoumaru You could try to overpaint existing caption button which those form lw-themes (not sure it will work on Win7):
.titlebar-button {
-moz-context-properties: unset !important;
}
.titlebar-min {
list-style-image: url(chrome://browser/skin/window-controls/minimize-themes.svg) !important;
}
.titlebar-max {
list-style-image: url(chrome://browser/skin/window-controls/maximize-themes.svg) !important;
}
.titlebar-restore {
list-style-image: url(chrome://browser/skin/window-controls/restore-themes.svg) !important;
}
.titlebar-close {
list-style-image: url(chrome://browser/skin/window-controls/close-themes.svg) !important;
}
@RafalRambo
browser.proton.enabled and browser.proton.contextmenus.enabled have both to be true or both to be false for "context_bfrsb_labels*" to work in Fx89+.
@Old-Knobby That animation is not part of Firefox 89+ anymore.
@Jgr9 I was under the impression the solution posted on the other thread did solve your issue with location bar too.
#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background {
border-color: transparent !important;
}
#searchbar:focus-within {
box-shadow: unset !important;
border-color: transparent !important;
}
Heads up: I'm not a user of the CSS tweaks here, and on the latest Nightly (91.0a1 5/6/21), it appears to be impossible to disable the new Proton tabs, with no preferences in about:config making any difference (including browser.proton.tabs.enabled.
@Aris-t2 commented on 2021. jún. 6. 22:45 CEST:
@mzso
No idea, but even if JS could restore something there, it would not help solving it the CSS way.
My thinking was, maybe it would be possible to create a global CSS variable.
@Aris-t2 You could try to overpaint existing caption button which those form lw-themes (not sure it will work on Win7):
Sadly this did not work (copied code into my_userChrome.css), however it looks like this is code for titlebar buttons. I don't use titlebar, disabled it from Ff customize toolbar options, so what happens then is that buttons move to menu bar, so maybe that's why it isn't working. I tried changing the code to menubar-button etc. but that didn't work.
I know for sure this has always been possible on Win7 since for instance if I activate the very old Yakuza Paint theme it looks like this (with my_userChrome.css disabled): https://ibb.co/7KbXRrp
Back when Classic Theme Restorer was still a thing I used to use Yakuza Paint all the time.
Basically all I'm looking for is menu, navigation, bookmark and tab toolbars to have an identical uninterrupted background (solid color for now, perhaps a picture if I want to change things up in the future)