Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
f6e0a33f | 4 | |
5 | /* ===== global.css ===================================================== | |
6 | == Styles that apply everywhere. | |
7 | ======================================================================= */ | |
8 | ||
9 | /* all localizable skin settings shall live here */ | |
10 | @import url("chrome://global/locale/intl.css"); | |
11 | ||
f6e0a33f | 12 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
13 | ||
74d14f90 | 14 | /* ::::: XBL bindings ::::: */ |
f6e0a33f | 15 | |
76983f4c | 16 | checkbox { |
17 | -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing"); | |
18 | } | |
19 | ||
74d14f90 | 20 | radio { |
76983f4c | 21 | -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing"); |
f6e0a33f | 22 | } |
74d14f90 | 23 | |
24 | menulist > menupopup, | |
25 | .menulist-menupopup { | |
26 | -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars"); | |
f6e0a33f | 27 | } |
28 | ||
74d14f90 | 29 | .menulist-compact { |
ecb2fda9 | 30 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact"); |
f6e0a33f | 31 | } |
32 | ||
74d14f90 | 33 | /* ::::: root elements ::::: */ |
34 | ||
35 | window, | |
36 | page, | |
37 | dialog, | |
df8c26c4 RK |
38 | wizard, |
39 | prefwindow { | |
74d14f90 | 40 | background-color: #CCD0DD; |
41 | color: #000000; | |
4ed82c79 | 42 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
74d14f90 | 43 | } |
d36c7ec4 | 44 | |
76983f4c | 45 | window.dialog { |
02920d2b RK |
46 | padding-top: 8px; |
47 | padding-bottom: 10px; | |
48 | -moz-padding-start: 8px; | |
49 | -moz-padding-end: 10px; | |
74d14f90 | 50 | } |
51 | ||
74d14f90 | 52 | /* ::::: alert icons :::::*/ |
53 | ||
54 | .message-icon, | |
55 | .alert-icon, | |
56 | .error-icon, | |
6c5a63bb RK |
57 | .question-icon, |
58 | .authentication-icon { | |
74d14f90 | 59 | width: 32px; |
60 | height: 32px; | |
61 | } | |
128000f4 | 62 | |
74d14f90 | 63 | .message-icon { |
64 | list-style-image: url("chrome://global/skin/icons/alert-message.gif"); | |
65 | } | |
66 | ||
67 | .alert-icon { | |
68 | list-style-image: url("chrome://global/skin/icons/alert-exclam.gif"); | |
69 | } | |
70 | ||
71 | .error-icon { | |
72 | list-style-image: url("chrome://global/skin/icons/alert-error.gif"); | |
73 | } | |
74 | ||
6c5a63bb RK |
75 | .question-icon, |
76 | .authentication-icon { | |
74d14f90 | 77 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); |
78 | } | |
79 | ||
80 | /* ::::: iframe ::::: */ | |
81 | ||
82 | iframe { | |
83 | border: none; | |
84 | width: 100px; | |
85 | height: 100px; | |
86 | min-width: 10px; | |
87 | min-height: 10px; | |
88 | } | |
89 | ||
90 | /* ::::: statusbar ::::: */ | |
91 | ||
92 | statusbar { | |
93 | border-top: 1px solid #9999CC; | |
94 | background-color: #666699; | |
95 | color: #CCD0DD; | |
df8c26c4 | 96 | min-height: 16px; |
74d14f90 | 97 | } |
98 | ||
99 | statusbarpanel { | |
100 | -moz-box-align: center; | |
101 | -moz-box-pack: center; | |
d8de8145 | 102 | padding: 0px 1px; |
74d14f90 | 103 | } |
104 | ||
a064a540 RK |
105 | statusbarpanel:not(.statusbar-resizerpanel):-moz-lwtheme { |
106 | -moz-appearance: none; | |
107 | border-top-style: none; | |
108 | border-bottom-style: none; | |
109 | -moz-border-start-style: none; | |
110 | } | |
74d14f90 | 111 | |
112 | .statusbar-resizerpanel { | |
113 | -moz-box-align: end; | |
114 | -moz-box-pack: end; | |
115 | padding: 0px; | |
116 | } | |
117 | ||
7862e6ee RK |
118 | .statusbarpanel-iconic, |
119 | .statusbarpanel-iconic-text, | |
120 | .statusbarpanel-menu-iconic { | |
121 | padding: 0px 1px; | |
76983f4c | 122 | } |
74d14f90 | 123 | |
74d14f90 | 124 | .toolbar-focustarget { |
125 | -moz-user-focus: ignore !important; | |
3eaf1060 | 126 | } |
56029caf | 127 | |
18f5421a RK |
128 | toolbar[mode="text"] .toolbarbutton-text { |
129 | /* padding: 0 !important; | |
130 | margin: 3px 5px !important; */ | |
131 | } | |
132 | ||
7862e6ee RK |
133 | /* ::::: miscellaneous formatting ::::: */ |
134 | ||
3b1530c2 RK |
135 | :root:-moz-lwtheme, |
136 | [lwthemefooter="true"] { | |
137 | -moz-appearance: none; | |
138 | } | |
139 | ||
140 | :root:-moz-lwtheme-darktext { | |
24547055 | 141 | text-shadow: 0 -0.5px 1.5px #FFFFFF; |
3b1530c2 RK |
142 | } |
143 | ||
144 | :root:-moz-lwtheme-brighttext { | |
145 | text-shadow: 1px 1px 2px #000000; | |
146 | } | |
147 | ||
148 | statusbar:-moz-lwtheme, | |
149 | sidebarheader:-moz-lwtheme { | |
150 | -moz-appearance: none; | |
151 | background: none; | |
152 | border-style: none; | |
153 | } | |
154 | ||
7862e6ee RK |
155 | .inset { |
156 | border: 1px inset #CCD0DD; | |
02920d2b | 157 | /* margin: 0px 5px 5px; */ |
7862e6ee RK |
158 | } |
159 | ||
160 | .outset { | |
161 | border: 1px outset #CCD0DD; | |
162 | } | |
163 | ||
164 | /* separators */ | |
165 | separator:not([orient="vertical"]) { | |
166 | height: 1.5em; | |
167 | } | |
168 | ||
169 | separator[orient="vertical"] { | |
170 | width: 1.5em; | |
171 | } | |
172 | ||
173 | separator.thin:not([orient="vertical"]) { | |
174 | height: 0.5em; | |
175 | } | |
176 | ||
177 | separator.thin[orient="vertical"] { | |
178 | width: 0.5em; | |
179 | } | |
180 | ||
181 | separator.groove:not([orient="vertical"]) { | |
182 | border-top: 2px groove #CCD0DD; | |
183 | height: 0px; | |
184 | margin-top: 0.4em; | |
185 | margin-bottom: 0.4em; | |
186 | } | |
187 | ||
188 | separator.groove[orient="vertical"] { | |
189 | border-left: 2px groove #CCD0DD; | |
8caa872d RK |
190 | -moz-margin-start: 0.4em; |
191 | -moz-margin-end: 0.4em; | |
7862e6ee RK |
192 | } |
193 | ||
194 | /* groove separators (0 padding, for dividing effects) */ | |
195 | separator.groove-thin { | |
196 | border-top: 2px groove #CCD0DD; | |
197 | height: 0px; | |
198 | } | |
199 | ||
200 | separator[orient="vertical"].groove-thin { | |
201 | border-left: 2px groove #CCD0DD; | |
202 | } | |
203 | ||
204 | .small-margin { | |
205 | margin: 0px 1px; | |
206 | } | |
207 | ||
208 | .plain { | |
18f5421a | 209 | -moz-appearance: none; |
7862e6ee RK |
210 | margin: 0px !important; |
211 | border: none; | |
212 | padding: 0px; | |
213 | } | |
214 | ||
215 | description, label { | |
216 | cursor: default; | |
217 | margin: 1px 3px; | |
218 | } | |
219 | ||
220 | label[disabled="true"] { | |
221 | color: #808080; | |
222 | } | |
223 | ||
224 | description { | |
225 | /* margin-bottom: 4px; */ | |
226 | } | |
227 | ||
228 | .tooltip-label { | |
229 | margin: 0px; | |
230 | } | |
231 | ||
232 | .header { | |
233 | font-weight: bold; | |
234 | } | |
235 | ||
236 | .monospace { | |
8ad8bf83 | 237 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
7862e6ee RK |
238 | } |
239 | ||
240 | .indent { | |
8caa872d RK |
241 | /* -moz-margin-start: 23px; */ |
242 | -moz-margin-start: 15px; | |
7862e6ee RK |
243 | } |
244 | ||
245 | .box-padded { | |
246 | padding: 5px; | |
247 | } | |
248 | ||
249 | .spaced { | |
250 | margin: 1px 3px; | |
251 | } | |
252 | ||
253 | .wizard-box { | |
02920d2b | 254 | padding: 15px 35px 10px; |
7862e6ee RK |
255 | } |
256 | ||
257 | .text-link { | |
258 | color: blue; | |
7862e6ee RK |
259 | cursor: pointer; |
260 | } | |
261 | ||
a6c8d0f5 RK |
262 | .text-link:hover { |
263 | text-decoration: underline; | |
264 | } | |
265 | ||
024ec655 | 266 | .text-link:-moz-focusring { |
7862e6ee RK |
267 | /* Don't specify the outline-color, we should always use initial value. */ |
268 | outline: 1px dotted; | |
269 | } | |
270 | ||
56029caf RK |
271 | /* :::::: autoscroll popup ::::: */ |
272 | ||
18f5421a | 273 | .autoscroller { |
56029caf RK |
274 | height: 28px; |
275 | width: 28px; | |
276 | border: 0px; | |
277 | margin: -14px; | |
278 | padding: 0px; | |
c79d2bbe | 279 | background-image: url("chrome://global/skin/icons/autoscroll.png"); |
56029caf RK |
280 | background-color: transparent; |
281 | -moz-appearance: none; | |
282 | } | |
283 | ||
18f5421a | 284 | .autoscroller[scrolldir="NS"] { |
56029caf RK |
285 | background-position: left center; |
286 | } | |
287 | ||
18f5421a | 288 | .autoscroller[scrolldir="EW"] { |
56029caf RK |
289 | background-position: left bottom; |
290 | } | |
291 | ||
18f5421a | 292 | .autoscroller[transparent="true"] { |
56029caf RK |
293 | background-position: center top; |
294 | } | |
295 | ||
18f5421a | 296 | .autoscroller[transparent="true"][scrolldir="NS"] { |
56029caf RK |
297 | background-position: center center; |
298 | } | |
299 | ||
18f5421a | 300 | .autoscroller[transparent="true"][scrolldir="EW"] { |
56029caf RK |
301 | background-position: center bottom; |
302 | } | |
303 | ||
18f5421a | 304 | .autoscroller[translucent="true"] { |
56029caf RK |
305 | background-position: right top; |
306 | } | |
307 | ||
18f5421a | 308 | .autoscroller[translucent="true"][scrolldir="NS"] { |
56029caf RK |
309 | background-position: right center; |
310 | } | |
311 | ||
18f5421a | 312 | .autoscroller[translucent="true"][scrolldir="EW"] { |
56029caf RK |
313 | background-position: right bottom; |
314 | } |