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, | |
99 | .question-icon { | |
100 | width: 32px; | |
101 | height: 32px; | |
102 | } | |
128000f4 | 103 | |
74d14f90 | 104 | .message-icon { |
105 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
106 | } | |
107 | ||
108 | .alert-icon { | |
109 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
110 | } | |
111 | ||
112 | .error-icon { | |
113 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
114 | } | |
115 | ||
116 | .question-icon { | |
117 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); | |
118 | } | |
119 | ||
120 | /* ::::: iframe ::::: */ | |
121 | ||
122 | iframe { | |
123 | border: none; | |
124 | width: 100px; | |
125 | height: 100px; | |
126 | min-width: 10px; | |
127 | min-height: 10px; | |
128 | } | |
129 | ||
130 | /* ::::: statusbar ::::: */ | |
131 | ||
132 | statusbar { | |
133 | border-top: 1px solid #9999CC; | |
134 | background-color: #666699; | |
135 | color: #CCD0DD; | |
df8c26c4 | 136 | min-height: 16px; |
74d14f90 | 137 | } |
138 | ||
139 | statusbarpanel { | |
140 | -moz-box-align: center; | |
141 | -moz-box-pack: center; | |
142 | padding: 0px 1px 0px 1px; | |
143 | } | |
144 | ||
145 | ||
146 | .statusbar-resizerpanel { | |
147 | -moz-box-align: end; | |
148 | -moz-box-pack: end; | |
149 | padding: 0px; | |
150 | } | |
151 | ||
df8c26c4 RK |
152 | .statusbarpanel-iconic, .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic { |
153 | padding: 0px 1px 0px 1px; | |
76983f4c | 154 | } |
74d14f90 | 155 | |
f6180490 | 156 | resizer[dir="bottomright"] { |
157 | cursor: se-resize; | |
158 | } | |
159 | ||
74d14f90 | 160 | /* ::::: miscellaneous ::::: */ |
161 | ||
162 | .toolbar-focustarget { | |
163 | -moz-user-focus: ignore !important; | |
3eaf1060 | 164 | } |
56029caf RK |
165 | |
166 | /* :::::: autoscroll popup ::::: */ | |
167 | ||
168 | #autoscroller { | |
169 | height: 28px; | |
170 | width: 28px; | |
171 | border: 0px; | |
172 | margin: -14px; | |
173 | padding: 0px; | |
174 | background-image: url("chrome://communicator/skin/icons/autoscroll.png"); | |
175 | background-color: transparent; | |
176 | -moz-appearance: none; | |
177 | } | |
178 | ||
179 | #autoscroller[scrolldir="NS"] { | |
180 | background-position: left center; | |
181 | } | |
182 | ||
183 | #autoscroller[scrolldir="EW"] { | |
184 | background-position: left bottom; | |
185 | } | |
186 | ||
187 | #autoscroller[transparent="true"] { | |
188 | background-position: center top; | |
189 | } | |
190 | ||
191 | #autoscroller[transparent="true"][scrolldir="NS"] { | |
192 | background-position: center center; | |
193 | } | |
194 | ||
195 | #autoscroller[transparent="true"][scrolldir="EW"] { | |
196 | background-position: center bottom; | |
197 | } | |
198 | ||
199 | #autoscroller[translucent="true"] { | |
200 | background-position: right top; | |
201 | } | |
202 | ||
203 | #autoscroller[translucent="true"][scrolldir="NS"] { | |
204 | background-position: right center; | |
205 | } | |
206 | ||
207 | #autoscroller[translucent="true"][scrolldir="EW"] { | |
208 | background-position: right bottom; | |
209 | } |