[!] GENERAL discussion, feedback, questions belong here! (v7)
Make sure you updated to the most recent version of this projects files "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 and https://github.com/Aris-t2/CustomCSSforFx/issues/163.
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
Trying to make CSS code ready for Firefox Quantum (57+)?
Remove all @namespace references. They are the reason, if your code refuses to work.
Application/hamburger button in tabs toolbar? Look here: #46
Things this project will not target/recreate
- curved tabs
- 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
- moving bookmarks toolbar to windows bottom is possible
- 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
- preference/options window
- additional location bar
- favicon in location bars identity box
- moving menubar items to a different toolbar
- restart button
- ... many more
@Aris-t2
hi. followup to comments at https://github.com/Aris-t2/CustomCSSforFx/issues/163 ...
I've not added any of 'my own code' for chrome ... at least not knowingly.
With my_userChrome.css containing, now,
#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar) {
padding-left: 0px !important;
padding-right: 0px !important;
}
#navigator-toolbox > #PersonalToolbar {
min-height: 30px !important;
padding-top: 2px !important;
padding-bottom: 2px !important;
}
#main-window #navigator-toolbox #TabsToolbar .tabs-newtab-button,
#main-window #navigator-toolbox #TabsToolbar #new-tab-button {
margin-left: 20px !important;
margin-right: 20px !important;
}
I (still) have:

Add the code to the bottom of your userChrome.css, just to be sure. You could also test a new browser profile. On your screenshot I see no code changes at all neither bookmarks toolbar nor tabs toolbar.
@Aris-t2
adding that^ same code to userChrome.css does the trick -- or, at least, has a noticeable change:

checking ... oh %$%! I just noticed
/* @import "./my_userChrome.css"; /**/
in userChrome. I'd completely missed the fact (reading only about it in online posts) that that needs to be UNcommented.
Doing that, and rm'ing the code from userChrome.css, now ... the change does appear.
(1) PEBKAC! (2) duh ... (3) sry for the confusion !!
Try to increase bookmark toolbars padding more than in the above code:
#navigator-toolbox #PersonalToolbar {
min-height: 30px !important;
padding-top: 10px !important;
padding-bottom: 10px !important;
}
Are your bookmarks on bookmarks toolbar or on another toolbar?
Try to increase bookmark toolbars padding more than in the above code:
That works as expected,

