af36f6ab48cd77b015126d5fe6c965a4aa48a310
[themes.git] / LCARStrek / skin / LCARStrek / global / global.css
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   page
143     { 
144       padding             : 0px;
145     }
146
147   [wait-cursor] 
148     { 
149       cursor              : wait !important; 
150     }
151   
152   /* deprecated */
153   window.dialog 
154     { 
155       background-color    : #000000;
156       padding             : 8px 10px 10px 8px;
157     }
158
159 /**
160  * XUL <box> debugging
161  **/
162   :-moz-horizontal-box-debug 
163     {
164       border              : 2px solid blue;
165       border-top-width    : 10px;
166       padding             : 2px;
167       margin              : 2px;
168       color               : white;
169     }
170   
171   :-moz-vertical-box-debug 
172     {
173       border              : 2px solid red;
174       border-left-width   : 10px;
175       padding             : 2px;
176       margin              : 2px;
177       color               : white;
178     }
179
180 /**
181  * Utility icons (used for alert dialogs, etc)
182  **/
183   .message-icon 
184     {
185       list-style-image    : url("chrome://global/skin/message-icon.gif");
186       width:32px;height:32px;
187     }
188
189   .alert-icon 
190     {
191       list-style-image    : url("chrome://global/skin/alert-icon.gif");
192       width:32px;height:32px;
193     }
194   
195   .error-icon 
196     {
197       list-style-image    : url("chrome://global/skin/error-icon.gif");
198       width:32px;height:32px;
199     }
200   
201   .question-icon 
202     {
203       list-style-image    : url("chrome://global/skin/question-icon.gif");
204       width:32px;height:32px;
205     }
206
207 /**
208  * status-bar
209  */
210   statusbar
211     {
212       margin-top          : 3px;
213       overflow            : hidden;
214 /*      min-height          : 1.9em !important; */
215       /* DON'T DELETE.  Removes disappearance of scrollbars
216        * in content pane when window is made smaller.
217        * Talk to evaughan@netscape.com for details.
218        */
219       min-width           : 1px;
220     }
221   
222   .statusbar-center
223     {
224       background-color    : #8050B0;
225       padding-left        : 2px;
226       color               : black;
227       -moz-box-align      : center;
228     }
229
230   .statusbar-left
231     {
232       -moz-border-radius  : 9px 0px 0px 9px;
233       background-color    : #6000CF;
234       width               : 13px;
235       margin-right        : 3px;
236     }
237
238   .statusbar-right
239     {
240       -moz-border-radius  : 0px 9px 9px 0px;
241       background-color    : #6000CF;
242       width               : 13px;
243       margin-left         : 3px;
244     }
245
246   statusbarpanel, .statusbar-panel
247     {
248       padding             : 0px 1px 0px 1px;
249       -moz-box-align      : center;
250     }
251
252   .statusbarpanel-icononly
253     {
254       padding             : 0px;
255     }    
256     
257 /**
258  * iframe default sizing 
259  **/
260   iframe 
261     {
262       min-width           : 10px;
263       min-height          : 10px;
264       width               : 100px;
265       height              : 100px;
266       border              : none;
267     }
268
269 /* has to be in here since scoped stylesheets can't apply
270    to explicit children yet */
271 caption
272   {
273     -moz-border-radius    : 7px;
274     margin                : 0px 40px 2px 6px;
275     padding               : 0px 0px 0px 0px;
276     background-color      : #9C9CFF;
277     color                 : #000000;
278   }
279
280 .tooltip-label
281   {
282     margin                : 0px;
283   }
284
285