3c30e09e |
1 | /* |
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/ |
6 | * |
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. |
11 | * |
12 | * The Original Code is Mozilla Communicator client code, released |
13 | * March 31, 1998. |
14 | * |
15 | * The Initial Developer of the Original Code is Netscape |
16 | * Communications Corporation. Portions created by Netscape are |
17 | * Copyright (C) 1998-1999 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * |
22 | */ |
23 | |
24 | /* ===== global.css ===================================================== |
25 | == Styles that apply everywhere. |
26 | ======================================================================= */ |
27 | |
28 | /* all localizable skin settings shall live here */ |
29 | @import url("chrome://global/locale/intl.css"); |
30 | |
31 | @import url("chrome://global/skin/formatting.css"); |
32 | |
33 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
34 | |
35 | /* ::::: bindings ::::: */ |
36 | |
37 | button { |
38 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button"); |
39 | } |
40 | |
41 | button[type="menu"] { |
42 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button-menu"); |
43 | } |
44 | |
45 | button[type="menu-button"] { |
46 | -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button"); |
47 | } |
48 | |
49 | checkbox |
50 | { |
51 | -moz-binding : url("chrome://global/skin/classicBindings.xml#checkbox"); |
52 | } |
53 | |
54 | menulist |
55 | { |
56 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist"); |
57 | } |
58 | |
59 | menulist[editable="true"] |
60 | { |
61 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-editable") !important; |
62 | } |
63 | |
64 | menulist > menupopup, |
65 | .menulist-menupopup |
66 | { |
67 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulistpopup"); |
68 | } |
69 | |
70 | .menulist-compact |
71 | { |
72 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-compact"); |
73 | } |
74 | |
75 | radio |
76 | { |
77 | -moz-binding : url("chrome://global/skin/classicBindings.xml#radio"); |
78 | } |
79 | |
80 | grippy, grippy[collapse="before"] |
81 | { |
82 | -moz-binding : url("chrome://global/skin/classicBindings.xml#grippy"); |
83 | } |
84 | |
85 | splitter |
86 | { |
87 | -moz-binding : url("chrome://global/skin/classicBindings.xml#splitter"); |
88 | } |
89 | |
90 | tabs |
91 | { |
92 | -moz-binding: url("chrome://global/skin/tabBindings.xml#tabs"); |
93 | } |
94 | |
95 | toolbargrippy |
96 | { |
97 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy"); |
98 | } |
99 | |
100 | toolbargrippy[tbgrippy-collapsed="true"] |
101 | { |
102 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy-collapsed"); |
103 | } |
104 | |
105 | .treecell-popupcell-menu |
106 | { |
107 | -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important; |
108 | } |
109 | |
110 | /* LCARStrek special bindings */ |
111 | |
112 | statusbar |
113 | { |
114 | -moz-binding : url("chrome://global/skin/globalBindings.xml#statusbar"); |
115 | } |
116 | |
117 | toolbar |
118 | { |
119 | -moz-binding : url("chrome://global/skin/globalBindings.xml#toolbar"); |
120 | } |
121 | |
122 | menubar |
123 | { |
124 | -moz-binding : url("chrome://global/skin/globalBindings.xml#menubar"); |
125 | } |
126 | |
127 | /** |
128 | * XUL <window> element |
129 | **/ |
130 | window, |
131 | page, |
132 | dialog, |
133 | wizard |
134 | { |
135 | background-color : #000000; |
136 | /* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ |
137 | font : 3mm helvetica,arial,tahoma,sans-serif; |
138 | color : #FF9F00; |
139 | padding : 3px; |
140 | } |
141 | |
142 | [wait-cursor] |
143 | { |
144 | cursor : wait !important; |
145 | } |
146 | |
147 | /* deprecated */ |
148 | window.dialog |
149 | { |
150 | background-color : #000000; |
151 | padding : 8px 10px 10px 8px; |
152 | } |
153 | |
154 | /** |
155 | * XUL <box> debugging |
156 | **/ |
157 | :-moz-horizontal-box-debug |
158 | { |
159 | border : 2px solid blue; |
160 | border-top-width : 10px; |
161 | padding : 2px; |
162 | margin : 2px; |
163 | color : white; |
164 | } |
165 | |
166 | :-moz-vertical-box-debug |
167 | { |
168 | border : 2px solid red; |
169 | border-left-width : 10px; |
170 | padding : 2px; |
171 | margin : 2px; |
172 | color : white; |
173 | } |
174 | |
175 | /** |
176 | * Utility icons (used for alert dialogs, etc) |
177 | **/ |
178 | .message-icon |
179 | { |
180 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
181 | width:32px;height:32px; |
182 | } |
183 | |
184 | .alert-icon |
185 | { |
186 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
187 | width:32px;height:32px; |
188 | } |
189 | |
190 | .error-icon |
191 | { |
192 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
193 | width:32px;height:32px; |
194 | } |
195 | |
196 | .question-icon |
197 | { |
198 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
199 | width:32px;height:32px; |
200 | } |
201 | |
202 | /** |
203 | * status-bar |
204 | */ |
205 | statusbar |
206 | { |
207 | margin-top : 3px; |
208 | overflow : hidden; |
209 | /* min-height : 1.9em !important; */ |
210 | /* DON'T DELETE. Removes disappearance of scrollbars |
211 | * in content pane when window is made smaller. |
212 | * Talk to evaughan@netscape.com for details. |
213 | */ |
214 | min-width : 1px; |
215 | } |
216 | |
217 | .statusbar-center |
218 | { |
219 | background-color : #8050B0; |
220 | padding-left : 2px; |
221 | color : black; |
222 | -moz-box-align : center; |
223 | } |
224 | |
225 | .statusbar-left |
226 | { |
227 | -moz-border-radius : 9px 0px 0px 9px; |
228 | background-color : #6000CF; |
229 | width : 13px; |
230 | margin-right : 3px; |
231 | } |
232 | |
233 | .statusbar-right |
234 | { |
235 | -moz-border-radius : 0px 9px 9px 0px; |
236 | background-color : #6000CF; |
237 | width : 13px; |
238 | margin-left : 3px; |
239 | } |
240 | |
241 | statusbarpanel, .statusbar-panel |
242 | { |
243 | padding : 0px 1px 0px 1px; |
244 | -moz-box-align : center; |
245 | } |
246 | |
247 | .statusbarpanel-icononly |
248 | { |
249 | padding : 0px; |
250 | } |
251 | |
252 | /** |
253 | * iframe default sizing |
254 | **/ |
255 | iframe |
256 | { |
257 | min-width : 10px; |
258 | min-height : 10px; |
259 | width : 100px; |
260 | height : 100px; |
261 | border : none; |
262 | } |
263 | |
264 | /* has to be in here since scoped stylesheets can't apply |
265 | to explicit children yet */ |
266 | caption |
267 | { |
268 | -moz-border-radius : 7px; |
269 | margin : 0px 40px 2px 6px; |
270 | padding : 0px 0px 0px 0px; |
271 | background-color : #9C9CFF; |
272 | color : #000000; |
273 | } |
274 | |
275 | .tooltip-label |
276 | { |
277 | margin : 0px; |
278 | } |
279 | |