3
submitted 4 days ago by tjn21@fedia.io to c/FirefoxCSS@fedia.io

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; }

you are viewing a single comment's thread
view the rest of the comments
[-] tjn21@fedia.io 1 points 3 days ago

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@lemmy.world 1 points 3 days ago

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;
[-] tjn21@fedia.io 1 points 2 days ago
this post was submitted on 17 Feb 2025
3 points (100.0% liked)

Firefox Customs

2 readers
6 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