be8e862d5a5060b360de7969dc75c689a419f6d3
[themes.git] / LCARStrek / global / global.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3  *
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/
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 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.
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 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.
35  *
36  * ***** END LICENSE BLOCK ***** */
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 /* ::::: XBL bindings ::::: */
50
51 checkbox {
52   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
53 }
54
55 radio {
56   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
57 }
58
59 menulist > menupopup,
60 .menulist-menupopup {
61   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
62 }
63
64 .menulist-compact {
65   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
66 }
67
68 /* LCARStrek special bindings */
69
70 statusbar {
71   -moz-binding: url("chrome://global/skin/globalBindings.xml#statusbar");
72 }
73
74 toolbar {
75   -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
76 }
77
78 menubar {
79   -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
80 }
81
82 /*
83 progressmeter[mode="undetermined"] {
84   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
85 }
86 */
87
88 /* ::::: root elements ::::: */
89
90 window,
91 page,
92 dialog,
93 wizard,
94 prefwindow {
95   background-color: #000000;
96   color: #FF9F00;
97 /*  font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
98   font: 11px helvetica,arial,tahoma,sans-serif;
99   padding: 3px;
100 }
101
102 /* deprecated */
103 window.dialog {
104   background-color: #000000;
105   padding: 8px 10px 10px 8px;
106 }
107
108 [wait-cursor] {
109   cursor: wait !important;
110 }
111
112 /* ::::: alert icons :::::*/
113
114 .message-icon,
115 .alert-icon,
116 .error-icon,
117 .question-icon,
118 .authentication-icon {
119   width: 32px;
120   height: 32px;
121 }
122
123 .message-icon {
124   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
125 }
126
127 .alert-icon {
128   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
129 }
130
131 .error-icon {
132   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
133 }
134
135 .question-icon,
136 .authentication-icon {
137   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
138 }
139
140 /* ::::: iframe ::::: */
141
142 iframe {
143   border: none;
144   width: 100px;
145   height: 100px;
146   min-width: 10px;
147   min-height: 10px;
148 }
149
150 /* ::::: statusbar ::::: */
151
152 statusbar {
153   margin-top: 3px;
154   min-height: 16px;
155 }
156
157 .statusbar-center {
158   background-color: #8050B0;
159   padding-left: 2px;
160   color: #000000;
161   -moz-box-align: center;
162 }
163
164 .statusbar-left {
165   -moz-border-radius: 9px 0px 0px 9px;
166   background-color: #6000CF;
167   width: 13px;
168   margin-right: 3px;
169 }
170
171 .statusbar-right {
172   -moz-border-radius: 0px 9px 9px 0px;
173   background-color: #6000CF;
174   width: 13px;
175   margin-left: 3px;
176 }
177
178 statusbarpanel {
179   -moz-box-align: center;
180   -moz-box-pack: center;
181   padding: 0px 1px 0px 1px;
182 }
183
184 .statusbar-resizerpanel {
185   -moz-box-align: end;
186   -moz-box-pack: end;
187   padding: 0px;
188 }
189
190 .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic {
191   padding: 0px 1px 0px 1px;
192 }
193
194 resizer[dir="bottomright"] {
195   cursor: se-resize;
196 }
197
198 /* ::::: miscellaneous ::::: */
199
200 .toolbar-focustarget {
201   -moz-user-focus: ignore !important;
202 }
203
204 /* :::::: autoscroll popup ::::: */
205
206 #autoscroller {
207   height: 28px;
208   width: 28px;
209   border: 0px;
210   margin: -14px;
211   padding: 0px;
212   background-image: url("chrome://global/skin/icons/autoscroll.png");
213   background-color: transparent;
214   -moz-appearance: none;
215 }
216
217 #autoscroller[scrolldir="NS"] {
218   background-position: left center;
219 }
220
221 #autoscroller[scrolldir="EW"] {
222   background-position: left bottom;
223 }
224
225 #autoscroller[transparent="true"] {
226   background-position: center top;
227 }
228
229 #autoscroller[transparent="true"][scrolldir="NS"] {
230   background-position: center center;
231 }
232
233 #autoscroller[transparent="true"][scrolldir="EW"] {
234   background-position: center bottom;
235 }
236
237 #autoscroller[translucent="true"] {
238   background-position: right top;
239 }
240
241 #autoscroller[translucent="true"][scrolldir="NS"] {
242   background-position: right center;
243 }
244
245 #autoscroller[translucent="true"][scrolldir="EW"] {
246   background-position: right bottom;
247 }