Needing a userstyle.. for the urlbar dropdownmenu..

User Help for Mozilla Firefox
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by dickvl »

Highlight is just a name for a specific default color to highlight an item.
Such defaults are usually the defaults as used in your operating system.
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

How could i turn the title & url text in this color:
#020944
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by dickvl »

Does this work for you?

Code: Select all

#PopupAutoCompleteRichResult .ac-title-text {color:#020944!important; font-size:12px!important;}
#PopupAutoCompleteRichResult .ac-url-text {color:#020944!important; font-size:14px!important;}
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

Thanks dickvl, but strangely, it doesn't affect titles, only urls ((
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

I've tested something & it worked ))

Code: Select all

#PopupAutoCompleteRichResult .ac-title 
{color:#0443D9 !important; font-size:15px !important;}
#PopupAutoCompleteRichResult .ac-url-text 
{color:#6070FB !important; font-size:14px !important;}
i removed the string "-text" from title.
Last edited by delicacy1 on September 7th, 2017, 5:58 am, edited 3 times in total.
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

How could i remove the Visit (suggestive) grey background that wraps a found string like youtube.com

Image
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by dickvl »

Could be something like this for the selector:

Code: Select all

.autocomplete-richlistitem[type*="heuristic"] *|span.ac-emphasize-text {background-color: red !important}
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

You rock dickvl :)
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

i found another one dickvl, it doesn't work for all urls.. look at the pic below,
2 exemples, you can obtain that red background that i don't want either
by starting to type different letters..

Image
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

even if i use the term transparent when i'd rather have "none", i get an empty rectangle that wraps the text.. using this:

Code: Select all

.autocomplete-richlistitem[type*="heuristic"] *|span.ac-emphasize-text {background-color: transparent !important}
Last edited by delicacy1 on September 3rd, 2017, 3:17 pm, edited 1 time in total.
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

Resolved, googling part of your code online..

Code: Select all

#PopupAutoCompleteRichResult richlistitem[type*="heuristic"] { display:none !important; }
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by dickvl »

Yes.
That is part of what I use to hide them, but I assumed that you would want to keep this text:

Code: Select all

  #PopupAutoCompleteRichResult richlistitem:first-of-type[type*="heuristic"],
  #PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="searchengine"],
  #PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="visiturl"],
  #PopupAutoCompleteRichResult richlistitem:first-of-type[actiontype="keyword"] {
    display:none !important;
  }

Code: Select all

.autocomplete-richlistitem[type*="heuristic"] *|span.ac-emphasize-text {
  background-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
User avatar
dickvl
Posts: 54161
Joined: July 18th, 2005, 3:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by dickvl »

You removed the icons, so you need to add some margin-left to the text.

Does this work?

Code: Select all

.ac-title {margin-left: 5px !important;}
delicacy1
Posts: 304
Joined: September 28th, 2016, 11:25 am

Re: Needing a userstyle.. for the urlbar dropdownmenu..

Post by delicacy1 »

Ok:

Code: Select all

.ac-title , .ac-url-text {margin-left: 7px !important;}
how could i finally change the color of the grey background rectangle that appears in all references of the dropdown menu when i add letters in the urlbar ?
Post Reply