Bug 1391613 - Remove border from URL bar and search bar autocomplete items. ui-r=shorlander r=adw
MozReview-Commit-ID: 34uXLrUPJLR
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -464,27 +464,16 @@ notification[value="translation"] menuli
%include ../shared/autocomplete.inc.css
%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
border-top: 1px solid ThreeDShadow;
}
-.autocomplete-richlistitem:hover,
-treechildren.searchbar-treebody::-moz-tree-row(hover) {
- background-color: var(--arrowpanel-dimmed);
- border-color: var(--panel-separator-color);
-}
-
-.autocomplete-richlistitem[selected],
-treechildren.searchbar-treebody::-moz-tree-row(selected) {
- background-color: Highlight;
-}
-
.ac-title {
font-size: 1.05em;
}
.ac-separator,
.ac-url,
.ac-action,
.ac-tags {
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -420,28 +420,16 @@
%include ../shared/autocomplete.inc.css
%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
border-top: 1px solid #C7C7C7;
}
-.autocomplete-richlistitem:hover,
-treechildren.searchbar-treebody::-moz-tree-row(hover) {
- background-color: var(--arrowpanel-dimmed);
- border-color: var(--panel-separator-color);
-}
-
-.autocomplete-richlistitem[selected],
-treechildren.searchbar-treebody::-moz-tree-row(selected) {
- background-color: Highlight;
- color: HighlightText;
-}
-
.ac-title {
font-size: 14px;
}
.ac-separator,
.ac-url,
.ac-action,
.ac-tags {
--- a/browser/themes/shared/urlbar-autocomplete.inc.css
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -4,21 +4,32 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
%endif
#treecolAutoCompleteImage {
max-width: 36px;
}
.autocomplete-richlistbox {
- padding: 4px;
+ padding: 4px 3px;
}
.autocomplete-richlistitem {
min-height: 30px;
font: message-box;
border-radius: 2px;
- border: 1px solid transparent;
}
:root[uidensity=touch] .autocomplete-richlistitem {
min-height: 40px;
}
+
+.autocomplete-richlistitem:hover,
+treechildren.searchbar-treebody::-moz-tree-row(hover) {
+ background-color: var(--arrowpanel-dimmed);
+}
+
+.autocomplete-richlistitem[selected],
+treechildren.searchbar-treebody::-moz-tree-row(selected) {
+ background-color: Highlight;
+ color: HighlightText;
+}
+
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -673,28 +673,16 @@ html|span.ac-emphasize-text-url {
}
.ac-tags-text[selected] > html|span.ac-tag {
background-color: HighlightText;
color: Highlight;
}
}
-.autocomplete-richlistitem:hover,
-treechildren.searchbar-treebody::-moz-tree-row(hover) {
- background-color: var(--arrowpanel-dimmed);
- border-color: var(--panel-separator-color);
-}
-
-.autocomplete-richlistitem[selected],
-treechildren.searchbar-treebody::-moz-tree-row(selected) {
- background-color: Highlight;
- color: HighlightText;
-}
-
.ac-type-icon[type=bookmark] {
list-style-image: url("chrome://browser/skin/bookmark.svg");
-moz-context-properties: fill;
fill: #b2b2b2;
}
.ac-type-icon[type=bookmark][selected][current] {
fill: white;