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"); | |
80 | } | |
81 | ||
3a121502 | 82 | /* |
83 | progressmeter[mode="undetermined"] { | |
84 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
85 | } | |
86 | */ | |
87 | ||
b1eaa419 | 88 | /* ::::: root elements ::::: */ |
89 | ||
90 | window, | |
91 | page, | |
92 | dialog, | |
c79d2bbe RK |
93 | wizard, |
94 | prefwindow { | |
b1eaa419 | 95 | background-color: #000000; |
96 | color: #FF9F00; | |
97 | /* font: 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ | |
80916bc4 | 98 | font: 11px helvetica,arial,tahoma,sans-serif; |
b1eaa419 | 99 | padding: 3px; |
100 | } | |
101 | ||
102 | /* deprecated */ | |
3d6dd546 | 103 | window.dialog { |
b1eaa419 | 104 | background-color: #000000; |
105 | padding: 8px 10px 10px 8px; | |
106 | } | |
107 | ||
3d6dd546 | 108 | [wait-cursor] { |
109 | cursor: wait !important; | |
b1eaa419 | 110 | } |
111 | ||
112 | /* ::::: alert icons :::::*/ | |
113 | ||
114 | .message-icon, | |
115 | .alert-icon, | |
116 | .error-icon, | |
c79d2bbe RK |
117 | .question-icon, |
118 | .authentication-icon { | |
b1eaa419 | 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 | ||
c79d2bbe RK |
135 | .question-icon, |
136 | .authentication-icon { | |
b1eaa419 | 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; | |
c79d2bbe | 154 | min-height: 16px; |
b1eaa419 | 155 | } |
156 | ||
157 | .statusbar-center { | |
158 | background-color: #8050B0; | |
159 | padding-left: 2px; | |
15d3cb53 | 160 | color: #000000; |
b1eaa419 | 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 | } | |
3d6dd546 | 183 | |
b1eaa419 | 184 | .statusbar-resizerpanel { |
185 | -moz-box-align: end; | |
186 | -moz-box-pack: end; | |
187 | padding: 0px; | |
188 | } | |
189 | ||
c79d2bbe RK |
190 | .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { |
191 | padding: 0px 1px 0px 1px; | |
3d6dd546 | 192 | } |
b1eaa419 | 193 | |
b935f37c | 194 | resizer[dir="bottomright"] { |
195 | cursor: se-resize; | |
196 | } | |
197 | ||
b1eaa419 | 198 | /* ::::: miscellaneous ::::: */ |
199 | ||
200 | .toolbar-focustarget { | |
201 | -moz-user-focus: ignore !important; | |
202 | } | |
6046f027 | 203 | |
c79d2bbe RK |
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; | |
6046f027 | 247 | } |