this post was submitted on 17 Feb 2025
2 points (100.0% liked)

Firefox Customs

64 readers
2 users here now

Chat with us!

Post your unsupported Firefox customizations here!

From the makers of r/FirefoxCSS

Links

Related

Rules

  1. Posts must have flair!
  2. Posts cannot be memes/shitposts. They should be about Firefox customization with CSS.
  3. Please be civil. Bear in mind that many users come here for help and would be turned off by insults and rudeness.
  4. When posting large amount of code use a service dedicated to hosting text snippets, such as pastebin, hastebin, github gist or equivalent. Relatively short snippets can be wrapped in code-block for inline viewing.
  5. Do NOT use url-shorteners or link to compressed downloads (such as zip or rar) when sharing code.

founded 2 years ago
MODERATORS
 

At some point recently, the background colour of about:config started changing to white when my search reaches the third letter. Below is the code in userContent.css. What do I need to add?

@-moz-document url-prefix("about:"), url-prefix("chrome://"), url-prefix("resource://"){ :root { --in-content-page-color: #000080 !important; --in-content-text-color: #000080 !important; --in-content-page-background: #dbc3a3 !important; --in-content-box-background: #e2cfb6 !important; --in-content-deemphasized-text: var(--in-content-text-color) !important; scrollbar-color: #6495ed #d9d9d9 !important; --background-color-box: var(--in-content-page-background) !important; --text-color: var(--in-content-text-color) !important; color:var(--in-content-text-color) !important; }

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 1 day ago (1 children)

Thanks. I have added a closing bracket and restarted. There is no change.

First, an image showing the colour set in userContent.css when only two letters of the search are typed. https://imgur.com/fLdLN5b Secondly, an image showing the colour change to white when I type the third letter of the search. I expect the colour to remain as set in the css code. https://imgur.com/XqiZ1Wx Thirdly, an image showing the same colour change when I choose to show only altered preferences. https://imgur.com/kYlb9QR

[–] MrOtherGuy 1 points 1 day ago (1 children)

I don't know if the alternate row color is what you want here, but you could add these:

  --background-color-canvas: var(--in-content-page-background) !important;
  --table-row-background-color-alternate: var(--in-content-box-background) !important;
[–] [email protected] 1 points 20 hours ago

Many thanks

[–] MrOtherGuy 1 points 2 days ago

Could you add an image showing what is changing to white. And also tell what color you expect instead.

Also, your snippet is missing a closing } so whatever you might have in your userContent.css after that can also be affecting about:config and other internal pages.