Commit | Line | Data |
---|---|---|
128000f4 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 | |
f6e0a33f | 3 | * |
128000f4 | 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/ | |
f6e0a33f | 8 | * |
128000f4 | 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. | |
f6e0a33f | 13 | * |
128000f4 | 14 | * The Original Code is mozilla.org code. |
15 | * | |
76983f4c | 16 | * The Initial Developer of the Original Code is |
128000f4 | 17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 | |
19 | * the Initial Developer. All Rights Reserved. | |
f6e0a33f | 20 | * |
21 | * Contributor(s): | |
128000f4 | 22 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f | 23 | * |
128000f4 | 24 | * Alternatively, the contents of this file may be used under the terms of |
76983f4c | 25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
128000f4 | 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 ***** */ | |
f6e0a33f | 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 | ||
74d14f90 | 49 | /* ::::: XBL bindings ::::: */ |
f6e0a33f | 50 | |
76983f4c | 51 | checkbox { |
52 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
53 | } | |
54 | ||
74d14f90 | 55 | radio { |
76983f4c | 56 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
f6e0a33f | 57 | } |
74d14f90 | 58 | |
59 | menulist > menupopup, | |
60 | .menulist-menupopup { | |
61 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
f6e0a33f | 62 | } |
63 | ||
74d14f90 | 64 | .menulist-compact { |
ecb2fda9 | 65 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
f6e0a33f | 66 | } |
67 | ||
caf7fc11 | 68 | /* |
69 | progressmeter[mode="undetermined"] { | |
70 | -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined"); | |
71 | } | |
72 | */ | |
73 | ||
74d14f90 | 74 | /* ::::: root elements ::::: */ |
75 | ||
76 | window, | |
77 | page, | |
78 | dialog, | |
df8c26c4 RK |
79 | wizard, |
80 | prefwindow { | |
74d14f90 | 81 | background-color: #CCD0DD; |
82 | color: #000000; | |
c8120ee9 | 83 | font: 11px helvetica,arial,tahoma,sans-serif; |
74d14f90 | 84 | } |
d36c7ec4 | 85 | |
76983f4c | 86 | window.dialog { |
74d14f90 | 87 | padding: 8px 10px 10px 8px; |
88 | } | |
89 | ||
76983f4c | 90 | [wait-cursor] { |
91 | cursor: wait !important; | |
74d14f90 | 92 | } |
93 | ||
94 | /* ::::: alert icons :::::*/ | |
95 | ||
96 | .message-icon, | |
97 | .alert-icon, | |
98 | .error-icon, | |
6c5a63bb RK |
99 | .question-icon, |
100 | .authentication-icon { | |
74d14f90 | 101 | width: 32px; |
102 | height: 32px; | |
103 | } | |
128000f4 | 104 | |
74d14f90 | 105 | .message-icon { |
106 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
107 | } | |
108 | ||
109 | .alert-icon { | |
110 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
111 | } | |
112 | ||
113 | .error-icon { | |
114 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
115 | } | |
116 | ||
6c5a63bb RK |
117 | .question-icon, |
118 | .authentication-icon { | |
74d14f90 | 119 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
120 | } | |
121 | ||
122 | /* ::::: iframe ::::: */ | |
123 | ||
124 | iframe { | |
125 | border: none; | |
126 | width: 100px; | |
127 | height: 100px; | |
128 | min-width: 10px; | |
129 | min-height: 10px; | |
130 | } | |
131 | ||
132 | /* ::::: statusbar ::::: */ | |
133 | ||
134 | statusbar { | |
135 | border-top: 1px solid #9999CC; | |
136 | background-color: #666699; | |
137 | color: #CCD0DD; | |
df8c26c4 | 138 | min-height: 16px; |
74d14f90 | 139 | } |
140 | ||
141 | statusbarpanel { | |
142 | -moz-box-align: center; | |
143 | -moz-box-pack: center; | |
d8de8145 | 144 | padding: 0px 1px; |
74d14f90 | 145 | } |
146 | ||
147 | ||
148 | .statusbar-resizerpanel { | |
149 | -moz-box-align: end; | |
150 | -moz-box-pack: end; | |
151 | padding: 0px; | |
152 | } | |
153 | ||
df8c26c4 RK |
154 | .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { |
155 | padding: 0px 1px 0px 1px; | |
76983f4c | 156 | } |
74d14f90 | 157 | |
f6180490 | 158 | resizer[dir="bottomright"] { |
159 | cursor: se-resize; | |
160 | } | |
161 | ||
74d14f90 | 162 | /* ::::: miscellaneous ::::: */ |
163 | ||
164 | .toolbar-focustarget { | |
165 | -moz-user-focus: ignore !important; | |
3eaf1060 | 166 | } |
56029caf RK |
167 | |
168 | /* :::::: autoscroll popup ::::: */ | |
169 | ||
170 | #autoscroller { | |
171 | height: 28px; | |
172 | width: 28px; | |
173 | border: 0px; | |
174 | margin: -14px; | |
175 | padding: 0px; | |
c79d2bbe | 176 | background-image: url("chrome://global/skin/icons/autoscroll.png"); |
56029caf RK |
177 | background-color: transparent; |
178 | -moz-appearance: none; | |
179 | } | |
180 | ||
181 | #autoscroller[scrolldir="NS"] { | |
182 | background-position: left center; | |
183 | } | |
184 | ||
185 | #autoscroller[scrolldir="EW"] { | |
186 | background-position: left bottom; | |
187 | } | |
188 | ||
189 | #autoscroller[transparent="true"] { | |
190 | background-position: center top; | |
191 | } | |
192 | ||
193 | #autoscroller[transparent="true"][scrolldir="NS"] { | |
194 | background-position: center center; | |
195 | } | |
196 | ||
197 | #autoscroller[transparent="true"][scrolldir="EW"] { | |
198 | background-position: center bottom; | |
199 | } | |
200 | ||
201 | #autoscroller[translucent="true"] { | |
202 | background-position: right top; | |
203 | } | |
204 | ||
205 | #autoscroller[translucent="true"][scrolldir="NS"] { | |
206 | background-position: right center; | |
207 | } | |
208 | ||
209 | #autoscroller[translucent="true"][scrolldir="EW"] { | |
210 | background-position: right bottom; | |
211 | } |