Bug 1376115 - Increase size of awesomebar results in touch mode. r?adw
MozReview-Commit-ID: 4XSJZCcHkq0
--- a/browser/themes/linux/browser.css
+++ b/browser/themes/linux/browser.css
@@ -481,37 +481,22 @@ notification[value="translation"] button
notification[value="translation"] menulist > .menulist-dropmarker {
display: block;
}
/* AutoComplete */
%include ../shared/autocomplete.inc.css
+%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
border-top: 1px solid ThreeDShadow;
}
-#treecolAutoCompleteImage {
- max-width : 36px;
-}
-
-.autocomplete-richlistbox {
- padding: 4px;
-}
-
-.autocomplete-richlistitem {
- height: 30px;
- min-height: 30px;
- font: message-box;
- border-radius: 2px;
- border: 1px solid transparent;
-}
-
.autocomplete-richlistitem:hover,
treechildren.searchbar-treebody::-moz-tree-row(hover) {
background-color: hsla(0, 0%, 0%, 0.06);
border-color: hsla(0, 0%, 0%, 0.1);
}
.autocomplete-richlistitem[selected],
treechildren.searchbar-treebody::-moz-tree-row(selected) {
--- a/browser/themes/osx/browser.css
+++ b/browser/themes/osx/browser.css
@@ -495,37 +495,22 @@ toolbarpaletteitem[place="palette"] > #p
color: GrayText;
}
%include ../shared/urlbarSearchSuggestionsNotification.inc.css
/* ----- AUTOCOMPLETE ----- */
%include ../shared/autocomplete.inc.css
+%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
border-top: 1px solid #C7C7C7;
}
-#treecolAutoCompleteImage {
- max-width: 36px;
-}
-
-.autocomplete-richlistbox {
- padding: 4px;
-}
-
-.autocomplete-richlistitem {
- height: 30px;
- min-height: 30px;
- font: message-box;
- border-radius: 2px;
- border: 1px solid transparent;
-}
-
.autocomplete-richlistitem:hover,
treechildren.searchbar-treebody::-moz-tree-row(hover) {
background-color: hsla(0, 0%, 0%, 0.06);
border-color: hsla(0, 0%, 0%, 0.1);
}
.autocomplete-richlistitem[selected],
treechildren.searchbar-treebody::-moz-tree-row(selected) {
new file mode 100644
--- /dev/null
+++ b/browser/themes/shared/urlbar-autocomplete.inc.css
@@ -0,0 +1,24 @@
+%if 0
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+%endif
+
+#treecolAutoCompleteImage {
+ max-width: 36px;
+}
+
+.autocomplete-richlistbox {
+ padding: 4px;
+}
+
+.autocomplete-richlistitem {
+ min-height: 30px;
+ font: message-box;
+ border-radius: 2px;
+ border: 1px solid transparent;
+}
+
+:root[uidensity=touch] .autocomplete-richlistitem {
+ min-height: 40px;
+}
--- a/browser/themes/shared/urlbar-searchbar.inc.css
+++ b/browser/themes/shared/urlbar-searchbar.inc.css
@@ -1,11 +1,13 @@
+%if 0
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+%endif
#urlbar,
.searchbar-textbox {
-moz-appearance: none;
background-clip: content-box;
border: 1px solid hsla(240,5%,5%,.25);
border-radius: var(--toolbarbutton-border-radius);
box-shadow: 0 1px 4px rgba(0,0,0,.05);
--- a/browser/themes/windows/browser.css
+++ b/browser/themes/windows/browser.css
@@ -674,37 +674,22 @@ html|*.urlbar-input:-moz-lwtheme::placeh
/* page proxy icon */
%include ../shared/identity-block/identity-block.inc.css
/* autocomplete */
%include ../shared/autocomplete.inc.css
+%include ../shared/urlbar-autocomplete.inc.css
#PopupAutoComplete > richlistbox > richlistitem[originaltype~="datalist-first"] {
border-top: 1px solid ThreeDShadow;
}
-#treecolAutoCompleteImage {
- max-width: 36px;
-}
-
-.autocomplete-richlistbox {
- padding: 4px;
-}
-
-.autocomplete-richlistitem {
- height: 30px;
- min-height: 30px;
- font: message-box;
- border-radius: 2px;
- border: 1px solid transparent;
-}
-
.ac-title {
font-size: 14px;
}
.ac-tags {
font-size: 12px;
}