fixing crasher with resource bindings
[themes.git] / LCARStrek / skin / LCARStrek / global / autocomplete.css
CommitLineData
b200f773 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is "Classic" theme of mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * the Mozilla Organization.
18 * Portions created by the Initial Developer are Copyright (C) 1998-2001
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 *
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
3c30e09e 39
40/* ::::: autocomplete ::::: */
41
42textbox[type="autocomplete"]
43 {
44 cursor : default !important;
45 -moz-border-radius : 5px;
46 }
47
48.autocomplete-internal-box
49 {
50 padding : 0px !important;
51 -moz-border-radius : 5px;
52 }
53
54.autocomplete-textbox-container
55 {
56 padding : 1px 2px 1px 2px;
57 }
58
59.autocomplete-textbox
60 {
61 cursor : text;
62 }
63
64/* ::::: history button ::::: */
65
66.autocomplete-history-button
67 {
68 -moz-binding : url("chrome://global/skin/classicBindings.xml#autocomplete-history-button");
69 width : 15px;
70 min-height : 15px;
71 border : none;
72 background-color : #000000;
73 list-style-image : url("chrome://global/skin/scroll-down.gif");
74 padding : 0px;
75 margin : 0px;
76 -moz-border-radius : 0px 5px 5px 0px;
77 }
78
79.autocomplete-history-button > .autocomplete-history-button-internal-box
80 {
81 -moz-border-radius : 0px 5px 5px 0px;
82 border : none;
83 border-left : 1px solid #9C9CFF;
84 padding : 1px;
85 }
86
87.autocomplete-history-button:hover,
88.autocomplete-history-button[buttonover="true"]
89 {
90 background-color : #FFCF00;
91 list-style-image : url("chrome://global/skin/scroll-down-hover.gif");
92 }
93
94.autocomplete-history-button:hover:active,
95.autocomplete-history-button[open="true"]
96 {
97 background-color : #FF9F00;
98 list-style-image : url("chrome://global/skin/scroll-down-hover.gif");
99 }
100
101.autocomplete-history-button[open="true"]
102 {
103 border : none;
104 }
105
106.autocomplete-history-button[open="true"] > .autocomplete-history-button-internal-box
107 {
108 padding : 2px 0px 0px 2px;
109 }
110
111/* ::::: autocomplete popups ::::: */
112
113.autocomplete-result-popup,
114.autocomplete-history-popup
115 {
116 border : 1px solid #FF9F00 !important;
117 background-color : black !important;
118 }
119
120.autocomplete-history-popup
121 {
122 max-height : 180px;
123 }
124
125/* ::::: outliner ::::: */
126
127.autocomplete-outliner
128 {
129 border : none;
130 background-color : transparent !important;
131 }
132
133.autocomplete-outlinercol
134 {
135 margin : 0px !important;
136 border : none !important;
137 padding : 0px !important;
138 }
139
140.autocomplete-outlinerbody:-moz-outliner-cell-text
141 {
142 padding-left: 8px;
143 }
144
145.autocomplete-outlinerbody:-moz-outliner-row(menuactive)
146 {
147 background-color : #FFCF00;
148 }
149
150.autocomplete-outlinerbody:-moz-outliner-cell-text(menuactive)
151 {
152 color : #000000 !important;
153 }