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