1

AFAIK this has always been an issue with Mozilla Firefox and Thunderbird. They always have a number of elements that don't align with the current theme, which can be fixed by the user creating and/or modifying ".../<profile_dir>/chrome/userChrome.css".

For instance, I add the following block (changing color values according to the GTK current theme) in order to make Thunderbir sidebar look like other sidebars:

#folderTree > treechildren::-moz-tree-row(even) {
    border: 1px solid transparent !important;
    background-color: #eff0f1 !important;
}

#folderTree > treechildren::-moz-tree-row(odd) {
    border: 1px solid transparent !important;
    background-color: #eff0f1 !important;
}

#folderTree > treechildren::-moz-tree-row(selected) {
    border: 1px solid transparent !important;
    background-color: #3daee9 !important;
    color: #ffffff !important;
}

#folderTree > treechildren::-moz-tree-row(hover) {
border: 1px solid transparent !important;
background-color: #3daee9 !important;
}

#folderTree > treechildren::-moz-tree-line {
visibility: visible !important;
}

However, I need a little help in changing hover background color in menus and toolbars (both Firefox and Thunderbird) as can be seen in the screenshot below.

enter image description here

The light grey hover background color seen in the built-in menu of Firefox (and also the menu button, which is the same as other toolbar and bookmark bar buttons) should actully be light blue (like the border color of address bar).

How can I implement this?

  • Is this problem with Firefox evident with all your gtk3 themes? – DK Bose Feb 16 at 13:02
  • 1
    @DKBose Yes! My system is Kubuntu 19.10, but I can see it's the same in Ubuntu 18.04, Linux Mint 19.3, etc. which not only have with different gtk3 themes but different DEs! – Sadi Feb 18 at 11:04
  • 1
    You're right. I see that as well. I initially thought differently because my colors matched my theme but that's because my theme is a dark one with a light grey highlight. A nice place to ask is reddit.com/r/FirefoxCSS. I've gotten answers there in the past. – DK Bose Feb 18 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.