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