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