Are your bookmarks on bookmarks toolbar or on another toolbar?
Yes, my displayed-in-browser bookmarks -- above the TABs, below the NAV -- are on the "Bookmarks Toolbar"
When I upgrade CustomCSSforFx, I keep my previous version, and update it by incorporating the changes I find in the latest usercharome.css and usercoontent.css at https://github.com/Aris-t2/CustomCSSforFx/releases, which i also compare with the latest release version.
But over the course, and especially lately, I find that the changes on the release page don't always match the latest CustomCSSforFx userchrome/css and usercontenet.css release.
Which source should take precedence, the release page or the latest version?
@Aris-t2
By complete package I mean the full release of this projects files: Aris-t2/CustomCSSforFx/releases
Backup your /chrome/ folder, extract all files from releases zip file into a new empty /chrome/ folder. Change tab height in
general_variables.css( /classic/config/general_variables.css@master#L9 ).
I removed all the custom code for tab height in userchrome.css you gave me in the past and then altered general_variables.css
/* general settings */
:root {
/* custom height for 'classic squared tabs' only */
--classic_squared_tabs_tab_height: 21px !important;
That worked. Thanks
What happened to thread #163? Too long? I added only tabs multiple lines v2 @import in my own userChrome; and added the custom "CSS" folder & files to my profiles /chrome folder. It works, and all the tabs styling I previously did in userChrome - still worked. Except the vertical lines / separators between adjacent tabs.
I don't see anything in your tabs_multiple_lines_v2.css that would remove the tab separators, unless it's the code below - "border-left: unset." They weren't too obvious, but I need some of that "crap!". :)
/* remove **_crap_** set by Firefox 58+ */
.tabbrowser-tab::after,
.tabbrowser-tab::before {
border-left: unset !important;
border-image: unset !important;
border-image-slice: unset !important;
border: 0 !important;
}
Without searching the custom Linux Cinnamon theme I use - which styles almost EVERY possible thing in Mint & all apps, the theme probably just changed the color of what they call "border-left" on the tabs. So if only a left border is applied to each tab & if it's 1px, the separator is only 1px wide.
The config/general_variables.css has --classic_squared_tabs_tab_height: 26px, but tabs_multiple_lines_v2.css has 32px for max height. Why such a difference? I'm undecided on the easiest way to keep up with where I'm making changes to your custom code. Making changes in the userChrome & others in one of many files in the config folder could get confusing.
You might want to add to the comment(s) in custom code - what is being removed from the Fx native theme when that's the case, Thanks!
I don't see right off how to override the 32px tab height. There are many other times that tab height is mentioned in the tabs_multiple_lines_v2.css, like:
#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox {
min-height: var(--tab-min-height_mlt)
I'm not familiar w/ "mlt."
Changing the first instance of that, from 32px to 28,
--tab-min-height_mlt: var(--tab-min-height,28px);
where you comment, "set your own value here if used w/o configuration files," didn't reset the tabs' height to the original 28 - if it was supposed to do that.
@bendover22 Yes the previous thread was too long. (you can see "v7" indicates this is the seventh general support thread alraeay ;)).
A lot of CSS code used in this projects files change or remove stuff, it would not be possible to protocolize specific changes inside userChrome.css.
You are right about the code you pointed out. It hides tab separators, so remove it to restore the default ones the browser sets.
The value 32px in tabs_multiple_lines_v2.css is only a fallback value, the real one is set inside the variable --tab-min-height_mlt, which itself gets the value from --tab-min-height (a default browser variable). The later one gets override by a value in classic_squared_tabs.css, if this one is active.
If you are using default browser tabs, you have to override the variable --tab-min-height manually or replace --tab-min-height_mlt: var(--tab-min-height,32px); with --tab-min-height_mlt: 30px !important;.
It looks a bit complex, but that is how this project simulates an add-on.
Edit
Try to override that files variable in root area like this: --tab-min-height_mlt: 30px !important;
Thanks Aris. Umm... there is no "--tab-min-height" (all tab height declarations have the "_mlt" at the end), other than: --tab-min-height_mlt: var(--tab-min-height,32px);.
At least, it's not in aris-custom_css_for_fx_v2.3.6 / 2.4.2 - "tabs_multiple_lines_v2.css."
I'll try the last line you showed, but I think the problem may be due to the vertical scrollbar for multi tab rows. It's longer than the tabs' content box. You'll have to read - I can't upload screens? Not allowed?
1st question: using "tabs_multiple_lines_v2.css," are the tabs supposed to be below the title bar (if title bar is shown) & against the nav bar's top edge? That's how it displays for me.
All the files included in your "css" folder in the zip pkg are in the folder - inside my /chrome folder, but
@import "./css/tabs/tabs_multiple_lines_v2.css";
is the only @import line I added to the top of my userChrome.css..
I didn't use your userChrome.css.
I also compared the original multiple_lines file against the one in my /chrome/css folder. They're identical except for changing the 32px to 28, and commenting out the section that removes borders.
I could add the line you mention - if you give me the full code, but we've got other problems.
Maybe you're thinking another file that line is in? Or did you mean from line 17?:
--tab-min-height_mlt: var(--**tab-min-height**,32px);
Changing height there doesn't fix the problem that I'm seeing. It's not really the "tab" height that's the problem. Read on.
Looking further, it may have to do w/ the multi-row scrollbar. When I enter Fx's customize mode, it shows where the scrollbar would be (even when only 1 tab row, when the scrollbar is hidden). In customize mode, the bottom of the scrollbar channel is below the (normal) bottom of tabs, w/ just 1 row.
I'm not sure why it's adding an extra 19px high blank area, below the tabs, but that's the issue. The scrollbar's min length / height (hidden when only 1 row of tabs) may be causing it to add an additional blank space - BELOW the tab content box. I can't upload screen shots - not allowed?
I'm fairly certain I'm using the native tabs (size, shape). Only color styling; where favicons are placed (closer to L end); removing fading of tab content; hiding tab close button until hovered. NONE of that is affecting the problem of it adding a blank space below each tab content box. (No, the "classic_squared_tabs.css isn't active - so far).
What I see w/ tabs_multiple_lines_v2.css in .mozilla/firefox/{profile-name}/chrome/css/ is the actual tab content box w/ the borders is 33px h. That's including a top border of a 2px & a 1px, top-only border = 3px. I'm fairly sure the 3px top border for the selected tab is default value (switching to the themes incl. w/ the distro - Mint 18.1).
All themes have same behavior & the new problem w/ multi rows. The Linux themes & my custom theme all gave the same size tabs (as before trying multi tab rows). _Below the tabs is where the problem is, as soon as I added the CSS folder in /chrome & added the line in my userChrome.css to import "tabs_multiple_lines_v2.css."
I was part right y'day. The "tabs" content box itself is 33 px (incl. the 3px top border).
As said, I changed the line: --tab-min-height_mlt: var(--tab-min-height,28px). As you said, that doesn't strictly set the height.
Then apparently, the code in tabs_multiple_lines_v2.css caused it to add another 19 px H "blank space" below the tab content box, on EACH of 3 rows. Overall, that makes each tab row 54px H.
Yes, it appears the scrollbar for tab rows was causing the 19px high blank space under tabs; whether there was 1, 2 or 3 tab rows.
I commented out every declaration that mentioned "scrollbox" & the 19px blank space went away. Unfortunately, so did multi row tabs. I figured it would, I wanted a quick way to see if the tab rows scrollbox was causing the 19px high blank area under tabs. It apparently was - or something else in the declarations that also mentioned scrollbox.
FYI, w/o the custom css > multi tab rows code for a scrollbox being active, my UNselected tabs are 33px H (content box + a 1px border- bottom of unselected tabs). I'll have to DOUBLE check that tomorrow. Selected tab is same overall, but has a 2px bottom border, so the selected tab content box "shrinks" to stay the same 33px ht as unselected tabs.
In the "tabs_multiple_lines_v2.css" code, it's a possibility the bottom of the new tab button is below the bottom of (my) tabs.
In customize mode, the selected tab's 33px H (will re-check); the bottom of new tab button is 41px (from the top of selected tab) - that may be one problem. Unless they shift when in customize mode.
In same customize mode, the scrollbox ht = selected tab = 35px. two px taller than tabs. I don't know if their positions in customize mode proves anything.
In "tabs_multiple_lines_v2.css" , I don't know how to shrink the scrollbox & arrows, etc, so they're not longer or lower than the tabs are high. Not w/o screwing up their function. Is it possible to scroll tab rows w/ a mouse - same as a web page & ditch the scrollbar?
I know how to set sizes, margins, padding, etc. I don't know all the options (& syntax) that can be used w/ scrollboxes on the tabs bar.
how can i change the context-navigation,#context-forward color to red and #context-back,menuitem, to blue i tried changed it but it didn't work.
https://i.imgur.com/7X2P5qa.gifv
##context-navigation menuitem[disabled=true], #context-forward,menuitem, menu[disabled=true], menuitem[disabled=true] { color: red !important }
#context-navigation menuitem[disabled=true], #context-back,menuitem, menu[disabled=true], menuitem[disabled=true] { color: blue !important }
#context-navigation menuitem[disabled=true], menu[disabled=true], menuitem[disabled=true] { color: blue !important }
@bendover22 Your posts are too long to read. ;-) Post a screenshot of your problem.
There is code in https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/css/tabs/tabs_multiple_lines_v2.css#L57 to prevent a horizontal scrollbar, but you might want to try this one:
#TabsToolbar,
#tabbrowser-tabs,
#tabbrowser-tabs * {
overflow-x: hidden !important;
}
Keep in mind there is a "multirow tabs" support thread present here: https://github.com/Aris-t2/CustomCSSforFx/issues/39
@LionWrathz Look here to see how to change icon colors of these context menu icons: https://github.com/Aris-t2/CustomCSSforFx/blob/master/classic/css/generalui/context_bfrsb_icons_colorized.css
Is it possible to figure out the source image of a particular extension icon? For example, I've gotten used to keeping the StumbleUpon StumbleBar icon next to the home button in the navbar. I'm not asking for this to be implemented in official code or to add this functionality, I'm simply asking if it's possible to find such a thing and later add it in manually via JavaScript. The reason being, the mentioned extension isn't being maintained anymore and has been removed from Mozilla's add-on site. I still have it installed but I will be removing it shortly.
You could either find the image using developer tools like mentioned on main page or you could unpack the add-on, which is still in your profiles folder somewhere, about:support > add-ons/extensions > name Search for the id of it within profile folder.
Aris, if you can implement any of these suggestions, I hope (pretty sure) they'd save you time in the long run. The support threads / discussions are on the "issues" page, not " Official Discussion Threads Main Page." :) Just sayin'. It's great to have them! Click the ! icons beside the threads (I did). It says "open issue." Today, it also says: "18 Open Issues." Just pointing out - this is a very unusual way to list official discussion threads / forums mixed among real bugs reports.
It never dawned on me & surely others, to read all "issues" titles on that page.
Maybe put a button or link w/ large text at top of Issues page: "LIST OF ALL DISCUSSION THREADS," w/ drop menu & links to all discussion threads. A little work, but easiest to get users to correct place.
There's a "Labels" button - most wouldn't assume that's to sort issues by: "Discussions."
You could add note explaining it. Most new users won't know what "Labels" is for unless they use Github a lot (I don't).
Well, its Github not a forum, so there is no such thing as "Official Discussion Threads Main Page" and of course there are no forum features for issue threads. ;-).
It never dawned on me & surely others, to read all "issues" titles on that page.
Because of that the main threads are mentioned within userChrome.css and in the issue template.
Latest Nightly introduced a redesign of add-ons manager. To view it, load about:config and search for extensions.htmlaboutaddons.enable . Toggle preference to TRUE and load about:addons. Typical Mozilla design: takes way too much screen real estate and adds more mouse clicks. My Aris enhanced Add-ons Manager shows all active add-ons on one page and inactive add-ons on a following half page. The new design is six pages. If only someone would do an AiOS style. Sidebar Add-ons Manager.
I've seen this new change. Here is the code to break the new nonsense ;-)
@namespace html "http://www.w3.org/1999/xhtml";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
body > div#main {
margin-inline-start: 0px !important;
margin-inline-end: 0px !important;
margin-bottom: 4px !important;
max-width: unset !important;
background: linear-gradient(to bottom right, #f5f5f5,-moz-Dialog,#f5f5f5,-moz-Dialog) !important;
}
body > div#main > div.list-section .addon.card {
margin-bottom: 4px !important;
}
body > div#main > div.list-section .addon.card:hover {
background: Highlight !important;
color: HighlightText !important;
}
body > div#main > div.list-section .addon.card:hover span {
color: HighlightText !important;
}
body > div#main > div.list-section[type="disabled"] {
opacity: 0.8 !important;
}