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