Commit | Line | Data |
---|---|---|
351107c9 | 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 | * | |
3d6dd546 | 16 | * The Initial Developer of the Original Code is |
351107c9 | 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 | |
3d6dd546 | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
351107c9 | 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 | ||
b1eaa419 | 49 | /* ::::: XBL bindings ::::: */ |
351107c9 | 50 | |
3d6dd546 | 51 | checkbox { |
52 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
53 | } | |
54 | ||
b1eaa419 | 55 | radio { |
3d6dd546 | 56 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
351107c9 | 57 | } |
58 | ||
b1eaa419 | 59 | menulist > menupopup, |
60 | .menulist-menupopup { | |
61 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
351107c9 | 62 | } |
63 | ||
b1eaa419 | 64 | .menulist-compact { |
6046f027 | 65 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
b1eaa419 | 66 | } |
351107c9 | 67 | |
68 | /* LCARStrek special bindings */ | |
69 | ||
b1eaa419 | 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"); | |
dd676468 RK |
80 | } |
81 | ||
82 | toolbaritem > menubar { | |
83 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); | |
b1eaa419 | 84 | } |
85 | ||
3a121502 | 86 | /* |
87 | progressmeter[mode="undetermined"] { | |
88 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
89 | } | |
90 | */ | |
91 | ||
b1eaa419 | 92 | /* ::::: root elements ::::: */ |
93 | ||
94 | window, | |
95 | page, | |
96 | dialog, | |
c79d2bbe RK |
97 | wizard, |
98 | prefwindow { | |
b1eaa419 | 99 | background-color: #000000; |
100 | color: #FF9F00; | |
101 | /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ | |
80916bc4 | 102 | font: 11px helvetica,arial,tahoma,sans-serif; |
b1eaa419 | 103 | padding: 3px; |
104 | } | |
105 | ||
106 | /* deprecated */ | |
3d6dd546 | 107 | window.dialog { |
b1eaa419 | 108 | background-color: #000000; |
109 | padding: 8px 10px 10px 8px; | |
110 | } | |
111 | ||
3d6dd546 | 112 | [wait-cursor] { |
113 | cursor: wait !important; | |
b1eaa419 | 114 | } |
115 | ||
116 | /* ::::: alert icons :::::*/ | |
117 | ||
118 | .message-icon, | |
119 | .alert-icon, | |
120 | .error-icon, | |
c79d2bbe RK |
121 | .question-icon, |
122 | .authentication-icon { | |
b1eaa419 | 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 | ||
c79d2bbe RK |
139 | .question-icon, |
140 | .authentication-icon { | |
b1eaa419 | 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; | |
c79d2bbe | 158 | min-height: 16px; |
b1eaa419 | 159 | } |
160 | ||
161 | .statusbar-center { | |
162 | background-color: #8050B0; | |
163 | padding-left: 2px; | |
15d3cb53 | 164 | color: #000000; |
b1eaa419 | 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 | } | |
3d6dd546 | 187 | |
b1eaa419 | 188 | .statusbar-resizerpanel { |
189 | -moz-box-align: end; | |
190 | -moz-box-pack: end; | |
191 | padding: 0px; | |
192 | } | |
193 | ||
c79d2bbe RK |
194 | .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { |
195 | padding: 0px 1px 0px 1px; | |
3d6dd546 | 196 | } |
b1eaa419 | 197 | |
b935f37c | 198 | resizer[dir="bottomright"] { |
199 | cursor: se-resize; | |
200 | } | |
201 | ||
b1eaa419 | 202 | /* ::::: miscellaneous ::::: */ |
203 | ||
204 | .toolbar-focustarget { | |
205 | -moz-user-focus: ignore !important; | |
206 | } | |
6046f027 | 207 | |
c79d2bbe RK |
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; | |
6046f027 | 251 | } |