part 1 of update for both themes for changes in borwser winstripe in Firefox 19 cycle
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
6
7@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529
RK
8@namespace html url("http://www.w3.org/1999/xhtml");
9
10toolbar {
11 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
12}
acb0e9b8 13
41279e76
RK
14toolbar[type="menubar"][autohide="true"] {
15 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
16}
17
acb0e9b8 18menubar {
319c6529 19 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 20}
21
319c6529
RK
22#menubar-items {
23 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 24}
25
319c6529
RK
26#main-menubar {
27 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
28}
29
63ada306
RK
30/* ::::: primary toolbar ::::: */
31
32.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 33 background-color: #A09090;
63ada306
RK
34}
35
36.toolbar-primary > .toolbar-box > .toolbar-startcap,
37.toolbar-primary > .toolbar-box > .toolbar-endcap {
38 background-color: #9C9CFF;
39}
40
41
319c6529
RK
42#navigator-toolbox {
43}
44
9abeb12c
RK
45#navigator-toolbox::after {
46 content: "";
47 display: -moz-box;
48 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
49 height: 1px;
50}
51#navigator-toolbox[tabsontop=false]::after,
52#main-window[disablechrome] #navigator-toolbox::after {
53 visibility: collapse;
54}
55
319c6529
RK
56#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
57}
58
d54f5b23 59#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
60 /* like menubar */
61 background-color: #6000CF;
62 color: #FF9F00;
63}
d54f5b23 64#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
65 background-color: #8050B0;
66 color: #FF9F00;
67}
68
69#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
70 visibility: hidden;
71}
72#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
73 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
74 visibility: visible;
75}
76
676f0091
RK
77#nav-bar[tabsontop="true"],
78#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
79#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
319c6529
RK
80 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
81}
82
319c6529 83#personal-bookmarks {
38cfeb47 84/* min-height: 24px; */
319c6529
RK
85}
86
87#print-preview-toolbar:not(:-moz-lwtheme) {
88 /* -moz-appearance: toolbox; */
acb0e9b8 89}
90
319c6529
RK
91/* ::::: app menu button ::::: */
92
93#appmenu-button {
acb0e9b8 94 background-color: #FF9F00;
319c6529
RK
95 background-clip: padding-box;
96 border-radius: 0;
97 border: none;
319c6529
RK
98 border-right: 3px solid #000000;
99 color: #000000;
100 font-weight: bold;
5305ef8d
RK
101 padding: 1px 1.5em;
102 margin: 0;
103}
104
105#appmenu-button:-moz-locale-dir(rtl) {
106 border-left: 3px solid #000000;
107 border-right: none;
acb0e9b8 108}
109
319c6529
RK
110#main-window[privatebrowsingmode=temporary] #appmenu-button {
111 background-color: #6000CF;
112 color: #FFCF00;
113}
114
b36fc72e
RK
115#appmenu-button:hover:not(:active):not([open]) {
116}
117
118#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
119}
120
319c6529
RK
121#appmenu-button:hover,
122#appmenu-button:hover:active,
123#appmenu-button[open] {
124 background-color: #FFCF00;
125 color: #000000;
126}
127
128#appmenu-button > .button-box > .button-menu-dropmarker {
db6435b4 129 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
319c6529
RK
130 width: auto;
131 height: auto;
132 padding: 0;
133 margin: 0;
5305ef8d
RK
134 border: none;
135 background-color: transparent;
319c6529
RK
136 -moz-margin-start: .5em;
137}
138
db6435b4
RK
139#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
140 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
141}
142
38cfeb47
RK
143#appmenuPrimaryPane > menuitem,
144#appmenuSecondaryPane > menuitem,
145#appmenuPrimaryPane > menu {
146 padding: 2px;
147}
148
d54f5b23 149.splitmenu-menuitem {
38cfeb47
RK
150 -moz-padding-start: 2px;
151 padding-top: 2px;
152 padding-bottom: 2px;
d54f5b23
RK
153 -moz-margin-end: 1px;
154}
155
ab799a7a 156.splitmenu-menu {
38cfeb47
RK
157 padding-top: 2px;
158 padding-bottom: 2px;
319c6529
RK
159 -moz-box-pack: end;
160}
161
162.appmenu-edit-button {
163}
164
165.appmenu-edit-button[disabled="true"] {
166}
167
168#appmenuPrimaryPane {
169 -moz-border-end: 1px solid #9C9CFF;
170}
171/*
172 #appmenu-popup {
173 }
174 #appmenuPrimaryPane {
175 }
176 #appmenuSecondaryPane {
177 }
178 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
179 }
180
181 #appmenuSecondaryPane menupopup {
182 }
183
184 .appmenu-menuseparator {
185 }
186
187 .appmenu-edit-button:not([disabled]):hover {
188 }
189*/
190#appmenuSecondaryPane-spacer {
191 min-height: 1em;
192}
193
9abeb12c
RK
194#appmenu-editmenu {
195 -moz-box-pack: end;
196}
197
319c6529
RK
198#appmenu_print,
199#appmenu_print_popup,
200.appmenu-edit-button,
9abeb12c
RK
201#appmenu-editmenu-cut,
202#appmenu-editmenu-copy,
203#appmenu-editmenu-paste,
319c6529
RK
204#appmenu-quit {
205 list-style-image: url("appmenu-icons.png");
206}
207
9abeb12c
RK
208#appmenu-cut,
209#appmenu-editmenu-cut {
319c6529 210 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 211}
212
143c5409
RK
213#appmenu-cut:hover:not([disabled="true"]),
214#appmenu-editmenu-cut:hover:not([disabled="true"]) {
215 -moz-image-region: rect(16px 16px 32px 0);
216}
217
218#appmenu-cut[disabled="true"],
219#appmenu-editmenu-cut[disabled="true"] {
220 -moz-image-region: rect(32px 16px 48px 0);
221}
222
9abeb12c
RK
223#appmenu-copy,
224#appmenu-editmenu-copy {
319c6529
RK
225 -moz-image-region: rect(0 32px 16px 16px);
226}
227
143c5409
RK
228#appmenu-copy:hover:not([disabled="true"]),
229#appmenu-editmenu-copy:hover:not([disabled="true"]) {
230 -moz-image-region: rect(16px 32px 32px 16px);
231}
232
233#appmenu-copy[disabled="true"],
234#appmenu-editmenu-copy[disabled="true"] {
235 -moz-image-region: rect(32px 32px 48px 16px);
236}
237
9abeb12c
RK
238#appmenu-paste,
239#appmenu-editmenu-paste {
319c6529
RK
240 -moz-image-region: rect(0 48px 16px 32px);
241}
242
143c5409
RK
243#appmenu-paste:hover:not([disabled="true"]),
244#appmenu-editmenu-paste:hover:not([disabled="true"]) {
245 -moz-image-region: rect(16px 48px 32px 32px);
246}
247
248#appmenu-paste[disabled="true"],
249#appmenu-editmenu-paste[disabled="true"] {
250 -moz-image-region: rect(32px 48px 48px 32px);
251}
252
319c6529
RK
253#appmenu_print,
254#appmenu_print_popup {
255 -moz-image-region: rect(0 64px 16px 48px);
256}
257
143c5409
RK
258#appmenu_print:hover:not([disabled="true"]),
259#appmenu_print[open="true"],
260#appmenu_print_popup:hover:not([disabled="true"]) {
261 -moz-image-region: rect(16px 64px 32px 48px);
262}
263
264#appmenu-print[disabled="true"],
265#appmenu_print_popup[disabled="true"] {
266 -moz-image-region: rect(32px 64px 48px 48px);
267}
268
319c6529
RK
269#appmenu-quit {
270 -moz-image-region: rect(0 80px 16px 64px);
271}
272
143c5409
RK
273#appmenu-quit:hover {
274 -moz-image-region: rect(16px 80px 32px 64px);
275}
276
319c6529
RK
277#appmenu-edit-label {
278 -moz-appearance: none;
279 background: transparent;
280 font-style: italic;
281}
282
283#appmenu_bookmarks {
284 list-style-image: url("chrome://browser/skin/places/bookmark.png");
285 -moz-image-region: rect(0px 48px 16px 32px);
286}
287
288#appmenu_privateBrowsing {
289 list-style-image: url("chrome://browser/skin/Privacy-16.png");
290}
291
292#appmenu_addons {
293 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
294}
295
296#BMB_bookmarkThisPage,
297#appmenu_bookmarkThisPage {
298 list-style-image: url("chrome://browser/skin/places/bookmark.png");
299 -moz-image-region: rect(0 16px 16px 0);
300}
301
302/* ::::: titlebar ::::: */
303
5305ef8d
RK
304#titlebar {
305 /* like menubar */
306 background-color: #6000CF;
307 color: #FF9F00;
308}
309#titlebar:-moz-window-inactive {
310 background-color: #8050B0;
311 color: #FF9F00;
312}
313
319c6529 314#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
315 margin-top: -3px;
316 margin-bottom: 3px;
319c6529
RK
317}
318
319#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 320 margin-top: 4px;
319c6529
RK
321}
322
323#titlebar-buttonbox {
5305ef8d
RK
324 margin-top: 5px;
325 -moz-margin-end: 3px;
319c6529
RK
326}
327
328#main-window[sizemode="maximized"] #titlebar-buttonbox {
329}
330
331.titlebar-placeholder[type="appmenu-button"] {
332 margin-left: 4px;
333}
334
335.titlebar-placeholder[type="caption-buttons"] {
336 margin-left: 10px;
337}
338
339/* titlebar command buttons */
340
341#titlebar-min {
5305ef8d
RK
342 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
343}
344
345#titlebar-min:hover {
346 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
347}
348
349#titlebar-max {
5305ef8d
RK
350 list-style-image: url("chrome://browser/skin/win-maximize.gif");
351}
352
353#titlebar-max:hover {
354 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
355}
356
357#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
358 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
359}
360
361#main-window[sizemode="maximized"] #titlebar-max:hover {
362 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
363}
364
365#titlebar-close {
5305ef8d
RK
366 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
367}
368
369#titlebar-close:hover {
370 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 371}
372
373/* ::::: bookmark buttons ::::: */
374
fb1aad97
RK
375/*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
376.bookmark-item > .toolbarbutton-icon {
acb0e9b8 377 width: 16px;
378 height: 16px;
379}
380
381/* Prevent [mode="icons"] from hiding the label */
382.bookmark-item > .toolbarbutton-text {
383 display: -moz-box !important;
384}
385
319c6529
RK
386.bookmark-item > .toolbarbutton-menu-dropmarker {
387 display: none;
388}
389
390#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
c5772fdf 391 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
319c6529
RK
392}
393
394.bookmarks-toolbar-customize {
395 max-width: 15em !important;
8da9da4e 396 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
397}
398
399/* ::::: bookmark menus ::::: */
400
401menu.bookmark-item,
402menuitem.bookmark-item {
403 min-width: 0;
ab799a7a 404 max-width: 32em;
319c6529
RK
405}
406
407.bookmark-item > .menu-iconic-left {
408 margin-top: 0;
409 margin-bottom: 0;
410}
411
412.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
413 -moz-padding-start: 0px;
414}
415
416/* ::::: bookmark items ::::: */
417
418.bookmark-item {
dce90fef 419 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 420 -moz-image-region: auto;
319c6529
RK
421}
422
423.bookmark-item[container] {
424 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 425 -moz-image-region: auto;
319c6529
RK
426}
427
428.bookmark-item[container][open] {
429 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 430 -moz-image-region: auto;
319c6529
RK
431}
432
8da9da4e
RK
433.bookmark-item[container][livemark] {
434 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
435 -moz-image-region: auto;
436}
437
438.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 439 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 440 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
441}
442
eec397be 443.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 444 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
445}
446
319c6529 447.bookmark-item[container][query] {
8da9da4e 448 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
449 -moz-image-region: auto;
450}
451
452.bookmark-item[query][tagContainer] {
453 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
454 -moz-image-region: auto;
455}
456
457.bookmark-item[query][dayContainer] {
8da9da4e 458 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
459 -moz-image-region: auto;
460}
461
462.bookmark-item[query][hostContainer] {
463 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 464 -moz-image-region: auto;
319c6529
RK
465}
466
467.bookmark-item[query][hostContainer][open] {
468 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 469 -moz-image-region: auto;
319c6529
RK
470}
471
b1234db8
RK
472.bookmark-item[cutting] > .toolbarbutton-icon,
473.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
474 opacity: 0.5;
475}
476
477.bookmark-item[cutting] > .toolbarbutton-text,
478.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
479 opacity: 0.7;
480}
481
319c6529
RK
482/* ::::: primary toolbar buttons ::::: */
483
63ada306
RK
484.toolbarbutton-1 {
485 list-style-image: url("chrome://browser/skin/Toolbar.png");
486}
487
488.toolbarbutton-1:not([type="menu-button"]) {
489 -moz-box-orient: vertical;
490}
491
319c6529
RK
492.toolbarbutton-1,
493.toolbarbutton-1 > .toolbarbutton-menubutton-button {
494 min-width: 36px;
495 min-height: 36px;
319c6529
RK
496}
497
ab799a7a
RK
498.toolbarbutton-1:not([type="menu-button"]) {
499 -moz-box-orient: vertical;
319c6529
RK
500}
501
502.toolbarbutton-1,
503.toolbarbutton-1 > .toolbarbutton-menubutton-button,
504.toolbarbutton-1[disabled="true"]:hover:active,
505.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
506 padding: 1px 2px;
507}
508
509.toolbarbutton-1:hover:active,
510.toolbarbutton-1[open="true"],
511.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
512 padding-top: 2px;
513 padding-bottom: 0px;
514 -moz-padding-start: 3px;
515 -moz-padding-end: 1px;
516}
517
319c6529
RK
518/* ::::: small primary toolbar buttons ::::: */
519
9abeb12c
RK
520#nav-bar {
521 /* force iconsize="small" on this toolbar */
522 counter-reset: smallicons;
523}
524
319c6529
RK
525toolbar[mode="text"] .toolbarbutton-1,
526toolbar[mode="icons"] .toolbarbutton-1,
527toolbar[iconsize="small"] .toolbarbutton-1,
528:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
529toolbar[mode="text"] .toolbarbutton-menubutton-button,
530toolbar[mode="icons"] .toolbarbutton-menubutton-button,
531toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
532:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
533 min-width: 0px;
534 min-height: 0px;
535}
536
537toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
538 padding-top: 4px;
539 padding-bottom: 8px;
540 -moz-padding-start: 1px;
541 -moz-padding-end: 1px;
542}
543
544toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
545toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
546:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
547 padding-top: 0px;
548 padding-bottom: 13px;
549 -moz-padding-start: 1px;
550 -moz-padding-end: 1px;
551}
552
553toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
554toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
555 padding-top: 5px;
556 padding-bottom: 7px;
557 -moz-padding-start: 0px;
558 -moz-padding-end: 2px;
559}
560
561toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
562toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
563toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
564toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
565:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
566:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
567 padding-top: 1px;
568 padding-bottom: 12px;
569 -moz-padding-start: 0px;
570 -moz-padding-end: 2px;
571}
572
573toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
574 padding-top: 4px !important;
575 padding-bottom: 8px !important;
576 -moz-padding-start: 1px !important;
577 -moz-padding-end: 1px !important;
578}
579
580toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
581toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
582 padding-top: 0px !important;
583 padding-bottom: 13px !important;
584 -moz-padding-start: 1px !important;
585 -moz-padding-end: 1px !important;
586}
587
588toolbar[mode="icons"] .toolbarbutton-text,
589toolbar[mode="text"] .toolbarbutton-icon {
590 display: none;
591}
592
593toolbar[mode="text"] .toolbarbutton-text {
594 padding: 4px 0;
595}
596
597toolbar[mode="text"] .toolbarbutton-1,
598toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
599 -moz-box-orient: horizontal;
600}
601
602toolbar[mode="full"] .toolbarbutton-1,
603toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
604 min-width: 30px;
605}
606
d54f5b23 607#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
608}
609
610#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
611}
612
613
319c6529
RK
614/* unified back/forward button */
615
616#back-button {
617 -moz-image-region: rect(0, 18px, 18px, 0);
618 -moz-margin-end: 0;
619}
620
38cfeb47
RK
621#back-button:not([disabled="true"]):hover {
622 -moz-image-region: rect(18px, 18px, 36px, 0);
623}
624
625#back-button[disabled="true"] {
626 -moz-image-region: rect(36px, 18px, 54px, 0);
627}
628
319c6529
RK
629#forward-button {
630 -moz-image-region: rect(0, 36px, 18px, 18px);
631 border-left: none;
632 -moz-margin-start: 0;
633}
634
38cfeb47
RK
635#forward-button:not([disabled="true"]):hover {
636 -moz-image-region: rect(18px, 36px, 36px, 18px);
637}
638
639#forward-button[disabled="true"] {
640 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
641}
642
319c6529
RK
643#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
644#forward-button:-moz-locale-dir(rtl),
645#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
71a617ff 646 transform: scaleX(-1);
319c6529
RK
647}
648
b36fc72e
RK
649#nav-bar #back-button {
650 -moz-margin-end: 0 !important;
651}
652
653#nav-bar #forward-button {
654 border-left-style: none;
655 -moz-margin-start: 0 !important;
656}
657
658#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
659 border-top-right-radius: 0;
660 border-bottom-right-radius: 0;
661}
662
b36fc72e
RK
663#nav-bar #back-button:-moz-locale-dir(rtl),
664#nav-bar #forward-button {
319c6529
RK
665 border-top-left-radius: 0;
666 border-bottom-left-radius: 0;
667}
668
676f0091
RK
669window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
670 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
671 #unified-back-forward-button > #back-button {
319c6529
RK
672 border-radius: 10000px;
673 width: 30px;
674 height: 30px;
675 position: relative;
676 z-index: 1;
677 margin-top: -2px;
678 margin-bottom: -2px;
679 border: none;
38cfeb47
RK
680 -moz-image-region: rect(54px, 20px, 74px, 0);
681}
682
676f0091
RK
683window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
684 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
685 #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
686window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
687 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
688 #unified-back-forward-button > #back-button[open="true"] {
38cfeb47
RK
689 -moz-image-region: rect(54px, 40px, 74px, 20px);
690}
691
676f0091
RK
692window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
693 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
694 #unified-back-forward-button > #back-button[disabled="true"] {
38cfeb47 695 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
696}
697
676f0091
RK
698window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
699 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
700 #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
701}
702
676f0091
RK
703window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
704 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
705 #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
706window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
707 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
708 #unified-back-forward-button > #back-button[open="true"] {
319c6529
RK
709}
710
9abeb12c
RK
711#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
712#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
713/* padding-top: 3px;
714 padding-bottom: 5px; */
715}
716
9abeb12c
RK
717#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
718#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
719/* padding-top: 5px; */
720}
721
676f0091
RK
722window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
723 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
724 #unified-back-forward-button > #forward-button {
319c6529 725 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
2a5b7882 726 /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
9abeb12c 727 -moz-margin-start: -6px !important;
319c6529
RK
728 padding-left: 7px;
729 padding-right: 3px;
e8519ae0
RK
730 margin-top: 2px;
731 margin-bottom: 2px;
732}
733
676f0091
RK
734window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
735 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
736 #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
e8519ae0
RK
737 border-top-right-radius: 11px;
738 border-bottom-right-radius: 11px;
739}
740
676f0091
RK
741window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
742 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
743 #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
e8519ae0
RK
744 border-top-left-radius: 11px;
745 border-bottom-left-radius: 11px;
319c6529
RK
746}
747
319c6529
RK
748.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
749.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
750 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
751}
752
753.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
754.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
755 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
319c6529
RK
756}
757
758.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
759.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
760 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
761}
762
763.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
764.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
765 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
319c6529
RK
766}
767
8ad8bf83
RK
768window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
769 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
770 #unified-back-forward-button > #forward-button {
e8519ae0 771/* border-top-right-radius: 0;
8ad8bf83 772 border-bottom-right-radius: 0;
e8519ae0 773 -moz-margin-end: 0; */
8ad8bf83
RK
774}
775
776window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
777 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
778 #unified-back-forward-button:not([switchingtabs]) > #forward-button {
71a617ff 779 transition: opacity 150ms ease-out;
8ad8bf83
RK
780}
781
782window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
783 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
784 #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
785 opacity: 0;
786}
787
e8519ae0
RK
788window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
789 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
790 #unified-back-forward-button:hover > #forward-button[disabled] {
791 background-color: transparent;
792}
793
319c6529
RK
794/* stop button */
795
796#stop-button {
797 -moz-image-region: rect(0, 54px, 18px, 36px);
798}
799
143c5409
RK
800#stop-button:not([disabled="true"]):hover {
801 -moz-image-region: rect(18px, 54px, 36px, 36px);
802}
803
804#stop-button[disabled="true"] {
805 -moz-image-region: rect(36px, 54px, 54px, 36px);
806}
807
319c6529
RK
808/* reload button */
809
810#reload-button {
811 -moz-image-region: rect(0, 72px, 18px, 54px);
812}
813
143c5409
RK
814#reload-button:not([disabled="true"]):hover {
815 -moz-image-region: rect(18px, 72px, 36px, 54px);
816}
817
818#reload-button[disabled="true"] {
819 -moz-image-region: rect(36px, 72px, 54px, 54px);
820}
821
319c6529
RK
822/* home button */
823
824#home-button.bookmark-item {
825 list-style-image: url("chrome://browser/skin/Toolbar.png");
826}
827#home-button {
828 -moz-image-region: rect(0, 90px, 18px, 72px);
829}
830
143c5409
RK
831#home-button:not([disabled="true"]):hover {
832 -moz-image-region: rect(18px, 90px, 36px, 72px);
833}
834
835#home-button[disabled="true"] {
836 -moz-image-region: rect(36px, 90px, 54px, 72px);
837}
838
319c6529
RK
839/* tabview button */
840
d54f5b23
RK
841#tabview-button,
842#menu_tabview {
319c6529 843 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
d54f5b23
RK
844}
845
846#tabview-button {
319c6529
RK
847 -moz-image-region: rect(0, 90px, 18px, 72px);
848}
849
850#tabview-button[groups="0"] {
851 -moz-image-region: rect(0, 18px, 18px, 0);
852}
853
854#tabview-button[groups="1"] {
855 -moz-image-region: rect(0, 36px, 18px, 18px);
856}
857
858#tabview-button[groups="2"] {
859 -moz-image-region: rect(0, 54px, 18px, 36px);
860}
861
862#tabview-button[groups="3"] {
863 -moz-image-region: rect(0, 72px, 18px, 54px);
864}
865
d54f5b23
RK
866#menu_tabview {
867 -moz-image-region: rect(1px, 89px, 17px, 73px);
868}
869
870#menu_tabview[groups="0"] {
871 -moz-image-region: rect(1px, 17px, 17px, 1px);
872}
873
874#menu_tabview[groups="1"] {
875 -moz-image-region: rect(1px, 35px, 17px, 19px);
876}
877
878#menu_tabview[groups="2"] {
879 -moz-image-region: rect(1px, 53px, 17px, 37px);
880}
881
882#menu_tabview[groups="3"] {
883 -moz-image-region: rect(1px, 71px, 17px, 55px);
884}
885
319c6529
RK
886/* download manager button */
887
888#downloads-button {
889 -moz-image-region: rect(0, 108px, 18px, 90px);
890}
891
143c5409
RK
892#downloads-button:not([disabled="true"]):hover {
893 -moz-image-region: rect(18px, 108px, 36px, 90px);
894}
895
896#downloads-button[disabled="true"] {
897 -moz-image-region: rect(36px, 108px, 54px, 90px);
898}
899
319c6529
RK
900/* history sidebar button */
901
902#history-button {
903 -moz-image-region: rect(0, 126px, 18px, 108px);
904}
905
143c5409
RK
906#history-button:not([disabled="true"]):hover {
907 -moz-image-region: rect(18px, 126px, 36px, 108px);
908}
909
910#history-button[disabled="true"] {
911 -moz-image-region: rect(36px, 126px, 54px, 108px);
912}
913
319c6529
RK
914/* bookmark sidebar & menu buttons */
915
916#bookmarks-button,
917#bookmarks-menu-button {
8da9da4e 918 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
319c6529
RK
919 -moz-image-region: rect(0, 144px, 18px, 126px);
920}
921
922#bookmarks-menu-button.bookmark-item {
8da9da4e 923 /* list-style-image: url("chrome://browser/skin/Toolbar.png"); */
319c6529
RK
924}
925
926#bookmarks-menu-button.toolbarbutton-1 {
927 -moz-box-orient: horizontal;
928}
929
143c5409
RK
930#bookmarks-button:not([disabled="true"]):hover,
931#bookmarks-menu-button[open="true"],
932#bookmarks-menu-button:not([disabled="true"]):hover {
933 -moz-image-region: rect(18px, 144px, 36px, 126px);
934}
935
936#bookmarks-button[disabled="true"],
937#bookmarks-menu-button[disabled="true"] {
938 -moz-image-region: rect(36px, 144px, 54px, 126px);
939}
940
319c6529
RK
941/* print button */
942
943#print-button {
944 -moz-image-region: rect(0, 162px, 18px, 144px);
945}
946
143c5409
RK
947#print-button:not([disabled="true"]):hover {
948 -moz-image-region: rect(18px, 162px, 36px, 144px);
949}
950
951#print-button[disabled="true"] {
952 -moz-image-region: rect(36px, 162px, 54px, 144px);
953}
954
319c6529
RK
955/* toolbar new tab button */
956
957#new-tab-button {
958 -moz-image-region: rect(0, 180px, 18px, 162px);
959}
960
57fc408c
RK
961#new-tab-button:not([disabled="true"]):hover {
962 -moz-image-region: rect(18px, 180px, 36px, 162px);
143c5409
RK
963}
964
57fc408c
RK
965#new-tab-button[disabled="true"] {
966 -moz-image-region: rect(36px, 180px, 54px, 162px);
143c5409
RK
967}
968
319c6529
RK
969/* new window button */
970
971#new-window-button {
972 -moz-image-region: rect(0, 198px, 18px, 180px);
973}
974
143c5409
RK
975#new-window-button:not([disabled="true"]):hover {
976 -moz-image-region: rect(18px, 198px, 36px, 180px);
977}
978
979#new-window-button[disabled="true"] {
980 -moz-image-region: rect(36px, 198px, 54px, 180px);
981}
982
319c6529
RK
983/* cut button */
984
985#cut-button {
986 -moz-image-region: rect(0, 216px, 18px, 198px);
987}
988
143c5409
RK
989#cut-button:not([disabled="true"]):hover {
990 -moz-image-region: rect(18px, 216px, 36px, 198px);
991}
992
993#cut-button[disabled="true"] {
994 -moz-image-region: rect(36px, 216px, 54px, 198px);
995}
996
319c6529
RK
997/* copy button */
998
999#copy-button {
1000 -moz-image-region: rect(0, 234px, 18px, 216px);
1001}
1002
143c5409
RK
1003#copy-button:not([disabled="true"]):hover {
1004 -moz-image-region: rect(18px, 234px, 36px, 216px);
1005}
1006
1007#copy-button[disabled="true"] {
1008 -moz-image-region: rect(36px, 234px, 54px, 216px);
1009}
1010
319c6529
RK
1011/* paste button */
1012
1013#paste-button {
1014 -moz-image-region: rect(0, 252px, 18px, 234px);
1015}
1016
143c5409
RK
1017#paste-button:not([disabled="true"]):hover {
1018 -moz-image-region: rect(18px, 252px, 36px, 234px);
1019}
1020
1021#paste-button[disabled="true"] {
1022 -moz-image-region: rect(36px, 252px, 54px, 234px);
1023}
1024
319c6529
RK
1025/* fullscreen button */
1026
1027#fullscreen-button {
1028 -moz-image-region: rect(0, 270px, 18px, 252px);
1029}
1030
143c5409
RK
1031#fullscreen-button:not([disabled="true"]):hover {
1032 -moz-image-region: rect(18px, 270px, 36px, 252px);
1033}
1034
1035#fullscreen-button[disabled="true"] {
1036 -moz-image-region: rect(36px, 270px, 54px, 252px);
1037}
1038
319c6529
RK
1039/* zoom controls */
1040
1041#zoom-out-button {
1042 -moz-image-region: rect(0, 288px, 18px, 270px);
1043 -moz-margin-end: 0;
1044}
1045
1046#zoom-in-button {
1047 -moz-image-region: rect(0, 306px, 18px, 288px);
b36fc72e
RK
1048}
1049
143c5409
RK
1050#zoom-out-button:not([disabled="true"]):hover {
1051 -moz-image-region: rect(18px, 288px, 36px, 270px);
1052}
1053
1054#zoom-out-button[disabled="true"] {
1055 -moz-image-region: rect(36px, 288px, 54px, 270px);
1056}
1057
1058#zoom-in-button:not([disabled="true"]):hover {
1059 -moz-image-region: rect(18px, 306px, 36px, 288px);
1060}
1061
1062#zoom-in-button[disabled="true"] {
1063 -moz-image-region: rect(36px, 306px, 54px, 288px);
1064}
1065
319c6529
RK
1066/* sync button */
1067
dce90fef 1068#sync-button:not([status]) {
8da9da4e 1069 list-style-image: url("chrome://browser/skin/Toolbar.png") !important; /* for making the palette work */
319c6529
RK
1070 -moz-image-region: rect(0, 324px, 18px, 306px);
1071}
1072
1073#sync-button[status="active"] {
1074 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1075 -moz-image-region: rect(0, 18px, 18px, 0);
1076}
1077
143c5409
RK
1078#sync-button[disabled="true"] {
1079 -moz-image-region: rect(36px, 324px, 54px, 306px);
1080}
1081
319c6529
RK
1082/* feed button */
1083
1084#feed-button {
1085 -moz-image-region: rect(0, 342px, 18px, 324px);
1086}
1087
143c5409
RK
1088#feed-button[disabled="true"] {
1089 -moz-image-region: rect(36px, 342px, 54px, 324px);
1090}
1091
319c6529
RK
1092/* ::::: fullscreen window controls ::::: */
1093
8d7ef0d9 1094#window-controls {
ab799a7a
RK
1095 -moz-margin-start: 4px;
1096}
1097
319c6529
RK
1098#minimize-button,
1099#restore-button,
1100#close-button {
1101/* padding: 0; */
1102}
1103
1104#minimize-button {
1105 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1106}
1107
1108#minimize-button:hover {
1109 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1110}
1111
1112#restore-button {
1113 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1114}
1115
1116#restore-button:hover {
1117 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1118}
1119
1120#close-button {
1121 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1122}
1123
1124#close-button:hover {
1125 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1126}
1127
1128/* ::::: Location Bar ::::: */
1129
319c6529
RK
1130#urlbar,
1131.searchbar-textbox {
1132 border-radius: 5px;
1133 margin: 0;
1134 -moz-margin-start: 3px;
1135}
1136
ffce2402
RK
1137#urlbar {
1138 width: 7em;
f0071a71
RK
1139 /* make color as light as possible to deal with dark non-domain parts */
1140 color: #FFBFFF;
ffce2402
RK
1141}
1142
319c6529
RK
1143#urlbar:-moz-lwtheme,
1144.searchbar-textbox:-moz-lwtheme {
1145 /* background-color: rgba(255,255,255,.8);
1146 @navbarTextboxCustomBorder@
1147 color: black; */
1148}
1149
8ad8bf83
RK
1150window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1151 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1152 #unified-back-forward-button + #urlbar-container {
1153 padding-left: 22px;
1154 -moz-margin-start: -22px;
8ad8bf83
RK
1155 position: relative;
1156 pointer-events: none;
1157}
1158
1159window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1160 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1161 #unified-back-forward-button + #urlbar-container > #urlbar {
1162/* -moz-border-start: none;
1163 margin-left: 0; */
8ad8bf83
RK
1164 pointer-events: all;
1165}
1166
1167window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1168 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1169 #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
71a617ff 1170 transition: margin-left 150ms ease-out;
8ad8bf83
RK
1171}
1172
1173window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1174 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1175 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
1176/* border-top-left-radius: 0;
1177 border-bottom-left-radius: 0; */
8ad8bf83
RK
1178}
1179
1180window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1181 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1182 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1183/* border-top-right-radius: 0;
1184 border-bottom-right-radius: 0; */
8ad8bf83
RK
1185}
1186
8ad8bf83
RK
1187window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1188 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1189 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
1190 margin-left: -22px;
8ad8bf83
RK
1191}
1192
1193window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1194 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1195 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
8ad8bf83 1196 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
71a617ff 1197 transition-delay: 100s;
8ad8bf83
RK
1198}
1199
1200window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1201 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1202 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
8ad8bf83 1203 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
e8519ae0 1204 margin-left: -22.01px;
8ad8bf83
RK
1205}
1206
1207window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1208 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1209 #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
8ad8bf83
RK
1210window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1211 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1212 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
85cfb236 1213 /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1214 transform: scaleX(-1);
8ad8bf83
RK
1215}
1216
a7145e95
RK
1217html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1218.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1219 color: #E7ADE7;
1220}
1221
1222#urlbar:-moz-lwtheme[focused="true"],
1223.searchbar-textbox:-moz-lwtheme[focused="true"] {
1224/* background-color: white; */
1225}
1226
1227#urlbar-container {
1228 -moz-box-orient: horizontal;
1229 -moz-box-align: stretch;
1230}
1231
9abeb12c
RK
1232.urlbar-textbox-container {
1233 -moz-box-align: stretch;
1234}
1235
a40f6a79
RK
1236.urlbar-input-box {
1237 -moz-margin-start: 0;
fcfb76ce 1238 min-width: 4em;
a40f6a79
RK
1239}
1240
319c6529 1241#urlbar-icons {
319c6529
RK
1242 -moz-box-align: center;
1243}
1244
1245.urlbar-icon {
b8384c33 1246 padding: 0 2px;
ffce2402
RK
1247}
1248
1249.searchbar-engine-button,
1250.search-go-container {
4b686546
RK
1251 padding: 2px;
1252}
1253
1254.search-go-container > .search-go-button {
1255 padding: 0;
319c6529
RK
1256}
1257
1258.urlbar-icon:-moz-system-metric(touch-enabled) {
1259 -moz-margin-end: 1px !important;
1260 padding: 0 3px !important;
1261}
1262
ffce2402
RK
1263.urlbar-icon:hover {
1264}
1265
1266.urlbar-icon[open="true"],
1267.urlbar-icon:hover:active {
1268}
1269
319c6529
RK
1270#urlbar-search-splitter {
1271 min-width: 6px;
1272 -moz-margin-start: -3px;
1273 border: none;
1274 background: transparent;
1275}
1276
f0071a71 1277#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1278#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1279 -moz-margin-start: 0;
1280}
1281
319c6529 1282#urlbar-display {
319c6529
RK
1283 -moz-border-end: 1px solid #9C9CFF;
1284 -moz-margin-end: 3px;
ab799a7a
RK
1285 margin-top: 0;
1286 margin-bottom: 0;
a40f6a79 1287 -moz-margin-start: 0;
ab799a7a
RK
1288 color: #8050B0;
1289}
1290
319c6529
RK
1291/* identity box */
1292
1293#identity-box {
319c6529 1294 border-radius: 2px;
85cfb236 1295 font-size: .9em;
319c6529
RK
1296}
1297
8ad8bf83 1298#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 1299 -moz-padding-start: 10px !important;
8ad8bf83
RK
1300 border-radius: 0;
1301}
1302
1303window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1304 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1305 #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
d15d08bf 1306/* border-radius: 0; */
2a5b7882
RK
1307 -moz-padding-start: 2px;
1308 -moz-padding-end: 2px;
1309 -moz-margin-end: 1px;
8ad8bf83
RK
1310}
1311
1312window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1313 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1314 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 1315 padding-left: 2px;
71a617ff 1316 transition: padding-left;
8ad8bf83
RK
1317}
1318
1319window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1320 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1321 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 1322 padding-right: 2px;
71a617ff 1323 transition: padding-right;
8ad8bf83
RK
1324}
1325
1326window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1327 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1328 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
8ad8bf83 1329 /* forward button hiding is delayed when hovered */
71a617ff 1330 transition-delay: 100s;
8ad8bf83
RK
1331}
1332
1333window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1334 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1335 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 1336 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1337 padding-left: 2.01px;
8ad8bf83
RK
1338}
1339
1340window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1341 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1342 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 1343 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1344 padding-right: 2.01px;
8ad8bf83
RK
1345}
1346
37953ab4 1347#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79
RK
1348 color: #008484;
1349 -moz-border-end: 1px solid #008484;
1350 -moz-margin-end: 3px;
319c6529
RK
1351}
1352
37953ab4 1353#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
1354 border-top-right-radius: 0;
1355 border-bottom-right-radius: 0;
319c6529
RK
1356}
1357
37953ab4 1358#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
1359 border-top-left-radius: 0;
1360 border-bottom-left-radius: 0;
319c6529
RK
1361}
1362
a40f6a79
RK
1363#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1364 background-color: #000000;
319c6529
RK
1365}
1366
1367#identity-box:-moz-focusring {
1368 outline: 1px dotted #008484;
f993773d 1369 outline-offset: -1px;
319c6529
RK
1370}
1371
1372#identity-box.verifiedDomain:-moz-focusring,
1373#identity-box.verifiedIdentity:-moz-focusring {
1374 outline-color: #000000;
1375}
1376
1377#identity-icon-labels {
1378 -moz-margin-start: 1px;
1379 -moz-margin-end: 3px;
319c6529
RK
1380}
1381
1382/* Location bar dropmarker */
1383
38cfeb47 1384.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1385 background-color: transparent;
319c6529
RK
1386}
1387
38cfeb47
RK
1388#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1389 border: none;
1390 border-radius: 0px;
319c6529
RK
1391}
1392
ffce2402
RK
1393.urlbar-history-dropmarker:hover {
1394}
1395
1396.urlbar-history-dropmarker:hover:active,
1397.urlbar-history-dropmarker[open="true"] {
1398}
1399
319c6529
RK
1400/* page proxy icon */
1401
4d58ff64 1402#page-proxy-favicon {
319c6529
RK
1403 width: 16px;
1404 height: 16px;
a40f6a79
RK
1405 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1406 -moz-image-region: rect(0, 16px, 16px, 0);
319c6529
RK
1407}
1408
2a5b7882 1409.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1410 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1411}
1412
2a5b7882 1413.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1414 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1415}
1416
2a5b7882 1417#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
1418 -moz-image-region: rect(0, 32px, 16px, 16px);
1419}
1420
2a5b7882
RK
1421#identity-box:hover:active > #page-proxy-favicon,
1422#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 1423 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 1424}
1425
2a5b7882
RK
1426#identity-box:hover {
1427 background-color: #FFCF00;
1428}
1429
1430#identity-box:hover:active,
1431#identity-box[open=true] {
1432 background-color: #FF9F00;
1433}
1434
1435#identity-box.verifiedIdentity:hover,
1436#identity-box.verifiedIdentity:hover:active,
1437#identity-box.verifiedIdentity[open=true] {
1438 background-color: #008484;
1439 color: #000000;
1440}
1441
319c6529 1442#page-proxy-favicon[pageproxystate="invalid"] {
37953ab4 1443 opacity: 0.3;
acb0e9b8 1444}
1445
319c6529
RK
1446/* autocomplete */
1447
319c6529
RK
1448#treecolAutoCompleteImage {
1449 max-width: 36px;
1450}
acb0e9b8 1451
319c6529
RK
1452.ac-result-type-bookmark,
1453.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 1454 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 1455 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 1456 width: 16px;
319c6529 1457 height: 16px;
acb0e9b8 1458}
1459
319c6529
RK
1460.ac-result-type-keyword,
1461.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1462 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1463 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1464 width: 16px;
1465 height: 16px;
1466}
1467
319c6529
RK
1468.ac-result-type-tag,
1469.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 1470 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 1471 width: 16px;
319c6529
RK
1472 height: 16px;
1473}
acb0e9b8 1474
319c6529
RK
1475.ac-comment {
1476 font-size: 1.15em;
acb0e9b8 1477}
319c6529
RK
1478
1479.ac-extra > .ac-comment {
1480 font-size: inherit;
acb0e9b8 1481}
319c6529
RK
1482
1483.ac-url-text,
1484.ac-action-text {
1485 color: #9C9CFF;
acb0e9b8 1486}
319c6529
RK
1487
1488richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1489 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
1490 -moz-image-region: rect(0, 16px, 16px, 0);
1491 padding: 0 3px;
1492}
1493
1494richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
1495 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 1496}
1497
319c6529
RK
1498.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1499 color: #8050B0;
1500}
acb0e9b8 1501
319c6529
RK
1502.ac-comment[selected="true"],
1503.ac-url-text[selected="true"],
1504.ac-action-text[selected="true"] {
1505 color: inherit !important;
acb0e9b8 1506}
1507
c1f7cc84
RK
1508.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1509.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
1510{
1511 color: #8050B0;
1512 font-size: smaller;
acb0e9b8 1513}
319c6529
RK
1514
1515.autocomplete-treebody::-moz-tree-cell(suggesthint) {
1516 border-top: 1px solid #9C9CFF;
acb0e9b8 1517}
1518
319c6529
RK
1519/* combined go/reload/stop button in location bar */
1520
ffce2402 1521#go-button,
319c6529
RK
1522#urlbar > toolbarbutton {
1523 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
38cfeb47 1524 /* margin: -2px; */
9abeb12c 1525 -moz-margin-start: 0;
ffce2402 1526 padding: 0 2px;
319c6529
RK
1527 background-origin: border-box;
1528 border: none;
9abeb12c
RK
1529 -moz-border-start: 1px solid #9C9CFF;
1530}
1531
ffce2402
RK
1532#go-button {
1533 padding: 0 3px;
1534}
1535
9abeb12c 1536#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
1537 border-top-left-radius: 0px;
1538 border-bottom-left-radius: 0px;
acb0e9b8 1539}
acb0e9b8 1540
9abeb12c 1541#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
1542 border-top-right-radius: 0px;
1543 border-bottom-right-radius: 0px;
9abeb12c
RK
1544}
1545
dce90fef
RK
1546#urlbar > toolbarbutton:not([disabled]):active:hover,
1547#urlbar-reload-button:not(:hover) {
1548 -moz-border-start-style: none;
714b11f6 1549 -moz-padding-start: 3px;
dce90fef
RK
1550}
1551
1552#urlbar > toolbarbutton:not([disabled]):active:hover {
acb0e9b8 1553}
1554
319c6529 1555#urlbar-go-button {
ffce2402 1556 -moz-image-region: rect(0, 42px, 14px, 28px);
acb0e9b8 1557}
1558
ffce2402
RK
1559#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1560#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
71a617ff 1561 transform: scaleX(-1);
ffce2402
RK
1562}
1563
1564#urlbar-go-button:hover,
1565#go-button:hover {
1566 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 1567}
1568
319c6529 1569#urlbar-reload-button {
ffce2402 1570 -moz-image-region: rect(0px, 14px, 14px, 0px);
38cfeb47
RK
1571}
1572
1573#urlbar-reload-button[disabled] {
ffce2402 1574 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 1575}
1576
319c6529 1577#urlbar-reload-button:not([disabled]):hover {
ffce2402 1578 -moz-image-region: rect(14px, 14px, 28px, 0px);
acb0e9b8 1579}
319c6529
RK
1580
1581#urlbar-stop-button {
ffce2402 1582 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 1583}
319c6529
RK
1584
1585#urlbar-stop-button:hover {
ffce2402 1586 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 1587}
1588
319c6529
RK
1589/* popup blocker button */
1590
1591#page-report-button {
1592 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1593 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 1594}
319c6529 1595
71bac478 1596#page-report-button:hover ,
319c6529
RK
1597#page-report-button:hover:active,
1598#page-report-button[open="true"] {
71bac478 1599 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 1600}
1601
889649fd
RK
1602/* social recommending panel */
1603
1604#share-button {
d7cfd768 1605 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
1606}
1607
1608#socialUserPortrait {
1609 width: 48px;
1610 height: 48px;
1611}
1612
1613#socialUserDisplayName,
1614#socialUserPortrait {
1615 cursor: pointer;
1616}
1617
1618#socialUserDisplayName {
1619 border: none;
1620 background-color: transparent;
1621 margin-top: 0;
1622 padding-top: 0;
1623 font-size: 130%;
1624 font-weight: bold;
1625}
1626
1627#socialUserDisplayName > .button-box {
1628 -moz-padding-start: 0;
1629 padding-top: 0;
1630 border-top-width: 0;
1631}
1632
1633#socialUserDisplayName:hover {
1634 color: #9C9CFF;
1635 text-decoration: underline;
1636}
1637
fcfb76ce 1638#unsharePopupText {
889649fd
RK
1639 height: 48px;
1640}
1641
fcfb76ce 1642#unsharePopupBottomButtons {
889649fd
RK
1643 margin-top: 1em;
1644}
1645
319c6529
RK
1646/* star button */
1647
1648#star-button {
71bac478
RK
1649 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1650 -moz-image-region: rect(16px 16px 32px 0px);
acb0e9b8 1651}
319c6529
RK
1652
1653#star-button:hover {
71bac478 1654 -moz-image-region: rect(16px 32px 32px 16px);
acb0e9b8 1655}
319c6529
RK
1656
1657#star-button:hover:active {
71bac478 1658 -moz-image-region: rect(16px 48px 32px 32px);
acb0e9b8 1659}
1660
319c6529 1661#star-button[starred="true"] {
71bac478
RK
1662 -moz-image-region: rect(0px 16px 16px 0px);
1663}
1664
1665#star-button[starred="true"]:hover {
1666 -moz-image-region: rect(0px 32px 16px 16px);
1667}
1668
1669#star-button[starred="true"]:hover:active {
1670 -moz-image-region: rect(0px 48px 16px 32px);
acb0e9b8 1671}
319c6529
RK
1672
1673/* bookmarking panel */
1674#editBookmarkPanelStarIcon {
1675 list-style-image: url("chrome://browser/skin/places/starred48.png");
1676 width: 48px;
1677 height: 48px;
acb0e9b8 1678}
319c6529
RK
1679
1680#editBookmarkPanelStarIcon[unstarred] {
1681 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 1682}
1683
319c6529
RK
1684#editBookmarkPanelTitle {
1685 font-size: 130%;
acb0e9b8 1686}
319c6529
RK
1687
1688#editBookmarkPanelHeader,
1689#editBookmarkPanelContent {
1690 margin-bottom: .5em;
acb0e9b8 1691}
319c6529
RK
1692
1693/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1694#editBMPanel_folderTree {
1695 min-width: 27em;
acb0e9b8 1696}
1697
f993773d 1698.panel-promo-box {
5a3cfc14 1699 margin: 5px -6px -6px;
f0eab82c 1700 padding: 5px;
889649fd 1701 border-top: 1px solid #9C9CFF;
f0eab82c
RK
1702 border-bottom-left-radius: 5px;
1703 border-bottom-right-radius: 5px;
f993773d
RK
1704}
1705
1706.panel-promo-icon {
1707 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1708 -moz-margin-end: 10px;
1709 vertical-align: middle;
1710}
1711
1712.panel-promo-closebutton {
1713 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
1714 -moz-margin-end: -3px;
1715 margin-top: -3px;
f993773d
RK
1716}
1717
1718.panel-promo-closebutton:hover {
1719 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1720}
1721
1722.panel-promo-closebutton:hover:active {
1723 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1724}
1725
1726.panel-promo-closebutton > .toolbarbutton-text {
1727 padding: 0;
1728 margin: 0;
1729}
1730
319c6529
RK
1731/* ::::: content area ::::: */
1732
1733#sidebar {
1734 background-color: Window;
acb0e9b8 1735}
319c6529
RK
1736
1737#sidebar-title {
1738 -moz-padding-start: 0px;
acb0e9b8 1739}
319c6529
RK
1740
1741/* ::::: throbber ::::: */
1742
1743#navigator-throbber {
1744 width: 16px;
1745 min-height: 16px;
1746 margin: 0 3px;
acb0e9b8 1747}
1748
319c6529 1749#navigator-throbber[busy="true"] {
95f333af 1750 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
acb0e9b8 1751}
319c6529
RK
1752
1753#navigator-throbber,
1754#wrapper-navigator-throbber > #navigator-throbber {
95f333af 1755 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
acb0e9b8 1756}
319c6529
RK
1757
1758/* Tabstrip */
b36fc72e 1759
319c6529
RK
1760#TabsToolbar {
1761 min-height: 0;
1762 padding: 0;
b36fc72e
RK
1763 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1764}
1765
1766#TabsToolbar .toolbar-holder {
c1f7cc84 1767 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 1768}
1769
b36fc72e 1770#main-window[disablechrome] #TabsToolbar,
319c6529
RK
1771#TabsToolbar[tabsontop="false"] {
1772 border-bottom: 1px solid #FF9F00;
acb0e9b8 1773}
319c6529 1774
319c6529
RK
1775.tabbrowser-tab,
1776.tabs-newtab-button {
1777 margin-top: 0px;
acb0e9b8 1778}
319c6529 1779
57fc408c
RK
1780.tabbrowser-tab{
1781 padding: 1px 4px 2px;
1782}
1783
1784.tabbrowser-tab:first-of-type {
1785 -moz-margin-start: 2px;
1786}
1787
1788.tabs-newtab-button {
1789 border-radius: 8px 8px 0px 0px;
1790 -moz-margin-start: 0;
1791}
1792
1793.tabs-newtab-button:not(:hover) {
1794 background-color: #C09070;
1795}
1796
319c6529
RK
1797.tabbrowser-tab:hover,
1798.tabs-newtab-button:hover {
acb0e9b8 1799}
319c6529
RK
1800
1801.tabbrowser-tab[selected="true"] {
acb0e9b8 1802}
1803
9abeb12c
RK
1804#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1805}
1806
319c6529 1807.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 1808}
319c6529
RK
1809
1810.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 1811}
319c6529
RK
1812
1813.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1814.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 1815}
1816
319c6529
RK
1817.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1818.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 1819}
319c6529
RK
1820
1821.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1822.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 1823}
319c6529
RK
1824
1825.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1826.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 1827}
1828
319c6529
RK
1829.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1830 background-color: #E7ADE7;
613daf44 1831}
319c6529 1832.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
dbd844cb 1833 background-color: #3333FF;
319c6529 1834 color: #000000;
613daf44 1835}
319c6529
RK
1836
1837.tab-throbber,
1838.tab-icon-image {
1839 width: 16px;
1840 height: 16px;
dce90fef 1841 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1842 -moz-image-region: auto;
319c6529 1843 -moz-margin-end: 3px;
613daf44 1844}
1845
319c6529 1846.tab-throbber {
95f333af 1847 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 1848}
319c6529
RK
1849
1850.tab-throbber[progress] {
95f333af 1851 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 1852}
319c6529 1853
319c6529
RK
1854.tab-throbber[pinned],
1855.tab-icon-image[pinned] {
1856 -moz-margin-start: 2px;
1857 -moz-margin-end: 2px;
613daf44 1858}
319c6529
RK
1859
1860/* tabbrowser-tab focus ring */
1861.tabbrowser-tab:focus > .tab-stack {
1862 outline: 1px dotted;
613daf44 1863}
319c6529 1864
8ad8bf83 1865/* Tab DnD indicator */
319c6529
RK
1866.tab-drop-indicator {
1867 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 1868 margin-bottom: -11px;
613daf44 1869}
1870
319c6529
RK
1871/* Tab close button */
1872.tab-close-button {
1873 border: none;
1874 padding: 0px;
57fc408c 1875 margin-top: 1px;
319c6529
RK
1876 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1877}
acb0e9b8 1878
319c6529 1879.tab-close-button:-moz-system-metric(touch-enabled) {
71a617ff 1880 transform: scale(1.2);
319c6529 1881}
acb0e9b8 1882
319c6529
RK
1883.tab-close-button:hover,
1884.tab-close-button:hover[selected="true"] {
1885 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1886}
319c6529
RK
1887
1888.tab-close-button:hover:active,
1889.tab-close-button:hover:active[selected="true"] {
1890 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1891}
319c6529 1892
319c6529
RK
1893/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1894
447694c6 1895@media (-moz-touch-enabled) {
319c6529
RK
1896 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1897 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1898 #TabsToolbar .toolbarbutton-1 {
1899 min-width: 8.1mozmm;
1900 }
1901
1902 .tabs-newtab-button {
1903 min-width: 10mozmm;
1904 }
1905
1906 .tab-content {
c29b709d 1907 min-height: calc(6.8mozmm - 7px); /* subtract borders from the desired height */
319c6529 1908 }
acb0e9b8 1909}
319c6529
RK
1910
1911.tabbrowser-arrowscrollbox > .scrollbutton-up,
1912.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
1913 margin: 0;
1914 padding-top: 0;
1915 padding-bottom: 0;
acb0e9b8 1916}
319c6529 1917
319c6529
RK
1918.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1919 background-color: #008484;
acb0e9b8 1920}
319c6529
RK
1921
1922.tabs-newtab-button > .toolbarbutton-icon {
1923 margin-top: -1px;
1924 margin-bottom: -1px;
acb0e9b8 1925}
319c6529
RK
1926
1927.tabs-newtab-button,
1928#TabsToolbar > #new-tab-button,
1929#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 1930 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 1931 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 1932}
1933
319c6529 1934.tabs-newtab-button {
c1f7cc84
RK
1935 width: 28px;
1936}
1937
1938#TabsToolbar > #new-tab-button {
1939 width: 26px;
acb0e9b8 1940}
319c6529 1941
38cfeb47
RK
1942.tabs-newtab-button:hover,
1943#TabsToolbar > #new-tab-button:hover {
319c6529 1944 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1945}
319c6529
RK
1946
1947#alltabs-button {
1948 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1949 -moz-image-region: rect(0, 14px, 16px, 0);
acb0e9b8 1950}
1951
8da9da4e 1952#alltabs-button:hover,
319c6529
RK
1953#alltabs-button:hover:active {
1954 -moz-image-region: rect(0, 28px, 16px, 14px);
acb0e9b8 1955}
319c6529
RK
1956
1957#alltabs-button[type="menu"] {
8da9da4e
RK
1958 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1959 -moz-image-region: auto;
acb0e9b8 1960}
1961
319c6529
RK
1962#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1963 display: none;
acb0e9b8 1964}
319c6529 1965
8da9da4e 1966#alltabs-button[type="menu"]:hover,
319c6529
RK
1967#alltabs-button[type="menu"]:hover:active,
1968#alltabs-button[type="menu"][open="true"] {
8da9da4e
RK
1969 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1970 -moz-image-region: auto;
acb0e9b8 1971}
319c6529
RK
1972
1973/* All tabs menupopup */
1974.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 1975 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1976 -moz-image-region: auto;
acb0e9b8 1977}
1978
319c6529
RK
1979.alltabs-item[selected="true"] {
1980 font-weight: bold;
acb0e9b8 1981}
319c6529
RK
1982
1983.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1984 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1985}
319c6529 1986
85cfb236 1987.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
1988 background-color: #402800;
1989}
1990
319c6529
RK
1991/* Tabstrip close button */
1992.tabs-closebutton {
1993 -moz-box-flex: 1;
1994 margin: 0px;
1995 padding: 2px;
1996 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 1997}
1998
b36fc72e
RK
1999.tabs-closebutton > .toolbarbutton-icon {
2000}
2001
8da9da4e
RK
2002.tabs-closebutton > .toolbarbutton-text {
2003 display: none;
2004}
2005
319c6529
RK
2006.tabs-closebutton:hover,
2007.tabs-closebutton:hover:active {
2008 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2009}
319c6529
RK
2010
2011toolbarbutton.chevron {
2012 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2013}
319c6529
RK
2014
2015toolbarbutton.chevron:hover {
2016 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2017}
2018
319c6529
RK
2019toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2020toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2021 transform: scaleX(-1);
acb0e9b8 2022}
319c6529
RK
2023
2024toolbarbutton.chevron > .toolbarbutton-text,
2025toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2026 display: none;
acb0e9b8 2027}
319c6529
RK
2028
2029toolbarbutton.chevron > .toolbarbutton-icon {
2030 margin: 0;
acb0e9b8 2031}
2032
319c6529
RK
2033toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2034 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 2035}
319c6529
RK
2036
2037#sidebar-throbber[loading="true"] {
2038 list-style-image: url("chrome://global/skin/icons/loading.gif");
2039 -moz-margin-end: 4px;
acb0e9b8 2040}
319c6529
RK
2041
2042/* Bookmarks toolbar */
2043#PlacesToolbarDropIndicator {
8da9da4e 2044 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2045}
2046
319c6529
RK
2047toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2048 background-color: #008484 !important;
2049 color: #FFCF00 !important;
613daf44 2050}
319c6529
RK
2051
2052/* rules for menupopup drop indicators */
2053.menupopup-drop-indicator-bar {
2054 position: relative;
2055 /* these two margins must together compensate the indicator's height */
2056 margin-top: -1px;
2057 margin-bottom: -1px;
613daf44 2058}
319c6529
RK
2059
2060.menupopup-drop-indicator {
2061 list-style-image: none;
2062 height: 2px;
2063 -moz-margin-end: -4em;
2064 background-color: #008484;
613daf44 2065}
2066
319c6529
RK
2067/* ::::: Identity Indicator Styling ::::: */
2068
2069/* Popup Icons */
2070#identity-popup-icon {
2071 height: 64px;
2072 width: 64px;
2073 padding: 0;
2074 list-style-image: url("chrome://browser/skin/identity.png");
2075 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2076}
319c6529
RK
2077
2078#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2079 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2080}
319c6529
RK
2081
2082#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2083 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2084}
2085
319c6529
RK
2086/* Popup Body Text */
2087.identity-popup-description {
2088 white-space: pre-wrap;
2089 -moz-padding-start: 15px;
2090 margin: 2px 0 4px;
613daf44 2091}
319c6529
RK
2092
2093.identity-popup-label {
2094 white-space: pre-wrap;
2095 -moz-padding-start: 15px;
2096 margin: 0;
613daf44 2097}
319c6529 2098
5517da5a 2099#identity-popup-content-host,
319c6529
RK
2100#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2101 font-size: 1.2em;
613daf44 2102}
2103
319c6529
RK
2104#identity-popup-content-host {
2105 margin-top: 3px;
2106 margin-bottom: 5px;
2107 font-weight: bold;
2108 max-width: 300px;
2109}
613daf44 2110
319c6529
RK
2111#identity-popup-content-owner {
2112 margin-top: 4px;
2113 margin-bottom: 0 !important;
2114 font-weight: bold;
2115 max-width: 300px;
2116}
613daf44 2117
319c6529
RK
2118.verifiedDomain > #identity-popup-content-owner {
2119 font-weight: normal;
613daf44 2120}
2121
319c6529
RK
2122#identity-popup-content-verifier {
2123 margin: 4px 0 2px;
613daf44 2124}
2125
319c6529
RK
2126#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2127#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2128 margin-top: 10px;
2129 -moz-margin-start: -24px;
613daf44 2130}
2131
319c6529
RK
2132#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2133#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2134 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2135}
2136
319c6529
RK
2137#identity-popup-more-info-button {
2138 margin-top: 6px;
2139 margin-bottom: 0;
2140 -moz-margin-end: 0;
613daf44 2141}
acb0e9b8 2142
319c6529
RK
2143.popup-notification-icon {
2144 width: 64px;
2145 height: 64px;
2146 -moz-margin-end: 10px;
2147}
acb0e9b8 2148
319c6529
RK
2149.popup-notification-icon[popupid="geolocation"] {
2150 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2151}
2152
319c6529
RK
2153.popup-notification-icon[popupid="xpinstall-disabled"],
2154.popup-notification-icon[popupid="addon-progress"],
2155.popup-notification-icon[popupid="addon-install-cancelled"],
2156.popup-notification-icon[popupid="addon-install-blocked"],
2157.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2158.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2159 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2160 width: 32px;
2161 height: 32px;
acb0e9b8 2162}
319c6529 2163
a40f6a79 2164.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2165 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2166}
2167
319c6529
RK
2168.addon-progress-description {
2169 width: 350px;
2170 max-width: 350px;
acb0e9b8 2171}
319c6529
RK
2172
2173.popup-progress-label,
2174.popup-progress-meter {
2175 -moz-margin-start: 0;
2176 -moz-margin-end: 0;
acb0e9b8 2177}
319c6529
RK
2178
2179.popup-progress-cancel {
2180 -moz-appearance: none;
2181 background: transparent;
2182 border: none;
2183 padding: 0;
2184 margin: 0;
2185 min-height: 0;
2186 min-width: 0;
2187 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2188 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2189}
319c6529
RK
2190
2191.popup-progress-cancel:hover {
2192 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2193}
2194
319c6529
RK
2195.popup-progress-cancel:active {
2196 -moz-image-region: rect(32px, 32px, 48px, 16px);
2197}
acb0e9b8 2198
319c6529
RK
2199.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2200.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2201 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2202}
2203
319c6529
RK
2204.popup-notification-icon[popupid="password-save"],
2205.popup-notification-icon[popupid="password-change"] {
2206 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2207}
2208
8d7ef0d9
RK
2209.popup-notification-icon[popupid="webapps-install"] {
2210 list-style-image: url("chrome://browser/skin/webapps-64.png");
2211}
2212
7bc075b6
RK
2213.popup-notification-icon[popupid="webRTC-shareDevices"] {
2214 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2215}
2216
319c6529
RK
2217/* Notification icon box */
2218#notification-popup-box {
f993773d
RK
2219 position: relative;
2220 background-color: #000000;
2221 background-clip: padding-box;
2222 padding-left: 3px;
5517da5a 2223 padding-right: 8px;
f0eab82c 2224 border-radius: 3px 0 0 3px;
f993773d
RK
2225 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2226 -moz-margin-end: -8px;
5517da5a 2227 border-right-width: 8px;
f993773d
RK
2228}
2229
8ad8bf83
RK
2230window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2231 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2232 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
5517da5a 2233/* padding-left: 5px; */
f993773d
RK
2234}
2235
2236#notification-popup-box:-moz-locale-dir(rtl),
2237.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2238 transform: scaleX(-1);
319c6529 2239}
acb0e9b8 2240
319c6529 2241.notification-anchor-icon {
acb0e9b8 2242 width: 16px;
2243 height: 16px;
85cfb236 2244 margin: 0 2px;
acb0e9b8 2245}
2246
319c6529 2247.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2248 outline: 1px dotted #008484;
2249/* outline-offset: -3px; */
acb0e9b8 2250}
2251
ab799a7a
RK
2252#default-notification-icon {
2253 list-style-image: url("chrome://global/skin/icons/information-16.png");
2254}
2255
9585a561
RK
2256#identity-notification-icon {
2257 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2258}
2259
319c6529
RK
2260#geo-notification-icon {
2261 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2262}
2263
319c6529
RK
2264#addons-notification-icon {
2265 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2266}
2267
319c6529
RK
2268#indexedDB-notification-icon {
2269 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2270}
2271
319c6529
RK
2272#password-notification-icon {
2273 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2274}
2275
8d7ef0d9
RK
2276#webapps-notification-icon {
2277 list-style-image: url("chrome://browser/skin/webapps-16.png");
2278}
2279
a40f6a79
RK
2280#plugins-notification-icon {
2281 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
2282}
2283
7bc075b6
RK
2284#webRTC-notification-icon {
2285 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
2286}
2287
319c6529
RK
2288#identity-popup-container {
2289 min-width: 280px;
2290}
acb0e9b8 2291
319c6529
RK
2292#download-monitor {
2293 list-style-image: url("chrome://browser/skin/Toolbar.png");
2294 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 2295}
2296
319c6529
RK
2297/* Bookmarks roots menu-items */
2298#appmenu_subscribeToPage:not([disabled]),
2299#appmenu_subscribeToPageMenu,
2300#subscribeToPageMenuitem:not([disabled]),
2301#subscribeToPageMenupopup,
2302#BMB_subscribeToPageMenuitem:not([disabled]),
2303#BMB_subscribeToPageMenupopup {
2304 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 2305}
2306
319c6529
RK
2307#bookmarksToolbarFolderMenu,
2308#appmenu_bookmarksToolbar,
2309#BMB_bookmarksToolbar {
8da9da4e 2310 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
2311 -moz-image-region: auto;
2312}
acb0e9b8 2313
319c6529
RK
2314#appmenu_unsortedBookmarks,
2315#BMB_unsortedBookmarks {
8da9da4e 2316 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 2317 -moz-image-region: auto;
acb0e9b8 2318}
2319
319c6529 2320/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 2321
319c6529
RK
2322.KUI-panel {
2323 color: #FF9F00;
2324 border-style: none;
2325 border-radius: 20px;
acb0e9b8 2326}
2327
319c6529
RK
2328.KUI-panel[level="top"] {
2329 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 2330}
2331
319c6529
RK
2332.KUI-panel-closebutton {
2333 list-style-image: url("KUI-close.png");
2334 width: 24px;
2335 height: 24px;
acb0e9b8 2336}
2337
319c6529 2338.KUI-panel-closebutton:not(:hover) {
acb0e9b8 2339}
2340
319c6529 2341.KUI-panel-closebutton > .toolbarbutton-icon {
acb0e9b8 2342}
2343
319c6529 2344/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
acb0e9b8 2345
319c6529
RK
2346/* Ctrl-Tab */
2347
2348#ctrlTab-panel {
2349 padding: 20px 10px 10px;
2350 font-weight: bold;
acb0e9b8 2351}
2352
319c6529
RK
2353.ctrlTab-favicon[src] {
2354 background-color: #000000;
2355 width: 20px;
2356 height: 20px;
2357 padding: 2px;
2358}
acb0e9b8 2359
319c6529 2360.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 2361}
2362
319c6529
RK
2363.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2364 margin-bottom: 2px;
acb0e9b8 2365}
2366
319c6529
RK
2367.ctrlTab-preview-inner {
2368 padding-bottom: 10px;
acb0e9b8 2369}
2370
319c6529
RK
2371#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2372 padding: 10px;
2373 background-color: #000000;
2374 border-radius: .5em;
acb0e9b8 2375}
2376
319c6529
RK
2377.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2378 color: white;
2379 background-color: #000000;
2380 text-shadow: none;
2381 padding: 8px;
2382 border: 2px solid #9C9CFF;
2383 border-radius: .5em;
acb0e9b8 2384}
2385
319c6529
RK
2386.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2387 margin: -10px -10px 0;
acb0e9b8 2388}
2389
319c6529
RK
2390#ctrlTab-showAll {
2391 margin-top: .5em;
acb0e9b8 2392}
2393
319c6529
RK
2394/* All Tabs */
2395
2396#allTabs-panel {
2397 padding-bottom: 10px;
613daf44 2398}
2399
319c6529
RK
2400#allTabs-meta {
2401 margin: 10px;
613daf44 2402}
2403
319c6529
RK
2404#allTabs-filter {
2405 -moz-margin-start: 24px;
2406 -moz-margin-end: 0;
2407}
acb0e9b8 2408
319c6529 2409#allTabs-tab-close-button > .toolbarbutton-icon {
acb0e9b8 2410 margin: 0;
acb0e9b8 2411}
319c6529
RK
2412
2413.allTabs-favicon[src] {
2414 width: 22px;
2415 height: 22px;
2416 padding-top: 1px;
2417 padding-bottom: 5px;
2418 -moz-padding-start: 1px;
2419 -moz-padding-end: 5px;
2420 margin-top: -2px;
2421 -moz-margin-start: -2px;
2422 border-bottom-right-radius: 4px;
acb0e9b8 2423}
2424
319c6529
RK
2425.allTabs-favicon[src]:-moz-locale-dir(rtl) {
2426 border-bottom-right-radius: 0;
2427 border-bottom-left-radius: 4px;
acb0e9b8 2428}
319c6529
RK
2429
2430.allTabs-preview-inner > .tabPreview-canvas {
2431 background-color: #E7ADE7;
acb0e9b8 2432}
2433
319c6529 2434.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
acb0e9b8 2435}
319c6529
RK
2436
2437.allTabs-preview:focus > * > .allTabs-preview-inner {
2438 outline: 1px dotted #008484;
acb0e9b8 2439}
2440
b36fc72e
RK
2441/* Add-on bar */
2442
2443#addon-bar {
2444 min-height: 20px;
2445 border-top: 3px solid #000000;
3e6e0e5c 2446 border-bottom-width: 0;
b36fc72e
RK
2447}
2448
2449#addon-bar .toolbar-holder {
2450 background-color: #8050B0;
2451 color: #FFCF00;
2452}
2453
2454#addon-bar .toolbar-holder {
2455 background-color: #8050B0;
2456 color: #FFCF00;
2457}
2458
2459#addon-bar .toolbar-startcap,
2460#addon-bar .toolbar-endcap{
2461 background-color: #6000CF;
2462}
2463
319c6529 2464#status-bar {
b36fc72e 2465 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2466 margin-top: .3em;
2467 border-width: 0;
613daf44 2468}
2469
e0c47e26
RK
2470#addon-bar[customizing] > #status-bar {
2471 opacity: .5;
2472/* background-image: -moz-repeating-linear-gradient(-45deg,
2473 rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2474 rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2475}
2476
319c6529
RK
2477/* Remove all borders from statusbarpanel children of
2478 the statusbar.
2479#status-bar > statusbarpanel {
2480 border-width: 0;
2481} */
2482
319c6529
RK
2483#addonbar-closebutton {
2484 border: none;
2485 padding: 3px 5px;
2486 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2487}
2488
319c6529
RK
2489#addonbar-closebutton:hover,
2490#addonbar-closebutton:hover:active {
2491 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2492}
9abeb12c
RK
2493
2494/* Status panel */
2495
2496.statuspanel-label {
2497 margin: 0;
2498 padding: 2px 4px;
38cfeb47 2499 background: #404000;
9abeb12c
RK
2500 border: 1px none #9C9CFF;
2501 border-top-style: solid;
2502 color: #FF9F00;
2503 text-shadow: none;
2504}
2505
2506.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2507.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2508 border-right-style: solid;
2509 border-top-right-radius: .3em;
2510 margin-right: 1em;
2511}
2512
2513.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2514.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2515 border-left-style: solid;
2516 border-top-left-radius: .3em;
2517 margin-left: 1em;
2518}
3e6e0e5c
RK
2519
2520/* HACK to abolish devily color on main content */
2521
2522#content {
2523 background-color: transparent !important;
2524}
dce90fef
RK
2525
2526/* Highlighter */
2527
fcfb76ce
RK
2528#highlighter-outline {
2529 box-shadow: 0 0 0 1px black;
2530 outline: 1px dashed white;
dce90fef
RK
2531}
2532
fcfb76ce
RK
2533#highlighter-outline[locked] {
2534 box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2535 outline-color: rgba(255,255,255,0.7);
dce90fef 2536}
4c765db1 2537
8ad8bf83
RK
2538/* Highlighter toolbar */
2539
8d7ef0d9
RK
2540#inspector-inspect-toolbutton {
2541 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
c4338f39 2542 -moz-image-region: rect(0 16px 16px 0);
8d7ef0d9
RK
2543}
2544
c4338f39 2545#inspector-inspect-toolbutton[checked=true],
8d7ef0d9 2546#inspector-inspect-toolbutton:hover {
c4338f39
RK
2547 -moz-image-region: rect(0 32px 16px 16px);
2548}
2549
37953ab4
RK
2550#inspector-toolbar,
2551#developer-toolbar {
8ad8bf83
RK
2552 border-top: 3px solid #000000;
2553 border-bottom: none;
2554}
2555
37953ab4
RK
2556#developer-toolbar .toolbar-holder {
2557 background-color: #8050B0;
2558 color: #FFCF00;
2559}
2560
2561#developer-toolbar .toolbar-holder {
2562 background-color: #8050B0;
2563 color: #FFCF00;
2564}
2565
2566#developer-toolbar .toolbar-startcap,
2567#developer-toolbar .toolbar-endcap{
2568 background-color: #6000CF;
2569}
2570
8ad8bf83 2571#inspector-tools {
8ad8bf83
RK
2572 -moz-padding-end: 2px;
2573 border-left: 3px solid #000000;
2574 border-right: 3px solid #000000;
2575 -moz-margin-start: 2px;
8ad8bf83
RK
2576}
2577
c5772fdf
RK
2578#devtools-sidebar-box {
2579 background-color: #000000;
4c765db1 2580}
8ad8bf83 2581
8d7ef0d9
RK
2582html|*#highlighter-nodeinfobar-pseudo-classes {
2583 color: #FF9F00;
8ad8bf83
RK
2584}
2585
8ad8bf83
RK
2586/* Highlighter - Node Infobar */
2587
a40f6a79
RK
2588#highlighter-nodeinfobar {
2589 color: #FF9F00;
2590 border: 1px solid rgba(156, 156, 255, .5);
2591 border-radius: 3px;
2592 background-color: #000000;
2593 background-clip: padding-box;
2594}
2595
8ad8bf83
RK
2596/* Highlighter - Node Infobar - text */
2597
a40f6a79
RK
2598#highlighter-nodeinfobar-text {
2599 /* 100% - size of the buttons and margins */
c29b709d 2600 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
2601 padding-bottom: 1px;
2602}
2603
eec397be 2604html|*#highlighter-nodeinfobar-tagname {
8ad8bf83
RK
2605 color: #FFCF00;
2606}
2607
eec397be 2608html|*#highlighter-nodeinfobar-id {
8ad8bf83
RK
2609 color: #9C9CFF;
2610}
2611
a40f6a79 2612html|*#highlighter-nodeinfobar-pseudo-classes {
eec397be 2613 color: #FF9F00;
8ad8bf83
RK
2614}
2615
a40f6a79
RK
2616/* Highlighter - Node Infobar - buttons */
2617
2618.highlighter-nodeinfobar-button {
2619 padding: 0;
2620 width: 26px;
2621 min-height: 26px;
2622}
2623
2624#highlighter-nodeinfobar-inspectbutton {
2625 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2626 -moz-image-region: rect(0px 16px 16px 0px);
2627 -moz-margin-start: 0px;
2628 -moz-margin-end: 2px;
2629}
2630
2631#highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
2632}
2633
2634#highlighter-nodeinfobar-inspectbutton:hover,
2635#highlighter-nodeinfobar-inspectbutton:hover:active/*,
2636#highlighter-nodeinfobar-container:not([locked]) > #highlighter-nodeinfobar > #highlighter-nodeinfobar-inspectbutton*/ {
2637 -moz-image-region: rect(0px 32px 16px 16px);
2638}
2639
2640#highlighter-nodeinfobar-menu {
2641}
2642
2643#highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
2644}
2645
2646#highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
2647 -moz-box-align: center;
2648 -moz-margin-start: -1px;
2649}
2650
2651/* Highlighter - Node Infobar - box & arrow */
2652
8ad8bf83
RK
2653.highlighter-nodeinfobar-arrow {
2654 width: 14px;
2655 height: 14px;
c29b709d 2656 -moz-margin-start: calc(50% - 7px);
71a617ff 2657 transform: rotate(-45deg);
8ad8bf83
RK
2658 border: 1px solid transparent;
2659 background-clip: padding-box;
2660 background-repeat: no-repeat;
2661}
2662
2663#highlighter-nodeinfobar-arrow-top {
2664 margin-bottom: -8px;
2665 margin-top: 8px;
2666 border-right-color: rgba(0, 132, 132, .5);
2667 border-top-color: rgba(0, 132, 132, .5);
2668 background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2669}
2670
2671#highlighter-nodeinfobar-arrow-bottom {
2672 margin-top: -8px;
2673 margin-bottom: 8px;
2674 border-left-color: rgba(0, 132, 132, .5);
2675 border-bottom-color: rgba(0, 132, 132, .5);
2676 background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2677}
2678
2679#highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
2680#highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
2681 box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2682}
2683
2684#highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
2685 margin: 7px 0;
2686}
2687
2688#full-screen-warning-message {
2689 background-color: #000000;
2690 color: #FF9F00;
8ad8bf83
RK
2691 border-radius: 8px;
2692 margin-top: 30px;
2693 padding: 30px 50px;
2694 box-shadow: 0 0 2px #9C9CFF;
2695}
2696
2697#full-screen-warning-container[obscure-browser] {
85cfb236
RK
2698 background-color: rgba(0,0,0,0.3);
2699}
2700
2701.full-screen-description {
2702 font-size: 150%;
2703}
2704
2705#full-screen-domain-text {
2706 font-size: 300%;
8ad8bf83
RK
2707}
2708
85cfb236
RK
2709.full-screen-approval-button,
2710#full-screen-remember-decision {
2711 font-size: 120%;
8ad8bf83
RK
2712}
2713
2714/* Highlighter toolbar - breadcrumbs */
2715
2716#inspector-breadcrumbs {
a40f6a79 2717 -moz-margin-start: 2px;
8ad8bf83
RK
2718}
2719
c5772fdf
RK
2720#inspector-breadcrumbs > .scrollbutton-up,
2721#inspector-breadcrumbs > .scrollbutton-down {
a40f6a79
RK
2722 min-height: 25px;
2723 margin-top: 0;
2724 margin-bottom: 0;
2725}
2726
2727#inspector-breadcrumbs > .scrollbutton-up {
2728 -moz-margin-end: 1px;
2729}
2730
2731#inspector-breadcrumbs > .scrollbutton-down {
2732 -moz-margin-end: 0;
2733}
2734
2735#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover,
2736#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover {
2737}
2738
2739#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon,
2740#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon {
2741 /* margin: 0 5px; */
2742}
2743
2744#inspector-breadcrumbs > .scrollbutton-up[disabled] > .toolbarbutton-icon,
2745#inspector-breadcrumbs > .scrollbutton-down[disabled] > .toolbarbutton-icon {
2746}
2747
2748#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
2749#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
2750}
2751
2752#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(ltr) {
2753 border-top-right-radius: 0;
2754 border-bottom-right-radius: 0;
2755}
2756
2757#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr) {
2758 border-top-left-radius: 0;
2759 border-bottom-left-radius: 0;
2760}
2761
2762#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(rtl) {
2763 border-top-left-radius: 0;
2764 border-bottom-left-radius: 0;
2765}
2766
2767#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl) {
2768 border-top-right-radius: 0;
2769 border-bottom-right-radius: 0;
2770}
2771
2772#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
2773#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
71a617ff 2774/* transform: scaleX(-1); */
c5772fdf
RK
2775}
2776
8ad8bf83 2777.inspector-breadcrumbs-button {
e4cecae1 2778 /*background-color: transparent;*/
c54ac991
RK
2779 border-style: solid;
2780 border-width: 2px 13px;
e4cecae1 2781 outline: none;
8ad8bf83 2782 /* color: hsl(210,30%,85%); */
a40f6a79 2783 width: 85px; /* Can't use max-width. See bug 723132 */
8ad8bf83
RK
2784 /* The content of the button can be larger than the button */
2785 overflow: hidden;
2786 min-height: 25px;
8ad8bf83
RK
2787 margin: 0 -11px 0 0;
2788 padding: 0 9px;
2789}
2790
85cfb236
RK
2791.inspector-breadcrumbs-button:-moz-focusring > .button-box {
2792 border-width: 0;
2793}
2794
a40f6a79
RK
2795.inspector-breadcrumbs-button:-moz-focusring > label {
2796 border-bottom: 1px dotted #008484;
2797}
2798
8ad8bf83
RK
2799.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
2800 /*color: hsl(208,100%,60%); */
2801}
2802
2803.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
2804 /*color: hsl(205,100%,70%); */
2805}
2806
8d7ef0d9
RK
2807.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-pseudo-classes {
2808 color: #FF9F00;
2809}
2810
8ad8bf83
RK
2811.inspector-breadcrumbs-id,
2812.inspector-breadcrumbs-classes {
2813 /*color: #8d99a6; */
2814}
2815
6b43c80b
RK
2816/* fit height of other buttons to breadcrumbs */
2817#inspector-toolbar .devtools-toolbarbutton,
c4338f39
RK
2818#highlighter-closebutton,
2819#inspector-option-toolbarbutton {
6b43c80b
RK
2820 min-height: 25px;
2821}
2822
8d7ef0d9
RK
2823.inspector-breadcrumbs-pseudo-classes {
2824 color: #FFCF00;
2825}
2826
8ad8bf83
RK
2827/* Highlighter toolbar - breadcrumbs - LTR */
2828
2829.inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
8ad8bf83
RK
2830}
2831
2832.inspector-breadcrumbs-button {
c54ac991 2833 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2834}
2835
2836.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
2837.inspector-breadcrumbs-button:not([checked]):hover:active {
c54ac991 2838 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2839}
2840
2841.inspector-breadcrumbs-button[checked] {
c54ac991 2842 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2843}
2844
2845.inspector-breadcrumbs-button[checked][siblings-menu-open],
2846.inspector-breadcrumbs-button[checked]:hover:active {
c54ac991 2847 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2848}
2849
2850.inspector-breadcrumbs-button:first-of-type {
c54ac991 2851 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2852}
2853
2854.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
2855.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
c54ac991 2856 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2857}
2858
2859.inspector-breadcrumbs-button:first-of-type[checked] {
c54ac991 2860 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2861}
2862
2863.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
2864.inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
c54ac991 2865 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2866}
2867
2868.inspector-breadcrumbs-button:last-of-type {
c54ac991 2869 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2870}
2871
a40f6a79
RK
2872#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:-moz-locale-dir(ltr):last-of-type {
2873}
2874
8ad8bf83
RK
2875.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
2876.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
c54ac991 2877 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2878}
2879
2880.inspector-breadcrumbs-button:last-of-type[checked] {
c54ac991 2881 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2882}
2883
2884.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
2885.inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
c54ac991 2886 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2887}
2888
2889/* Highlighter toolbar - breadcrumbs - RTL */
2890
2891.inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
8ad8bf83
RK
2892}
2893
2894.inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
c54ac991 2895 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2896}
2897
2898.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
2899.inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2900 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2901}
2902
2903.inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
c54ac991 2904 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2905}
2906
2907.inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
2908.inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2909 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2910}
2911
2912.inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
c54ac991 2913 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2914}
2915
2916.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
2917.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2918 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2919}
2920
2921.inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2922 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2923}
2924
2925.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
2926.inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2927 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2928}
2929
2930.inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
c54ac991 2931 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2932}
2933
a40f6a79
RK
2934#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
2935}
2936
8ad8bf83
RK
2937.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
2938.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2939 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2940}
2941
2942.inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2943 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2944}
2945
2946.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
2947.inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2948 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83 2949}
8d7ef0d9
RK
2950
2951/* Highlighter toolbar - HTML Tree */
2952
c4338f39
RK
2953#inspector-treepanel-toolbutton {
2954 list-style-image: url("chrome://browser/skin/devtools/treepanel-button.png");
2955 -moz-image-region: rect(0 18px 16px 0);
2956}
2957
2958#inspector-treepanel-toolbutton[checked],
2959#inspector-treepanel-toolbutton:hover {
2960 -moz-image-region: rect(0 36px 16px 18px);
2961}
2962
a40f6a79
RK
2963#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl),
2964#inspector-treepanel-toolbutton:-moz-locale-dir(ltr) {
2965/* border-radius: 3px 0 0 3px;*/
2966}
2967
2968#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr),
2969#inspector-treepanel-toolbutton:-moz-locale-dir(rtl) {
2970/* border-radius: 0 3px 3px 0;*/
2971}
2972
37953ab4
RK
2973/* Highlight toolbar - Option menu */
2974
2975#inspector-option-toolbarbutton:-moz-focusring {
2976 outline: 1px dotted #008484;
2977 outline-offset: -2px;
2978}
2979
2980html|*#gcli-tooltip-frame,
2981html|*#gcli-output-frame {
85cfb236 2982 padding: 0;
37953ab4
RK
2983 border-width: 0;
2984 background-color: transparent;
2985}
2986
2987#gcli-output,
2988#gcli-tooltip {
2989 border-width: 0;
2990 background-color: transparent;
2991 margin-bottom: -2px;
85cfb236
RK
2992}
2993
2994.gclitoolbar-input-node,
2995.gclitoolbar-complete-node,
2996.gclitoolbar-prompt {
37953ab4
RK
2997 margin: 1px 3px;
2998 -moz-box-align: center;
2999 padding-top: 0;
3000 padding-bottom: 0;
3001 padding-right: 4px;
3002 background-color: transparent;
3003 border-radius: 3px;
3004 text-shadow: none;
85cfb236
RK
3005}
3006
3007.gclitoolbar-input-node {
37953ab4
RK
3008 padding-left: 20px;
3009}
3010
3011.gclitoolbar-input-node:not([focused="true"]) {
3012 border-color: transparent;
85cfb236
RK
3013}
3014
7bc075b6
RK
3015.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3016 background-color: #008484;
3017 color: #000000;
3018 text-shadow: none;
3019}
3020
85cfb236 3021.gclitoolbar-complete-node {
37953ab4 3022 padding-left: 21px;
85cfb236
RK
3023 background-color: transparent;
3024 color: transparent;
85cfb236
RK
3025}
3026
3027.gclitoolbar-prompt {
37953ab4
RK
3028 padding-left: 4px;
3029 padding-bottom: 2px;
85cfb236
RK
3030 font-size: 150%;
3031 font-weight: bold;
37953ab4
RK
3032 color: #E7ADE7;
3033 background-color: #000000;
85cfb236
RK
3034}
3035
37953ab4 3036.gclitoolbar-prompt-label,
85cfb236
RK
3037.gcli-in-incomplete,
3038.gcli-in-error,
3039.gcli-in-ontab,
3040.gcli-in-todo,
3041.gcli-in-closebrace,
3042.gcli-in-param,
3043.gcli-in-valid {
3044 margin: 0;
3045 padding: 0;
3046}
3047
3048.gcli-in-incomplete {
3049 border-bottom: 2px dotted #8050B0;
3050}
3051
3052.gcli-in-error {
3053 border-bottom: 2px dotted #FF0000;
3054}
3055
3056.gcli-in-ontab {
3057 color: #9C9CFF;
3058}
3059
3060.gcli-in-todo {
3061 color: #795900;
3062}
3063
3064.gcli-in-closebrace {
3065 color: #8050B0;
3066}
3067
37953ab4 3068/* Responsive Mode */
85cfb236 3069
7bc075b6
RK
3070.browserContainer[responsivemode] {
3071 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
37953ab4
RK
3072 padding: 0 20px 20px 20px;
3073}
3074
7bc075b6 3075.browserStack[responsivemode] {
37953ab4
RK
3076 box-shadow: 0 0 7px #9C9CFF;
3077}
3078
3079.devtools-responsiveui-toolbar {
3080 background: transparent;
3081 margin: 10px 0;
3082 padding: 0;
3083 box-shadow: none;
3084 border-bottom-width: 0;
3085}
3086
3087.devtools-responsiveui-toolbar > menulist,
3088.devtools-responsiveui-toolbar > toolbarbutton {
3089 min-width: 22px;
3090 border-radius: 0;
3091}
3092
3093.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3094.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3095 margin-left: 0;
3096}
3097
3098.devtools-responsiveui-resizebar {
3099 width: 7px;
3100 height: 24px;
3101 cursor: ew-resize;
71a617ff 3102 transform: translate(12px, -12px);
37953ab4
RK
3103 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3104}
3105
3106.devtools-responsiveui-resizehandle {
3107 width: 16px;
3108 height: 16px;
3109 cursor: se-resize;
71a617ff 3110 transform: translate(12px, 12px);
37953ab4 3111 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 3112}
889649fd 3113
c29b709d
RK
3114/* Web Console */
3115
3116.web-console-frame {
3117 /* border-bottom: 3px solid #000000; */
3118}
3119
3120.web-console-frame[animated] {
3121 transition: height 100ms;
3122}
3123
889649fd
RK
3124/* Developer Toolbar */
3125
3126.developer-toolbar-button {
3127 min-width: 78px;
3128 min-height: 21px;
3129 margin: 0 1px;
3130 list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
3131}
3132
c29b709d 3133.developer-toolbar-button[open=true],
889649fd
RK
3134.developer-toolbar-button:active:hover,
3135.developer-toolbar-button[checked=true] {
3136}
3137
3138.developer-toolbar-button[checked=true] {
3139}
3140
3141#developer-toolbar-webconsole {
3142 -moz-image-region: rect(0, 16px, 16px, 0);
3143}
3144
3145#developer-toolbar-inspector {
3146 -moz-image-region: rect(16px, 16px, 32px, 0);
3147}
3148
3149#developer-toolbar-styleeditor {
3150 -moz-image-region: rect(32px, 16px, 48px, 0);
3151}
3152
3153#developer-toolbar-debugger {
3154 -moz-image-region: rect(48px, 16px, 64px, 0);
3155}
3156
3157#developer-toolbar-other-tools {
3158 -moz-image-region: rect(64px, 16px, 80px, 0);
3159}
3160
3161#developer-toolbar-other-tools > .toolbarbutton-menu-dropmarker {
c29b709d 3162 display: none;
889649fd
RK
3163}
3164
445863a2
RK
3165#developer-toolbar-toolbox-button {
3166 -moz-image-region: rect(64px, 16px, 80px, 0);
3167}
3168
889649fd
RK
3169/* Error counter */
3170
3171#developer-toolbar-webconsole[error-count]:before {
3172 color: #000000;
3173 min-width: 16px;
3174 text-shadow: none;
3175 background-color: #FF0000;
3176 border-radius: 1px;
c29b709d 3177 -moz-margin-end: 5px;
c54ac991 3178}
e9c73590 3179
348c0499 3180/* Social toolbar item */
e9c73590 3181
348c0499
RK
3182#social-provider-button > .toolbarbutton-menu-dropmarker {
3183 display: none;
e9c73590
RK
3184}
3185
348c0499 3186#social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3187}
3188
348c0499 3189#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3190}
3191
348c0499 3192#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:first-child {
e9c73590
RK
3193}
3194
348c0499 3195#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:last-child {
e9c73590
RK
3196}
3197
348c0499
RK
3198.social-notification-icon-hbox {
3199 pointer-events: none;
e9c73590
RK
3200}
3201
348c0499
RK
3202.social-notification-icon-stack > image {
3203 max-height: 20px;
e9c73590
RK
3204}
3205
348c0499
RK
3206.social-notification-icon-label {
3207 text-align: end;
3208 font-size: 9px;
3209 font-weight: bold;
3210 padding: 0 1px;
3211 color: #FF9F00;
3212 background-color: #000000;
3213 border: 1px solid #9C9CFF;
3214 border-radius: 2px;
e9c73590
RK
3215}
3216
348c0499
RK
3217.social-notification-icon-label[value=""] {
3218 display: none;
e9c73590
RK
3219}
3220
348c0499 3221.social-notification-icon-image {
d7cfd768 3222 -moz-image-region: rect(0, 16px, 16px, 0);
348c0499
RK
3223}
3224
3225#social-notification-icon-mentions {
e9c73590 3226 background-color: #000000;
348c0499
RK
3227 border-radius: 3px;
3228 -moz-margin-start: 2px;
e9c73590
RK
3229}
3230
348c0499
RK
3231#social-notification-icon-mentions:hover {
3232 background-color: #FFCF00;
3233}
3234
3235#social-notification-icon-mentions[open="true"] {
3236 background-color: #FF9F00;
e9c73590
RK
3237}
3238
3239#social-sidebar-splitter {
3240 border: 0;
3241}
3242
3243/* social toolbar provider menu */
3244#social-statusarea-popup {
3245 margin-top: 0;
3246 margin-left: -12px;
3247 margin-right: -12px;
3248}
3249
3250#social-statusarea-user {
3251 border-bottom: 1px solid #9C9CFF;
3252 background-color: #000000;
3253 color: #FF9F00;
3254 position: relative;
348c0499 3255 cursor: pointer;
e9c73590
RK
3256}
3257
3258#social-statusarea-user-portrait {
3259 width: 32px;
3260 height: 32px;
3261 border-radius: 2px;
3262 margin: 10px;
e9c73590
RK
3263}
3264
b8384c33 3265#social-statusarea-user > vbox > .link {
e9c73590
RK
3266 background: transparent;
3267 border: none;
b8384c33 3268 color: #3333FF;
e9c73590
RK
3269 min-width: 0;
3270 margin: 0 6px;
348c0499 3271 list-style-image: none;
e9c73590 3272}
90a244b7 3273
b8384c33 3274#social-statusarea-user[_moz-menuactive] > vbox > .link {
e9c73590
RK
3275 text-decoration: underline;
3276}
3277
348c0499
RK
3278.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3279 padding: 0;
3280}
3281
348c0499
RK
3282.social-panel-frame {
3283 border-radius: inherit;
3284}
e9c73590
RK
3285
3286.chat-status-icon {
3287 max-height: 16px;
3288 max-width: 16px;
3289 padding: 0;
3290}
3291
3292.chat-toolbarbutton {
3293 -moz-appearance: none;
3294 border: none;
3295 padding: 0;
3296 margin: 0;
3297 background: none;
3298}
3299
3300.chat-toolbarbutton > .toolbarbutton-text {
3301 display: none;
3302}
3303
3304.chat-close-button {
348c0499
RK
3305 list-style-image: url('chrome://browser/skin/social/chat-close.png');
3306 -moz-image-region: rect(0, 14px, 14px, 0);
e9c73590
RK
3307}
3308
3309.chat-close-button:hover,
3310.chat-close-button:hover:active {
348c0499 3311 -moz-image-region: rect(14px, 14px, 28px, 0);
e9c73590
RK
3312}
3313
3314.chat-title {
3315 font-weight: bold;
3316 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 3317 text-shadow: none;
348c0499 3318 cursor: inherit;
e9c73590
RK
3319}
3320
3321.chat-titlebar {
3322 background-color: #9C9CFF;
3323 color: #000000;
3324 height: 20px;
fcfb76ce 3325 min-height: 16px;
e9c73590
RK
3326 width: 100%;
3327 margin: 0;
3328 padding: 2px;
348c0499 3329 -moz-padding-start: 6px;
e9c73590
RK
3330 border: none;
3331 border-bottom: 1px solid #008484;
348c0499 3332 cursor: pointer;
e9c73590
RK
3333}
3334
3335.chat-titlebar[minimized="true"] {
3336 border-bottom: none;
3337}
3338
348c0499
RK
3339.chat-titlebar[selected] {
3340 background-color: #008484;
3341}
3342
3343.chat-titlebar[activity] {
3344 background-color: #E7ADE7;
3345}
3346
e9c73590
RK
3347.chat-frame {
3348 padding: 0;
3349 margin: 0;
3350 overflow: hidden;
3351}
3352
3353.chatbar-button {
3354 /* XXX get a real image for this */
3355 list-style-image: url("chrome://browser/skin/social/social.png");
3356 background-color: #000000;
3357 border: none;
3358 margin: 0;
3359 padding: 2px;
3360 height: 21px;
3361 width: 21px;
3362 border-top: 1px solid #008484;
3363 -moz-border-end: 1px solid #008484;
3364}
3365
d7cfd768
RK
3366.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3367 width: auto;
3368 height: auto;
e9c73590
RK
3369 max-height: 16px;
3370 max-width: 16px;
e9c73590
RK
3371}
3372
90a244b7
RK
3373.chatbar-button > .toolbarbutton-icon {
3374 opacity: .6;
3375 -moz-margin-end: 0;
3376}
3377.chatbar-button:hover > .toolbarbutton-icon,
3378.chatbar-button[open="true"] > .toolbarbutton-icon {
3379 opacity: 1;
3380}
3381
3382.chatbar-button[open="true"] {
e9c73590
RK
3383}
3384
e9c73590
RK
3385.chatbar-button > .toolbarbutton-text,