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 -moz-padding-start: 2px;
55 /* ::::: autocomplete popups ::::: */
57 panel[type="autocomplete"],
58 panel[type="autocomplete-richlistbox"],
59 .autocomplete-history-popup {
60 border: 1px solid #9999CC;
61 background-color: white;
65 .autocomplete-history-popup {
69 /* ::::: tree ::::: */
73 background-color: transparent !important;
76 .autocomplete-treecol {
77 margin: 0px !important;
78 border: none !important;
79 padding: 0px !important;
82 /* GTK calculates space for a sort arrow */
83 .autocomplete-treecol > .treecol-sortdirection {
84 -moz-appearance: none !important;
87 .autocomplete-treebody::-moz-tree-cell-text {
88 -moz-padding-start: 8px;
91 .autocomplete-treebody::-moz-tree-row(selected) {
92 background-color: #336699;
95 .autocomplete-treebody::-moz-tree-cell-text(selected) {
96 color: white !important;
99 .autocomplete-treebody::-moz-tree-image(treecolAutoCompleteValue) {
104 /* ::::: richlistbox autocomplete ::::: */
106 .autocomplete-richlistbox {
110 .autocomplete-richlistbox > scrollbox {
111 overflow-x: hidden !important;
114 .autocomplete-richlistitem[selected="true"] {
115 background-color: #336699;
119 .autocomplete-richlistitem {
123 .autocomplete-richlistitem:not(:first-child) {
124 border-top: 1px solid #666699;
132 -moz-margin-start: 3px;
133 -moz-margin-end: 5px;
141 .ac-extra > .ac-result-type-tag {
145 .ac-extra > .ac-comment {
146 -moz-padding-end: 4px;
150 margin: 2px 0px 0px !important;
156 margin: 2px 0px 0px !important;
160 .ac-normal-text > html|span {
161 margin: 0 !important;
165 html|span.ac-emphasize-text {
167 text-decoration: underline;
170 html|span.ac-emphasize-alt {
171 text-decoration: underline;
178 /* ::::: textboxes inside toolbarpaletteitems ::::: */
180 toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
184 toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {