Commit | Line | Data |
---|---|---|
acb0e9b8 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
319c6529 | 2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
acb0e9b8 | 3 | * |
319c6529 RK |
4 | * The contents of this file are subject to the Mozilla Public License Version |
5 | * 1.1 (the "License"); you may not use this file except in compliance with | |
6 | * the License. You may obtain a copy of the License at | |
7 | * http://www.mozilla.org/MPL/ | |
acb0e9b8 | 8 | * |
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. | |
13 | * | |
14 | * The Original Code is mozilla.org code. | |
15 | * | |
16 | * The Initial Developer of the Original Code is | |
17 | * Netscape Communications Corporation. | |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 | |
19 | * the Initial Developer. All Rights Reserved. | |
20 | * | |
21 | * Contributor(s): | |
22 | * Joe Hewitt (hewitt@netscape.com) | |
23 | * Jason Kersey (kerz@netscape.com) | |
24 | * Pierre Chanial (chanial@noos.fr) | |
613daf44 | 25 | * Dean Tessman (dean_tessman@hotmail.com) |
319c6529 RK |
26 | * Blake Ross (blake@cs.stanford.edu) |
27 | * Pamela Greene (pamg.bugs@gmail.com) | |
28 | * Dão Gottwald (dao@mozilla.com) | |
29 | * Jim Mathies (jmathies@mozilla.com) | |
30 | * Drew Willcoxon (adw@mozilla.com) | |
acb0e9b8 | 31 | * |
32 | * Alternatively, the contents of this file may be used under the terms of | |
33 | * either the GNU General Public License Version 2 or later (the "GPL"), or | |
34 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), | |
35 | * in which case the provisions of the GPL or the LGPL are applicable instead | |
36 | * of those above. If you wish to allow use of your version of this file only | |
37 | * under the terms of either the GPL or the LGPL, and not to allow others to | |
319c6529 | 38 | * use your version of this file under the terms of the MPL, indicate your |
acb0e9b8 | 39 | * decision by deleting the provisions above and replace them with the notice |
40 | * and other provisions required by the GPL or the LGPL. If you do not delete | |
41 | * the provisions above, a recipient may use your version of this file under | |
319c6529 | 42 | * the terms of any one of the MPL, the GPL or the LGPL. |
acb0e9b8 | 43 | * |
44 | * ***** END LICENSE BLOCK ***** */ | |
45 | ||
46 | @import url("chrome://global/skin/"); | |
47 | ||
48 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
319c6529 RK |
49 | @namespace html url("http://www.w3.org/1999/xhtml"); |
50 | ||
51 | toolbar { | |
52 | -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); | |
53 | } | |
acb0e9b8 | 54 | |
55 | menubar { | |
319c6529 | 56 | -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); |
acb0e9b8 | 57 | } |
58 | ||
319c6529 RK |
59 | #menubar-items { |
60 | -moz-box-orient: vertical; /* for flex hack */ | |
acb0e9b8 | 61 | } |
62 | ||
319c6529 RK |
63 | #main-menubar { |
64 | -moz-box-flex: 1; /* make menu items expand to fill toolbar height */ | |
65 | } | |
66 | ||
67 | #navigator-toolbox { | |
68 | } | |
69 | ||
9abeb12c RK |
70 | #navigator-toolbox::after { |
71 | content: ""; | |
72 | display: -moz-box; | |
73 | -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */ | |
74 | height: 1px; | |
75 | } | |
76 | #navigator-toolbox[tabsontop=false]::after, | |
77 | #main-window[disablechrome] #navigator-toolbox::after { | |
78 | visibility: collapse; | |
79 | } | |
80 | ||
319c6529 RK |
81 | #navigator-toolbox > toolbar:not(:-moz-lwtheme) { |
82 | } | |
83 | ||
d54f5b23 | 84 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) { |
319c6529 RK |
85 | /* like menubar */ |
86 | background-color: #6000CF; | |
87 | color: #FF9F00; | |
88 | } | |
d54f5b23 | 89 | #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive { |
319c6529 RK |
90 | background-color: #8050B0; |
91 | color: #FF9F00; | |
92 | } | |
93 | ||
94 | #main-window[tabsintitlebar] #titlebar:-moz-lwtheme { | |
95 | visibility: hidden; | |
96 | } | |
97 | #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme { | |
98 | -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); | |
99 | visibility: visible; | |
100 | } | |
101 | ||
319c6529 RK |
102 | #navigator-toolbox[tabsontop="true"] > #nav-bar, |
103 | #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar, | |
104 | #navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar { | |
105 | /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */ | |
106 | } | |
107 | ||
319c6529 RK |
108 | #personal-bookmarks { |
109 | min-height: 24px; | |
110 | } | |
111 | ||
112 | #print-preview-toolbar:not(:-moz-lwtheme) { | |
113 | /* -moz-appearance: toolbox; */ | |
acb0e9b8 | 114 | } |
115 | ||
319c6529 RK |
116 | /* ::::: app menu button ::::: */ |
117 | ||
118 | #appmenu-button { | |
acb0e9b8 | 119 | background-color: #FF9F00; |
319c6529 RK |
120 | background-clip: padding-box; |
121 | border-radius: 0; | |
122 | border: none; | |
123 | border-left: 3px solid #000000; | |
124 | border-right: 3px solid #000000; | |
125 | color: #000000; | |
126 | font-weight: bold; | |
127 | padding: 0 1.5em .05em; | |
128 | margin: 0 0 2px; | |
acb0e9b8 | 129 | } |
130 | ||
319c6529 RK |
131 | #main-window[privatebrowsingmode=temporary] #appmenu-button { |
132 | background-color: #6000CF; | |
133 | color: #FFCF00; | |
134 | } | |
135 | ||
136 | #appmenu-button:hover, | |
137 | #appmenu-button:hover:active, | |
138 | #appmenu-button[open] { | |
139 | background-color: #FFCF00; | |
140 | color: #000000; | |
141 | } | |
142 | ||
143 | #appmenu-button > .button-box > .button-menu-dropmarker { | |
144 | list-style-image: url("appmenu-dropmarker.png"); | |
145 | width: auto; | |
146 | height: auto; | |
147 | padding: 0; | |
148 | margin: 0; | |
149 | -moz-margin-start: .5em; | |
150 | } | |
151 | ||
d54f5b23 RK |
152 | .splitmenu-menuitem { |
153 | -moz-margin-end: 1px; | |
154 | } | |
155 | ||
ab799a7a | 156 | .splitmenu-menu { |
319c6529 RK |
157 | -moz-box-pack: end; |
158 | } | |
159 | ||
160 | .appmenu-edit-button { | |
161 | } | |
162 | ||
163 | .appmenu-edit-button[disabled="true"] { | |
164 | } | |
165 | ||
166 | #appmenuPrimaryPane { | |
167 | -moz-border-end: 1px solid #9C9CFF; | |
168 | } | |
169 | /* | |
170 | #appmenu-popup { | |
171 | } | |
172 | #appmenuPrimaryPane { | |
173 | } | |
174 | #appmenuSecondaryPane { | |
175 | } | |
176 | #appmenuSecondaryPane:-moz-locale-dir(rtl) { | |
177 | } | |
178 | ||
179 | #appmenuSecondaryPane menupopup { | |
180 | } | |
181 | ||
182 | .appmenu-menuseparator { | |
183 | } | |
184 | ||
185 | .appmenu-edit-button:not([disabled]):hover { | |
186 | } | |
187 | */ | |
188 | #appmenuSecondaryPane-spacer { | |
189 | min-height: 1em; | |
190 | } | |
191 | ||
9abeb12c RK |
192 | #appmenu-editmenu { |
193 | -moz-box-pack: end; | |
194 | } | |
195 | ||
319c6529 RK |
196 | #appmenu_print, |
197 | #appmenu_print_popup, | |
198 | .appmenu-edit-button, | |
9abeb12c RK |
199 | #appmenu-editmenu-cut, |
200 | #appmenu-editmenu-copy, | |
201 | #appmenu-editmenu-paste, | |
319c6529 RK |
202 | #appmenu-quit { |
203 | list-style-image: url("appmenu-icons.png"); | |
204 | } | |
205 | ||
9abeb12c RK |
206 | #appmenu-cut, |
207 | #appmenu-editmenu-cut { | |
319c6529 | 208 | -moz-image-region: rect(0 16px 16px 0); |
acb0e9b8 | 209 | } |
210 | ||
9abeb12c RK |
211 | #appmenu-copy, |
212 | #appmenu-editmenu-copy { | |
319c6529 RK |
213 | -moz-image-region: rect(0 32px 16px 16px); |
214 | } | |
215 | ||
9abeb12c RK |
216 | #appmenu-paste, |
217 | #appmenu-editmenu-paste { | |
319c6529 RK |
218 | -moz-image-region: rect(0 48px 16px 32px); |
219 | } | |
220 | ||
221 | #appmenu_print, | |
222 | #appmenu_print_popup { | |
223 | -moz-image-region: rect(0 64px 16px 48px); | |
224 | } | |
225 | ||
226 | #appmenu-quit { | |
227 | -moz-image-region: rect(0 80px 16px 64px); | |
228 | } | |
229 | ||
230 | #appmenu-edit-label { | |
231 | -moz-appearance: none; | |
232 | background: transparent; | |
233 | font-style: italic; | |
234 | } | |
235 | ||
236 | #appmenu_bookmarks { | |
237 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
238 | -moz-image-region: rect(0px 48px 16px 32px); | |
239 | } | |
240 | ||
241 | #appmenu_privateBrowsing { | |
242 | list-style-image: url("chrome://browser/skin/Privacy-16.png"); | |
243 | } | |
244 | ||
245 | #appmenu_addons { | |
246 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
247 | } | |
248 | ||
249 | #BMB_bookmarkThisPage, | |
250 | #appmenu_bookmarkThisPage { | |
251 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
252 | -moz-image-region: rect(0 16px 16px 0); | |
253 | } | |
254 | ||
255 | /* ::::: titlebar ::::: */ | |
256 | ||
257 | #main-window[sizemode="normal"] > #titlebar { | |
258 | } | |
259 | ||
260 | #main-window[sizemode="maximized"] > #titlebar { | |
261 | } | |
262 | ||
263 | #titlebar-buttonbox { | |
264 | } | |
265 | ||
266 | #main-window[sizemode="maximized"] #titlebar-buttonbox { | |
267 | } | |
268 | ||
269 | .titlebar-placeholder[type="appmenu-button"] { | |
270 | margin-left: 4px; | |
271 | } | |
272 | ||
273 | .titlebar-placeholder[type="caption-buttons"] { | |
274 | margin-left: 10px; | |
275 | } | |
276 | ||
277 | /* titlebar command buttons */ | |
278 | ||
279 | #titlebar-min { | |
280 | } | |
281 | ||
282 | #titlebar-max { | |
283 | } | |
284 | ||
285 | #main-window[sizemode="maximized"] #titlebar-max { | |
286 | } | |
287 | ||
288 | #titlebar-close { | |
acb0e9b8 | 289 | } |
290 | ||
291 | /* ::::: bookmark buttons ::::: */ | |
292 | ||
293 | toolbarbutton.bookmark-item { | |
294 | margin: 0; | |
319c6529 | 295 | padding: 2px 3px; |
acb0e9b8 | 296 | } |
297 | ||
319c6529 | 298 | toolbarbutton.bookmark-item:hover:active:not([disabled="true"]), |
acb0e9b8 | 299 | toolbarbutton.bookmark-item[open="true"] { |
319c6529 RK |
300 | padding-top: 3px; |
301 | padding-bottom: 1px; | |
302 | -moz-padding-start: 4px; | |
303 | -moz-padding-end: 2px; | |
acb0e9b8 | 304 | } |
305 | ||
306 | .bookmark-item > .toolbarbutton-icon { | |
307 | width: 16px; | |
308 | height: 16px; | |
309 | } | |
310 | ||
311 | /* Prevent [mode="icons"] from hiding the label */ | |
312 | .bookmark-item > .toolbarbutton-text { | |
313 | display: -moz-box !important; | |
314 | } | |
315 | ||
319c6529 RK |
316 | .bookmark-item > .toolbarbutton-menu-dropmarker { |
317 | display: none; | |
318 | } | |
319 | ||
320 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { | |
321 | width: 16px; | |
322 | height: 16px; | |
323 | background: url("chrome://browser/skin/places/bookmarksToolbar.png") no-repeat; | |
324 | } | |
325 | ||
326 | .bookmarks-toolbar-customize { | |
327 | max-width: 15em !important; | |
328 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important; | |
329 | } | |
330 | ||
331 | /* ::::: bookmark menus ::::: */ | |
332 | ||
333 | menu.bookmark-item, | |
334 | menuitem.bookmark-item { | |
335 | min-width: 0; | |
ab799a7a | 336 | max-width: 32em; |
319c6529 RK |
337 | } |
338 | ||
339 | .bookmark-item > .menu-iconic-left { | |
340 | margin-top: 0; | |
341 | margin-bottom: 0; | |
342 | } | |
343 | ||
344 | .bookmark-item > .menu-iconic-left > .menu-iconic-icon { | |
345 | -moz-padding-start: 0px; | |
346 | } | |
347 | ||
348 | /* ::::: bookmark items ::::: */ | |
349 | ||
350 | .bookmark-item { | |
351 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
352 | } | |
353 | ||
354 | .bookmark-item[container] { | |
355 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
356 | } | |
357 | ||
358 | .bookmark-item[container][open] { | |
359 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
360 | } | |
361 | ||
362 | .bookmark-item[container][livemark] { | |
363 | list-style-image: url("chrome://browser/skin/livemark-folder.png"); | |
364 | -moz-image-region: auto; | |
365 | } | |
366 | ||
367 | .bookmark-item[container][livemark] .bookmark-item { | |
368 | list-style-image: url("chrome://browser/skin/livemark-item.png"); | |
369 | -moz-image-region: auto; | |
370 | } | |
371 | ||
372 | .bookmark-item[container][query] { | |
373 | list-style-image: url("chrome://browser/skin/places/query.png"); | |
374 | -moz-image-region: auto; | |
375 | } | |
376 | ||
377 | .bookmark-item[query][tagContainer] { | |
378 | list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png"); | |
379 | -moz-image-region: auto; | |
380 | } | |
381 | ||
382 | .bookmark-item[query][dayContainer] { | |
383 | list-style-image: url("chrome://browser/skin/places/calendar.png"); | |
384 | -moz-image-region: auto; | |
385 | } | |
386 | ||
387 | .bookmark-item[query][hostContainer] { | |
388 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
389 | } | |
390 | ||
391 | .bookmark-item[query][hostContainer][open] { | |
392 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
393 | } | |
394 | ||
395 | /* ::::: primary toolbar buttons ::::: */ | |
396 | ||
397 | /* ::::: large toolbar buttons ::::: */ | |
398 | ||
399 | .toolbarbutton-1, | |
400 | .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
401 | min-width: 36px; | |
402 | min-height: 36px; | |
319c6529 RK |
403 | } |
404 | ||
ab799a7a RK |
405 | .toolbarbutton-1:not([type="menu-button"]) { |
406 | -moz-box-orient: vertical; | |
319c6529 RK |
407 | } |
408 | ||
409 | .toolbarbutton-1, | |
410 | .toolbarbutton-1 > .toolbarbutton-menubutton-button, | |
411 | .toolbarbutton-1[disabled="true"]:hover:active, | |
412 | .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button { | |
413 | padding: 1px 2px; | |
414 | } | |
415 | ||
416 | .toolbarbutton-1:hover:active, | |
417 | .toolbarbutton-1[open="true"], | |
418 | .toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button { | |
419 | padding-top: 2px; | |
420 | padding-bottom: 0px; | |
421 | -moz-padding-start: 3px; | |
422 | -moz-padding-end: 1px; | |
423 | } | |
424 | ||
425 | .toolbarbutton-1[type="menu"] { | |
426 | -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-vertical"); | |
427 | } | |
428 | ||
429 | /* ::::: small primary toolbar buttons ::::: */ | |
430 | ||
9abeb12c RK |
431 | #nav-bar { |
432 | /* force iconsize="small" on this toolbar */ | |
433 | counter-reset: smallicons; | |
434 | } | |
435 | ||
319c6529 RK |
436 | toolbar[mode="text"] .toolbarbutton-1, |
437 | toolbar[mode="icons"] .toolbarbutton-1, | |
438 | toolbar[iconsize="small"] .toolbarbutton-1, | |
439 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1, | |
440 | toolbar[mode="text"] .toolbarbutton-menubutton-button, | |
441 | toolbar[mode="icons"] .toolbarbutton-menubutton-button, | |
442 | toolbar[iconsize="small"] .toolbarbutton-menubutton-button, | |
443 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
444 | min-width: 0px; | |
445 | min-height: 0px; | |
446 | } | |
447 | ||
448 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker { | |
449 | padding-top: 4px; | |
450 | padding-bottom: 8px; | |
451 | -moz-padding-start: 1px; | |
452 | -moz-padding-end: 1px; | |
453 | } | |
454 | ||
455 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker, | |
456 | toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker, | |
457 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker { | |
458 | padding-top: 0px; | |
459 | padding-bottom: 13px; | |
460 | -moz-padding-start: 1px; | |
461 | -moz-padding-end: 1px; | |
462 | } | |
463 | ||
464 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
465 | toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
466 | padding-top: 5px; | |
467 | padding-bottom: 7px; | |
468 | -moz-padding-start: 0px; | |
469 | -moz-padding-end: 2px; | |
470 | } | |
471 | ||
472 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
473 | toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
474 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
475 | toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker, | |
476 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker, | |
477 | :-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker { | |
478 | padding-top: 1px; | |
479 | padding-bottom: 12px; | |
480 | -moz-padding-start: 0px; | |
481 | -moz-padding-end: 2px; | |
482 | } | |
483 | ||
484 | toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
485 | padding-top: 4px !important; | |
486 | padding-bottom: 8px !important; | |
487 | -moz-padding-start: 1px !important; | |
488 | -moz-padding-end: 1px !important; | |
489 | } | |
490 | ||
491 | toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"], | |
492 | toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] { | |
493 | padding-top: 0px !important; | |
494 | padding-bottom: 13px !important; | |
495 | -moz-padding-start: 1px !important; | |
496 | -moz-padding-end: 1px !important; | |
497 | } | |
498 | ||
499 | toolbar[mode="icons"] .toolbarbutton-text, | |
500 | toolbar[mode="text"] .toolbarbutton-icon { | |
501 | display: none; | |
502 | } | |
503 | ||
504 | toolbar[mode="text"] .toolbarbutton-text { | |
505 | padding: 4px 0; | |
506 | } | |
507 | ||
508 | toolbar[mode="text"] .toolbarbutton-1, | |
509 | toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
510 | -moz-box-orient: horizontal; | |
511 | } | |
512 | ||
513 | toolbar[mode="full"] .toolbarbutton-1, | |
514 | toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button { | |
515 | min-width: 30px; | |
516 | } | |
517 | ||
d54f5b23 RK |
518 | #navigator-toolbox[iconsize=small] > #nav-bar { |
519 | padding-top: 1px; | |
520 | padding-bottom: 1px; | |
521 | } | |
522 | ||
523 | #navigator-toolbox[iconsize=large][mode=icons] > #nav-bar { | |
524 | padding-left: 2px; | |
525 | padding-right: 2px; | |
526 | } | |
527 | ||
528 | ||
319c6529 RK |
529 | /* unified back/forward button */ |
530 | ||
531 | #back-button { | |
532 | -moz-image-region: rect(0, 18px, 18px, 0); | |
533 | -moz-margin-end: 0; | |
534 | } | |
535 | ||
536 | #forward-button { | |
537 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
538 | border-left: none; | |
539 | -moz-margin-start: 0; | |
540 | } | |
541 | ||
542 | #back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon, | |
543 | #forward-button:-moz-locale-dir(rtl), | |
544 | #forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text { | |
545 | -moz-transform: scaleX(-1); | |
546 | } | |
547 | ||
548 | #back-button:-moz-locale-dir(ltr) { | |
549 | border-top-right-radius: 0; | |
550 | border-bottom-right-radius: 0; | |
551 | } | |
552 | ||
553 | #back-button:-moz-locale-dir(rtl), | |
554 | #forward-button { | |
555 | border-top-left-radius: 0; | |
556 | border-bottom-left-radius: 0; | |
557 | } | |
558 | ||
9abeb12c | 559 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button { |
319c6529 RK |
560 | border-radius: 10000px; |
561 | width: 30px; | |
562 | height: 30px; | |
563 | position: relative; | |
564 | z-index: 1; | |
565 | margin-top: -2px; | |
566 | margin-bottom: -2px; | |
567 | border: none; | |
568 | -moz-image-region: rect(18px, 20px, 38px, 0); | |
569 | } | |
570 | ||
9abeb12c | 571 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover { |
319c6529 RK |
572 | } |
573 | ||
9abeb12c RK |
574 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active, |
575 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] { | |
319c6529 RK |
576 | } |
577 | ||
9abeb12c RK |
578 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"], |
579 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
580 | /* padding-top: 3px; |
581 | padding-bottom: 5px; */ | |
582 | } | |
583 | ||
9abeb12c RK |
584 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"], |
585 | #navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) { | |
319c6529 RK |
586 | /* padding-top: 5px; */ |
587 | } | |
588 | ||
9abeb12c | 589 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button { |
319c6529 RK |
590 | /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */ |
591 | mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask"); | |
9abeb12c | 592 | -moz-margin-start: -6px !important; |
319c6529 RK |
593 | padding-left: 7px; |
594 | padding-right: 3px; | |
595 | } | |
596 | ||
9abeb12c | 597 | #navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover { |
319c6529 RK |
598 | /*mask: url(keyhole-forward-mask.svg#mask-hover);*/ |
599 | mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover"); | |
600 | } | |
601 | ||
602 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr), | |
603 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) { | |
604 | list-style-image: url("chrome://browser/skin/menu-back.png") !important; | |
605 | } | |
606 | ||
607 | .unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr), | |
608 | .unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) { | |
609 | list-style-image: url("chrome://browser/skin/menu-forward.png") !important; | |
610 | } | |
611 | ||
612 | /* stop button */ | |
613 | ||
614 | #stop-button { | |
615 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
616 | } | |
617 | ||
618 | /* reload button */ | |
619 | ||
620 | #reload-button { | |
621 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
622 | } | |
623 | ||
624 | /* home button */ | |
625 | ||
626 | #home-button.bookmark-item { | |
627 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
628 | } | |
629 | #home-button { | |
630 | -moz-image-region: rect(0, 90px, 18px, 72px); | |
631 | } | |
632 | ||
633 | /* tabview button */ | |
634 | ||
d54f5b23 RK |
635 | #tabview-button, |
636 | #menu_tabview { | |
319c6529 | 637 | list-style-image: url("chrome://browser/skin/tabview/tabview.png"); |
d54f5b23 RK |
638 | } |
639 | ||
640 | #tabview-button { | |
319c6529 RK |
641 | -moz-image-region: rect(0, 90px, 18px, 72px); |
642 | } | |
643 | ||
644 | #tabview-button[groups="0"] { | |
645 | -moz-image-region: rect(0, 18px, 18px, 0); | |
646 | } | |
647 | ||
648 | #tabview-button[groups="1"] { | |
649 | -moz-image-region: rect(0, 36px, 18px, 18px); | |
650 | } | |
651 | ||
652 | #tabview-button[groups="2"] { | |
653 | -moz-image-region: rect(0, 54px, 18px, 36px); | |
654 | } | |
655 | ||
656 | #tabview-button[groups="3"] { | |
657 | -moz-image-region: rect(0, 72px, 18px, 54px); | |
658 | } | |
659 | ||
d54f5b23 RK |
660 | #menu_tabview { |
661 | -moz-image-region: rect(1px, 89px, 17px, 73px); | |
662 | } | |
663 | ||
664 | #menu_tabview[groups="0"] { | |
665 | -moz-image-region: rect(1px, 17px, 17px, 1px); | |
666 | } | |
667 | ||
668 | #menu_tabview[groups="1"] { | |
669 | -moz-image-region: rect(1px, 35px, 17px, 19px); | |
670 | } | |
671 | ||
672 | #menu_tabview[groups="2"] { | |
673 | -moz-image-region: rect(1px, 53px, 17px, 37px); | |
674 | } | |
675 | ||
676 | #menu_tabview[groups="3"] { | |
677 | -moz-image-region: rect(1px, 71px, 17px, 55px); | |
678 | } | |
679 | ||
319c6529 RK |
680 | /* download manager button */ |
681 | ||
682 | #downloads-button { | |
683 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
684 | } | |
685 | ||
686 | /* history sidebar button */ | |
687 | ||
688 | #history-button { | |
689 | -moz-image-region: rect(0, 126px, 18px, 108px); | |
690 | } | |
691 | ||
692 | /* bookmark sidebar & menu buttons */ | |
693 | ||
694 | #bookmarks-button, | |
695 | #bookmarks-menu-button { | |
696 | -moz-image-region: rect(0, 144px, 18px, 126px); | |
697 | } | |
698 | ||
699 | #bookmarks-menu-button.bookmark-item { | |
700 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
701 | } | |
702 | ||
703 | #bookmarks-menu-button.toolbarbutton-1 { | |
704 | -moz-box-orient: horizontal; | |
705 | } | |
706 | ||
707 | /* print button */ | |
708 | ||
709 | #print-button { | |
710 | -moz-image-region: rect(0, 162px, 18px, 144px); | |
711 | } | |
712 | ||
713 | /* toolbar new tab button */ | |
714 | ||
715 | #new-tab-button { | |
716 | -moz-image-region: rect(0, 180px, 18px, 162px); | |
717 | } | |
718 | ||
719 | /* new window button */ | |
720 | ||
721 | #new-window-button { | |
722 | -moz-image-region: rect(0, 198px, 18px, 180px); | |
723 | } | |
724 | ||
725 | /* cut button */ | |
726 | ||
727 | #cut-button { | |
728 | -moz-image-region: rect(0, 216px, 18px, 198px); | |
729 | } | |
730 | ||
731 | /* copy button */ | |
732 | ||
733 | #copy-button { | |
734 | -moz-image-region: rect(0, 234px, 18px, 216px); | |
735 | } | |
736 | ||
737 | /* paste button */ | |
738 | ||
739 | #paste-button { | |
740 | -moz-image-region: rect(0, 252px, 18px, 234px); | |
741 | } | |
742 | ||
743 | /* fullscreen button */ | |
744 | ||
745 | #fullscreen-button { | |
746 | -moz-image-region: rect(0, 270px, 18px, 252px); | |
747 | } | |
748 | ||
749 | /* zoom controls */ | |
750 | ||
751 | #zoom-out-button { | |
752 | -moz-image-region: rect(0, 288px, 18px, 270px); | |
753 | -moz-margin-end: 0; | |
754 | } | |
755 | ||
756 | #zoom-in-button { | |
757 | -moz-image-region: rect(0, 306px, 18px, 288px); | |
758 | -moz-border-start: none; | |
759 | -moz-margin-start: 0; | |
760 | } | |
761 | ||
762 | #zoom-out-button:-moz-locale-dir(ltr), | |
763 | #zoom-in-button:-moz-locale-dir(rtl) { | |
764 | border-top-right-radius: 0; | |
765 | border-bottom-right-radius: 0; | |
766 | } | |
767 | ||
768 | #zoom-out-button:-moz-locale-dir(rtl), | |
769 | #zoom-in-button:-moz-locale-dir(ltr) { | |
770 | border-top-left-radius: 0; | |
771 | border-bottom-left-radius: 0; | |
772 | } | |
773 | ||
774 | /* sync button */ | |
775 | ||
776 | #sync-button { | |
777 | -moz-image-region: rect(0, 324px, 18px, 306px); | |
778 | } | |
779 | ||
780 | #sync-button[status="active"] { | |
781 | list-style-image: url("chrome://browser/skin/sync-throbber.png"); | |
782 | -moz-image-region: rect(0, 18px, 18px, 0); | |
783 | } | |
784 | ||
785 | /* feed button */ | |
786 | ||
787 | #feed-button { | |
788 | -moz-image-region: rect(0, 342px, 18px, 324px); | |
789 | } | |
790 | ||
791 | /* ::::: fullscreen window controls ::::: */ | |
792 | ||
ab799a7a RK |
793 | #TabsToolbar > #window-controls { |
794 | -moz-margin-start: 4px; | |
795 | } | |
796 | ||
319c6529 RK |
797 | #minimize-button, |
798 | #restore-button, | |
799 | #close-button { | |
800 | /* padding: 0; */ | |
801 | } | |
802 | ||
803 | #minimize-button { | |
804 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
805 | } | |
806 | ||
807 | #minimize-button:hover { | |
808 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
809 | } | |
810 | ||
811 | #restore-button { | |
812 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
813 | } | |
814 | ||
815 | #restore-button:hover { | |
816 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
817 | } | |
818 | ||
819 | #close-button { | |
820 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
821 | } | |
822 | ||
823 | #close-button:hover { | |
824 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
825 | } | |
826 | ||
827 | /* ::::: Location Bar ::::: */ | |
828 | ||
829 | #urlbar { | |
830 | width: 7em; | |
831 | min-width: 7em; | |
832 | } | |
833 | ||
834 | #urlbar, | |
835 | .searchbar-textbox { | |
836 | border-radius: 5px; | |
837 | margin: 0; | |
838 | -moz-margin-start: 3px; | |
839 | } | |
840 | ||
319c6529 RK |
841 | #urlbar:-moz-lwtheme, |
842 | .searchbar-textbox:-moz-lwtheme { | |
843 | /* background-color: rgba(255,255,255,.8); | |
844 | @navbarTextboxCustomBorder@ | |
845 | color: black; */ | |
846 | } | |
847 | ||
848 | html|*.urlbar-input:-moz-lwtheme:-moz-placeholder, | |
849 | .searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder { | |
850 | color: #E7ADE7; | |
851 | } | |
852 | ||
853 | #urlbar:-moz-lwtheme[focused="true"], | |
854 | .searchbar-textbox:-moz-lwtheme[focused="true"] { | |
855 | /* background-color: white; */ | |
856 | } | |
857 | ||
858 | #urlbar-container { | |
859 | -moz-box-orient: horizontal; | |
860 | -moz-box-align: stretch; | |
861 | } | |
862 | ||
9abeb12c RK |
863 | .urlbar-textbox-container { |
864 | -moz-box-align: stretch; | |
865 | } | |
866 | ||
319c6529 RK |
867 | #urlbar-icons { |
868 | height: 18px; | |
869 | -moz-box-align: center; | |
870 | } | |
871 | ||
872 | .urlbar-icon { | |
873 | padding: 0 2px !important; | |
874 | } | |
875 | ||
876 | .urlbar-icon:-moz-system-metric(touch-enabled) { | |
877 | -moz-margin-end: 1px !important; | |
878 | padding: 0 3px !important; | |
879 | } | |
880 | ||
881 | #urlbar-search-splitter { | |
882 | min-width: 6px; | |
883 | -moz-margin-start: -3px; | |
884 | border: none; | |
885 | background: transparent; | |
886 | } | |
887 | ||
888 | #urlbar-search-splitter + #urlbar-container > #urlbar , | |
889 | #urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox { | |
890 | -moz-margin-start: 0; | |
891 | } | |
892 | ||
319c6529 RK |
893 | #urlbar-display { |
894 | margin-top: -2px; | |
895 | margin-bottom: -2px; | |
319c6529 RK |
896 | -moz-border-end: 1px solid #9C9CFF; |
897 | -moz-margin-end: 3px; | |
898 | } | |
899 | ||
ab799a7a RK |
900 | #urlbar-display { |
901 | margin-top: 0; | |
902 | margin-bottom: 0; | |
903 | color: #8050B0; | |
904 | } | |
905 | ||
319c6529 RK |
906 | /* identity box */ |
907 | ||
908 | #identity-box { | |
909 | background-color: #000000; | |
910 | color: #FF9F00; | |
911 | border-radius: 2px; | |
912 | } | |
913 | ||
914 | #identity-box:hover { | |
915 | background-color: #9C9CFF; | |
916 | color: #000000; | |
917 | } | |
918 | ||
919 | #identity-box[open="true"], | |
920 | #identity-box:hover:active { | |
921 | background-color: #FF9F00; | |
922 | color: #000000; | |
923 | } | |
924 | ||
925 | #identity-box.verifiedDomain { | |
926 | background-color: #FFCF00; | |
927 | color: #000000; | |
928 | } | |
929 | ||
930 | #identity-box.verifiedIdentity { | |
931 | background-color: #008484; | |
932 | color: #000000; | |
933 | } | |
934 | ||
935 | #identity-box:-moz-focusring { | |
936 | outline: 1px dotted #008484; | |
937 | outline-offset: -3px; | |
938 | } | |
939 | ||
940 | #identity-box.verifiedDomain:-moz-focusring, | |
941 | #identity-box.verifiedIdentity:-moz-focusring { | |
942 | outline-color: #000000; | |
943 | } | |
944 | ||
945 | #identity-icon-labels { | |
946 | -moz-margin-start: 1px; | |
947 | -moz-margin-end: 3px; | |
948 | -moz-transform: translate(0, -1px); | |
949 | } | |
950 | ||
951 | /* Location bar dropmarker */ | |
952 | ||
953 | .urlbar-history-dropmarker { | |
954 | -moz-appearance: none; | |
955 | padding: 0 1px; | |
956 | background-color: transparent; | |
957 | border: none; | |
958 | width: auto; | |
959 | list-style-image: url("mainwindow-dropdown-arrow.png"); | |
960 | -moz-image-region: rect(0, 13px, 11px, 0); | |
961 | } | |
962 | ||
963 | .urlbar-history-dropmarker:-moz-system-metric(touch-enabled) { | |
964 | min-width: 6.4mozmm; | |
965 | } | |
966 | ||
967 | .urlbar-history-dropmarker:hover:active, | |
968 | .urlbar-history-dropmarker[open="true"] { | |
969 | -moz-image-region: rect(0, 26px, 11px, 13px); | |
970 | } | |
971 | ||
972 | /* page proxy icon */ | |
973 | ||
974 | #page-proxy-favicon, | |
975 | #urlbar-throbber { | |
976 | width: 16px; | |
977 | height: 16px; | |
978 | } | |
979 | ||
980 | #page-proxy-stack { | |
981 | width: 24px; | |
982 | height: 18px; | |
983 | padding: 1px 4px; | |
984 | background: url("urlbar-favicon-glow.png") center center no-repeat; | |
985 | } | |
986 | ||
987 | #page-proxy-favicon:not([src]) { | |
988 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
acb0e9b8 | 989 | } |
990 | ||
319c6529 RK |
991 | #page-proxy-favicon[pageproxystate="invalid"] { |
992 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
acb0e9b8 | 993 | } |
994 | ||
319c6529 RK |
995 | #urlbar-throbber { |
996 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 997 | } |
998 | ||
319c6529 RK |
999 | /* autocomplete */ |
1000 | ||
1001 | #PopupAutoComplete, | |
1002 | #PopupAutoCompleteRichResult { | |
1003 | direction: ltr !important; | |
acb0e9b8 | 1004 | } |
1005 | ||
319c6529 RK |
1006 | #PopupAutoComplete:-moz-locale-dir(rtl) > tree > treerows { |
1007 | direction: rtl; | |
acb0e9b8 | 1008 | } |
1009 | ||
319c6529 RK |
1010 | #PopupAutoComplete .autocomplete-treebody { |
1011 | direction: ltr; | |
acb0e9b8 | 1012 | } |
1013 | ||
319c6529 RK |
1014 | #treecolAutoCompleteImage { |
1015 | max-width: 36px; | |
1016 | } | |
acb0e9b8 | 1017 | |
319c6529 RK |
1018 | .ac-result-type-bookmark, |
1019 | .autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) { | |
1020 | list-style-image: url("chrome://browser/skin/places/editBookmark.png"); | |
1021 | -moz-image-region: rect(0px 16px 16px 0px); | |
1022 | width: 16px; | |
1023 | height: 16px; | |
acb0e9b8 | 1024 | } |
1025 | ||
319c6529 RK |
1026 | .ac-result-type-keyword, |
1027 | .autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) { | |
1028 | list-style-image: url("chrome://global/skin/icons/Search-glass.png"); | |
1029 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 1030 | width: 16px; |
1031 | height: 16px; | |
1032 | } | |
1033 | ||
319c6529 RK |
1034 | .ac-result-type-tag, |
1035 | .autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) { | |
1036 | list-style-image: url("chrome://browser/skin/places/tag.png"); | |
1037 | width: 16px; | |
1038 | height: 16px; | |
1039 | } | |
acb0e9b8 | 1040 | |
319c6529 RK |
1041 | .ac-comment { |
1042 | font-size: 1.15em; | |
acb0e9b8 | 1043 | } |
319c6529 RK |
1044 | |
1045 | .ac-extra > .ac-comment { | |
1046 | font-size: inherit; | |
acb0e9b8 | 1047 | } |
319c6529 RK |
1048 | |
1049 | .ac-url-text, | |
1050 | .ac-action-text { | |
1051 | color: #9C9CFF; | |
acb0e9b8 | 1052 | } |
319c6529 RK |
1053 | |
1054 | richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon { | |
1055 | list-style-image: url("chrome://browser/skin/actionicon-tab.png"); | |
acb0e9b8 | 1056 | } |
1057 | ||
319c6529 RK |
1058 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
1059 | color: #8050B0; | |
1060 | } | |
acb0e9b8 | 1061 | |
319c6529 RK |
1062 | .ac-comment[selected="true"], |
1063 | .ac-url-text[selected="true"], | |
1064 | .ac-action-text[selected="true"] { | |
1065 | color: inherit !important; | |
acb0e9b8 | 1066 | } |
1067 | ||
319c6529 RK |
1068 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), |
1069 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) | |
1070 | { | |
1071 | color: #8050B0; | |
1072 | font-size: smaller; | |
acb0e9b8 | 1073 | } |
319c6529 RK |
1074 | |
1075 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
1076 | border-top: 1px solid #9C9CFF; | |
acb0e9b8 | 1077 | } |
1078 | ||
319c6529 | 1079 | /* go button */ |
acb0e9b8 | 1080 | |
319c6529 RK |
1081 | #go-button { |
1082 | list-style-image: url("chrome://browser/skin/Go-arrow.png"); | |
1083 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
acb0e9b8 | 1084 | } |
1085 | ||
9abeb12c RK |
1086 | #go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
1087 | -moz-transform: scaleX(-1); | |
1088 | } | |
1089 | ||
319c6529 RK |
1090 | #go-button:hover { |
1091 | -moz-image-region: rect(16px, 16px, 32px, 0px); | |
acb0e9b8 | 1092 | } |
1093 | ||
319c6529 RK |
1094 | /* combined go/reload/stop button in location bar */ |
1095 | ||
1096 | #urlbar > toolbarbutton { | |
1097 | list-style-image: url("chrome://browser/skin/reload-stop-go.png"); | |
9abeb12c RK |
1098 | margin: -2px; |
1099 | -moz-margin-start: 0; | |
319c6529 RK |
1100 | padding: 0 3px; |
1101 | background-origin: border-box; | |
1102 | border: none; | |
9abeb12c RK |
1103 | -moz-border-start: 1px solid #9C9CFF; |
1104 | } | |
1105 | ||
1106 | #urlbar:-moz-locale-dir(ltr) > toolbarbutton { | |
319c6529 RK |
1107 | border-top-right-radius: 2px; |
1108 | border-bottom-right-radius: 2px; | |
acb0e9b8 | 1109 | } |
acb0e9b8 | 1110 | |
9abeb12c RK |
1111 | #urlbar:-moz-locale-dir(rtl) > toolbarbutton { |
1112 | border-top-left-radius: 2px; | |
1113 | border-bottom-left-radius: 2px; | |
1114 | } | |
1115 | ||
319c6529 | 1116 | #urlbar > toolbarbutton:not([disabled]):active:hover { |
9abeb12c RK |
1117 | -moz-padding-start: 4px; |
1118 | -moz-border-start: none; | |
acb0e9b8 | 1119 | } |
1120 | ||
319c6529 RK |
1121 | #urlbar-go-button { |
1122 | -moz-image-region: rect(0px, 56px, 14px, 42px); | |
acb0e9b8 | 1123 | } |
1124 | ||
9abeb12c RK |
1125 | #urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon { |
1126 | -moz-transform: scaleX(-1); | |
1127 | } | |
1128 | ||
319c6529 | 1129 | #urlbar-go-button:hover { |
acb0e9b8 | 1130 | } |
1131 | ||
319c6529 RK |
1132 | #urlbar-reload-button { |
1133 | -moz-image-region: rect(0px, 14px, 14px, 0px); | |
acb0e9b8 | 1134 | } |
1135 | ||
319c6529 RK |
1136 | #urlbar-reload-button:not([disabled]):hover { |
1137 | -moz-image-region: rect(0px, 28px, 14px, 14px); | |
acb0e9b8 | 1138 | } |
319c6529 RK |
1139 | |
1140 | #urlbar-stop-button { | |
1141 | -moz-image-region: rect(0px, 42px, 14px, 28px); | |
acb0e9b8 | 1142 | } |
319c6529 RK |
1143 | |
1144 | #urlbar-stop-button:hover { | |
acb0e9b8 | 1145 | } |
1146 | ||
319c6529 RK |
1147 | /* popup blocker button */ |
1148 | ||
1149 | #page-report-button { | |
1150 | list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png"); | |
1151 | -moz-image-region: rect(0, 16px, 16px, 0); | |
acb0e9b8 | 1152 | } |
319c6529 RK |
1153 | |
1154 | #page-report-button:hover { | |
1155 | -moz-image-region: rect(0, 32px, 16px, 16px); | |
acb0e9b8 | 1156 | } |
319c6529 RK |
1157 | |
1158 | #page-report-button:hover:active, | |
1159 | #page-report-button[open="true"] { | |
1160 | -moz-image-region: rect(0, 48px, 16px, 32px); | |
acb0e9b8 | 1161 | } |
1162 | ||
319c6529 RK |
1163 | /* star button */ |
1164 | ||
1165 | #star-button { | |
1166 | list-style-image: url("chrome://browser/skin/places/bookmark.png"); | |
1167 | -moz-image-region: rect(0px 16px 16px 0px); | |
acb0e9b8 | 1168 | } |
319c6529 RK |
1169 | |
1170 | #star-button:hover { | |
1171 | -moz-image-region: rect(0px 32px 16px 16px); | |
acb0e9b8 | 1172 | } |
319c6529 RK |
1173 | |
1174 | #star-button:hover:active { | |
1175 | -moz-image-region: rect(0px 48px 16px 32px); | |
acb0e9b8 | 1176 | } |
1177 | ||
319c6529 RK |
1178 | #star-button[starred="true"] { |
1179 | list-style-image: url("chrome://browser/skin/places/editBookmark.png"); | |
acb0e9b8 | 1180 | } |
319c6529 RK |
1181 | |
1182 | /* bookmarking panel */ | |
1183 | #editBookmarkPanelStarIcon { | |
1184 | list-style-image: url("chrome://browser/skin/places/starred48.png"); | |
1185 | width: 48px; | |
1186 | height: 48px; | |
acb0e9b8 | 1187 | } |
319c6529 RK |
1188 | |
1189 | #editBookmarkPanelStarIcon[unstarred] { | |
1190 | list-style-image: url("chrome://browser/skin/places/unstarred48.png"); | |
acb0e9b8 | 1191 | } |
1192 | ||
319c6529 RK |
1193 | #editBookmarkPanelTitle { |
1194 | font-size: 130%; | |
acb0e9b8 | 1195 | } |
319c6529 RK |
1196 | |
1197 | #editBookmarkPanelHeader, | |
1198 | #editBookmarkPanelContent { | |
1199 | margin-bottom: .5em; | |
acb0e9b8 | 1200 | } |
319c6529 RK |
1201 | |
1202 | /* Implements editBookmarkPanel resizing on folderTree un-collapse. */ | |
1203 | #editBMPanel_folderTree { | |
1204 | min-width: 27em; | |
acb0e9b8 | 1205 | } |
1206 | ||
319c6529 RK |
1207 | /* ::::: content area ::::: */ |
1208 | ||
1209 | #sidebar { | |
1210 | background-color: Window; | |
acb0e9b8 | 1211 | } |
319c6529 RK |
1212 | |
1213 | #sidebar-title { | |
1214 | -moz-padding-start: 0px; | |
acb0e9b8 | 1215 | } |
319c6529 RK |
1216 | |
1217 | /* ::::: throbber ::::: */ | |
1218 | ||
1219 | #navigator-throbber { | |
1220 | width: 16px; | |
1221 | min-height: 16px; | |
1222 | margin: 0 3px; | |
acb0e9b8 | 1223 | } |
1224 | ||
319c6529 RK |
1225 | #navigator-throbber[busy="true"] { |
1226 | list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif"); | |
acb0e9b8 | 1227 | } |
319c6529 RK |
1228 | |
1229 | #navigator-throbber, | |
1230 | #wrapper-navigator-throbber > #navigator-throbber { | |
1231 | list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif"); | |
acb0e9b8 | 1232 | } |
319c6529 RK |
1233 | |
1234 | /* Tabstrip */ | |
1235 | #TabsToolbar { | |
1236 | min-height: 0; | |
1237 | padding: 0; | |
acb0e9b8 | 1238 | } |
1239 | ||
319c6529 RK |
1240 | #TabsToolbar[tabsontop="false"] { |
1241 | border-bottom: 1px solid #FF9F00; | |
acb0e9b8 | 1242 | } |
319c6529 | 1243 | |
319c6529 RK |
1244 | .tabbrowser-tab, |
1245 | .tabs-newtab-button { | |
1246 | margin-top: 0px; | |
acb0e9b8 | 1247 | } |
319c6529 RK |
1248 | |
1249 | .tabbrowser-tab:hover, | |
1250 | .tabs-newtab-button:hover { | |
acb0e9b8 | 1251 | } |
319c6529 RK |
1252 | |
1253 | .tabbrowser-tab[selected="true"] { | |
acb0e9b8 | 1254 | } |
1255 | ||
9abeb12c RK |
1256 | #main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) { |
1257 | } | |
1258 | ||
319c6529 | 1259 | .tabbrowser-tab:-moz-lwtheme { |
acb0e9b8 | 1260 | } |
319c6529 RK |
1261 | |
1262 | .tabbrowser-tab[selected="true"]:-moz-lwtheme { | |
acb0e9b8 | 1263 | } |
319c6529 RK |
1264 | |
1265 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]), | |
1266 | .tabs-newtab-button:-moz-lwtheme-brighttext { | |
acb0e9b8 | 1267 | } |
1268 | ||
319c6529 RK |
1269 | .tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover, |
1270 | .tabs-newtab-button:-moz-lwtheme-brighttext:hover { | |
acb0e9b8 | 1271 | } |
319c6529 RK |
1272 | |
1273 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]), | |
1274 | .tabs-newtab-button:-moz-lwtheme-darktext { | |
acb0e9b8 | 1275 | } |
319c6529 RK |
1276 | |
1277 | .tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover, | |
1278 | .tabs-newtab-button:-moz-lwtheme-darktext:hover { | |
acb0e9b8 | 1279 | } |
1280 | ||
319c6529 RK |
1281 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) { |
1282 | background-color: #E7ADE7; | |
613daf44 | 1283 | } |
319c6529 RK |
1284 | .tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover { |
1285 | background-color: #0000FF; | |
1286 | color: #000000; | |
613daf44 | 1287 | } |
319c6529 RK |
1288 | |
1289 | .tab-throbber, | |
1290 | .tab-icon-image { | |
1291 | width: 16px; | |
1292 | height: 16px; | |
1293 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); | |
1294 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
1295 | -moz-margin-end: 3px; | |
613daf44 | 1296 | } |
1297 | ||
319c6529 RK |
1298 | .tab-throbber { |
1299 | list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png"); | |
613daf44 | 1300 | } |
319c6529 RK |
1301 | |
1302 | .tab-throbber[progress] { | |
1303 | list-style-image: url("chrome://browser/skin/tabbrowser/loading.png"); | |
613daf44 | 1304 | } |
319c6529 | 1305 | |
d54f5b23 | 1306 | #tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] { |
319c6529 | 1307 | min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */ |
613daf44 | 1308 | } |
1309 | ||
319c6529 RK |
1310 | .tab-throbber[pinned], |
1311 | .tab-icon-image[pinned] { | |
1312 | -moz-margin-start: 2px; | |
1313 | -moz-margin-end: 2px; | |
613daf44 | 1314 | } |
319c6529 RK |
1315 | |
1316 | /* tabbrowser-tab focus ring */ | |
1317 | .tabbrowser-tab:focus > .tab-stack { | |
1318 | outline: 1px dotted; | |
613daf44 | 1319 | } |
319c6529 RK |
1320 | |
1321 | /* Tab DnD indicator */ | |
1322 | .tab-drop-indicator { | |
1323 | list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png"); | |
9abeb12c | 1324 | margin-bottom: -11px; |
613daf44 | 1325 | } |
1326 | ||
319c6529 RK |
1327 | /* Tab close button */ |
1328 | .tab-close-button { | |
1329 | border: none; | |
1330 | padding: 0px; | |
1331 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
1332 | } | |
acb0e9b8 | 1333 | |
319c6529 RK |
1334 | .tab-close-button:-moz-system-metric(touch-enabled) { |
1335 | -moz-transform: scale(1.2); | |
1336 | } | |
acb0e9b8 | 1337 | |
319c6529 RK |
1338 | .tab-close-button:hover, |
1339 | .tab-close-button:hover[selected="true"] { | |
1340 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1341 | } |
319c6529 RK |
1342 | |
1343 | .tab-close-button:hover:active, | |
1344 | .tab-close-button:hover:active[selected="true"] { | |
1345 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1346 | } |
319c6529 RK |
1347 | |
1348 | .tab-close-button:focus { | |
1349 | outline: none !important; | |
acb0e9b8 | 1350 | } |
1351 | ||
319c6529 RK |
1352 | /* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */ |
1353 | ||
1354 | @media all and (-moz-touch-enabled) { | |
1355 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1356 | .tabbrowser-arrowscrollbox > .scrollbutton-down, | |
1357 | #TabsToolbar .toolbarbutton-1 { | |
1358 | min-width: 8.1mozmm; | |
1359 | } | |
1360 | ||
1361 | .tabs-newtab-button { | |
1362 | min-width: 10mozmm; | |
1363 | } | |
1364 | ||
1365 | .tab-content { | |
1366 | min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */ | |
1367 | } | |
acb0e9b8 | 1368 | } |
319c6529 RK |
1369 | |
1370 | .tabbrowser-arrowscrollbox > .scrollbutton-up, | |
1371 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
1372 | list-style-image: url("chrome://browser/skin/tabbrowser/tab-arrow-left.png"); | |
1373 | -moz-image-region: rect(0, 15px, 17px, 0); | |
1374 | margin: 0; | |
1375 | padding-top: 0; | |
1376 | padding-bottom: 0; | |
acb0e9b8 | 1377 | } |
319c6529 | 1378 | |
9abeb12c RK |
1379 | .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled], |
1380 | .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] { | |
319c6529 | 1381 | opacity: .4; |
acb0e9b8 | 1382 | } |
1383 | ||
9abeb12c RK |
1384 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]):hover:active, |
1385 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]):hover:active { | |
319c6529 | 1386 | -moz-image-region: rect(0, 30px, 17px, 15px); |
acb0e9b8 | 1387 | } |
319c6529 | 1388 | |
d54f5b23 RK |
1389 | .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl), |
1390 | .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) { | |
319c6529 | 1391 | -moz-transform: scaleX(-1); |
acb0e9b8 | 1392 | } |
319c6529 RK |
1393 | |
1394 | .tabbrowser-arrowscrollbox > .scrollbutton-down { | |
acb0e9b8 | 1395 | } |
1396 | ||
319c6529 RK |
1397 | .tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] { |
1398 | background-color: #008484; | |
acb0e9b8 | 1399 | } |
319c6529 | 1400 | |
d54f5b23 RK |
1401 | .tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]), |
1402 | .tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) { | |
9abeb12c | 1403 | -moz-border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 / 0 2px 0 0; |
9abeb12c RK |
1404 | } |
1405 | ||
319c6529 RK |
1406 | .tabs-newtab-button > .toolbarbutton-icon { |
1407 | margin-top: -1px; | |
1408 | margin-bottom: -1px; | |
acb0e9b8 | 1409 | } |
319c6529 RK |
1410 | |
1411 | .tabs-newtab-button, | |
1412 | #TabsToolbar > #new-tab-button, | |
1413 | #TabsToolbar > toolbarpaletteitem > #new-tab-button { | |
1414 | list-style-image: url(chrome://browser/skin/tabbrowser/newtab.png); | |
1415 | -moz-image-region: rect(0, 16px, 18px, 0); | |
acb0e9b8 | 1416 | } |
1417 | ||
319c6529 RK |
1418 | .tabs-newtab-button { |
1419 | width: 31px; | |
acb0e9b8 | 1420 | } |
319c6529 RK |
1421 | |
1422 | .tabs-newtab-button:hover:active, | |
1423 | #TabsToolbar > #new-tab-button:hover:active { | |
1424 | -moz-image-region: rect(0, 32px, 18px, 16px); | |
acb0e9b8 | 1425 | } |
319c6529 RK |
1426 | |
1427 | #alltabs-button { | |
1428 | list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png"); | |
1429 | -moz-image-region: rect(0, 14px, 16px, 0); | |
acb0e9b8 | 1430 | } |
1431 | ||
319c6529 RK |
1432 | #alltabs-button:hover:active { |
1433 | -moz-image-region: rect(0, 28px, 16px, 14px); | |
acb0e9b8 | 1434 | } |
319c6529 RK |
1435 | |
1436 | #alltabs-button[type="menu"] { | |
1437 | list-style-image: url("chrome://browser/skin/mainwindow-dropdown-arrow.png"); | |
1438 | -moz-image-region: rect(0, 13px, 11px, 0); | |
acb0e9b8 | 1439 | } |
319c6529 RK |
1440 | |
1441 | #alltabs-button[type="menu"] > .toolbarbutton-icon { | |
1442 | margin: 3px 0; | |
acb0e9b8 | 1443 | } |
1444 | ||
319c6529 RK |
1445 | #alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker { |
1446 | display: none; | |
acb0e9b8 | 1447 | } |
319c6529 RK |
1448 | |
1449 | #alltabs-button[type="menu"]:hover:active, | |
1450 | #alltabs-button[type="menu"][open="true"] { | |
1451 | -moz-image-region: rect(0, 26px, 11px, 13px); | |
acb0e9b8 | 1452 | } |
319c6529 RK |
1453 | |
1454 | /* All tabs menupopup */ | |
1455 | .alltabs-item > .menu-iconic-left > .menu-iconic-icon { | |
1456 | list-style-image: url("chrome://global/skin/icons/folder-item.png"); | |
1457 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
acb0e9b8 | 1458 | } |
1459 | ||
319c6529 RK |
1460 | .alltabs-item[selected="true"] { |
1461 | font-weight: bold; | |
acb0e9b8 | 1462 | } |
319c6529 RK |
1463 | |
1464 | .alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon { | |
1465 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
acb0e9b8 | 1466 | } |
319c6529 RK |
1467 | |
1468 | /* Tabstrip close button */ | |
1469 | .tabs-closebutton { | |
1470 | -moz-box-flex: 1; | |
1471 | margin: 0px; | |
1472 | padding: 2px; | |
1473 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
acb0e9b8 | 1474 | } |
1475 | ||
319c6529 RK |
1476 | .tabs-closebutton:hover, |
1477 | .tabs-closebutton:hover:active { | |
1478 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
acb0e9b8 | 1479 | } |
319c6529 RK |
1480 | |
1481 | toolbarbutton.chevron { | |
1482 | list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important; | |
acb0e9b8 | 1483 | } |
319c6529 RK |
1484 | |
1485 | toolbarbutton.chevron:hover { | |
1486 | list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important; | |
acb0e9b8 | 1487 | } |
1488 | ||
319c6529 RK |
1489 | toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon, |
1490 | toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon { | |
1491 | -moz-transform: scaleX(-1); | |
acb0e9b8 | 1492 | } |
319c6529 RK |
1493 | |
1494 | toolbarbutton.chevron > .toolbarbutton-text, | |
1495 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { | |
1496 | display: none; | |
acb0e9b8 | 1497 | } |
319c6529 RK |
1498 | |
1499 | toolbarbutton.chevron > .toolbarbutton-icon { | |
1500 | margin: 0; | |
acb0e9b8 | 1501 | } |
1502 | ||
319c6529 RK |
1503 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { |
1504 | display: -moz-box; /* display chevron icon in text mode */ | |
acb0e9b8 | 1505 | } |
319c6529 RK |
1506 | |
1507 | #sidebar-throbber[loading="true"] { | |
1508 | list-style-image: url("chrome://global/skin/icons/loading.gif"); | |
1509 | -moz-margin-end: 4px; | |
acb0e9b8 | 1510 | } |
319c6529 RK |
1511 | |
1512 | /* Bookmarks toolbar */ | |
1513 | #PlacesToolbarDropIndicator { | |
1514 | list-style-image: url("chrome://browser/skin/places/toolbarDropMarker.png"); | |
acb0e9b8 | 1515 | } |
1516 | ||
319c6529 RK |
1517 | toolbarbutton.bookmark-item[dragover="true"][open="true"] { |
1518 | background-color: #008484 !important; | |
1519 | color: #FFCF00 !important; | |
613daf44 | 1520 | } |
319c6529 RK |
1521 | |
1522 | /* rules for menupopup drop indicators */ | |
1523 | .menupopup-drop-indicator-bar { | |
1524 | position: relative; | |
1525 | /* these two margins must together compensate the indicator's height */ | |
1526 | margin-top: -1px; | |
1527 | margin-bottom: -1px; | |
613daf44 | 1528 | } |
319c6529 RK |
1529 | |
1530 | .menupopup-drop-indicator { | |
1531 | list-style-image: none; | |
1532 | height: 2px; | |
1533 | -moz-margin-end: -4em; | |
1534 | background-color: #008484; | |
613daf44 | 1535 | } |
1536 | ||
319c6529 RK |
1537 | /* ::::: Identity Indicator Styling ::::: */ |
1538 | ||
1539 | /* Popup Icons */ | |
1540 | #identity-popup-icon { | |
1541 | height: 64px; | |
1542 | width: 64px; | |
1543 | padding: 0; | |
1544 | list-style-image: url("chrome://browser/skin/identity.png"); | |
1545 | -moz-image-region: rect(0px, 64px, 64px, 0px); | |
613daf44 | 1546 | } |
319c6529 RK |
1547 | |
1548 | #identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon { | |
1549 | -moz-image-region: rect(64px, 64px, 128px, 0px); | |
613daf44 | 1550 | } |
319c6529 RK |
1551 | |
1552 | #identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon { | |
1553 | -moz-image-region: rect(128px, 64px, 192px, 0px); | |
613daf44 | 1554 | } |
1555 | ||
319c6529 RK |
1556 | /* Popup Body Text */ |
1557 | .identity-popup-description { | |
1558 | white-space: pre-wrap; | |
1559 | -moz-padding-start: 15px; | |
1560 | margin: 2px 0 4px; | |
613daf44 | 1561 | } |
319c6529 RK |
1562 | |
1563 | .identity-popup-label { | |
1564 | white-space: pre-wrap; | |
1565 | -moz-padding-start: 15px; | |
1566 | margin: 0; | |
613daf44 | 1567 | } |
319c6529 RK |
1568 | |
1569 | #identity-popup-content-host , | |
1570 | #identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner { | |
1571 | font-size: 1.2em; | |
613daf44 | 1572 | } |
1573 | ||
319c6529 RK |
1574 | #identity-popup-content-host { |
1575 | margin-top: 3px; | |
1576 | margin-bottom: 5px; | |
1577 | font-weight: bold; | |
1578 | max-width: 300px; | |
1579 | } | |
613daf44 | 1580 | |
319c6529 RK |
1581 | #identity-popup-content-owner { |
1582 | margin-top: 4px; | |
1583 | margin-bottom: 0 !important; | |
1584 | font-weight: bold; | |
1585 | max-width: 300px; | |
1586 | } | |
613daf44 | 1587 | |
319c6529 RK |
1588 | .verifiedDomain > #identity-popup-content-owner { |
1589 | font-weight: normal; | |
613daf44 | 1590 | } |
1591 | ||
319c6529 RK |
1592 | #identity-popup-content-verifier { |
1593 | margin: 4px 0 2px; | |
613daf44 | 1594 | } |
1595 | ||
319c6529 RK |
1596 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption , |
1597 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption { | |
1598 | margin-top: 10px; | |
1599 | -moz-margin-start: -24px; | |
613daf44 | 1600 | } |
1601 | ||
319c6529 RK |
1602 | #identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon , |
1603 | #identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon { | |
1604 | list-style-image: url("chrome://browser/skin/Secure24.png"); | |
613daf44 | 1605 | } |
1606 | ||
319c6529 RK |
1607 | #identity-popup-more-info-button { |
1608 | margin-top: 6px; | |
1609 | margin-bottom: 0; | |
1610 | -moz-margin-end: 0; | |
613daf44 | 1611 | } |
acb0e9b8 | 1612 | |
319c6529 RK |
1613 | .popup-notification-icon { |
1614 | width: 64px; | |
1615 | height: 64px; | |
1616 | -moz-margin-end: 10px; | |
1617 | } | |
acb0e9b8 | 1618 | |
319c6529 RK |
1619 | .popup-notification-icon[popupid="geolocation"] { |
1620 | list-style-image: url("chrome://browser/skin/Geolocation-64.png"); | |
acb0e9b8 | 1621 | } |
1622 | ||
319c6529 RK |
1623 | .popup-notification-icon[popupid="xpinstall-disabled"], |
1624 | .popup-notification-icon[popupid="addon-progress"], | |
1625 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
1626 | .popup-notification-icon[popupid="addon-install-blocked"], | |
1627 | .popup-notification-icon[popupid="addon-install-failed"], | |
1628 | .popup-notification-icon[popupid="addon-install-complete"] { | |
1629 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); | |
1630 | width: 32px; | |
1631 | height: 32px; | |
acb0e9b8 | 1632 | } |
319c6529 RK |
1633 | |
1634 | .addon-progress-description { | |
1635 | width: 350px; | |
1636 | max-width: 350px; | |
acb0e9b8 | 1637 | } |
319c6529 RK |
1638 | |
1639 | .popup-progress-label, | |
1640 | .popup-progress-meter { | |
1641 | -moz-margin-start: 0; | |
1642 | -moz-margin-end: 0; | |
acb0e9b8 | 1643 | } |
319c6529 RK |
1644 | |
1645 | .popup-progress-cancel { | |
1646 | -moz-appearance: none; | |
1647 | background: transparent; | |
1648 | border: none; | |
1649 | padding: 0; | |
1650 | margin: 0; | |
1651 | min-height: 0; | |
1652 | min-width: 0; | |
1653 | list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png"); | |
1654 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
acb0e9b8 | 1655 | } |
319c6529 RK |
1656 | |
1657 | .popup-progress-cancel:hover { | |
1658 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
acb0e9b8 | 1659 | } |
1660 | ||
319c6529 RK |
1661 | .popup-progress-cancel:active { |
1662 | -moz-image-region: rect(32px, 32px, 48px, 16px); | |
1663 | } | |
acb0e9b8 | 1664 | |
319c6529 RK |
1665 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
1666 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { | |
1667 | list-style-image: url("chrome://global/skin/icons/alert-question.gif"); | |
acb0e9b8 | 1668 | } |
1669 | ||
319c6529 RK |
1670 | .popup-notification-icon[popupid="password-save"], |
1671 | .popup-notification-icon[popupid="password-change"] { | |
1672 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
acb0e9b8 | 1673 | } |
1674 | ||
319c6529 RK |
1675 | /* Notification icon box */ |
1676 | #notification-popup-box { | |
1677 | margin: 0 3px; | |
1678 | } | |
acb0e9b8 | 1679 | |
319c6529 | 1680 | .notification-anchor-icon { |
acb0e9b8 | 1681 | width: 16px; |
1682 | height: 16px; | |
1683 | } | |
1684 | ||
319c6529 RK |
1685 | .notification-anchor-icon:-moz-focusring { |
1686 | outline: 1px dotted -moz-DialogText; | |
1687 | outline-offset: -3px; | |
acb0e9b8 | 1688 | } |
1689 | ||
ab799a7a RK |
1690 | #default-notification-icon { |
1691 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
1692 | } | |
1693 | ||
319c6529 RK |
1694 | #geo-notification-icon { |
1695 | list-style-image: url("chrome://browser/skin/Geolocation-16.png"); | |
acb0e9b8 | 1696 | } |
1697 | ||
319c6529 RK |
1698 | #addons-notification-icon { |
1699 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
acb0e9b8 | 1700 | } |
1701 | ||
319c6529 RK |
1702 | #indexedDB-notification-icon { |
1703 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
acb0e9b8 | 1704 | } |
1705 | ||
319c6529 RK |
1706 | #password-notification-icon { |
1707 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
acb0e9b8 | 1708 | } |
1709 | ||
319c6529 RK |
1710 | #identity-popup-container { |
1711 | min-width: 280px; | |
1712 | } | |
acb0e9b8 | 1713 | |
319c6529 RK |
1714 | #download-monitor { |
1715 | list-style-image: url("chrome://browser/skin/Toolbar.png"); | |
1716 | -moz-image-region: rect(0, 108px, 18px, 90px); | |
acb0e9b8 | 1717 | } |
1718 | ||
319c6529 RK |
1719 | /* Bookmarks roots menu-items */ |
1720 | #appmenu_subscribeToPage:not([disabled]), | |
1721 | #appmenu_subscribeToPageMenu, | |
1722 | #subscribeToPageMenuitem:not([disabled]), | |
1723 | #subscribeToPageMenupopup, | |
1724 | #BMB_subscribeToPageMenuitem:not([disabled]), | |
1725 | #BMB_subscribeToPageMenupopup { | |
1726 | list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png"); | |
613daf44 | 1727 | } |
1728 | ||
319c6529 RK |
1729 | #bookmarksToolbarFolderMenu, |
1730 | #appmenu_bookmarksToolbar, | |
1731 | #BMB_bookmarksToolbar { | |
1732 | list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png"); | |
1733 | -moz-image-region: auto; | |
1734 | } | |
acb0e9b8 | 1735 | |
319c6529 RK |
1736 | #appmenu_unsortedBookmarks, |
1737 | #BMB_unsortedBookmarks { | |
1738 | list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png"); | |
1739 | -moz-image-region: auto; | |
acb0e9b8 | 1740 | } |
1741 | ||
319c6529 | 1742 | /* ::::: Keyboard UI Panel ::::: */ |
acb0e9b8 | 1743 | |
319c6529 RK |
1744 | .KUI-panel { |
1745 | color: #FF9F00; | |
1746 | border-style: none; | |
1747 | border-radius: 20px; | |
acb0e9b8 | 1748 | } |
1749 | ||
319c6529 RK |
1750 | .KUI-panel[level="top"] { |
1751 | /*background-color: rgba(27%,27%,27%,.65);*/ | |
acb0e9b8 | 1752 | } |
1753 | ||
319c6529 RK |
1754 | .KUI-panel-closebutton { |
1755 | list-style-image: url("KUI-close.png"); | |
1756 | width: 24px; | |
1757 | height: 24px; | |
acb0e9b8 | 1758 | } |
1759 | ||
319c6529 | 1760 | .KUI-panel-closebutton:not(:hover) { |
acb0e9b8 | 1761 | } |
1762 | ||
319c6529 | 1763 | .KUI-panel-closebutton > .toolbarbutton-icon { |
acb0e9b8 | 1764 | } |
1765 | ||
319c6529 | 1766 | /* ::::: Ctrl-Tab and All Tabs Panels ::::: */ |
acb0e9b8 | 1767 | |
319c6529 RK |
1768 | /* Ctrl-Tab */ |
1769 | ||
1770 | #ctrlTab-panel { | |
1771 | padding: 20px 10px 10px; | |
1772 | font-weight: bold; | |
acb0e9b8 | 1773 | } |
1774 | ||
319c6529 RK |
1775 | .ctrlTab-favicon[src] { |
1776 | background-color: #000000; | |
1777 | width: 20px; | |
1778 | height: 20px; | |
1779 | padding: 2px; | |
1780 | } | |
acb0e9b8 | 1781 | |
319c6529 | 1782 | .ctrlTab-preview-inner > .tabPreview-canvas { |
acb0e9b8 | 1783 | } |
1784 | ||
319c6529 RK |
1785 | .ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas { |
1786 | margin-bottom: 2px; | |
acb0e9b8 | 1787 | } |
1788 | ||
319c6529 RK |
1789 | .ctrlTab-preview-inner { |
1790 | padding-bottom: 10px; | |
acb0e9b8 | 1791 | } |
1792 | ||
319c6529 RK |
1793 | #ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner { |
1794 | padding: 10px; | |
1795 | background-color: #000000; | |
1796 | border-radius: .5em; | |
acb0e9b8 | 1797 | } |
1798 | ||
319c6529 RK |
1799 | .ctrlTab-preview:focus > * > .ctrlTab-preview-inner { |
1800 | color: white; | |
1801 | background-color: #000000; | |
1802 | text-shadow: none; | |
1803 | padding: 8px; | |
1804 | border: 2px solid #9C9CFF; | |
1805 | border-radius: .5em; | |
acb0e9b8 | 1806 | } |
1807 | ||
319c6529 RK |
1808 | .ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner { |
1809 | margin: -10px -10px 0; | |
acb0e9b8 | 1810 | } |
1811 | ||
319c6529 RK |
1812 | #ctrlTab-showAll { |
1813 | margin-top: .5em; | |
acb0e9b8 | 1814 | } |
1815 | ||
319c6529 RK |
1816 | /* All Tabs */ |
1817 | ||
1818 | #allTabs-panel { | |
1819 | padding-bottom: 10px; | |
613daf44 | 1820 | } |
1821 | ||
319c6529 RK |
1822 | #allTabs-meta { |
1823 | margin: 10px; | |
613daf44 | 1824 | } |
1825 | ||
319c6529 RK |
1826 | #allTabs-filter { |
1827 | -moz-margin-start: 24px; | |
1828 | -moz-margin-end: 0; | |
1829 | } | |
acb0e9b8 | 1830 | |
319c6529 | 1831 | #allTabs-tab-close-button > .toolbarbutton-icon { |
acb0e9b8 | 1832 | margin: 0; |
acb0e9b8 | 1833 | } |
319c6529 RK |
1834 | |
1835 | .allTabs-favicon[src] { | |
1836 | width: 22px; | |
1837 | height: 22px; | |
1838 | padding-top: 1px; | |
1839 | padding-bottom: 5px; | |
1840 | -moz-padding-start: 1px; | |
1841 | -moz-padding-end: 5px; | |
1842 | margin-top: -2px; | |
1843 | -moz-margin-start: -2px; | |
1844 | border-bottom-right-radius: 4px; | |
acb0e9b8 | 1845 | } |
1846 | ||
319c6529 RK |
1847 | .allTabs-favicon[src]:-moz-locale-dir(rtl) { |
1848 | border-bottom-right-radius: 0; | |
1849 | border-bottom-left-radius: 4px; | |
acb0e9b8 | 1850 | } |
319c6529 RK |
1851 | |
1852 | .allTabs-preview-inner > .tabPreview-canvas { | |
1853 | background-color: #E7ADE7; | |
acb0e9b8 | 1854 | } |
1855 | ||
319c6529 | 1856 | .allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas { |
acb0e9b8 | 1857 | } |
319c6529 RK |
1858 | |
1859 | .allTabs-preview:focus > * > .allTabs-preview-inner { | |
1860 | outline: 1px dotted #008484; | |
acb0e9b8 | 1861 | } |
1862 | ||
319c6529 RK |
1863 | /* Inspector / Highlighter */ |
1864 | ||
1865 | #highlighter-panel { | |
1866 | -moz-window-shadow: none; | |
1867 | background: #000000; | |
1868 | border: none; | |
acb0e9b8 | 1869 | } |
319c6529 RK |
1870 | |
1871 | listitem.style-selector { | |
1872 | background-color: #9C9CFF; | |
1873 | color: #000000; | |
acb0e9b8 | 1874 | } |
1875 | ||
319c6529 RK |
1876 | listitem.style-section { |
1877 | background-color: #E7ADE7; | |
1878 | color: #000000; | |
1879 | font-weight: bold; | |
1880 | } | |
acb0e9b8 | 1881 | |
319c6529 RK |
1882 | panel[dimmed="true"] { |
1883 | opacity: 0.5; | |
acb0e9b8 | 1884 | } |
613daf44 | 1885 | |
319c6529 RK |
1886 | /* Vertically-center the statusbar compatibility shim, because |
1887 | toolbars, even in small-icon mode, are a bit taller than | |
1888 | statusbars. Also turn off the statusbar border. On Windows | |
1889 | we have to disable borders on statusbar *and* child statusbar | |
1890 | elements. */ | |
1891 | #status-bar { | |
1892 | margin-top: .3em; | |
1893 | border-width: 0; | |
613daf44 | 1894 | } |
1895 | ||
319c6529 RK |
1896 | /* Remove all borders from statusbarpanel children of |
1897 | the statusbar. | |
1898 | #status-bar > statusbarpanel { | |
1899 | border-width: 0; | |
1900 | } */ | |
1901 | ||
1902 | /* Add-on bar close button */ | |
1903 | #addonbar-closebutton { | |
1904 | border: none; | |
1905 | padding: 3px 5px; | |
1906 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
613daf44 | 1907 | } |
1908 | ||
319c6529 RK |
1909 | #addonbar-closebutton:hover, |
1910 | #addonbar-closebutton:hover:active { | |
1911 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
613daf44 | 1912 | } |
9abeb12c RK |
1913 | |
1914 | /* Status panel */ | |
1915 | ||
1916 | .statuspanel-label { | |
1917 | margin: 0; | |
1918 | padding: 2px 4px; | |
1919 | background: -moz-linear-gradient(white, #ddd); | |
1920 | border: 1px none #9C9CFF; | |
1921 | border-top-style: solid; | |
1922 | color: #FF9F00; | |
1923 | text-shadow: none; | |
1924 | } | |
1925 | ||
1926 | .statuspanel-label:-moz-locale-dir(ltr):not([mirror]), | |
1927 | .statuspanel-label:-moz-locale-dir(rtl)[mirror] { | |
1928 | border-right-style: solid; | |
1929 | border-top-right-radius: .3em; | |
1930 | margin-right: 1em; | |
1931 | } | |
1932 | ||
1933 | .statuspanel-label:-moz-locale-dir(rtl):not([mirror]), | |
1934 | .statuspanel-label:-moz-locale-dir(ltr)[mirror] { | |
1935 | border-left-style: solid; | |
1936 | border-top-left-radius: .3em; | |
1937 | margin-left: 1em; | |
1938 | } |