1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6 @namespace html url("http://www.w3.org/1999/xhtml");
8 /* ===== autocomplete.css =================================================
9 == Styles used by the autocomplete widget.
10 ======================================================================= */
12 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13 @namespace html url("http://www.w3.org/1999/xhtml");
15 /* ::::: autocomplete ::::: */
17 /* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
18 textbox:not(.padded) {
23 textbox[nomatch="true"][highlightnonmatches="true"] {
27 .autocomplete-textbox-container {
28 -moz-box-align: center;
31 textbox:not(.padded) .textbox-input-box {
36 -moz-box-align: center;
39 /* ::::: history button ::::: */
41 .autocomplete-history-dropmarker {
44 background-color: #9999CC;
47 .autocomplete-history-dropmarker[open="true"] {
48 border: 1px inset #CCD0DD;
51 padding-inline-start: 2px;
52 padding-inline-end: 0;
55 /* ::::: autocomplete popups ::::: */
57 panel[type="autocomplete"],
58 panel[type="autocomplete-richlistbox"],
59 .autocomplete-history-popup {
60 border: 1px solid #9999CC;
61 background-color: #FFFFFF;
66 .autocomplete-history-popup {
70 /* ::::: tree ::::: */
74 background-color: transparent !important;
77 .autocomplete-treecol {
78 margin: 0px !important;
79 border: none !important;
80 padding: 0px !important;
83 /* GTK calculates space for a sort arrow */
84 .autocomplete-treecol > .treecol-sortdirection {
85 -moz-appearance: none !important;
88 .autocomplete-treebody::-moz-tree-cell-text {
89 padding-inline-start: 8px;
92 .autocomplete-treebody::-moz-tree-row(selected) {
93 background-color: #336699;
96 .autocomplete-treebody::-moz-tree-cell-text(selected) {
97 color: white !important;
100 .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
105 /* ::::: richlistbox autocomplete ::::: */
107 .autocomplete-richlistbox {
111 .autocomplete-richlistbox > scrollbox {
112 overflow-x: hidden !important;
115 .autocomplete-richlistitem[selected] {
116 background-color: #336699;
125 margin-inline-start: 14px;
126 margin-inline-end: 6px;
134 margin-inline-start: 0px;
135 margin-inline-end: 11px;
136 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.svg");
140 margin-inline-start: 0;
141 margin-inline-end: 6px;
145 margin-inline-start: 0;
146 margin-inline-end: 2px;
150 margin-inline-start: 0;
151 margin-inline-end: 4px;
155 margin-inline-start: 0;
156 margin-inline-end: 6px;
159 /* Better align the URL/action with the title. */
172 .ac-text-overflow-container {
173 padding: 0 !important;
174 margin: 0 !important;
177 /* ::::: textboxes inside toolbarpaletteitems ::::: */
179 toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
183 toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {