Closed Aris-t2 closed 2 years ago
Since we were talking about compact stuff recently, I wanted to share another piece of code from my my_userChrome.css
file:
/* Hide lines with something else than the id in login popup */
#PopupAutoComplete richlistbox richlistitem div div :not(.line1-label) {
display: none !important;
}
On a site with multiple login, it get rid of that stupidly repeating "From this website" line below each login entry. Not sure what would make that line say something else, maybe a feature I don't use, but maybe that code could fit somewhere?
Ps: I thought I already shared that, but a search gave nothing. But I wonder if the github search really work that well to begin with. 🤔
Never though about removing that line, but its great we can achieve it using CSS.
About the Github search. Once a thread gets too long, entries get hidden and you have to click "Load more..." link to show them again. Search won't find the hidden stuff, so I think this is what happened to your post.
So I've been getting these kind of "popups" since I updated to Firefox 92.0, happens on sites like "Spotify, Apple, Outlook, etc.
https://i.imgur.com/P0mZtC8.png https://i.imgur.com/KcXuj4d.png
I was wondering if these can be completely hidden and removed from happening, or is this not even CSS stuff anymore?
So I've been getting these kind of "popups" since I updated to Firefox 92.0, happens on sites like "Spotify, Apple, Outlook, etc.
https://i.imgur.com/P0mZtC8.png https://i.imgur.com/KcXuj4d.png
I was wondering if these can be completely hidden and removed from happening, or is this not even CSS stuff anymore?
Do you use any kind of adblocker like ublock Origin, I would think that would take care of the second one (that seems like spam). Not sure on the DRM one.
Yes, uBlock Origin, but these don't seem to be your typical popups like from ads, more like notifications from Firefox. Like when you go and install an "Add-on" and a small pop up will occur, asking to allow or deny.
FYI, I was able to solve this with two about:config pref's.
DRM popup;
browser.eme.ui.enabled to false
Mailto popup;
network.protocol-handler.external.mailto to false
So I've been getting these kind of "popups" since I updated to Firefox 92.0, happens on sites like "Spotify, Apple, Outlook, etc.
https://i.imgur.com/P0mZtC8.png https://i.imgur.com/KcXuj4d.png
I was wondering if these can be completely hidden and removed from happening, or is this not even CSS stuff anymore?
Though you already found a solution, yes, it probably could have been hidden by CSS, if those have an id and/or other properties than can be used to target with css (see the id finding part of the readme) I myself have this:
/* Hide the "update available" popup */
#appMenu-notification-popup {
display: none !important;
}
To no longer be bothered with Firefox reminders that it can be updated. Though I haven't seen that popup for so long I can't tell for sure if my css is still working, or if the popup was just removed at some point 😛
Unless I missed - a lot, does customCSSforFx have any code to change heights of urlbar-container , urlbar-input-container & matching searchbar elements? Some of the code I tried to use as root and / or like the example below. Since this isn't a feature of CustomCSS (I guess), maybe someone besides Aris could point me in the right direction.
I'm looking mostly to chg the heights of entry field(s) for URL & Search input containers, and the 40px TALL #urlbar-container and #search-container. Everything "Photon" is turned off AFAIK- nothing expands or jumps out.
Mozilla has set the "--urlbar-container-height: 40.00px" as root & nothing I've found online or thought of myself, has overridden the 40px.
(See screenshot) I was able to chg heights of the INPUT containers (url & search), but NOT the outer 40px container (see screen).
Code below is from Mozilla support. I'm not sure why (cor-el) did some things, like repeat "#urlbar-input-container" in succession, but he is usually right. https://support.mozilla.org/en-US/questions/1284030
#urlbar[breakout],
#urlbar[breakout][breakout-extend] {
--urlbar-height: 28px !important;
--urlbar-toolbar-height: 30px !important;
width: 100% !important;
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-input-container,
#urlbar-input-container {
height: var(--urlbar-height) !important;
width: 100% !important;
padding-block: unset !important;
padding-inline: unset !important;
transition: none !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-background {
box-shadow: 0 1px 4px rgba(0,0,0,.05) !important;
animation: none !important;
}
Modified April 11, 2020 at 2:11:24 PM PDT by cor-el
@bendover22 : I'm not sure we would be talking about the same thing, but in my case, I had an issue of nav-bar
having too much height, causing empty space above and below, and the separators between the url bar and search bar being stretched vertically.
And same experience, css was powerless, so I eventually ended up using my custom js changes file, that work along CustomJSforFx enabled scripts, with the following code:
///
/// Change navbar height because too big otherwise
///
try {
let nav_bar = document.getElementById("nav-bar");
nav_bar.setAttribute("height","28px");
}
catch(e) { console.log("height setting failed"); console.log(e); }
To recap:
@BoomerangAide - "What is in a name? Would not a nav-bar by any other name be just...." W.S. We are talking about the same thing (essentially). Thanks for the code. Do you have to enable one or ? many files from CustomJSforFx? If so, which one(s)? Do you then have to comment out certain parts that change things you don't want changed?
Here's what I found to change height of urlbar-container; search-container; and the text entry containers.
:root {
--urlbar-container-height: 34px !important; }
:root {
--urlbar-min-height: XXpx !important; } /*optional*/
#urlbar-container, #search-container {
padding-block: 1px !important; } /*** This puts 1px padding ABOVE / BELOW the url & search input ***/
Decide what height you want for the urlbar-container ("text entry field") & search-container (the tallest part of this toolbar). URL & Search containers must be same ht., so the toolbar's bottom edge is even .
The magic bullet to override Fx's 40px H urlbar-container (& search-container)is shown. In my_userChrome.css, "must define" the fixed ht of url & search containers, < 40px:
If you need to change height of URL & Seach bars (input area) from the default (32px for Normal density), you can define it the same way as --urlbar-container-height:
I found I needed to override the Moz value for padding-block:4px; on urlbar-container, search-container, or the url-container extends past the input containers more than I wanted. Adjust values as desired. Hope there are no errors - working on my desktop.
Hi @Aris-t2 Maybe I am mistaken, but some time ago there was a module to change Bookmark folder icon color to the one you like (vial fill css rule). I tried to find one within the latest files, but the only thing I have found is the complete replacement for the Bookmark icon.
Maybe you can help with the following...
I would like to replace and recolor the new Bookmark folder icon (chrome://global/skin/icons/folder.svg
) that appears in the Bookmarks Menubar, Toolbar, and Places/History (basically everywhere it is present)...
I tried to reverse engineer the mentioned module but got a mixed results (messed up Bookmark Gear and tag icons)
Thank you in advance
https://github.com/Acid-Crash Depending on what you want - one color of folder, to use everywhere a typical, small folder icon is used? Like in Fx 92, the plain "folder" image is just a black outline of a folder shape. No color fill, other than the BG color.
I think what you may want is something like /chrome/css/generalui/bookmark_icons_colorized.css If you search the customcssforFx package's "userChrome.css" file , you'll find several for "bookmarks" & possibly "folders."
The former has more than just a colored folder icon. If you don't like the color of the folder icons (like yellow), you can backup / save the orig. image under the customcss "image" folder, then either change the color in another drawing or graphic editor app. Then save it to the images folder, using the SAME name as the original. Or find images already colored & put them in the proper path in customcssforFx.
What ever OS you use, get a "text editor" w/ a GOOD search function, that shows results (in partial sentences, for context), the line # where located, etc. You can find what you're looking for MUCH faster. For Windows, Notepad++ - very popular; (free, open source) was one I used before moving to Linux. For Linux, there are many. One w/o too steep a learning curve, but still lots of features (& excellent search / find tool) is Geany, that I've used several yrs. Both have good help sites / forums and / or mailing list, where help usually comes quickly.
Regardless, I suggest getting a dark theme for the text editor. Black or V dark background & as bright of syntax coloring as you want (say for CSS files). Much easier to see for search thru a file, or make simple changes, rather than white / nearly white BG. Easier on the eyes.
@bendover22
I think what you may want is something like /chrome/css/generalui/bookmark_icons_colorized.css
I know about this module, it replaces every icon within Bookmarks (folder, tag, gear).
I am interested only in replacing the bookmark folder icon (I have the needed SVG file).
As mentioned earlier, I tried to reverse engineer bookmark_icons_colorized.css
but did not manage to do it right (tag and gear icon are also become replaced with folder icon)
As for the editing the icon, choosing the text editor, I am aware of this matter.
does anyone know how to remove the "Find in text" placeholder text in the findbar?
https://github.com/Aris-t2/CustomCSSforFx/issues/417#issuecomment-925407479 @bendover22 : we must be going for a different effect after all. Your code has no effect over my situation:
I hope you managed to get things to look like how you wanted. Note: this is on Firefox 91, maybe some things would get unlocked on another more recent version.
Hello everyone. Is there any way I can make the appmenu completely square?
@bendover22 @BoomerangAide
This worked for me without breaking other code. Not sure, if it interferes with anything else.
:root {
--urlbar-container-height: 40px !important;
--urlbar-min-height: calc( var(--urlbar-container-height) - 2px ) !important;
}
@Acid-Crash This will override folder icons with a custom SVG image, that can be colorized:
toolbarbutton.bookmark-item[container],
.bookmark-item[container] .menu-iconic-left .menu-iconic-icon,
.bookmark-item[query][hostContainer],
.folder-icon,
#editBMPanel_chooseFolderMenuItem .menu-iconic-icon,
treechildren::-moz-tree-image(title, container),
treechildren::-moz-tree-image(title, query, hostContainer) {
-moz-image-region: rect(0px, 16px, 16px, 0) !important;
-moz-context-properties: fill !important;
list-style-image: url("chrome://browser/skin/developer.svg")!important;
fill: red !important;
}
toolbarbutton.bookmark-item[container][open],
.bookmark-item[container][open] .menu-iconic-left .menu-iconic-icon,
treechildren::-moz-tree-image(title, open),
.bookmark-item[query][hostContainer][open] {
-moz-image-region: rect(0px, 16px, 16px, 0) !important;
-moz-context-properties: fill !important;
list-style-image: url("chrome://browser/skin/developer.svg")!important;
fill: blue !important;
}
@mimecry You can not hide the placeholder using CSS.
@PorigonZ
#main-window[tabsintitlebar] #PanelUI-button #PanelUI-menu-button {
border-radius: 0 !important;
}
@Aris-t2 i managed to hide it using
input.findbar-textbox::placeholder {opacity: 0 !important;}
@Aris-t2
This will override folder icons with a custom SVG image, that can be colorized:
Tried this version, unfortunately it also affects other Bookmark-related icons:
Also, the every subfolder icon (for example Globe icon) color changes for the opened folder, meaning, that it is also partially affected
I do understand that this is a lot of work, but maybe you can still look at this...
I don't have version 92 or above, but I think the trick is the elements you want changed would be .bookmark-item[container]
and .bookmark-item[container][open]
or an equivalent, and the elements you want unchanged are also it, and something more.
Either you need to find every "something more", and allow them to set themselves on their usual/default value, or maybe you need to find something common to all you want to exclude (data-l10n-id
maybe?) and exclude it with the css rule (not sure which one would work...if one work).
@Aris-t2 Thank you.
@Acid-Crash
This was a summary of what the folder icon changes look like, if using the code from bookmark_icons_colorized.css file.
You can tweak it, but colors will always affect iconized folders/containers unless one overrides them manually later.
.bookmark-item[container],
treechildren::-moz-tree-image(container) {
fill: red !important;
}
.bookmark-item[container][open],
treechildren::-moz-tree-image(container, open) {
fill: blue !important;
}
Excluing [data-l10n-id] will work for bookmarks toolbar and bookmarks popups, but not for sidebar and library.
.bookmark-item[container]:not([data-l10n-id]),
treechildren::-moz-tree-image(container) {
fill: red !important;
}
.bookmark-item[container]:not([data-l10n-id])[open],
treechildren::-moz-tree-image(container, open) {
fill: blue !important;
}
That would require to remove the fill rule from containers with icons manually.
I only know some of their names:
treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar),
treechildren::-moz-tree-image(container, queryFolder_toolbar_____),
treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu),
treechildren::-moz-tree-image(container, queryFolder_menu________),
treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks),
treechildren::-moz-tree-image(container, queryFolder_unfiled_____),
treechildren::-moz-tree-image(container, OrganizerQuery_History),
treechildren::-moz-tree-image(container, OrganizerQuery_history____v),
treechildren::-moz-tree-image(container, OrganizerQuery_downloads__v),
treechildren::-moz-tree-image(container, OrganizerQuery_allbms_____v),
treechildren::-moz-tree-image(container, tagContainer),
treechildren::-moz-tree-image(container, OrganizerQuery_tags_______v) {
fill: unset !important;
}
EDIT
I looked through the code and found a few more "names".
That should cover all items incl. sidebar and library now. Based on the above entries one could write custom code for those containers independent of the "default folder icons".
Is there anything that rectifies all the round UI buttons? I looked here but there doesn't seem to be anything.
Is it correct that scrollbars both in the Firefox UI and web content (assuming the website doesn't override them) are defined by the system toolkit? They changed to the worse when updating from Firefox 88 to 92: instead of an elaborate rendering of a scrollbar, it's a grey rectangle with a grey oval as "handle" in it. This is on Linux. Firefox 92 is built against GTK 3, and Firefox 88 probably as well but not sure. Does anyone know why it changed and how it can be fixed? I found and modified this to make it look slightly better, but it's still ugly and with worse usability.
I feel like some compact-ness has hit the wrong place in latest css:
Disabling "popup_compact_menus" make it look better (though not as good as in the past), I wonder if it's possible to exclude that popup (or whatever it should be called) from the "compact" changes?
On a more personal point (so low priority), I don't like the new "shield" icon (look like an empty vessel to me), I would be interested in getting the old one back / seeing it customizable in the future.
Not editing the previous entry since it's completely unrelated: After some struggle in https://github.com/Aris-t2/CustomJSforFx/issues/29#issuecomment-933568597 I managed to get back a warning icon for pages whose loading is broken. But horror: Mozilla changed the icon from an orange one to a full black one, and that meant that what worked on Firefox 78:
#favimginurlbar[style*="warning.svg"]
{
filter: hue-rotate(-45deg) saturate(100);
}
was now broken on Firefox 91. But I managed to get around it with the following code:
#favimginurlbar[style*="warning.svg"]
{
filter: invert(100%) brightness(50%) sepia(100%) hue-rotate(-45deg) saturate(10000%);
}
I don't know if other icons one want from black to another color will show up, but maybe my experience will be useful.
@plomari
By default the buttons have rounded corners, but modifying buttons_on_navbar_button_roundness.css
can create fully squared buttons.
Besides custom_scrollbar_appearance.css
custom JavaScript can also modify scrollbars.
Look here:
https://github.com/Aris-t2/CustomJSforFx
https://github.com/Aris-t2/CustomJSforFx/blob/master/scripts/custom_scrollbars.uc.js
@BoomerangAide I will tweak the code a bit to optimize that popup when popup_compact_menus is active.
It should be possible to replace the shield icon with the old one: tracking protection icon
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
list-style-image: url(tracking-protection.svg) !important;
}
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box[hasException] > #tracking-protection-icon {
list-style-image: url(tracking-protection-disabled.svg) !important;
}
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box:not([hasException])[active] > #tracking-protection-icon {
list-style-image: url(tracking-protection.svg) !important;
}
Thanks, this is my final code:
/* Replace tracking protection icon by old one */
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
list-style-image: url(./image/tracking-protection.svg) !important;
}
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box[hasException] > #tracking-protection-icon {
list-style-image: url(./image/tracking-protection-disabled.svg) !important;
}
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box:not([hasException])[active] > #tracking-protection-icon {
list-style-image: url(./image/tracking-protection.svg) !important;
}
#tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
filter: invert(100%) brightness(50%);
}
#tracking-protection-icon-container:hover:not([open=true]) > #tracking-protection-icon-box > #tracking-protection-icon {
filter: invert(100%) brightness(0%);
}
#tracking-protection-icon-container:hover:active > #tracking-protection-icon-box > #tracking-protection-icon,
#tracking-protection-icon-container[open=true] > #tracking-protection-icon-box > #tracking-protection-icon{
filter: invert(100%) brightness(0%);
}
/**/
This is after putting the 2 tracking protection icons from the zip file in the "image" folder in the chrome folder of all modding.
@Aris-t2
Firefox 93, CustomCSSforFx v4.1.0v3
I jumped from v3.3.2.1, to v4.1.0v3
Issue #1:
v3.3.2.1 toolbar display: Navbar partially obscures tab bar
v4.1.0v3 toolbar display: Just the opposite, Navbar partially obscures menubar
I disabled myuserchrome.css when testing, but it made no difference in relation to the toolbar positions.
Issue #2
Is there any was to make all menus compact, i.e., eliminate the vertical spaces between the entries like they used to be?
Current View:
after disabling "import "./css/generalui/popup_compact_menus.css", tab menu farther apart:
but hamburger menu closer together:
Once again, myuserchrome.css disabled
@BoomerangAide Great.
@nollinvoyd Everything looks so ultra giant on your screenshots.
Make sure everything is set to 100% size/dpi/scale-wise, so we have the same base while testing.
Maybe a new browser profile will help while testing.
@Aris-t2
Thanks. I tried setting border-radius
to 0px
, which should have made buttons rectangular, but nothing changed. Now that I think about it, this was about "native" form elements within websites, which maybe be a special case. Maybe it's not so important after all.
Custom scrollbars (the JS) seem rather intrusive so I didn't test them yet.
@Aris-t2
Make sure everything is set to 100% size/dpi/scale-wise, so we have the same base while testing.
Are you referring to the Windows scaling settings, or some Firefox setting?
Maybe a new browser profile will help while testing.
I tried that, no difference.
All the images I posted are proportional to one another. The only thing I could think of was to image the whole page, not just the menus:
Disabled "@import "./css/generalui/popup_compact_menus.css"
Enabled "@import "./css/generalui/popup_compact_menus.css"
Disabled "@import "./css/generalui/popup_compact_menus.css"
Enabled "@import "./css/generalui/popup_compact_menus.css"
I also posted them at an image hosting site, if that helps. Much smaller scale, but proportionally, they are the same.
[url=https://postimg.cc/ppFFrZSy][img]https://i.postimg.cc/ppFFrZSy/css3.png[/img][/url]
[url=https://postimg.cc/jWcG0yQS][img]https://i.postimg.cc/jWcG0yQS/css5.png[/img][/url]
[url=https://postimg.cc/14Q9ZKQy][img]https://i.postimg.cc/14Q9ZKQy/css4.png[/img][/url]
[url=https://postimg.cc/cvMzwfzB][img]https://i.postimg.cc/cvMzwfzB/css6.png[/img][/url]
@nollinvoyd I had noticed that my bookmark menu entries were bigger on Firefox 91 than on 78 ESR for a while, but I had not done anything until now. But your messages reminded me of it, so I had a look. I realized that in 78, menus had a height of 22, and 0 padding at top and bottom, and on 91, they had a height of 18, but padding of 3 on top and bottom (resulting in a size taken of 2 more than the original). So for it to take the same height, I put that in my custom css file:
menupopup > menuitem,
menupopup > menu {
padding-top: 2px !important;
padding-bottom: 2px !important;
}
At first I put 0, but it was too much compact for me, but you may be able to experiment with that maybe? Unless it's not what you were talking about.
@BoomerangAide
Thanks!!. 0px, that's perfect!!
@Aris-t2
You didn't mention my toolbar problem. Is there a chance it can be fixed?
Firefox 93, CustomCSSforFx v4.1.0v3
I jumped from v3.3.2.1, to v4.1.0v3
Issue #1:
v3.3.2.1 toolbar display: Navbar partially obscures tab bar
v4.1.0v3 toolbar display: Just the opposite, Navbar partially obscures menubar
I just discovered that if I go to "Customize Toolbar", and enable "Title Bar", the navbar no longer overlaps the menubar
Of course, the problem is I don't want the Title Bar visible.
I also fund that if I enable "@import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon.css", the navbar disappears, but now the tab bar overlaps the menubar
@Aris-t2
Update: I decided to start from scratch to see precisely when the problem starts. The following are results from a fresh profile with only transferred sessions files and the default CustomCSSforFx version 4.1.0 added. No about:config tweaks.
The results match what I found earlier, with the custom profile.
My toolbars with chrome disabled
My toolbars with Chrome enabled, the default CustomCSSforFx 4.1.0, no alterations
The overlapping problem occurs when only one CustomCSSforFx alteration is made, enabling @import "./css/tabs/tabs_below_navigation_toolbar.css"
I looked into your toolbar issue. Thise code inside tabs_below_navigation_toolbar.css
causes the overlapping:
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #titlebar,
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #titlebar {
height: 26px;
}
Add this to tweak titlebars height in maximized mode:
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #titlebar {
height: 40px !important;
}
It does not seem like the menubar is a good area to place items anymore. I had to add a few "flexible spaces" for it to stop overlapping with captions buttons.
#main-window[tabsintitlebar] #toolbar-menubar {
padding-inline-end: 140px;
}
@Aris-t2
Add this to tweak titlebars height in maximized mode:
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #titlebar { height: 40px !important; }
It does not seem like the menubar is a good area to place items anymore. I had to add a few "flexible spaces" for it to stop overlapping with captions buttons.
#main-window[tabsintitlebar] #toolbar-menubar { padding-inline-end: 140px; }
This is what happens when I add both of those bits of css. No overlap, but huge space gap.
When I eliminate the "flexible space" stuff, the gap is gone :)
But now we have an excess of menubar height. Can we adjust for that?
Unfortunately, I try not to update as much as possible because it's a pain in the ass, but I have a couple minor things I'd like to fix on my end.
The code I have to stop the URL bar / megabar from outlining blue when the cursor is in it (which happens automatically on a new tab) is no longer working.
And my Findbar (which is on the bottom) text box (and I think the checkboxes) don't have a white background / have my theme background - and the textbox has no outline at all until clicked on. Getting the white background for at least the textbox would be nice, but I would leave the colored outline when the cursor is in it because it changes to red when it doesn't find anything.
@nollinvoyd
Instead of the above code, test this one:
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar .toolbarbutton-1 .toolbarbutton-icon {
padding: 0 !important;
margin: 0 !important;
width: 16px !important;
height: 16px !important;
}
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar #searchbar {
min-height: unset !important;
}
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar #search-container {
padding-block: 1px !important;
}
#main-window[tabsintitlebar] #toolbar-menubar {
padding-inline-end: 140px;
}
@Jgr9
#urlbar[focused="true"]:not([suppress-focus-border]) > #urlbar-background,
#searchbar:focus-within {
outline: unset !important;
outline-offset: unset !important;
outline-color: unset !important;
border-color: unset !important;
border: 1px solid var(--arrowpanel-border-color) !important;
}
#urlbar[focused="true"] > #urlbar-background,
#searchbar:focus-within {
box-shadow: unset !important;
}
#urlbar[open] > #urlbar-background {
box-shadow: unset !important;
}
Findbars input gets managed by the theme.
input.findbar-textbox:-moz-lwtheme {
background-color: white !important;
color: black !important;
}
@Aris-t2
I just tried 4.1.1pre1. Am I mistaken, or are there only two file changes, not including "tabs_below_navigation_toolbar.css", and no userchrome.css or usercontent.css changes?
This is what things look like with the latest "tabs_below_navigation_toolbar.css", which I assume is unchanged since v4.1.0?
The changes are listed in the changelog. A couple of files got updated.
Most important ones to fix your issues are tabs_below_navigation_toolbar.css
and the new one searchbar_on_menubar_fix.css
, which is enabled by default inside userChrome.css
.
tabs_below_navigation_toolbar.css
added the right space for menubar.
searchbar_on_menubar_fix.css
decreases button and searchbar height on menubar.
Besides that I have no idea how to help you solving the issues and glitches you have. The above files fixed everything I could reproduce.
@Aris-t2
Sorry I didn't catch this earlier. I think I found the problem.
A while back you crafted a way for me to make the min-max-close buttons smaller, so they would take up less space
.titlebar-button {
padding: 0 !important; /* no more wasting space */
color: black !important; /* set own color */
}+ toolbarbutton#alltabs-button {
#tabContextMenu #context_bookmarkTab {
display: none !important;
}
But now, If I use that code, it causes that gap.
If I eliminate that code, the default min-max-close buttons close the gap
Can we alter that min-max-close buttons code so that it works with no gap?
The gap before min/max/close is controlled by
#main-window[tabsintitlebar] #toolbar-menubar {
padding-inline-end: 140px !important;
}
Replace the 140 with a lower value.
Besides that, something in your config still causes the whole toolbar to look wrong. It should look like this:
@Aris-t2
Thanks!
Replace the 140 with a lower value.
Changed it to 0px. That takes care of the gap, toolbars no longer overlap, but what still looks wrong to you?
The issues I see on your screenshot:
If this is fine for you, its OK.
I'm still using FF88 because of what 89 did. To get to the point, can the current FF version look like my FF88:
Thanks for all your work.
@Aris-t2
The issues I see on your screenshot:
* the icon inside main menu button (dark fx icon) is pushed to the top edge of the screen * searchbars bottom border is covered by navigation toolbar * buttons/icons on menubar seem to touch navigation toolbar items
If this is fine for you, its OK.
Is it possible If I wanted to get a bit more height for the menubar
I finally bit the bullet and upgraded from Fx 88 to 93. I've been able to tweak the new custom CSS to look the way I want, but one of my addons has decided to put an icon in the urlbar that wasn't there in Fx 88. Can anyone give me some CSS to hide it? The addon is Firefox Multi-Account Containers. Thanks in advance.
@phantomflanflinger You can download Firefox Nightly and test it with the customcssforfx.
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, https://github.com/Aris-t2/CustomCSSforFx/issues/368 and https://github.com/Aris-t2/CustomCSSforFx/issues/404
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
Things not possible with CSS