I couldn't find any CSS code to change the background color of Find (CTRL+F) when text is not found. I'm using the black theme and it defaults to a purple color. Was hoping to change it to another color. There are some old about:config changes which do not apply. I assume there is no way to change this but figured I would ask the experts here.
Cheers
Find color for text results not found
-
- Posts: 6421
- Joined: February 3rd, 2009, 6:29 pm
Re: Find color for text results not found
Try this:
http://kb.mozillazine.org/UserChrome.css
You can use the browser toolbox to find the css selector.
http://developer.mozilla.org/en-US/docs ... er_Toolbox
Code: Select all
/* Firefox userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.findbar-textbox[status="notfound"] {
background-color: coral !important;
color: white !important;
}
You can use the browser toolbox to find the css selector.
http://developer.mozilla.org/en-US/docs ... er_Toolbox
-
- Posts: 200
- Joined: January 4th, 2013, 12:11 am
Re: Find color for text results not found
Thanks you are a wizard, that worked perfect.
While I have your attention I figured out what it takes to change the Search Bar(search engine bar) background color using the code below but I can't seem to figure out how to change the drop down suggestion color to have a black background. I've tried different things but it just does not work. Any ideas is appreciated.
/*This changes the search bar background color*/
#searchbar .searchbar-textbox{
background-color: #000000 !important;
}
This does not work to change the drop down to black for the background
#PopupSearchAutoComplete .searchbar-engine-one-off-item[tooltiptext]:hover, .searchbar-engine-one-off-item[tooltiptext][selected] {
color: #FFFFFF !important;
background-color: #000000 !important;
While I have your attention I figured out what it takes to change the Search Bar(search engine bar) background color using the code below but I can't seem to figure out how to change the drop down suggestion color to have a black background. I've tried different things but it just does not work. Any ideas is appreciated.
/*This changes the search bar background color*/
#searchbar .searchbar-textbox{
background-color: #000000 !important;
}
This does not work to change the drop down to black for the background
#PopupSearchAutoComplete .searchbar-engine-one-off-item[tooltiptext]:hover, .searchbar-engine-one-off-item[tooltiptext][selected] {
color: #FFFFFF !important;
background-color: #000000 !important;
-
- Posts: 200
- Joined: January 4th, 2013, 12:11 am
Re: Find color for text results not found
Got the search figured out for anyone interested.
#PopupSearchAutoComplete {
background-color: black !important;
color: white !important;
}
#PopupSearchAutoComplete {
background-color: black !important;
color: white !important;
}