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