summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/browser.css
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-04-17 09:45:29 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-04-17 09:45:29 -0400
commite7b772334d95e937827526899011bedceec295f8 (patch)
tree7787938a047b8005e2f56c5467cfb83dd727e79c /application/palemoon/base/content/browser.css
parent2b63f23cf3f082d8cd5cf467e059dbd2eb7286b5 (diff)
downloadUXP-e7b772334d95e937827526899011bedceec295f8.tar
UXP-e7b772334d95e937827526899011bedceec295f8.tar.gz
UXP-e7b772334d95e937827526899011bedceec295f8.tar.lz
UXP-e7b772334d95e937827526899011bedceec295f8.tar.xz
UXP-e7b772334d95e937827526899011bedceec295f8.zip
[PALEMOON] Localize a private copy of the pre-newawesomebar autocomplete bindings and styling
Diffstat (limited to 'application/palemoon/base/content/browser.css')
-rw-r--r--application/palemoon/base/content/browser.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/application/palemoon/base/content/browser.css b/application/palemoon/base/content/browser.css
index 4865cfee7..a72d77488 100644
--- a/application/palemoon/base/content/browser.css
+++ b/application/palemoon/base/content/browser.css
@@ -328,6 +328,68 @@ panel[noactions] > richlistbox > richlistitem[type~="action"] > .ac-url-box > .a
visibility: hidden;
}
+/* Override xul.css for autocomplete bindings and css */
+textbox[type="autocomplete"] {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete");
+}
+
+panel[type="autocomplete"] {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-result-popup");
+}
+
+panel[type="autocomplete-richlistbox"] {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-rich-result-popup");
+}
+
+/* FIXME: bug 616258 */
+
+.autocomplete-tree {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-tree");
+ -moz-user-focus: ignore;
+}
+
+.autocomplete-treebody {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-treebody");
+}
+
+.autocomplete-richlistbox {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-richlistbox");
+ -moz-user-focus: ignore;
+}
+
+.autocomplete-richlistbox > scrollbox {
+ overflow-x: hidden !important;
+}
+
+.autocomplete-richlistitem {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-richlistitem");
+ -moz-box-orient: vertical;
+ overflow: -moz-hidden-unscrollable;
+}
+
+.autocomplete-treerows {
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#autocomplete-treerows");
+}
+
+.autocomplete-history-dropmarker {
+ display: none;
+}
+
+.autocomplete-history-dropmarker[enablehistory="true"] {
+ display: -moz-box;
+ -moz-binding: url("chrome://browser/content/autocomplete.xml#history-dropmarker");
+}
+
+.ac-ellipsis-after {
+ visibility: hidden;
+}
+
+.ac-url-text[type~="action"],
+.ac-action-text:not([type~="action"]) {
+ visibility: collapse;
+}
+
+
/* ::::: Unified Back-/Forward Button ::::: */
#back-button > .toolbarbutton-menu-dropmarker,
#forward-button > .toolbarbutton-menu-dropmarker {