2
* The contents of this file are subject to the Netscape Public
3
* License Version 1.1 (the "License"); you may not use this file
4
* except in compliance with the License. You may obtain a copy of
5
* the License at http://www.mozilla.org/NPL/
7
* Software distributed under the License is distributed on an "AS
8
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
* implied. See the License for the specific language governing
10
* rights and limitations under the License.
12
* The Original Code is Mozilla Communicator client code, released
15
* The Initial Developer of the Original Code is Netscape
16
* Communications Corporation. Portions created by Netscape are
17
* Copyright (C) 1998-2001 Netscape Communications Corporation. All
21
* Joe Hewitt (hewitt@netscape.com)
24
/* ===== autocomplete.css =================================================
25
== Styles used by the autocomplete widget.
26
======================================================================= */
28
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
29
@namespace html url("http://www.w3.org/1999/xhtml");
31
/* ::::: autocomplete ::::: */
38
/* Used by autocomplete widgets that don't have an icon. Gross. -dwh */
40
padding: 1px 0px 1px 2px;
43
.autocomplete-textbox-container {
44
-moz-box-align: center;
49
-moz-box-align: center;
52
/* ::::: history button ::::: */
54
.autocomplete-history-dropmarker {
55
-moz-appearance: menulist-button;
57
-moz-box-align: center;
58
-moz-box-pack: center;
60
-moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
61
-moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
62
-moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
63
-moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
64
background-color: -moz-Dialog;
66
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
69
.autocomplete-history-dropmarker:hover:active,
70
.autocomplete-history-dropmarker[open="true"] {
71
-moz-border-top-colors: ThreeDShadow ThreeDFace;
72
-moz-border-right-colors: ThreeDShadow ThreeDFace;
73
-moz-border-bottom-colors: ThreeDShadow ThreeDFace;
74
-moz-border-left-colors: ThreeDShadow ThreeDFace;
78
/* ::::: autocomplete popups ::::: */
80
popup[type="autocomplete"],
81
.autocomplete-history-popup {
83
-moz-border-top-colors: ThreeDDarkShadow;
84
-moz-border-right-colors: ThreeDDarkShadow;
85
-moz-border-bottom-colors: ThreeDDarkShadow;
86
-moz-border-left-colors: ThreeDDarkShadow;
88
background-color: -moz-Field !important;
91
.autocomplete-history-popup {
95
/* ::::: tree ::::: */
98
-moz-appearance: none !important;
99
border: none !important;
100
background-color: transparent !important;
103
.autocomplete-treecol {
104
-moz-appearance: none !important;
105
margin: 0 !important;
106
border: none !important;
107
padding: 0 !important;
110
.autocomplete-treebody::-moz-tree-cell-text {
114
treechildren.autocomplete-treebody::-moz-tree-row(selected) {
115
background-color: Highlight;
118
treechildren.autocomplete-treebody::-moz-tree-cell-text(selected) {
119
color: HighlightText !important;
122
/* thunderbird does not use the new autocomplete widget yet so we need a couple of the old styles rules for it */
124
.autocomplete-treebody::-moz-tree-row(menuactive) {
125
background-color: Highlight;
128
.autocomplete-treebody::-moz-tree-cell-text(menuactive) {
129
color: HighlightText !important;
132
/* end of thunderbird required autocomplete rules */
134
/* ::::: textboxes inside toolbarpaletteitems ::::: */
136
toolbarpaletteitem > toolbaritem > textbox > hbox > hbox > html|*.textbox-input {
140
toolbarpaletteitem > toolbaritem > * > textbox > hbox > hbox > html|*.textbox-input {