Needing a userstyle.. for the urlbar dropdownmenu..
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
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.
Such defaults are usually the defaults as used in your operating system.
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
How could i turn the title & url text in this color:
#020944
#020944
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
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;}
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
Thanks dickvl, but strangely, it doesn't affect titles, only urls ((
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
I've tested something & it worked ))
i removed the string "-text" from title.
Code: Select all
#PopupAutoCompleteRichResult .ac-title
{color:#0443D9 !important; font-size:15px !important;}
#PopupAutoCompleteRichResult .ac-url-text
{color:#6070FB !important; font-size:14px !important;}
Last edited by delicacy1 on September 7th, 2017, 5:58 am, edited 3 times in total.
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
How could i remove the Visit (suggestive) grey background that wraps a found string like youtube.com
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
Could be something like this for the selector:
Code: Select all
.autocomplete-richlistitem[type*="heuristic"] *|span.ac-emphasize-text {background-color: red !important}
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
You rock dickvl
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
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..
2 exemples, you can obtain that red background that i don't want either
by starting to type different letters..
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
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.
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
Resolved, googling part of your code online..
Code: Select all
#PopupAutoCompleteRichResult richlistitem[type*="heuristic"] { display:none !important; }
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
Yes.
That is part of what I use to hide them, but I assumed that you would want to keep this text:
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;
}
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
- dickvl
- Posts: 54161
- Joined: July 18th, 2005, 3:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
You removed the icons, so you need to add some margin-left to the text.
Does this work?
Does this work?
Code: Select all
.ac-title {margin-left: 5px !important;}
-
- Posts: 304
- Joined: September 28th, 2016, 11:25 am
Re: Needing a userstyle.. for the urlbar dropdownmenu..
Ok:
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 ?
Code: Select all
.ac-title , .ac-url-text {margin-left: 7px !important;}