Merge branch 'master' of linz:/srv/git/themes
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
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
51toolbar {
52 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
53}
acb0e9b8 54
41279e76
RK
55toolbar[type="menubar"][autohide="true"] {
56 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
57}
58
acb0e9b8 59menubar {
319c6529 60 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 61}
62
319c6529
RK
63#menubar-items {
64 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 65}
66
319c6529
RK
67#main-menubar {
68 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
69}
70
63ada306
RK
71/* ::::: primary toolbar ::::: */
72
73.toolbar-primary > .toolbar-box > .toolbar-holder {
74 background-color: #FF9F00;
75}
76
77.toolbar-primary > .toolbar-box > .toolbar-startcap,
78.toolbar-primary > .toolbar-box > .toolbar-endcap {
79 background-color: #9C9CFF;
80}
81
82
319c6529
RK
83#navigator-toolbox {
84}
85
9abeb12c
RK
86#navigator-toolbox::after {
87 content: "";
88 display: -moz-box;
89 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
90 height: 1px;
91}
92#navigator-toolbox[tabsontop=false]::after,
93#main-window[disablechrome] #navigator-toolbox::after {
94 visibility: collapse;
95}
96
319c6529
RK
97#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
98}
99
d54f5b23 100#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
101 /* like menubar */
102 background-color: #6000CF;
103 color: #FF9F00;
104}
d54f5b23 105#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
106 background-color: #8050B0;
107 color: #FF9F00;
108}
109
110#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
111 visibility: hidden;
112}
113#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
114 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
115 visibility: visible;
116}
117
319c6529
RK
118#navigator-toolbox[tabsontop="true"] > #nav-bar,
119#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + toolbar,
120#navigator-toolbox[tabsontop="true"]:not([customizing]) > #nav-bar[collapsed="true"] + #customToolbars + #PersonalToolbar {
121 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
122}
123
319c6529 124#personal-bookmarks {
38cfeb47 125/* min-height: 24px; */
319c6529
RK
126}
127
128#print-preview-toolbar:not(:-moz-lwtheme) {
129 /* -moz-appearance: toolbox; */
acb0e9b8 130}
131
319c6529
RK
132/* ::::: app menu button ::::: */
133
dce90fef 134.tab-drag-preview::before,
319c6529 135#appmenu-button {
acb0e9b8 136 background-color: #FF9F00;
319c6529
RK
137 background-clip: padding-box;
138 border-radius: 0;
139 border: none;
319c6529
RK
140 border-right: 3px solid #000000;
141 color: #000000;
142 font-weight: bold;
5305ef8d
RK
143 padding: 1px 1.5em;
144 margin: 0;
145}
146
147#appmenu-button:-moz-locale-dir(rtl) {
148 border-left: 3px solid #000000;
149 border-right: none;
acb0e9b8 150}
151
dce90fef 152#main-window[privatebrowsingmode=temporary] .tab-drag-preview::before,
319c6529
RK
153#main-window[privatebrowsingmode=temporary] #appmenu-button {
154 background-color: #6000CF;
155 color: #FFCF00;
156}
157
b36fc72e
RK
158#appmenu-button:hover:not(:active):not([open]) {
159}
160
161#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
162}
163
319c6529
RK
164#appmenu-button:hover,
165#appmenu-button:hover:active,
166#appmenu-button[open] {
167 background-color: #FFCF00;
168 color: #000000;
169}
170
171#appmenu-button > .button-box > .button-menu-dropmarker {
db6435b4 172 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
319c6529
RK
173 width: auto;
174 height: auto;
175 padding: 0;
176 margin: 0;
5305ef8d
RK
177 border: none;
178 background-color: transparent;
319c6529
RK
179 -moz-margin-start: .5em;
180}
181
db6435b4
RK
182#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
183 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
184}
185
38cfeb47
RK
186#appmenuPrimaryPane > menuitem,
187#appmenuSecondaryPane > menuitem,
188#appmenuPrimaryPane > menu {
189 padding: 2px;
190}
191
d54f5b23 192.splitmenu-menuitem {
38cfeb47
RK
193 -moz-padding-start: 2px;
194 padding-top: 2px;
195 padding-bottom: 2px;
d54f5b23
RK
196 -moz-margin-end: 1px;
197}
198
ab799a7a 199.splitmenu-menu {
38cfeb47
RK
200 padding-top: 2px;
201 padding-bottom: 2px;
319c6529
RK
202 -moz-box-pack: end;
203}
204
205.appmenu-edit-button {
206}
207
208.appmenu-edit-button[disabled="true"] {
209}
210
211#appmenuPrimaryPane {
212 -moz-border-end: 1px solid #9C9CFF;
213}
214/*
215 #appmenu-popup {
216 }
217 #appmenuPrimaryPane {
218 }
219 #appmenuSecondaryPane {
220 }
221 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
222 }
223
224 #appmenuSecondaryPane menupopup {
225 }
226
227 .appmenu-menuseparator {
228 }
229
230 .appmenu-edit-button:not([disabled]):hover {
231 }
232*/
233#appmenuSecondaryPane-spacer {
234 min-height: 1em;
235}
236
9abeb12c
RK
237#appmenu-editmenu {
238 -moz-box-pack: end;
239}
240
319c6529
RK
241#appmenu_print,
242#appmenu_print_popup,
243.appmenu-edit-button,
9abeb12c
RK
244#appmenu-editmenu-cut,
245#appmenu-editmenu-copy,
246#appmenu-editmenu-paste,
319c6529
RK
247#appmenu-quit {
248 list-style-image: url("appmenu-icons.png");
249}
250
9abeb12c
RK
251#appmenu-cut,
252#appmenu-editmenu-cut {
319c6529 253 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 254}
255
143c5409
RK
256#appmenu-cut:hover:not([disabled="true"]),
257#appmenu-editmenu-cut:hover:not([disabled="true"]) {
258 -moz-image-region: rect(16px 16px 32px 0);
259}
260
261#appmenu-cut[disabled="true"],
262#appmenu-editmenu-cut[disabled="true"] {
263 -moz-image-region: rect(32px 16px 48px 0);
264}
265
9abeb12c
RK
266#appmenu-copy,
267#appmenu-editmenu-copy {
319c6529
RK
268 -moz-image-region: rect(0 32px 16px 16px);
269}
270
143c5409
RK
271#appmenu-copy:hover:not([disabled="true"]),
272#appmenu-editmenu-copy:hover:not([disabled="true"]) {
273 -moz-image-region: rect(16px 32px 32px 16px);
274}
275
276#appmenu-copy[disabled="true"],
277#appmenu-editmenu-copy[disabled="true"] {
278 -moz-image-region: rect(32px 32px 48px 16px);
279}
280
9abeb12c
RK
281#appmenu-paste,
282#appmenu-editmenu-paste {
319c6529
RK
283 -moz-image-region: rect(0 48px 16px 32px);
284}
285
143c5409
RK
286#appmenu-paste:hover:not([disabled="true"]),
287#appmenu-editmenu-paste:hover:not([disabled="true"]) {
288 -moz-image-region: rect(16px 48px 32px 32px);
289}
290
291#appmenu-paste[disabled="true"],
292#appmenu-editmenu-paste[disabled="true"] {
293 -moz-image-region: rect(32px 48px 48px 32px);
294}
295
319c6529
RK
296#appmenu_print,
297#appmenu_print_popup {
298 -moz-image-region: rect(0 64px 16px 48px);
299}
300
143c5409
RK
301#appmenu_print:hover:not([disabled="true"]),
302#appmenu_print[open="true"],
303#appmenu_print_popup:hover:not([disabled="true"]) {
304 -moz-image-region: rect(16px 64px 32px 48px);
305}
306
307#appmenu-print[disabled="true"],
308#appmenu_print_popup[disabled="true"] {
309 -moz-image-region: rect(32px 64px 48px 48px);
310}
311
319c6529
RK
312#appmenu-quit {
313 -moz-image-region: rect(0 80px 16px 64px);
314}
315
143c5409
RK
316#appmenu-quit:hover {
317 -moz-image-region: rect(16px 80px 32px 64px);
318}
319
319c6529
RK
320#appmenu-edit-label {
321 -moz-appearance: none;
322 background: transparent;
323 font-style: italic;
324}
325
326#appmenu_bookmarks {
327 list-style-image: url("chrome://browser/skin/places/bookmark.png");
328 -moz-image-region: rect(0px 48px 16px 32px);
329}
330
331#appmenu_privateBrowsing {
332 list-style-image: url("chrome://browser/skin/Privacy-16.png");
333}
334
335#appmenu_addons {
336 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
337}
338
339#BMB_bookmarkThisPage,
340#appmenu_bookmarkThisPage {
341 list-style-image: url("chrome://browser/skin/places/bookmark.png");
342 -moz-image-region: rect(0 16px 16px 0);
343}
344
345/* ::::: titlebar ::::: */
346
5305ef8d
RK
347#titlebar {
348 /* like menubar */
349 background-color: #6000CF;
350 color: #FF9F00;
351}
352#titlebar:-moz-window-inactive {
353 background-color: #8050B0;
354 color: #FF9F00;
355}
356
319c6529 357#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
358 margin-top: -3px;
359 margin-bottom: 3px;
319c6529
RK
360}
361
362#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 363 margin-top: 4px;
319c6529
RK
364}
365
366#titlebar-buttonbox {
5305ef8d
RK
367 margin-top: 5px;
368 -moz-margin-end: 3px;
319c6529
RK
369}
370
371#main-window[sizemode="maximized"] #titlebar-buttonbox {
372}
373
374.titlebar-placeholder[type="appmenu-button"] {
375 margin-left: 4px;
376}
377
378.titlebar-placeholder[type="caption-buttons"] {
379 margin-left: 10px;
380}
381
382/* titlebar command buttons */
383
384#titlebar-min {
5305ef8d
RK
385 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
386}
387
388#titlebar-min:hover {
389 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
390}
391
392#titlebar-max {
5305ef8d
RK
393 list-style-image: url("chrome://browser/skin/win-maximize.gif");
394}
395
396#titlebar-max:hover {
397 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
398}
399
400#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
401 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
402}
403
404#main-window[sizemode="maximized"] #titlebar-max:hover {
405 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
406}
407
408#titlebar-close {
5305ef8d
RK
409 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
410}
411
412#titlebar-close:hover {
413 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 414}
415
416/* ::::: bookmark buttons ::::: */
417
acb0e9b8 418.bookmark-item > .toolbarbutton-icon {
419 width: 16px;
420 height: 16px;
421}
422
423/* Prevent [mode="icons"] from hiding the label */
424.bookmark-item > .toolbarbutton-text {
425 display: -moz-box !important;
426}
427
319c6529
RK
428.bookmark-item > .toolbarbutton-menu-dropmarker {
429 display: none;
430}
431
432#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
433 width: 16px;
434 height: 16px;
8da9da4e 435 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat;
319c6529
RK
436}
437
438.bookmarks-toolbar-customize {
439 max-width: 15em !important;
8da9da4e 440 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
441}
442
443/* ::::: bookmark menus ::::: */
444
445menu.bookmark-item,
446menuitem.bookmark-item {
447 min-width: 0;
ab799a7a 448 max-width: 32em;
319c6529
RK
449}
450
451.bookmark-item > .menu-iconic-left {
452 margin-top: 0;
453 margin-bottom: 0;
454}
455
456.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
457 -moz-padding-start: 0px;
458}
459
460/* ::::: bookmark items ::::: */
461
462.bookmark-item {
dce90fef 463 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 464 -moz-image-region: auto;
319c6529
RK
465}
466
467.bookmark-item[container] {
468 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 469 -moz-image-region: auto;
319c6529
RK
470}
471
472.bookmark-item[container][open] {
473 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 474 -moz-image-region: auto;
319c6529
RK
475}
476
8da9da4e
RK
477.bookmark-item[container][livemark] {
478 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
479 -moz-image-region: auto;
480}
481
482.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 483 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
319c6529
RK
484 -moz-image-region: auto;
485}
486
487.bookmark-item[container][query] {
8da9da4e 488 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
489 -moz-image-region: auto;
490}
491
492.bookmark-item[query][tagContainer] {
493 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
494 -moz-image-region: auto;
495}
496
497.bookmark-item[query][dayContainer] {
8da9da4e 498 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
499 -moz-image-region: auto;
500}
501
502.bookmark-item[query][hostContainer] {
503 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 504 -moz-image-region: auto;
319c6529
RK
505}
506
507.bookmark-item[query][hostContainer][open] {
508 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 509 -moz-image-region: auto;
319c6529
RK
510}
511
b1234db8
RK
512.bookmark-item[cutting] > .toolbarbutton-icon,
513.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
514 opacity: 0.5;
515}
516
517.bookmark-item[cutting] > .toolbarbutton-text,
518.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
519 opacity: 0.7;
520}
521
319c6529
RK
522/* ::::: primary toolbar buttons ::::: */
523
63ada306
RK
524.toolbarbutton-1 {
525 list-style-image: url("chrome://browser/skin/Toolbar.png");
526}
527
528.toolbarbutton-1:not([type="menu-button"]) {
529 -moz-box-orient: vertical;
530}
531
319c6529
RK
532.toolbarbutton-1,
533.toolbarbutton-1 > .toolbarbutton-menubutton-button {
534 min-width: 36px;
535 min-height: 36px;
319c6529
RK
536}
537
ab799a7a
RK
538.toolbarbutton-1:not([type="menu-button"]) {
539 -moz-box-orient: vertical;
319c6529
RK
540}
541
542.toolbarbutton-1,
543.toolbarbutton-1 > .toolbarbutton-menubutton-button,
544.toolbarbutton-1[disabled="true"]:hover:active,
545.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
546 padding: 1px 2px;
547}
548
549.toolbarbutton-1:hover:active,
550.toolbarbutton-1[open="true"],
551.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
552 padding-top: 2px;
553 padding-bottom: 0px;
554 -moz-padding-start: 3px;
555 -moz-padding-end: 1px;
556}
557
319c6529
RK
558/* ::::: small primary toolbar buttons ::::: */
559
9abeb12c
RK
560#nav-bar {
561 /* force iconsize="small" on this toolbar */
562 counter-reset: smallicons;
563}
564
319c6529
RK
565toolbar[mode="text"] .toolbarbutton-1,
566toolbar[mode="icons"] .toolbarbutton-1,
567toolbar[iconsize="small"] .toolbarbutton-1,
568:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
569toolbar[mode="text"] .toolbarbutton-menubutton-button,
570toolbar[mode="icons"] .toolbarbutton-menubutton-button,
571toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
572:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
573 min-width: 0px;
574 min-height: 0px;
575}
576
577toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
578 padding-top: 4px;
579 padding-bottom: 8px;
580 -moz-padding-start: 1px;
581 -moz-padding-end: 1px;
582}
583
584toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
585toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
586:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
587 padding-top: 0px;
588 padding-bottom: 13px;
589 -moz-padding-start: 1px;
590 -moz-padding-end: 1px;
591}
592
593toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
594toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
595 padding-top: 5px;
596 padding-bottom: 7px;
597 -moz-padding-start: 0px;
598 -moz-padding-end: 2px;
599}
600
601toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
602toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
603toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
604toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
605:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
606:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
607 padding-top: 1px;
608 padding-bottom: 12px;
609 -moz-padding-start: 0px;
610 -moz-padding-end: 2px;
611}
612
613toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
614 padding-top: 4px !important;
615 padding-bottom: 8px !important;
616 -moz-padding-start: 1px !important;
617 -moz-padding-end: 1px !important;
618}
619
620toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
621toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
622 padding-top: 0px !important;
623 padding-bottom: 13px !important;
624 -moz-padding-start: 1px !important;
625 -moz-padding-end: 1px !important;
626}
627
628toolbar[mode="icons"] .toolbarbutton-text,
629toolbar[mode="text"] .toolbarbutton-icon {
630 display: none;
631}
632
633toolbar[mode="text"] .toolbarbutton-text {
634 padding: 4px 0;
635}
636
637toolbar[mode="text"] .toolbarbutton-1,
638toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
639 -moz-box-orient: horizontal;
640}
641
642toolbar[mode="full"] .toolbarbutton-1,
643toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
644 min-width: 30px;
645}
646
d54f5b23 647#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
648}
649
650#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
651}
652
653
319c6529
RK
654/* unified back/forward button */
655
656#back-button {
657 -moz-image-region: rect(0, 18px, 18px, 0);
658 -moz-margin-end: 0;
659}
660
38cfeb47
RK
661#back-button:not([disabled="true"]):hover {
662 -moz-image-region: rect(18px, 18px, 36px, 0);
663}
664
665#back-button[disabled="true"] {
666 -moz-image-region: rect(36px, 18px, 54px, 0);
667}
668
319c6529
RK
669#forward-button {
670 -moz-image-region: rect(0, 36px, 18px, 18px);
671 border-left: none;
672 -moz-margin-start: 0;
673}
674
38cfeb47
RK
675#forward-button:not([disabled="true"]):hover {
676 -moz-image-region: rect(18px, 36px, 36px, 18px);
677}
678
679#forward-button[disabled="true"] {
680 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
681}
682
319c6529
RK
683#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
684#forward-button:-moz-locale-dir(rtl),
685#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
686 -moz-transform: scaleX(-1);
687}
688
b36fc72e
RK
689#nav-bar #back-button {
690 -moz-margin-end: 0 !important;
691}
692
693#nav-bar #forward-button {
694 border-left-style: none;
695 -moz-margin-start: 0 !important;
696}
697
698#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
699 border-top-right-radius: 0;
700 border-bottom-right-radius: 0;
701}
702
b36fc72e
RK
703#nav-bar #back-button:-moz-locale-dir(rtl),
704#nav-bar #forward-button {
319c6529
RK
705 border-top-left-radius: 0;
706 border-bottom-left-radius: 0;
707}
708
9abeb12c 709#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button {
319c6529
RK
710 border-radius: 10000px;
711 width: 30px;
712 height: 30px;
713 position: relative;
714 z-index: 1;
715 margin-top: -2px;
716 margin-bottom: -2px;
717 border: none;
38cfeb47
RK
718 -moz-image-region: rect(54px, 20px, 74px, 0);
719}
720
721#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover,
722#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
723 -moz-image-region: rect(54px, 40px, 74px, 20px);
724}
725
726#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[disabled="true"] {
727 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
728}
729
9abeb12c 730#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
731}
732
9abeb12c
RK
733#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button:not([disabled="true"]):hover:active,
734#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #back-button[open="true"] {
319c6529
RK
735}
736
9abeb12c
RK
737#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
738#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
739/* padding-top: 3px;
740 padding-bottom: 5px; */
741}
742
9abeb12c
RK
743#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
744#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
745/* padding-top: 5px; */
746}
747
9abeb12c 748#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button {
319c6529
RK
749 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
750 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask");
9abeb12c 751 -moz-margin-start: -6px !important;
319c6529
RK
752 padding-left: 7px;
753 padding-right: 3px;
754}
755
9abeb12c 756#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar #forward-button:not([disabled="true"]):not(:active):hover {
319c6529
RK
757 /*mask: url(keyhole-forward-mask.svg#mask-hover);*/
758 mask: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-mask-hover");
759}
760
761.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
762.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
763 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
764}
765
766.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
767.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
768 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
319c6529
RK
769}
770
771.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
772.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
773 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
774}
775
776.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
777.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
778 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
319c6529
RK
779}
780
781/* stop button */
782
783#stop-button {
784 -moz-image-region: rect(0, 54px, 18px, 36px);
785}
786
143c5409
RK
787#stop-button:not([disabled="true"]):hover {
788 -moz-image-region: rect(18px, 54px, 36px, 36px);
789}
790
791#stop-button[disabled="true"] {
792 -moz-image-region: rect(36px, 54px, 54px, 36px);
793}
794
319c6529
RK
795/* reload button */
796
797#reload-button {
798 -moz-image-region: rect(0, 72px, 18px, 54px);
799}
800
143c5409
RK
801#reload-button:not([disabled="true"]):hover {
802 -moz-image-region: rect(18px, 72px, 36px, 54px);
803}
804
805#reload-button[disabled="true"] {
806 -moz-image-region: rect(36px, 72px, 54px, 54px);
807}
808
319c6529
RK
809/* home button */
810
811#home-button.bookmark-item {
812 list-style-image: url("chrome://browser/skin/Toolbar.png");
813}
814#home-button {
815 -moz-image-region: rect(0, 90px, 18px, 72px);
816}
817
143c5409
RK
818#home-button:not([disabled="true"]):hover {
819 -moz-image-region: rect(18px, 90px, 36px, 72px);
820}
821
822#home-button[disabled="true"] {
823 -moz-image-region: rect(36px, 90px, 54px, 72px);
824}
825
319c6529
RK
826/* tabview button */
827
d54f5b23
RK
828#tabview-button,
829#menu_tabview {
319c6529 830 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
d54f5b23
RK
831}
832
833#tabview-button {
319c6529
RK
834 -moz-image-region: rect(0, 90px, 18px, 72px);
835}
836
837#tabview-button[groups="0"] {
838 -moz-image-region: rect(0, 18px, 18px, 0);
839}
840
841#tabview-button[groups="1"] {
842 -moz-image-region: rect(0, 36px, 18px, 18px);
843}
844
845#tabview-button[groups="2"] {
846 -moz-image-region: rect(0, 54px, 18px, 36px);
847}
848
849#tabview-button[groups="3"] {
850 -moz-image-region: rect(0, 72px, 18px, 54px);
851}
852
d54f5b23
RK
853#menu_tabview {
854 -moz-image-region: rect(1px, 89px, 17px, 73px);
855}
856
857#menu_tabview[groups="0"] {
858 -moz-image-region: rect(1px, 17px, 17px, 1px);
859}
860
861#menu_tabview[groups="1"] {
862 -moz-image-region: rect(1px, 35px, 17px, 19px);
863}
864
865#menu_tabview[groups="2"] {
866 -moz-image-region: rect(1px, 53px, 17px, 37px);
867}
868
869#menu_tabview[groups="3"] {
870 -moz-image-region: rect(1px, 71px, 17px, 55px);
871}
872
319c6529
RK
873/* download manager button */
874
875#downloads-button {
876 -moz-image-region: rect(0, 108px, 18px, 90px);
877}
878
143c5409
RK
879#downloads-button:not([disabled="true"]):hover {
880 -moz-image-region: rect(18px, 108px, 36px, 90px);
881}
882
883#downloads-button[disabled="true"] {
884 -moz-image-region: rect(36px, 108px, 54px, 90px);
885}
886
319c6529
RK
887/* history sidebar button */
888
889#history-button {
890 -moz-image-region: rect(0, 126px, 18px, 108px);
891}
892
143c5409
RK
893#history-button:not([disabled="true"]):hover {
894 -moz-image-region: rect(18px, 126px, 36px, 108px);
895}
896
897#history-button[disabled="true"] {
898 -moz-image-region: rect(36px, 126px, 54px, 108px);
899}
900
319c6529
RK
901/* bookmark sidebar & menu buttons */
902
903#bookmarks-button,
904#bookmarks-menu-button {
8da9da4e 905 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
319c6529
RK
906 -moz-image-region: rect(0, 144px, 18px, 126px);
907}
908
909#bookmarks-menu-button.bookmark-item {
8da9da4e 910 /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
319c6529
RK
911}
912
913#bookmarks-menu-button.toolbarbutton-1 {
914 -moz-box-orient: horizontal;
915}
916
143c5409
RK
917#bookmarks-button:not([disabled="true"]):hover,
918#bookmarks-menu-button[open="true"],
919#bookmarks-menu-button:not([disabled="true"]):hover {
920 -moz-image-region: rect(18px, 144px, 36px, 126px);
921}
922
923#bookmarks-button[disabled="true"],
924#bookmarks-menu-button[disabled="true"] {
925 -moz-image-region: rect(36px, 144px, 54px, 126px);
926}
927
319c6529
RK
928/* print button */
929
930#print-button {
931 -moz-image-region: rect(0, 162px, 18px, 144px);
932}
933
143c5409
RK
934#print-button:not([disabled="true"]):hover {
935 -moz-image-region: rect(18px, 162px, 36px, 144px);
936}
937
938#print-button[disabled="true"] {
939 -moz-image-region: rect(36px, 162px, 54px, 144px);
940}
941
319c6529
RK
942/* toolbar new tab button */
943
944#new-tab-button {
945 -moz-image-region: rect(0, 180px, 18px, 162px);
946}
947
143c5409
RK
948#print-button:not([disabled="true"]):hover {
949 -moz-image-region: rect(18px, 162px, 36px, 144px);
950}
951
952#print-button[disabled="true"] {
953 -moz-image-region: rect(36px, 162px, 54px, 144px);
954}
955
319c6529
RK
956/* new window button */
957
958#new-window-button {
959 -moz-image-region: rect(0, 198px, 18px, 180px);
960}
961
143c5409
RK
962#new-window-button:not([disabled="true"]):hover {
963 -moz-image-region: rect(18px, 198px, 36px, 180px);
964}
965
966#new-window-button[disabled="true"] {
967 -moz-image-region: rect(36px, 198px, 54px, 180px);
968}
969
319c6529
RK
970/* cut button */
971
972#cut-button {
973 -moz-image-region: rect(0, 216px, 18px, 198px);
974}
975
143c5409
RK
976#cut-button:not([disabled="true"]):hover {
977 -moz-image-region: rect(18px, 216px, 36px, 198px);
978}
979
980#cut-button[disabled="true"] {
981 -moz-image-region: rect(36px, 216px, 54px, 198px);
982}
983
319c6529
RK
984/* copy button */
985
986#copy-button {
987 -moz-image-region: rect(0, 234px, 18px, 216px);
988}
989
143c5409
RK
990#copy-button:not([disabled="true"]):hover {
991 -moz-image-region: rect(18px, 234px, 36px, 216px);
992}
993
994#copy-button[disabled="true"] {
995 -moz-image-region: rect(36px, 234px, 54px, 216px);
996}
997
319c6529
RK
998/* paste button */
999
1000#paste-button {
1001 -moz-image-region: rect(0, 252px, 18px, 234px);
1002}
1003
143c5409
RK
1004#paste-button:not([disabled="true"]):hover {
1005 -moz-image-region: rect(18px, 252px, 36px, 234px);
1006}
1007
1008#paste-button[disabled="true"] {
1009 -moz-image-region: rect(36px, 252px, 54px, 234px);
1010}
1011
319c6529
RK
1012/* fullscreen button */
1013
1014#fullscreen-button {
1015 -moz-image-region: rect(0, 270px, 18px, 252px);
1016}
1017
143c5409
RK
1018#fullscreen-button:not([disabled="true"]):hover {
1019 -moz-image-region: rect(18px, 270px, 36px, 252px);
1020}
1021
1022#fullscreen-button[disabled="true"] {
1023 -moz-image-region: rect(36px, 270px, 54px, 252px);
1024}
1025
319c6529
RK
1026/* zoom controls */
1027
1028#zoom-out-button {
1029 -moz-image-region: rect(0, 288px, 18px, 270px);
1030 -moz-margin-end: 0;
1031}
1032
1033#zoom-in-button {
1034 -moz-image-region: rect(0, 306px, 18px, 288px);
b36fc72e
RK
1035}
1036
1037#nav-bar #zoom-out-button {
1038 -moz-margin-end: 0;
1039}
1040
1041#nav-bar #zoom-in-button {
319c6529
RK
1042 -moz-border-start: none;
1043 -moz-margin-start: 0;
1044}
1045
b36fc72e
RK
1046#nav-bar #zoom-out-button:-moz-locale-dir(ltr),
1047#nav-bar #zoom-in-button:-moz-locale-dir(rtl) {
319c6529
RK
1048 border-top-right-radius: 0;
1049 border-bottom-right-radius: 0;
1050}
1051
b36fc72e
RK
1052#nav-bar #zoom-out-button:-moz-locale-dir(rtl),
1053#nav-bar #zoom-in-button:-moz-locale-dir(ltr) {
319c6529
RK
1054 border-top-left-radius: 0;
1055 border-bottom-left-radius: 0;
1056}
1057
143c5409
RK
1058#zoom-out-button:not([disabled="true"]):hover {
1059 -moz-image-region: rect(18px, 288px, 36px, 270px);
1060}
1061
1062#zoom-out-button[disabled="true"] {
1063 -moz-image-region: rect(36px, 288px, 54px, 270px);
1064}
1065
1066#zoom-in-button:not([disabled="true"]):hover {
1067 -moz-image-region: rect(18px, 306px, 36px, 288px);
1068}
1069
1070#zoom-in-button[disabled="true"] {
1071 -moz-image-region: rect(36px, 306px, 54px, 288px);
1072}
1073
319c6529
RK
1074/* sync button */
1075
dce90fef 1076#sync-button:not([status]) {
8da9da4e 1077 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
319c6529
RK
1078 -moz-image-region: rect(0, 324px, 18px, 306px);
1079}
1080
1081#sync-button[status="active"] {
1082 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1083 -moz-image-region: rect(0, 18px, 18px, 0);
1084}
1085
143c5409
RK
1086#sync-button[disabled="true"] {
1087 -moz-image-region: rect(36px, 324px, 54px, 306px);
1088}
1089
319c6529
RK
1090/* feed button */
1091
1092#feed-button {
1093 -moz-image-region: rect(0, 342px, 18px, 324px);
1094}
1095
143c5409
RK
1096#feed-button[disabled="true"] {
1097 -moz-image-region: rect(36px, 342px, 54px, 324px);
1098}
1099
319c6529
RK
1100/* ::::: fullscreen window controls ::::: */
1101
ab799a7a
RK
1102#TabsToolbar > #window-controls {
1103 -moz-margin-start: 4px;
1104}
1105
319c6529
RK
1106#minimize-button,
1107#restore-button,
1108#close-button {
1109/* padding: 0; */
1110}
1111
1112#minimize-button {
1113 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1114}
1115
1116#minimize-button:hover {
1117 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1118}
1119
1120#restore-button {
1121 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1122}
1123
1124#restore-button:hover {
1125 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1126}
1127
1128#close-button {
1129 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1130}
1131
1132#close-button:hover {
1133 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1134}
1135
1136/* ::::: Location Bar ::::: */
1137
319c6529
RK
1138#urlbar,
1139.searchbar-textbox {
1140 border-radius: 5px;
1141 margin: 0;
1142 -moz-margin-start: 3px;
1143}
1144
ffce2402
RK
1145#urlbar {
1146 width: 7em;
1147 min-width: 7em;
1148 -moz-padding-end: 2px;
1149}
1150
319c6529
RK
1151#urlbar:-moz-lwtheme,
1152.searchbar-textbox:-moz-lwtheme {
1153 /* background-color: rgba(255,255,255,.8);
1154 @navbarTextboxCustomBorder@
1155 color: black; */
1156}
1157
1158html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1159.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
1160 color: #E7ADE7;
1161}
1162
1163#urlbar:-moz-lwtheme[focused="true"],
1164.searchbar-textbox:-moz-lwtheme[focused="true"] {
1165/* background-color: white; */
1166}
1167
1168#urlbar-container {
1169 -moz-box-orient: horizontal;
1170 -moz-box-align: stretch;
1171}
1172
9abeb12c
RK
1173.urlbar-textbox-container {
1174 -moz-box-align: stretch;
1175}
1176
319c6529 1177#urlbar-icons {
319c6529
RK
1178 -moz-box-align: center;
1179}
1180
1181.urlbar-icon {
ffce2402
RK
1182 padding: 3px 3px;
1183}
1184
1185.searchbar-engine-button,
1186.search-go-container {
1187 padding: 2px 2px;
319c6529
RK
1188}
1189
1190.urlbar-icon:-moz-system-metric(touch-enabled) {
1191 -moz-margin-end: 1px !important;
1192 padding: 0 3px !important;
1193}
1194
ffce2402
RK
1195.urlbar-icon:hover {
1196}
1197
1198.urlbar-icon[open="true"],
1199.urlbar-icon:hover:active {
1200}
1201
319c6529
RK
1202#urlbar-search-splitter {
1203 min-width: 6px;
1204 -moz-margin-start: -3px;
1205 border: none;
1206 background: transparent;
1207}
1208
1209#urlbar-search-splitter + #urlbar-container > #urlbar ,
1210#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1211 -moz-margin-start: 0;
1212}
1213
319c6529 1214#urlbar-display {
319c6529
RK
1215 -moz-border-end: 1px solid #9C9CFF;
1216 -moz-margin-end: 3px;
ab799a7a
RK
1217 margin-top: 0;
1218 margin-bottom: 0;
1219 color: #8050B0;
1220}
1221
319c6529
RK
1222/* identity box */
1223
1224#identity-box {
1225 background-color: #000000;
1226 color: #FF9F00;
1227 border-radius: 2px;
1228}
1229
1230#identity-box:hover {
1231 background-color: #9C9CFF;
1232 color: #000000;
1233}
1234
1235#identity-box[open="true"],
1236#identity-box:hover:active {
1237 background-color: #FF9F00;
1238 color: #000000;
1239}
1240
1241#identity-box.verifiedDomain {
1242 background-color: #FFCF00;
1243 color: #000000;
1244}
1245
1246#identity-box.verifiedIdentity {
1247 background-color: #008484;
1248 color: #000000;
1249}
1250
1251#identity-box:-moz-focusring {
1252 outline: 1px dotted #008484;
f993773d 1253 outline-offset: -1px;
319c6529
RK
1254}
1255
1256#identity-box.verifiedDomain:-moz-focusring,
1257#identity-box.verifiedIdentity:-moz-focusring {
1258 outline-color: #000000;
1259}
1260
1261#identity-icon-labels {
1262 -moz-margin-start: 1px;
1263 -moz-margin-end: 3px;
319c6529
RK
1264}
1265
1266/* Location bar dropmarker */
1267
38cfeb47 1268.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1269 background-color: transparent;
319c6529
RK
1270}
1271
38cfeb47
RK
1272#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1273 border: none;
1274 border-radius: 0px;
319c6529
RK
1275}
1276
ffce2402
RK
1277.urlbar-history-dropmarker:hover {
1278}
1279
1280.urlbar-history-dropmarker:hover:active,
1281.urlbar-history-dropmarker[open="true"] {
1282}
1283
319c6529
RK
1284/* page proxy icon */
1285
1286#page-proxy-favicon,
1287#urlbar-throbber {
1288 width: 16px;
1289 height: 16px;
1290}
1291
1292#page-proxy-stack {
1293 width: 24px;
1294 height: 18px;
1295 padding: 1px 4px;
319c6529
RK
1296}
1297
1298#page-proxy-favicon:not([src]) {
dce90fef 1299 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
acb0e9b8 1300}
1301
319c6529 1302#page-proxy-favicon[pageproxystate="invalid"] {
dce90fef 1303 opacity: 0.5;
acb0e9b8 1304}
1305
319c6529
RK
1306#urlbar-throbber {
1307 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1308}
1309
319c6529
RK
1310/* autocomplete */
1311
319c6529
RK
1312#treecolAutoCompleteImage {
1313 max-width: 36px;
1314}
acb0e9b8 1315
319c6529
RK
1316.ac-result-type-bookmark,
1317.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 1318 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 1319 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 1320 width: 16px;
319c6529 1321 height: 16px;
acb0e9b8 1322}
1323
319c6529
RK
1324.ac-result-type-keyword,
1325.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1326 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1327 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1328 width: 16px;
1329 height: 16px;
1330}
1331
319c6529
RK
1332.ac-result-type-tag,
1333.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 1334 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 1335 width: 16px;
319c6529
RK
1336 height: 16px;
1337}
acb0e9b8 1338
319c6529
RK
1339.ac-comment {
1340 font-size: 1.15em;
acb0e9b8 1341}
319c6529
RK
1342
1343.ac-extra > .ac-comment {
1344 font-size: inherit;
acb0e9b8 1345}
319c6529
RK
1346
1347.ac-url-text,
1348.ac-action-text {
1349 color: #9C9CFF;
acb0e9b8 1350}
319c6529
RK
1351
1352richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1353 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
acb0e9b8 1354}
1355
319c6529
RK
1356.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1357 color: #8050B0;
1358}
acb0e9b8 1359
319c6529
RK
1360.ac-comment[selected="true"],
1361.ac-url-text[selected="true"],
1362.ac-action-text[selected="true"] {
1363 color: inherit !important;
acb0e9b8 1364}
1365
c1f7cc84
RK
1366.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1367.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
1368{
1369 color: #8050B0;
1370 font-size: smaller;
acb0e9b8 1371}
319c6529
RK
1372
1373.autocomplete-treebody::-moz-tree-cell(suggesthint) {
1374 border-top: 1px solid #9C9CFF;
acb0e9b8 1375}
1376
319c6529
RK
1377/* combined go/reload/stop button in location bar */
1378
ffce2402 1379#go-button,
319c6529
RK
1380#urlbar > toolbarbutton {
1381 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
38cfeb47 1382 /* margin: -2px; */
9abeb12c 1383 -moz-margin-start: 0;
ffce2402 1384 padding: 0 2px;
319c6529
RK
1385 background-origin: border-box;
1386 border: none;
9abeb12c
RK
1387 -moz-border-start: 1px solid #9C9CFF;
1388}
1389
ffce2402
RK
1390#go-button {
1391 padding: 0 3px;
1392}
1393
9abeb12c 1394#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
1395 border-top-left-radius: 0px;
1396 border-bottom-left-radius: 0px;
acb0e9b8 1397}
acb0e9b8 1398
9abeb12c 1399#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
1400 border-top-right-radius: 0px;
1401 border-bottom-right-radius: 0px;
9abeb12c
RK
1402}
1403
dce90fef
RK
1404#urlbar > toolbarbutton:not([disabled]):active:hover,
1405#urlbar-reload-button:not(:hover) {
1406 -moz-border-start-style: none;
9abeb12c 1407 -moz-padding-start: 4px;
dce90fef
RK
1408}
1409
1410#urlbar > toolbarbutton:not([disabled]):active:hover {
acb0e9b8 1411}
1412
319c6529 1413#urlbar-go-button {
ffce2402 1414 -moz-image-region: rect(0, 42px, 14px, 28px);
acb0e9b8 1415}
1416
ffce2402
RK
1417#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1418#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1419 -moz-transform: scaleX(-1);
1420}
1421
1422#urlbar-go-button:hover,
1423#go-button:hover {
1424 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 1425}
1426
319c6529 1427#urlbar-reload-button {
ffce2402 1428 -moz-image-region: rect(0px, 14px, 14px, 0px);
38cfeb47
RK
1429}
1430
1431#urlbar-reload-button[disabled] {
ffce2402 1432 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 1433}
1434
319c6529 1435#urlbar-reload-button:not([disabled]):hover {
ffce2402 1436 -moz-image-region: rect(14px, 14px, 28px, 0px);
acb0e9b8 1437}
319c6529
RK
1438
1439#urlbar-stop-button {
ffce2402 1440 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 1441}
319c6529
RK
1442
1443#urlbar-stop-button:hover {
ffce2402 1444 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 1445}
1446
319c6529
RK
1447/* popup blocker button */
1448
1449#page-report-button {
1450 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1451 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 1452}
319c6529 1453
71bac478 1454#page-report-button:hover ,
319c6529
RK
1455#page-report-button:hover:active,
1456#page-report-button[open="true"] {
71bac478 1457 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 1458}
1459
319c6529
RK
1460/* star button */
1461
1462#star-button {
71bac478
RK
1463 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1464 -moz-image-region: rect(16px 16px 32px 0px);
acb0e9b8 1465}
319c6529
RK
1466
1467#star-button:hover {
71bac478 1468 -moz-image-region: rect(16px 32px 32px 16px);
acb0e9b8 1469}
319c6529
RK
1470
1471#star-button:hover:active {
71bac478 1472 -moz-image-region: rect(16px 48px 32px 32px);
acb0e9b8 1473}
1474
319c6529 1475#star-button[starred="true"] {
71bac478
RK
1476 -moz-image-region: rect(0px 16px 16px 0px);
1477}
1478
1479#star-button[starred="true"]:hover {
1480 -moz-image-region: rect(0px 32px 16px 16px);
1481}
1482
1483#star-button[starred="true"]:hover:active {
1484 -moz-image-region: rect(0px 48px 16px 32px);
acb0e9b8 1485}
319c6529
RK
1486
1487/* bookmarking panel */
1488#editBookmarkPanelStarIcon {
1489 list-style-image: url("chrome://browser/skin/places/starred48.png");
1490 width: 48px;
1491 height: 48px;
acb0e9b8 1492}
319c6529
RK
1493
1494#editBookmarkPanelStarIcon[unstarred] {
1495 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 1496}
1497
319c6529
RK
1498#editBookmarkPanelTitle {
1499 font-size: 130%;
acb0e9b8 1500}
319c6529
RK
1501
1502#editBookmarkPanelHeader,
1503#editBookmarkPanelContent {
1504 margin-bottom: .5em;
acb0e9b8 1505}
319c6529
RK
1506
1507/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1508#editBMPanel_folderTree {
1509 min-width: 27em;
acb0e9b8 1510}
1511
f993773d 1512.panel-promo-box {
f0eab82c
RK
1513 margin: 5px -6px -6px -6px;
1514 padding: 5px;
3e6e0e5c 1515 background-color: #000000;
f993773d 1516 color: #FF9F00;
f0eab82c
RK
1517 border-bottom-left-radius: 5px;
1518 border-bottom-right-radius: 5px;
f993773d
RK
1519 border-top: 1px solid #9C9CFF;
1520}
1521
1522.panel-promo-icon {
1523 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1524 -moz-margin-end: 10px;
1525 vertical-align: middle;
1526}
1527
1528.panel-promo-closebutton {
1529 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
1530 -moz-margin-end: -3px;
1531 margin-top: -3px;
f993773d
RK
1532}
1533
1534.panel-promo-closebutton:hover {
1535 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1536}
1537
1538.panel-promo-closebutton:hover:active {
1539 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1540}
1541
1542.panel-promo-closebutton > .toolbarbutton-text {
1543 padding: 0;
1544 margin: 0;
1545}
1546
319c6529
RK
1547/* ::::: content area ::::: */
1548
1549#sidebar {
1550 background-color: Window;
acb0e9b8 1551}
319c6529
RK
1552
1553#sidebar-title {
1554 -moz-padding-start: 0px;
acb0e9b8 1555}
319c6529
RK
1556
1557/* ::::: throbber ::::: */
1558
1559#navigator-throbber {
1560 width: 16px;
1561 min-height: 16px;
1562 margin: 0 3px;
acb0e9b8 1563}
1564
319c6529
RK
1565#navigator-throbber[busy="true"] {
1566 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
acb0e9b8 1567}
319c6529
RK
1568
1569#navigator-throbber,
1570#wrapper-navigator-throbber > #navigator-throbber {
1571 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
acb0e9b8 1572}
319c6529
RK
1573
1574/* Tabstrip */
b36fc72e 1575
319c6529
RK
1576#TabsToolbar {
1577 min-height: 0;
1578 padding: 0;
b36fc72e
RK
1579 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1580}
1581
1582#TabsToolbar .toolbar-holder {
c1f7cc84 1583 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 1584}
1585
b36fc72e 1586#main-window[disablechrome] #TabsToolbar,
319c6529
RK
1587#TabsToolbar[tabsontop="false"] {
1588 border-bottom: 1px solid #FF9F00;
acb0e9b8 1589}
319c6529 1590
319c6529
RK
1591.tabbrowser-tab,
1592.tabs-newtab-button {
1593 margin-top: 0px;
acb0e9b8 1594}
319c6529
RK
1595
1596.tabbrowser-tab:hover,
1597.tabs-newtab-button:hover {
acb0e9b8 1598}
319c6529
RK
1599
1600.tabbrowser-tab[selected="true"] {
acb0e9b8 1601}
1602
9abeb12c
RK
1603#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1604}
1605
319c6529 1606.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 1607}
319c6529
RK
1608
1609.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 1610}
319c6529
RK
1611
1612.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1613.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 1614}
1615
319c6529
RK
1616.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1617.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 1618}
319c6529
RK
1619
1620.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1621.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 1622}
319c6529
RK
1623
1624.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1625.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 1626}
1627
319c6529
RK
1628.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1629 background-color: #E7ADE7;
613daf44 1630}
319c6529
RK
1631.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1632 background-color: #0000FF;
1633 color: #000000;
613daf44 1634}
319c6529
RK
1635
1636.tab-throbber,
1637.tab-icon-image {
1638 width: 16px;
1639 height: 16px;
dce90fef 1640 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1641 -moz-image-region: auto;
319c6529 1642 -moz-margin-end: 3px;
613daf44 1643}
1644
319c6529
RK
1645.tab-throbber {
1646 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
613daf44 1647}
319c6529
RK
1648
1649.tab-throbber[progress] {
1650 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
613daf44 1651}
319c6529 1652
d54f5b23 1653#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
319c6529 1654 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
613daf44 1655}
1656
319c6529
RK
1657.tab-throbber[pinned],
1658.tab-icon-image[pinned] {
1659 -moz-margin-start: 2px;
1660 -moz-margin-end: 2px;
613daf44 1661}
319c6529
RK
1662
1663/* tabbrowser-tab focus ring */
1664.tabbrowser-tab:focus > .tab-stack {
1665 outline: 1px dotted;
613daf44 1666}
319c6529 1667
dce90fef
RK
1668/* Tab drag and drop */
1669.tab-drag-panel {
1670 border: 0 !important;
1671}
1672
1673.tab-drag-label {
1674 margin: 0 !important;
1675 padding: 5px;
1676 border: 1px solid #8050B0;
1677}
1678
1679.tab-drag-panel:not([target]) > .tab-drag-label {
1680 display: none;
1681}
1682
1683.tab-drag-preview {
1684 border: 1px solid #9C9CFF;
1685}
1686
319c6529
RK
1687.tab-drop-indicator {
1688 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 1689 margin-bottom: -11px;
613daf44 1690}
1691
319c6529
RK
1692/* Tab close button */
1693.tab-close-button {
1694 border: none;
1695 padding: 0px;
1696 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1697}
acb0e9b8 1698
319c6529
RK
1699.tab-close-button:-moz-system-metric(touch-enabled) {
1700 -moz-transform: scale(1.2);
1701}
acb0e9b8 1702
319c6529
RK
1703.tab-close-button:hover,
1704.tab-close-button:hover[selected="true"] {
1705 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1706}
319c6529
RK
1707
1708.tab-close-button:hover:active,
1709.tab-close-button:hover:active[selected="true"] {
1710 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1711}
319c6529 1712
319c6529
RK
1713/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1714
1715@media all and (-moz-touch-enabled) {
1716 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1717 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1718 #TabsToolbar .toolbarbutton-1 {
1719 min-width: 8.1mozmm;
1720 }
1721
1722 .tabs-newtab-button {
1723 min-width: 10mozmm;
1724 }
1725
1726 .tab-content {
1727 min-height: -moz-calc(6.8mozmm - 7px); /* subtract borders from the desired height */
1728 }
acb0e9b8 1729}
319c6529
RK
1730
1731.tabbrowser-arrowscrollbox > .scrollbutton-up,
1732.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
1733 margin: 0;
1734 padding-top: 0;
1735 padding-bottom: 0;
acb0e9b8 1736}
319c6529 1737
319c6529
RK
1738.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1739 background-color: #008484;
acb0e9b8 1740}
319c6529
RK
1741
1742.tabs-newtab-button > .toolbarbutton-icon {
1743 margin-top: -1px;
1744 margin-bottom: -1px;
acb0e9b8 1745}
319c6529
RK
1746
1747.tabs-newtab-button,
1748#TabsToolbar > #new-tab-button,
1749#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 1750 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 1751 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 1752}
1753
319c6529 1754.tabs-newtab-button {
c1f7cc84
RK
1755 width: 28px;
1756}
1757
1758#TabsToolbar > #new-tab-button {
1759 width: 26px;
acb0e9b8 1760}
319c6529 1761
38cfeb47
RK
1762.tabs-newtab-button:hover,
1763#TabsToolbar > #new-tab-button:hover {
319c6529 1764 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1765}
319c6529
RK
1766
1767#alltabs-button {
1768 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1769 -moz-image-region: rect(0, 14px, 16px, 0);
acb0e9b8 1770}
1771
8da9da4e 1772#alltabs-button:hover,
319c6529
RK
1773#alltabs-button:hover:active {
1774 -moz-image-region: rect(0, 28px, 16px, 14px);
acb0e9b8 1775}
319c6529
RK
1776
1777#alltabs-button[type="menu"] {
8da9da4e
RK
1778 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1779 -moz-image-region: auto;
acb0e9b8 1780}
1781
319c6529
RK
1782#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1783 display: none;
acb0e9b8 1784}
319c6529 1785
8da9da4e 1786#alltabs-button[type="menu"]:hover,
319c6529
RK
1787#alltabs-button[type="menu"]:hover:active,
1788#alltabs-button[type="menu"][open="true"] {
8da9da4e
RK
1789 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1790 -moz-image-region: auto;
acb0e9b8 1791}
319c6529
RK
1792
1793/* All tabs menupopup */
1794.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 1795 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1796 -moz-image-region: auto;
acb0e9b8 1797}
1798
319c6529
RK
1799.alltabs-item[selected="true"] {
1800 font-weight: bold;
acb0e9b8 1801}
319c6529
RK
1802
1803.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1804 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1805}
319c6529 1806
b1234db8
RK
1807.alltabs-item[tabIsVisible] {
1808 background-color: #402800;
1809}
1810
319c6529
RK
1811/* Tabstrip close button */
1812.tabs-closebutton {
1813 -moz-box-flex: 1;
1814 margin: 0px;
1815 padding: 2px;
1816 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 1817}
1818
b36fc72e
RK
1819.tabs-closebutton > .toolbarbutton-icon {
1820}
1821
8da9da4e
RK
1822.tabs-closebutton > .toolbarbutton-text {
1823 display: none;
1824}
1825
319c6529
RK
1826.tabs-closebutton:hover,
1827.tabs-closebutton:hover:active {
1828 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1829}
319c6529
RK
1830
1831toolbarbutton.chevron {
1832 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 1833}
319c6529
RK
1834
1835toolbarbutton.chevron:hover {
1836 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 1837}
1838
319c6529
RK
1839toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1840toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
1841 -moz-transform: scaleX(-1);
acb0e9b8 1842}
319c6529
RK
1843
1844toolbarbutton.chevron > .toolbarbutton-text,
1845toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
1846 display: none;
acb0e9b8 1847}
319c6529
RK
1848
1849toolbarbutton.chevron > .toolbarbutton-icon {
1850 margin: 0;
acb0e9b8 1851}
1852
319c6529
RK
1853toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
1854 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 1855}
319c6529
RK
1856
1857#sidebar-throbber[loading="true"] {
1858 list-style-image: url("chrome://global/skin/icons/loading.gif");
1859 -moz-margin-end: 4px;
acb0e9b8 1860}
319c6529
RK
1861
1862/* Bookmarks toolbar */
1863#PlacesToolbarDropIndicator {
8da9da4e 1864 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 1865}
1866
319c6529
RK
1867toolbarbutton.bookmark-item[dragover="true"][open="true"] {
1868 background-color: #008484 !important;
1869 color: #FFCF00 !important;
613daf44 1870}
319c6529
RK
1871
1872/* rules for menupopup drop indicators */
1873.menupopup-drop-indicator-bar {
1874 position: relative;
1875 /* these two margins must together compensate the indicator's height */
1876 margin-top: -1px;
1877 margin-bottom: -1px;
613daf44 1878}
319c6529
RK
1879
1880.menupopup-drop-indicator {
1881 list-style-image: none;
1882 height: 2px;
1883 -moz-margin-end: -4em;
1884 background-color: #008484;
613daf44 1885}
1886
319c6529
RK
1887/* ::::: Identity Indicator Styling ::::: */
1888
1889/* Popup Icons */
1890#identity-popup-icon {
1891 height: 64px;
1892 width: 64px;
1893 padding: 0;
1894 list-style-image: url("chrome://browser/skin/identity.png");
1895 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 1896}
319c6529
RK
1897
1898#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
1899 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 1900}
319c6529
RK
1901
1902#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
1903 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 1904}
1905
319c6529
RK
1906/* Popup Body Text */
1907.identity-popup-description {
1908 white-space: pre-wrap;
1909 -moz-padding-start: 15px;
1910 margin: 2px 0 4px;
613daf44 1911}
319c6529
RK
1912
1913.identity-popup-label {
1914 white-space: pre-wrap;
1915 -moz-padding-start: 15px;
1916 margin: 0;
613daf44 1917}
319c6529
RK
1918
1919#identity-popup-content-host ,
1920#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
1921 font-size: 1.2em;
613daf44 1922}
1923
319c6529
RK
1924#identity-popup-content-host {
1925 margin-top: 3px;
1926 margin-bottom: 5px;
1927 font-weight: bold;
1928 max-width: 300px;
1929}
613daf44 1930
319c6529
RK
1931#identity-popup-content-owner {
1932 margin-top: 4px;
1933 margin-bottom: 0 !important;
1934 font-weight: bold;
1935 max-width: 300px;
1936}
613daf44 1937
319c6529
RK
1938.verifiedDomain > #identity-popup-content-owner {
1939 font-weight: normal;
613daf44 1940}
1941
319c6529
RK
1942#identity-popup-content-verifier {
1943 margin: 4px 0 2px;
613daf44 1944}
1945
319c6529
RK
1946#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
1947#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
1948 margin-top: 10px;
1949 -moz-margin-start: -24px;
613daf44 1950}
1951
319c6529
RK
1952#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
1953#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
1954 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 1955}
1956
319c6529
RK
1957#identity-popup-more-info-button {
1958 margin-top: 6px;
1959 margin-bottom: 0;
1960 -moz-margin-end: 0;
613daf44 1961}
acb0e9b8 1962
319c6529
RK
1963.popup-notification-icon {
1964 width: 64px;
1965 height: 64px;
1966 -moz-margin-end: 10px;
1967}
acb0e9b8 1968
319c6529
RK
1969.popup-notification-icon[popupid="geolocation"] {
1970 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 1971}
1972
319c6529
RK
1973.popup-notification-icon[popupid="xpinstall-disabled"],
1974.popup-notification-icon[popupid="addon-progress"],
1975.popup-notification-icon[popupid="addon-install-cancelled"],
1976.popup-notification-icon[popupid="addon-install-blocked"],
1977.popup-notification-icon[popupid="addon-install-failed"],
1978.popup-notification-icon[popupid="addon-install-complete"] {
1979 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
1980 width: 32px;
1981 height: 32px;
acb0e9b8 1982}
319c6529
RK
1983
1984.addon-progress-description {
1985 width: 350px;
1986 max-width: 350px;
acb0e9b8 1987}
319c6529
RK
1988
1989.popup-progress-label,
1990.popup-progress-meter {
1991 -moz-margin-start: 0;
1992 -moz-margin-end: 0;
acb0e9b8 1993}
319c6529
RK
1994
1995.popup-progress-cancel {
1996 -moz-appearance: none;
1997 background: transparent;
1998 border: none;
1999 padding: 0;
2000 margin: 0;
2001 min-height: 0;
2002 min-width: 0;
2003 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2004 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2005}
319c6529
RK
2006
2007.popup-progress-cancel:hover {
2008 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2009}
2010
319c6529
RK
2011.popup-progress-cancel:active {
2012 -moz-image-region: rect(32px, 32px, 48px, 16px);
2013}
acb0e9b8 2014
319c6529
RK
2015.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2016.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2017 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2018}
2019
319c6529
RK
2020.popup-notification-icon[popupid="password-save"],
2021.popup-notification-icon[popupid="password-change"] {
2022 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2023}
2024
319c6529
RK
2025/* Notification icon box */
2026#notification-popup-box {
f993773d
RK
2027 position: relative;
2028 background-color: #000000;
2029 background-clip: padding-box;
2030 padding-left: 3px;
f0eab82c 2031 border-radius: 3px 0 0 3px;
f993773d
RK
2032 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2033 -moz-margin-end: -8px;
f993773d
RK
2034}
2035
2036#notification-popup-box:not([hidden]) + #identity-box {
2037 -moz-padding-start: 10px;
f993773d
RK
2038}
2039
2040#notification-popup-box:-moz-locale-dir(rtl),
2041.notification-anchor-icon:-moz-locale-dir(rtl) {
2042 -moz-transform: scaleX(-1);
319c6529 2043}
acb0e9b8 2044
319c6529 2045.notification-anchor-icon {
acb0e9b8 2046 width: 16px;
2047 height: 16px;
2048}
2049
319c6529 2050.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2051 outline: 1px dotted #008484;
2052/* outline-offset: -3px; */
acb0e9b8 2053}
2054
ab799a7a
RK
2055#default-notification-icon {
2056 list-style-image: url("chrome://global/skin/icons/information-16.png");
2057}
2058
319c6529
RK
2059#geo-notification-icon {
2060 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2061}
2062
319c6529
RK
2063#addons-notification-icon {
2064 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2065}
2066
319c6529
RK
2067#indexedDB-notification-icon {
2068 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2069}
2070
319c6529
RK
2071#password-notification-icon {
2072 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2073}
2074
319c6529
RK
2075#identity-popup-container {
2076 min-width: 280px;
2077}
acb0e9b8 2078
319c6529
RK
2079#download-monitor {
2080 list-style-image: url("chrome://browser/skin/Toolbar.png");
2081 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 2082}
2083
319c6529
RK
2084/* Bookmarks roots menu-items */
2085#appmenu_subscribeToPage:not([disabled]),
2086#appmenu_subscribeToPageMenu,
2087#subscribeToPageMenuitem:not([disabled]),
2088#subscribeToPageMenupopup,
2089#BMB_subscribeToPageMenuitem:not([disabled]),
2090#BMB_subscribeToPageMenupopup {
2091 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 2092}
2093
319c6529
RK
2094#bookmarksToolbarFolderMenu,
2095#appmenu_bookmarksToolbar,
2096#BMB_bookmarksToolbar {
8da9da4e 2097 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
2098 -moz-image-region: auto;
2099}
acb0e9b8 2100
319c6529
RK
2101#appmenu_unsortedBookmarks,
2102#BMB_unsortedBookmarks {
8da9da4e 2103 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 2104 -moz-image-region: auto;
acb0e9b8 2105}
2106
319c6529 2107/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 2108
319c6529
RK
2109.KUI-panel {
2110 color: #FF9F00;
2111 border-style: none;
2112 border-radius: 20px;
acb0e9b8 2113}
2114
319c6529
RK
2115.KUI-panel[level="top"] {
2116 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 2117}
2118
319c6529
RK
2119.KUI-panel-closebutton {
2120 list-style-image: url("KUI-close.png");
2121 width: 24px;
2122 height: 24px;
acb0e9b8 2123}
2124
319c6529 2125.KUI-panel-closebutton:not(:hover) {
acb0e9b8 2126}
2127
319c6529 2128.KUI-panel-closebutton > .toolbarbutton-icon {
acb0e9b8 2129}
2130
319c6529 2131/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
acb0e9b8 2132
319c6529
RK
2133/* Ctrl-Tab */
2134
2135#ctrlTab-panel {
2136 padding: 20px 10px 10px;
2137 font-weight: bold;
acb0e9b8 2138}
2139
319c6529
RK
2140.ctrlTab-favicon[src] {
2141 background-color: #000000;
2142 width: 20px;
2143 height: 20px;
2144 padding: 2px;
2145}
acb0e9b8 2146
319c6529 2147.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 2148}
2149
319c6529
RK
2150.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2151 margin-bottom: 2px;
acb0e9b8 2152}
2153
319c6529
RK
2154.ctrlTab-preview-inner {
2155 padding-bottom: 10px;
acb0e9b8 2156}
2157
319c6529
RK
2158#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2159 padding: 10px;
2160 background-color: #000000;
2161 border-radius: .5em;
acb0e9b8 2162}
2163
319c6529
RK
2164.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2165 color: white;
2166 background-color: #000000;
2167 text-shadow: none;
2168 padding: 8px;
2169 border: 2px solid #9C9CFF;
2170 border-radius: .5em;
acb0e9b8 2171}
2172
319c6529
RK
2173.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2174 margin: -10px -10px 0;
acb0e9b8 2175}
2176
319c6529
RK
2177#ctrlTab-showAll {
2178 margin-top: .5em;
acb0e9b8 2179}
2180
319c6529
RK
2181/* All Tabs */
2182
2183#allTabs-panel {
2184 padding-bottom: 10px;
613daf44 2185}
2186
319c6529
RK
2187#allTabs-meta {
2188 margin: 10px;
613daf44 2189}
2190
319c6529
RK
2191#allTabs-filter {
2192 -moz-margin-start: 24px;
2193 -moz-margin-end: 0;
2194}
acb0e9b8 2195
319c6529 2196#allTabs-tab-close-button > .toolbarbutton-icon {
acb0e9b8 2197 margin: 0;
acb0e9b8 2198}
319c6529
RK
2199
2200.allTabs-favicon[src] {
2201 width: 22px;
2202 height: 22px;
2203 padding-top: 1px;
2204 padding-bottom: 5px;
2205 -moz-padding-start: 1px;
2206 -moz-padding-end: 5px;
2207 margin-top: -2px;
2208 -moz-margin-start: -2px;
2209 border-bottom-right-radius: 4px;
acb0e9b8 2210}
2211
319c6529
RK
2212.allTabs-favicon[src]:-moz-locale-dir(rtl) {
2213 border-bottom-right-radius: 0;
2214 border-bottom-left-radius: 4px;
acb0e9b8 2215}
319c6529
RK
2216
2217.allTabs-preview-inner > .tabPreview-canvas {
2218 background-color: #E7ADE7;
acb0e9b8 2219}
2220
319c6529 2221.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
acb0e9b8 2222}
319c6529
RK
2223
2224.allTabs-preview:focus > * > .allTabs-preview-inner {
2225 outline: 1px dotted #008484;
acb0e9b8 2226}
2227
319c6529
RK
2228/* Inspector / Highlighter */
2229
2230#highlighter-panel {
2231 -moz-window-shadow: none;
2232 background: #000000;
2233 border: none;
acb0e9b8 2234}
319c6529
RK
2235
2236listitem.style-selector {
2237 background-color: #9C9CFF;
2238 color: #000000;
acb0e9b8 2239}
2240
319c6529
RK
2241listitem.style-section {
2242 background-color: #E7ADE7;
2243 color: #000000;
2244 font-weight: bold;
2245}
acb0e9b8 2246
319c6529
RK
2247panel[dimmed="true"] {
2248 opacity: 0.5;
acb0e9b8 2249}
613daf44 2250
b36fc72e
RK
2251/* Add-on bar */
2252
2253#addon-bar {
2254 min-height: 20px;
2255 border-top: 3px solid #000000;
3e6e0e5c 2256 border-bottom-width: 0;
b36fc72e
RK
2257}
2258
2259#addon-bar .toolbar-holder {
2260 background-color: #8050B0;
2261 color: #FFCF00;
2262}
2263
2264#addon-bar .toolbar-holder {
2265 background-color: #8050B0;
2266 color: #FFCF00;
2267}
2268
2269#addon-bar .toolbar-startcap,
2270#addon-bar .toolbar-endcap{
2271 background-color: #6000CF;
2272}
2273
319c6529 2274#status-bar {
b36fc72e 2275 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2276 margin-top: .3em;
2277 border-width: 0;
613daf44 2278}
2279
319c6529
RK
2280/* Remove all borders from statusbarpanel children of
2281 the statusbar.
2282#status-bar > statusbarpanel {
2283 border-width: 0;
2284} */
2285
319c6529
RK
2286#addonbar-closebutton {
2287 border: none;
2288 padding: 3px 5px;
2289 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2290}
2291
319c6529
RK
2292#addonbar-closebutton:hover,
2293#addonbar-closebutton:hover:active {
2294 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2295}
9abeb12c
RK
2296
2297/* Status panel */
2298
2299.statuspanel-label {
2300 margin: 0;
2301 padding: 2px 4px;
38cfeb47 2302 background: #404000;
9abeb12c
RK
2303 border: 1px none #9C9CFF;
2304 border-top-style: solid;
2305 color: #FF9F00;
2306 text-shadow: none;
2307}
2308
2309.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2310.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2311 border-right-style: solid;
2312 border-top-right-radius: .3em;
2313 margin-right: 1em;
2314}
2315
2316.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2317.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2318 border-left-style: solid;
2319 border-top-left-radius: .3em;
2320 margin-left: 1em;
2321}
3e6e0e5c
RK
2322
2323/* HACK to abolish devily color on main content */
2324
2325#content {
2326 background-color: transparent !important;
2327}
dce90fef
RK
2328
2329/* Highlighter */
2330
2331.highlighter-veil {
2332 background-color: rgba(0, 0, 0, 0.5);
2333}
2334
2335#highlighter-close-button {
2336 list-style-image: url("chrome://browser/skin/KUI-close.png");
2337 top: 12px;
2338 right: 12px;
2339 cursor: pointer;
2340}
2341
2342#highlighter-close-button:-moz-locale-dir(rtl) {
2343 right: auto;
2344 left: 12px;
2345}
2346
2347highlighter-veil-transparentbox {
2348 box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
2349 outline: 1px dashed rgba(255,255,255,0.5);
2350 outline-offset: -1px;
2351}
2352
4c765db1 2353#highlighter-veil-container[locked] > #highlighter-veil-middlebox > #highlighter-veil-transparentbox {
dce90fef
RK
2354 box-shadow: 0 0 0 1px black;
2355 outline-color: white;
2356}
4c765db1
RK
2357
2358/*
2359 * need a "bumpy" background image for this!
2360 */
2361#inspector-horizontal-splitter {
2362 background: none !important;
2363 -moz-appearance: none;
2364 cursor: n-resize;
2365}