some more small updates for LCARStrek in Firefox 17 cycle, most Social API
[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 {
33 background-color: #FF9F00;
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
143c5409
RK
961#print-button:not([disabled="true"]):hover {
962 -moz-image-region: rect(18px, 162px, 36px, 144px);
963}
964
965#print-button[disabled="true"] {
966 -moz-image-region: rect(36px, 162px, 54px, 144px);
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
319c6529
RK
1217html|*.urlbar-input:-moz-lwtheme:-moz-placeholder,
1218.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input:-moz-placeholder {
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 {
4b686546 1246 padding: 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
RK
1749#navigator-throbber[busy="true"] {
1750 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.gif");
acb0e9b8 1751}
319c6529
RK
1752
1753#navigator-throbber,
1754#wrapper-navigator-throbber > #navigator-throbber {
1755 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.gif");
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
RK
1779
1780.tabbrowser-tab:hover,
1781.tabs-newtab-button:hover {
acb0e9b8 1782}
319c6529
RK
1783
1784.tabbrowser-tab[selected="true"] {
acb0e9b8 1785}
1786
9abeb12c
RK
1787#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1788}
1789
319c6529 1790.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 1791}
319c6529
RK
1792
1793.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 1794}
319c6529
RK
1795
1796.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1797.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 1798}
1799
319c6529
RK
1800.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1801.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 1802}
319c6529
RK
1803
1804.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1805.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 1806}
319c6529
RK
1807
1808.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1809.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 1810}
1811
319c6529
RK
1812.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1813 background-color: #E7ADE7;
613daf44 1814}
319c6529
RK
1815.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
1816 background-color: #0000FF;
1817 color: #000000;
613daf44 1818}
319c6529
RK
1819
1820.tab-throbber,
1821.tab-icon-image {
1822 width: 16px;
1823 height: 16px;
dce90fef 1824 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1825 -moz-image-region: auto;
319c6529 1826 -moz-margin-end: 3px;
613daf44 1827}
1828
319c6529
RK
1829.tab-throbber {
1830 list-style-image: url("chrome://browser/skin/tabbrowser/connecting.png");
613daf44 1831}
319c6529
RK
1832
1833.tab-throbber[progress] {
1834 list-style-image: url("chrome://browser/skin/tabbrowser/loading.png");
613daf44 1835}
319c6529 1836
d54f5b23 1837#tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
319c6529 1838 min-height: 16px; /* corresponds to the max. height of non-textual tab contents, i.e. the favicon */
613daf44 1839}
1840
319c6529
RK
1841.tab-throbber[pinned],
1842.tab-icon-image[pinned] {
1843 -moz-margin-start: 2px;
1844 -moz-margin-end: 2px;
613daf44 1845}
319c6529
RK
1846
1847/* tabbrowser-tab focus ring */
1848.tabbrowser-tab:focus > .tab-stack {
1849 outline: 1px dotted;
613daf44 1850}
319c6529 1851
8ad8bf83 1852/* Tab DnD indicator */
319c6529
RK
1853.tab-drop-indicator {
1854 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 1855 margin-bottom: -11px;
613daf44 1856}
1857
319c6529
RK
1858/* Tab close button */
1859.tab-close-button {
1860 border: none;
1861 padding: 0px;
1862 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1863}
acb0e9b8 1864
319c6529 1865.tab-close-button:-moz-system-metric(touch-enabled) {
71a617ff 1866 transform: scale(1.2);
319c6529 1867}
acb0e9b8 1868
319c6529
RK
1869.tab-close-button:hover,
1870.tab-close-button:hover[selected="true"] {
1871 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1872}
319c6529
RK
1873
1874.tab-close-button:hover:active,
1875.tab-close-button:hover:active[selected="true"] {
1876 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1877}
319c6529 1878
319c6529
RK
1879/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1880
447694c6 1881@media (-moz-touch-enabled) {
319c6529
RK
1882 .tabbrowser-arrowscrollbox > .scrollbutton-up,
1883 .tabbrowser-arrowscrollbox > .scrollbutton-down,
1884 #TabsToolbar .toolbarbutton-1 {
1885 min-width: 8.1mozmm;
1886 }
1887
1888 .tabs-newtab-button {
1889 min-width: 10mozmm;
1890 }
1891
1892 .tab-content {
c29b709d 1893 min-height: calc(6.8mozmm - 7px); /* subtract borders from the desired height */
319c6529 1894 }
acb0e9b8 1895}
319c6529
RK
1896
1897.tabbrowser-arrowscrollbox > .scrollbutton-up,
1898.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
1899 margin: 0;
1900 padding-top: 0;
1901 padding-bottom: 0;
acb0e9b8 1902}
319c6529 1903
319c6529
RK
1904.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1905 background-color: #008484;
acb0e9b8 1906}
319c6529
RK
1907
1908.tabs-newtab-button > .toolbarbutton-icon {
1909 margin-top: -1px;
1910 margin-bottom: -1px;
acb0e9b8 1911}
319c6529
RK
1912
1913.tabs-newtab-button,
1914#TabsToolbar > #new-tab-button,
1915#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 1916 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 1917 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 1918}
1919
319c6529 1920.tabs-newtab-button {
c1f7cc84
RK
1921 width: 28px;
1922}
1923
1924#TabsToolbar > #new-tab-button {
1925 width: 26px;
acb0e9b8 1926}
319c6529 1927
38cfeb47
RK
1928.tabs-newtab-button:hover,
1929#TabsToolbar > #new-tab-button:hover {
319c6529 1930 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1931}
319c6529
RK
1932
1933#alltabs-button {
1934 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1935 -moz-image-region: rect(0, 14px, 16px, 0);
acb0e9b8 1936}
1937
8da9da4e 1938#alltabs-button:hover,
319c6529
RK
1939#alltabs-button:hover:active {
1940 -moz-image-region: rect(0, 28px, 16px, 14px);
acb0e9b8 1941}
319c6529
RK
1942
1943#alltabs-button[type="menu"] {
8da9da4e
RK
1944 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1945 -moz-image-region: auto;
acb0e9b8 1946}
1947
319c6529
RK
1948#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1949 display: none;
acb0e9b8 1950}
319c6529 1951
8da9da4e 1952#alltabs-button[type="menu"]:hover,
319c6529
RK
1953#alltabs-button[type="menu"]:hover:active,
1954#alltabs-button[type="menu"][open="true"] {
8da9da4e
RK
1955 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1956 -moz-image-region: auto;
acb0e9b8 1957}
319c6529
RK
1958
1959/* All tabs menupopup */
1960.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 1961 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1962 -moz-image-region: auto;
acb0e9b8 1963}
1964
319c6529
RK
1965.alltabs-item[selected="true"] {
1966 font-weight: bold;
acb0e9b8 1967}
319c6529
RK
1968
1969.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1970 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1971}
319c6529 1972
85cfb236 1973.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
1974 background-color: #402800;
1975}
1976
319c6529
RK
1977/* Tabstrip close button */
1978.tabs-closebutton {
1979 -moz-box-flex: 1;
1980 margin: 0px;
1981 padding: 2px;
1982 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 1983}
1984
b36fc72e
RK
1985.tabs-closebutton > .toolbarbutton-icon {
1986}
1987
8da9da4e
RK
1988.tabs-closebutton > .toolbarbutton-text {
1989 display: none;
1990}
1991
319c6529
RK
1992.tabs-closebutton:hover,
1993.tabs-closebutton:hover:active {
1994 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1995}
319c6529
RK
1996
1997toolbarbutton.chevron {
1998 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 1999}
319c6529
RK
2000
2001toolbarbutton.chevron:hover {
2002 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2003}
2004
319c6529
RK
2005toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2006toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2007 transform: scaleX(-1);
acb0e9b8 2008}
319c6529
RK
2009
2010toolbarbutton.chevron > .toolbarbutton-text,
2011toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2012 display: none;
acb0e9b8 2013}
319c6529
RK
2014
2015toolbarbutton.chevron > .toolbarbutton-icon {
2016 margin: 0;
acb0e9b8 2017}
2018
319c6529
RK
2019toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2020 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 2021}
319c6529
RK
2022
2023#sidebar-throbber[loading="true"] {
2024 list-style-image: url("chrome://global/skin/icons/loading.gif");
2025 -moz-margin-end: 4px;
acb0e9b8 2026}
319c6529
RK
2027
2028/* Bookmarks toolbar */
2029#PlacesToolbarDropIndicator {
8da9da4e 2030 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2031}
2032
319c6529
RK
2033toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2034 background-color: #008484 !important;
2035 color: #FFCF00 !important;
613daf44 2036}
319c6529
RK
2037
2038/* rules for menupopup drop indicators */
2039.menupopup-drop-indicator-bar {
2040 position: relative;
2041 /* these two margins must together compensate the indicator's height */
2042 margin-top: -1px;
2043 margin-bottom: -1px;
613daf44 2044}
319c6529
RK
2045
2046.menupopup-drop-indicator {
2047 list-style-image: none;
2048 height: 2px;
2049 -moz-margin-end: -4em;
2050 background-color: #008484;
613daf44 2051}
2052
319c6529
RK
2053/* ::::: Identity Indicator Styling ::::: */
2054
2055/* Popup Icons */
2056#identity-popup-icon {
2057 height: 64px;
2058 width: 64px;
2059 padding: 0;
2060 list-style-image: url("chrome://browser/skin/identity.png");
2061 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2062}
319c6529
RK
2063
2064#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2065 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2066}
319c6529
RK
2067
2068#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2069 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2070}
2071
319c6529
RK
2072/* Popup Body Text */
2073.identity-popup-description {
2074 white-space: pre-wrap;
2075 -moz-padding-start: 15px;
2076 margin: 2px 0 4px;
613daf44 2077}
319c6529
RK
2078
2079.identity-popup-label {
2080 white-space: pre-wrap;
2081 -moz-padding-start: 15px;
2082 margin: 0;
613daf44 2083}
319c6529 2084
5517da5a 2085#identity-popup-content-host,
319c6529
RK
2086#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2087 font-size: 1.2em;
613daf44 2088}
2089
319c6529
RK
2090#identity-popup-content-host {
2091 margin-top: 3px;
2092 margin-bottom: 5px;
2093 font-weight: bold;
2094 max-width: 300px;
2095}
613daf44 2096
319c6529
RK
2097#identity-popup-content-owner {
2098 margin-top: 4px;
2099 margin-bottom: 0 !important;
2100 font-weight: bold;
2101 max-width: 300px;
2102}
613daf44 2103
319c6529
RK
2104.verifiedDomain > #identity-popup-content-owner {
2105 font-weight: normal;
613daf44 2106}
2107
319c6529
RK
2108#identity-popup-content-verifier {
2109 margin: 4px 0 2px;
613daf44 2110}
2111
319c6529
RK
2112#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2113#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2114 margin-top: 10px;
2115 -moz-margin-start: -24px;
613daf44 2116}
2117
319c6529
RK
2118#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2119#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2120 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2121}
2122
319c6529
RK
2123#identity-popup-more-info-button {
2124 margin-top: 6px;
2125 margin-bottom: 0;
2126 -moz-margin-end: 0;
613daf44 2127}
acb0e9b8 2128
319c6529
RK
2129.popup-notification-icon {
2130 width: 64px;
2131 height: 64px;
2132 -moz-margin-end: 10px;
2133}
acb0e9b8 2134
319c6529
RK
2135.popup-notification-icon[popupid="geolocation"] {
2136 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2137}
2138
319c6529
RK
2139.popup-notification-icon[popupid="xpinstall-disabled"],
2140.popup-notification-icon[popupid="addon-progress"],
2141.popup-notification-icon[popupid="addon-install-cancelled"],
2142.popup-notification-icon[popupid="addon-install-blocked"],
2143.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2144.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2145 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2146 width: 32px;
2147 height: 32px;
acb0e9b8 2148}
319c6529 2149
a40f6a79 2150.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2151 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2152}
2153
319c6529
RK
2154.addon-progress-description {
2155 width: 350px;
2156 max-width: 350px;
acb0e9b8 2157}
319c6529
RK
2158
2159.popup-progress-label,
2160.popup-progress-meter {
2161 -moz-margin-start: 0;
2162 -moz-margin-end: 0;
acb0e9b8 2163}
319c6529
RK
2164
2165.popup-progress-cancel {
2166 -moz-appearance: none;
2167 background: transparent;
2168 border: none;
2169 padding: 0;
2170 margin: 0;
2171 min-height: 0;
2172 min-width: 0;
2173 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2174 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2175}
319c6529
RK
2176
2177.popup-progress-cancel:hover {
2178 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2179}
2180
319c6529
RK
2181.popup-progress-cancel:active {
2182 -moz-image-region: rect(32px, 32px, 48px, 16px);
2183}
acb0e9b8 2184
319c6529
RK
2185.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2186.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2187 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2188}
2189
319c6529
RK
2190.popup-notification-icon[popupid="password-save"],
2191.popup-notification-icon[popupid="password-change"] {
2192 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2193}
2194
8d7ef0d9
RK
2195.popup-notification-icon[popupid="webapps-install"] {
2196 list-style-image: url("chrome://browser/skin/webapps-64.png");
2197}
2198
319c6529
RK
2199/* Notification icon box */
2200#notification-popup-box {
f993773d
RK
2201 position: relative;
2202 background-color: #000000;
2203 background-clip: padding-box;
2204 padding-left: 3px;
5517da5a 2205 padding-right: 8px;
f0eab82c 2206 border-radius: 3px 0 0 3px;
f993773d
RK
2207 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2208 -moz-margin-end: -8px;
5517da5a 2209 border-right-width: 8px;
f993773d
RK
2210}
2211
8ad8bf83
RK
2212window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2213 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2214 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
5517da5a 2215/* padding-left: 5px; */
f993773d
RK
2216}
2217
2218#notification-popup-box:-moz-locale-dir(rtl),
2219.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2220 transform: scaleX(-1);
319c6529 2221}
acb0e9b8 2222
319c6529 2223.notification-anchor-icon {
acb0e9b8 2224 width: 16px;
2225 height: 16px;
85cfb236 2226 margin: 0 2px;
acb0e9b8 2227}
2228
319c6529 2229.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2230 outline: 1px dotted #008484;
2231/* outline-offset: -3px; */
acb0e9b8 2232}
2233
ab799a7a
RK
2234#default-notification-icon {
2235 list-style-image: url("chrome://global/skin/icons/information-16.png");
2236}
2237
9585a561
RK
2238#identity-notification-icon {
2239 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2240}
2241
319c6529
RK
2242#geo-notification-icon {
2243 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2244}
2245
319c6529
RK
2246#addons-notification-icon {
2247 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2248}
2249
319c6529
RK
2250#indexedDB-notification-icon {
2251 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2252}
2253
319c6529
RK
2254#password-notification-icon {
2255 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2256}
2257
8d7ef0d9
RK
2258#webapps-notification-icon {
2259 list-style-image: url("chrome://browser/skin/webapps-16.png");
2260}
2261
a40f6a79
RK
2262#plugins-notification-icon {
2263 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
2264}
2265
319c6529
RK
2266#identity-popup-container {
2267 min-width: 280px;
2268}
acb0e9b8 2269
319c6529
RK
2270#download-monitor {
2271 list-style-image: url("chrome://browser/skin/Toolbar.png");
2272 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 2273}
2274
319c6529
RK
2275/* Bookmarks roots menu-items */
2276#appmenu_subscribeToPage:not([disabled]),
2277#appmenu_subscribeToPageMenu,
2278#subscribeToPageMenuitem:not([disabled]),
2279#subscribeToPageMenupopup,
2280#BMB_subscribeToPageMenuitem:not([disabled]),
2281#BMB_subscribeToPageMenupopup {
2282 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 2283}
2284
319c6529
RK
2285#bookmarksToolbarFolderMenu,
2286#appmenu_bookmarksToolbar,
2287#BMB_bookmarksToolbar {
8da9da4e 2288 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
2289 -moz-image-region: auto;
2290}
acb0e9b8 2291
319c6529
RK
2292#appmenu_unsortedBookmarks,
2293#BMB_unsortedBookmarks {
8da9da4e 2294 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 2295 -moz-image-region: auto;
acb0e9b8 2296}
2297
319c6529 2298/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 2299
319c6529
RK
2300.KUI-panel {
2301 color: #FF9F00;
2302 border-style: none;
2303 border-radius: 20px;
acb0e9b8 2304}
2305
319c6529
RK
2306.KUI-panel[level="top"] {
2307 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 2308}
2309
319c6529
RK
2310.KUI-panel-closebutton {
2311 list-style-image: url("KUI-close.png");
2312 width: 24px;
2313 height: 24px;
acb0e9b8 2314}
2315
319c6529 2316.KUI-panel-closebutton:not(:hover) {
acb0e9b8 2317}
2318
319c6529 2319.KUI-panel-closebutton > .toolbarbutton-icon {
acb0e9b8 2320}
2321
319c6529 2322/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
acb0e9b8 2323
319c6529
RK
2324/* Ctrl-Tab */
2325
2326#ctrlTab-panel {
2327 padding: 20px 10px 10px;
2328 font-weight: bold;
acb0e9b8 2329}
2330
319c6529
RK
2331.ctrlTab-favicon[src] {
2332 background-color: #000000;
2333 width: 20px;
2334 height: 20px;
2335 padding: 2px;
2336}
acb0e9b8 2337
319c6529 2338.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 2339}
2340
319c6529
RK
2341.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2342 margin-bottom: 2px;
acb0e9b8 2343}
2344
319c6529
RK
2345.ctrlTab-preview-inner {
2346 padding-bottom: 10px;
acb0e9b8 2347}
2348
319c6529
RK
2349#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2350 padding: 10px;
2351 background-color: #000000;
2352 border-radius: .5em;
acb0e9b8 2353}
2354
319c6529
RK
2355.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2356 color: white;
2357 background-color: #000000;
2358 text-shadow: none;
2359 padding: 8px;
2360 border: 2px solid #9C9CFF;
2361 border-radius: .5em;
acb0e9b8 2362}
2363
319c6529
RK
2364.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2365 margin: -10px -10px 0;
acb0e9b8 2366}
2367
319c6529
RK
2368#ctrlTab-showAll {
2369 margin-top: .5em;
acb0e9b8 2370}
2371
319c6529
RK
2372/* All Tabs */
2373
2374#allTabs-panel {
2375 padding-bottom: 10px;
613daf44 2376}
2377
319c6529
RK
2378#allTabs-meta {
2379 margin: 10px;
613daf44 2380}
2381
319c6529
RK
2382#allTabs-filter {
2383 -moz-margin-start: 24px;
2384 -moz-margin-end: 0;
2385}
acb0e9b8 2386
319c6529 2387#allTabs-tab-close-button > .toolbarbutton-icon {
acb0e9b8 2388 margin: 0;
acb0e9b8 2389}
319c6529
RK
2390
2391.allTabs-favicon[src] {
2392 width: 22px;
2393 height: 22px;
2394 padding-top: 1px;
2395 padding-bottom: 5px;
2396 -moz-padding-start: 1px;
2397 -moz-padding-end: 5px;
2398 margin-top: -2px;
2399 -moz-margin-start: -2px;
2400 border-bottom-right-radius: 4px;
acb0e9b8 2401}
2402
319c6529
RK
2403.allTabs-favicon[src]:-moz-locale-dir(rtl) {
2404 border-bottom-right-radius: 0;
2405 border-bottom-left-radius: 4px;
acb0e9b8 2406}
319c6529
RK
2407
2408.allTabs-preview-inner > .tabPreview-canvas {
2409 background-color: #E7ADE7;
acb0e9b8 2410}
2411
319c6529 2412.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
acb0e9b8 2413}
319c6529
RK
2414
2415.allTabs-preview:focus > * > .allTabs-preview-inner {
2416 outline: 1px dotted #008484;
acb0e9b8 2417}
2418
b36fc72e
RK
2419/* Add-on bar */
2420
2421#addon-bar {
2422 min-height: 20px;
2423 border-top: 3px solid #000000;
3e6e0e5c 2424 border-bottom-width: 0;
b36fc72e
RK
2425}
2426
2427#addon-bar .toolbar-holder {
2428 background-color: #8050B0;
2429 color: #FFCF00;
2430}
2431
2432#addon-bar .toolbar-holder {
2433 background-color: #8050B0;
2434 color: #FFCF00;
2435}
2436
2437#addon-bar .toolbar-startcap,
2438#addon-bar .toolbar-endcap{
2439 background-color: #6000CF;
2440}
2441
319c6529 2442#status-bar {
b36fc72e 2443 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2444 margin-top: .3em;
2445 border-width: 0;
613daf44 2446}
2447
e0c47e26
RK
2448#addon-bar[customizing] > #status-bar {
2449 opacity: .5;
2450/* background-image: -moz-repeating-linear-gradient(-45deg,
2451 rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2452 rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2453}
2454
319c6529
RK
2455/* Remove all borders from statusbarpanel children of
2456 the statusbar.
2457#status-bar > statusbarpanel {
2458 border-width: 0;
2459} */
2460
319c6529
RK
2461#addonbar-closebutton {
2462 border: none;
2463 padding: 3px 5px;
2464 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2465}
2466
319c6529
RK
2467#addonbar-closebutton:hover,
2468#addonbar-closebutton:hover:active {
2469 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2470}
9abeb12c
RK
2471
2472/* Status panel */
2473
2474.statuspanel-label {
2475 margin: 0;
2476 padding: 2px 4px;
38cfeb47 2477 background: #404000;
9abeb12c
RK
2478 border: 1px none #9C9CFF;
2479 border-top-style: solid;
2480 color: #FF9F00;
2481 text-shadow: none;
2482}
2483
2484.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2485.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2486 border-right-style: solid;
2487 border-top-right-radius: .3em;
2488 margin-right: 1em;
2489}
2490
2491.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2492.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2493 border-left-style: solid;
2494 border-top-left-radius: .3em;
2495 margin-left: 1em;
2496}
3e6e0e5c
RK
2497
2498/* HACK to abolish devily color on main content */
2499
2500#content {
2501 background-color: transparent !important;
2502}
dce90fef
RK
2503
2504/* Highlighter */
2505
fcfb76ce
RK
2506#highlighter-outline {
2507 box-shadow: 0 0 0 1px black;
2508 outline: 1px dashed white;
dce90fef
RK
2509}
2510
fcfb76ce
RK
2511#highlighter-outline[locked] {
2512 box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2513 outline-color: rgba(255,255,255,0.7);
dce90fef 2514}
4c765db1 2515
8ad8bf83
RK
2516/* Highlighter toolbar */
2517
8d7ef0d9
RK
2518#inspector-inspect-toolbutton {
2519 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
c4338f39 2520 -moz-image-region: rect(0 16px 16px 0);
8d7ef0d9
RK
2521}
2522
c4338f39 2523#inspector-inspect-toolbutton[checked=true],
8d7ef0d9 2524#inspector-inspect-toolbutton:hover {
c4338f39
RK
2525 -moz-image-region: rect(0 32px 16px 16px);
2526}
2527
37953ab4
RK
2528#inspector-toolbar,
2529#developer-toolbar {
8ad8bf83
RK
2530 border-top: 3px solid #000000;
2531 border-bottom: none;
2532}
2533
37953ab4
RK
2534#developer-toolbar .toolbar-holder {
2535 background-color: #8050B0;
2536 color: #FFCF00;
2537}
2538
2539#developer-toolbar .toolbar-holder {
2540 background-color: #8050B0;
2541 color: #FFCF00;
2542}
2543
2544#developer-toolbar .toolbar-startcap,
2545#developer-toolbar .toolbar-endcap{
2546 background-color: #6000CF;
2547}
2548
8ad8bf83 2549#inspector-tools {
8ad8bf83
RK
2550 -moz-padding-end: 2px;
2551 border-left: 3px solid #000000;
2552 border-right: 3px solid #000000;
2553 -moz-margin-start: 2px;
8ad8bf83
RK
2554}
2555
c5772fdf
RK
2556#devtools-sidebar-box {
2557 background-color: #000000;
4c765db1 2558}
8ad8bf83 2559
8d7ef0d9
RK
2560html|*#highlighter-nodeinfobar-pseudo-classes {
2561 color: #FF9F00;
8ad8bf83
RK
2562}
2563
8ad8bf83
RK
2564/* Highlighter - Node Infobar */
2565
a40f6a79
RK
2566#highlighter-nodeinfobar {
2567 color: #FF9F00;
2568 border: 1px solid rgba(156, 156, 255, .5);
2569 border-radius: 3px;
2570 background-color: #000000;
2571 background-clip: padding-box;
2572}
2573
8ad8bf83
RK
2574/* Highlighter - Node Infobar - text */
2575
a40f6a79
RK
2576#highlighter-nodeinfobar-text {
2577 /* 100% - size of the buttons and margins */
c29b709d 2578 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
2579 padding-bottom: 1px;
2580}
2581
eec397be 2582html|*#highlighter-nodeinfobar-tagname {
8ad8bf83
RK
2583 color: #FFCF00;
2584}
2585
eec397be 2586html|*#highlighter-nodeinfobar-id {
8ad8bf83
RK
2587 color: #9C9CFF;
2588}
2589
a40f6a79 2590html|*#highlighter-nodeinfobar-pseudo-classes {
eec397be 2591 color: #FF9F00;
8ad8bf83
RK
2592}
2593
a40f6a79
RK
2594/* Highlighter - Node Infobar - buttons */
2595
2596.highlighter-nodeinfobar-button {
2597 padding: 0;
2598 width: 26px;
2599 min-height: 26px;
2600}
2601
2602#highlighter-nodeinfobar-inspectbutton {
2603 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2604 -moz-image-region: rect(0px 16px 16px 0px);
2605 -moz-margin-start: 0px;
2606 -moz-margin-end: 2px;
2607}
2608
2609#highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
2610}
2611
2612#highlighter-nodeinfobar-inspectbutton:hover,
2613#highlighter-nodeinfobar-inspectbutton:hover:active/*,
2614#highlighter-nodeinfobar-container:not([locked]) > #highlighter-nodeinfobar > #highlighter-nodeinfobar-inspectbutton*/ {
2615 -moz-image-region: rect(0px 32px 16px 16px);
2616}
2617
2618#highlighter-nodeinfobar-menu {
2619}
2620
2621#highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
2622}
2623
2624#highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
2625 -moz-box-align: center;
2626 -moz-margin-start: -1px;
2627}
2628
2629/* Highlighter - Node Infobar - box & arrow */
2630
8ad8bf83
RK
2631.highlighter-nodeinfobar-arrow {
2632 width: 14px;
2633 height: 14px;
c29b709d 2634 -moz-margin-start: calc(50% - 7px);
71a617ff 2635 transform: rotate(-45deg);
8ad8bf83
RK
2636 border: 1px solid transparent;
2637 background-clip: padding-box;
2638 background-repeat: no-repeat;
2639}
2640
2641#highlighter-nodeinfobar-arrow-top {
2642 margin-bottom: -8px;
2643 margin-top: 8px;
2644 border-right-color: rgba(0, 132, 132, .5);
2645 border-top-color: rgba(0, 132, 132, .5);
2646 background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2647}
2648
2649#highlighter-nodeinfobar-arrow-bottom {
2650 margin-top: -8px;
2651 margin-bottom: 8px;
2652 border-left-color: rgba(0, 132, 132, .5);
2653 border-bottom-color: rgba(0, 132, 132, .5);
2654 background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2655}
2656
2657#highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
2658#highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
2659 box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2660}
2661
2662#highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
2663 margin: 7px 0;
2664}
2665
2666#full-screen-warning-message {
2667 background-color: #000000;
2668 color: #FF9F00;
8ad8bf83
RK
2669 border-radius: 8px;
2670 margin-top: 30px;
2671 padding: 30px 50px;
2672 box-shadow: 0 0 2px #9C9CFF;
2673}
2674
2675#full-screen-warning-container[obscure-browser] {
85cfb236
RK
2676 background-color: rgba(0,0,0,0.3);
2677}
2678
2679.full-screen-description {
2680 font-size: 150%;
2681}
2682
2683#full-screen-domain-text {
2684 font-size: 300%;
8ad8bf83
RK
2685}
2686
85cfb236
RK
2687.full-screen-approval-button,
2688#full-screen-remember-decision {
2689 font-size: 120%;
8ad8bf83
RK
2690}
2691
2692/* Highlighter toolbar - breadcrumbs */
2693
2694#inspector-breadcrumbs {
a40f6a79 2695 -moz-margin-start: 2px;
8ad8bf83
RK
2696}
2697
c5772fdf
RK
2698#inspector-breadcrumbs > .scrollbutton-up,
2699#inspector-breadcrumbs > .scrollbutton-down {
a40f6a79
RK
2700 min-height: 25px;
2701 margin-top: 0;
2702 margin-bottom: 0;
2703}
2704
2705#inspector-breadcrumbs > .scrollbutton-up {
2706 -moz-margin-end: 1px;
2707}
2708
2709#inspector-breadcrumbs > .scrollbutton-down {
2710 -moz-margin-end: 0;
2711}
2712
2713#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover,
2714#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover {
2715}
2716
2717#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon,
2718#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon {
2719 /* margin: 0 5px; */
2720}
2721
2722#inspector-breadcrumbs > .scrollbutton-up[disabled] > .toolbarbutton-icon,
2723#inspector-breadcrumbs > .scrollbutton-down[disabled] > .toolbarbutton-icon {
2724}
2725
2726#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
2727#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
2728}
2729
2730#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(ltr) {
2731 border-top-right-radius: 0;
2732 border-bottom-right-radius: 0;
2733}
2734
2735#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr) {
2736 border-top-left-radius: 0;
2737 border-bottom-left-radius: 0;
2738}
2739
2740#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(rtl) {
2741 border-top-left-radius: 0;
2742 border-bottom-left-radius: 0;
2743}
2744
2745#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl) {
2746 border-top-right-radius: 0;
2747 border-bottom-right-radius: 0;
2748}
2749
2750#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
2751#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
71a617ff 2752/* transform: scaleX(-1); */
c5772fdf
RK
2753}
2754
8ad8bf83 2755.inspector-breadcrumbs-button {
e4cecae1 2756 /*background-color: transparent;*/
c54ac991
RK
2757 border-style: solid;
2758 border-width: 2px 13px;
e4cecae1 2759 outline: none;
8ad8bf83 2760 /* color: hsl(210,30%,85%); */
a40f6a79 2761 width: 85px; /* Can't use max-width. See bug 723132 */
8ad8bf83
RK
2762 /* The content of the button can be larger than the button */
2763 overflow: hidden;
2764 min-height: 25px;
8ad8bf83
RK
2765 margin: 0 -11px 0 0;
2766 padding: 0 9px;
2767}
2768
85cfb236
RK
2769.inspector-breadcrumbs-button:-moz-focusring > .button-box {
2770 border-width: 0;
2771}
2772
a40f6a79
RK
2773.inspector-breadcrumbs-button:-moz-focusring > label {
2774 border-bottom: 1px dotted #008484;
2775}
2776
8ad8bf83
RK
2777.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
2778 /*color: hsl(208,100%,60%); */
2779}
2780
2781.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
2782 /*color: hsl(205,100%,70%); */
2783}
2784
8d7ef0d9
RK
2785.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-pseudo-classes {
2786 color: #FF9F00;
2787}
2788
8ad8bf83
RK
2789.inspector-breadcrumbs-id,
2790.inspector-breadcrumbs-classes {
2791 /*color: #8d99a6; */
2792}
2793
6b43c80b
RK
2794/* fit height of other buttons to breadcrumbs */
2795#inspector-toolbar .devtools-toolbarbutton,
c4338f39
RK
2796#highlighter-closebutton,
2797#inspector-option-toolbarbutton {
6b43c80b
RK
2798 min-height: 25px;
2799}
2800
8d7ef0d9
RK
2801.inspector-breadcrumbs-pseudo-classes {
2802 color: #FFCF00;
2803}
2804
8ad8bf83
RK
2805/* Highlighter toolbar - breadcrumbs - LTR */
2806
2807.inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
8ad8bf83
RK
2808}
2809
2810.inspector-breadcrumbs-button {
c54ac991 2811 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2812}
2813
2814.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
2815.inspector-breadcrumbs-button:not([checked]):hover:active {
c54ac991 2816 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2817}
2818
2819.inspector-breadcrumbs-button[checked] {
c54ac991 2820 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2821}
2822
2823.inspector-breadcrumbs-button[checked][siblings-menu-open],
2824.inspector-breadcrumbs-button[checked]:hover:active {
c54ac991 2825 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2826}
2827
2828.inspector-breadcrumbs-button:first-of-type {
c54ac991 2829 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2830}
2831
2832.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
2833.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
c54ac991 2834 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2835}
2836
2837.inspector-breadcrumbs-button:first-of-type[checked] {
c54ac991 2838 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2839}
2840
2841.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
2842.inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
c54ac991 2843 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2844}
2845
2846.inspector-breadcrumbs-button:last-of-type {
c54ac991 2847 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2848}
2849
a40f6a79
RK
2850#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:-moz-locale-dir(ltr):last-of-type {
2851}
2852
8ad8bf83
RK
2853.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
2854.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
c54ac991 2855 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2856}
2857
2858.inspector-breadcrumbs-button:last-of-type[checked] {
c54ac991 2859 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2860}
2861
2862.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
2863.inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
c54ac991 2864 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2865}
2866
2867/* Highlighter toolbar - breadcrumbs - RTL */
2868
2869.inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
8ad8bf83
RK
2870}
2871
2872.inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
c54ac991 2873 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2874}
2875
2876.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
2877.inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2878 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2879}
2880
2881.inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
c54ac991 2882 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2883}
2884
2885.inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
2886.inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2887 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2888}
2889
2890.inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
c54ac991 2891 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2892}
2893
2894.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
2895.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2896 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2897}
2898
2899.inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2900 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2901}
2902
2903.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
2904.inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2905 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2906}
2907
2908.inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
c54ac991 2909 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2910}
2911
a40f6a79
RK
2912#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
2913}
2914
8ad8bf83
RK
2915.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
2916.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2917 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2918}
2919
2920.inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2921 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2922}
2923
2924.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
2925.inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2926 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83 2927}
8d7ef0d9
RK
2928
2929/* Highlighter toolbar - HTML Tree */
2930
c4338f39
RK
2931#inspector-treepanel-toolbutton {
2932 list-style-image: url("chrome://browser/skin/devtools/treepanel-button.png");
2933 -moz-image-region: rect(0 18px 16px 0);
2934}
2935
2936#inspector-treepanel-toolbutton[checked],
2937#inspector-treepanel-toolbutton:hover {
2938 -moz-image-region: rect(0 36px 16px 18px);
2939}
2940
a40f6a79
RK
2941#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl),
2942#inspector-treepanel-toolbutton:-moz-locale-dir(ltr) {
2943/* border-radius: 3px 0 0 3px;*/
2944}
2945
2946#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr),
2947#inspector-treepanel-toolbutton:-moz-locale-dir(rtl) {
2948/* border-radius: 0 3px 3px 0;*/
2949}
2950
37953ab4
RK
2951/* Highlight toolbar - Option menu */
2952
2953#inspector-option-toolbarbutton:-moz-focusring {
2954 outline: 1px dotted #008484;
2955 outline-offset: -2px;
2956}
2957
2958html|*#gcli-tooltip-frame,
2959html|*#gcli-output-frame {
85cfb236 2960 padding: 0;
37953ab4
RK
2961 border-width: 0;
2962 background-color: transparent;
2963}
2964
2965#gcli-output,
2966#gcli-tooltip {
2967 border-width: 0;
2968 background-color: transparent;
2969 margin-bottom: -2px;
85cfb236
RK
2970}
2971
2972.gclitoolbar-input-node,
2973.gclitoolbar-complete-node,
2974.gclitoolbar-prompt {
37953ab4
RK
2975 margin: 1px 3px;
2976 -moz-box-align: center;
2977 padding-top: 0;
2978 padding-bottom: 0;
2979 padding-right: 4px;
2980 background-color: transparent;
2981 border-radius: 3px;
2982 text-shadow: none;
85cfb236
RK
2983}
2984
2985.gclitoolbar-input-node {
37953ab4
RK
2986 padding-left: 20px;
2987}
2988
2989.gclitoolbar-input-node:not([focused="true"]) {
2990 border-color: transparent;
85cfb236
RK
2991}
2992
2993.gclitoolbar-complete-node {
37953ab4 2994 padding-left: 21px;
85cfb236
RK
2995 background-color: transparent;
2996 color: transparent;
85cfb236
RK
2997}
2998
2999.gclitoolbar-prompt {
37953ab4
RK
3000 padding-left: 4px;
3001 padding-bottom: 2px;
85cfb236
RK
3002 font-size: 150%;
3003 font-weight: bold;
37953ab4
RK
3004 color: #E7ADE7;
3005 background-color: #000000;
85cfb236
RK
3006}
3007
37953ab4 3008.gclitoolbar-prompt-label,
85cfb236
RK
3009.gcli-in-incomplete,
3010.gcli-in-error,
3011.gcli-in-ontab,
3012.gcli-in-todo,
3013.gcli-in-closebrace,
3014.gcli-in-param,
3015.gcli-in-valid {
3016 margin: 0;
3017 padding: 0;
3018}
3019
3020.gcli-in-incomplete {
3021 border-bottom: 2px dotted #8050B0;
3022}
3023
3024.gcli-in-error {
3025 border-bottom: 2px dotted #FF0000;
3026}
3027
3028.gcli-in-ontab {
3029 color: #9C9CFF;
3030}
3031
3032.gcli-in-todo {
3033 color: #795900;
3034}
3035
3036.gcli-in-closebrace {
3037 color: #8050B0;
3038}
3039
37953ab4 3040/* Responsive Mode */
85cfb236 3041
37953ab4
RK
3042vbox[anonid=browserContainer][responsivemode] {
3043 background: #392900 url("chrome://browser/skin/devtools/responsive-background.png");
3044 box-shadow: 0 0 7px #9C9CFF inset;
3045 padding: 0 20px 20px 20px;
3046}
3047
3048stack[anonid=browserStack][responsivemode] {
3049 box-shadow: 0 0 7px #9C9CFF;
3050}
3051
3052.devtools-responsiveui-toolbar {
3053 background: transparent;
3054 margin: 10px 0;
3055 padding: 0;
3056 box-shadow: none;
3057 border-bottom-width: 0;
3058}
3059
3060.devtools-responsiveui-toolbar > menulist,
3061.devtools-responsiveui-toolbar > toolbarbutton {
3062 min-width: 22px;
3063 border-radius: 0;
3064}
3065
3066.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3067.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3068 margin-left: 0;
3069}
3070
3071.devtools-responsiveui-resizebar {
3072 width: 7px;
3073 height: 24px;
3074 cursor: ew-resize;
71a617ff 3075 transform: translate(12px, -12px);
37953ab4
RK
3076 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3077}
3078
3079.devtools-responsiveui-resizehandle {
3080 width: 16px;
3081 height: 16px;
3082 cursor: se-resize;
71a617ff 3083 transform: translate(12px, 12px);
37953ab4 3084 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 3085}
889649fd 3086
c29b709d
RK
3087/* Web Console */
3088
3089.web-console-frame {
3090 /* border-bottom: 3px solid #000000; */
3091}
3092
3093.web-console-frame[animated] {
3094 transition: height 100ms;
3095}
3096
889649fd
RK
3097/* Developer Toolbar */
3098
3099.developer-toolbar-button {
3100 min-width: 78px;
3101 min-height: 21px;
3102 margin: 0 1px;
3103 list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
3104}
3105
c29b709d 3106.developer-toolbar-button[open=true],
889649fd
RK
3107.developer-toolbar-button:active:hover,
3108.developer-toolbar-button[checked=true] {
3109}
3110
3111.developer-toolbar-button[checked=true] {
3112}
3113
3114#developer-toolbar-webconsole {
3115 -moz-image-region: rect(0, 16px, 16px, 0);
3116}
3117
3118#developer-toolbar-inspector {
3119 -moz-image-region: rect(16px, 16px, 32px, 0);
3120}
3121
3122#developer-toolbar-styleeditor {
3123 -moz-image-region: rect(32px, 16px, 48px, 0);
3124}
3125
3126#developer-toolbar-debugger {
3127 -moz-image-region: rect(48px, 16px, 64px, 0);
3128}
3129
3130#developer-toolbar-other-tools {
3131 -moz-image-region: rect(64px, 16px, 80px, 0);
3132}
3133
3134#developer-toolbar-other-tools > .toolbarbutton-menu-dropmarker {
c29b709d 3135 display: none;
889649fd
RK
3136}
3137
3138/* Error counter */
3139
3140#developer-toolbar-webconsole[error-count]:before {
3141 color: #000000;
3142 min-width: 16px;
3143 text-shadow: none;
3144 background-color: #FF0000;
3145 border-radius: 1px;
c29b709d 3146 -moz-margin-end: 5px;
c54ac991 3147}
e9c73590 3148
348c0499 3149/* Social toolbar item */
e9c73590 3150
348c0499
RK
3151#social-provider-button > .toolbarbutton-menu-dropmarker {
3152 display: none;
e9c73590
RK
3153}
3154
348c0499 3155#social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3156}
3157
348c0499 3158#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3159}
3160
348c0499 3161#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:first-child {
e9c73590
RK
3162}
3163
348c0499 3164#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:last-child {
e9c73590
RK
3165}
3166
348c0499
RK
3167.social-notification-icon-hbox {
3168 pointer-events: none;
e9c73590
RK
3169}
3170
348c0499
RK
3171.social-notification-icon-stack > image {
3172 max-height: 20px;
e9c73590
RK
3173}
3174
348c0499
RK
3175.social-notification-icon-label {
3176 text-align: end;
3177 font-size: 9px;
3178 font-weight: bold;
3179 padding: 0 1px;
3180 color: #FF9F00;
3181 background-color: #000000;
3182 border: 1px solid #9C9CFF;
3183 border-radius: 2px;
e9c73590
RK
3184}
3185
348c0499
RK
3186.social-notification-icon-label[value=""] {
3187 display: none;
e9c73590
RK
3188}
3189
348c0499 3190.social-notification-icon-image {
d7cfd768 3191 -moz-image-region: rect(0, 16px, 16px, 0);
348c0499
RK
3192}
3193
3194#social-notification-icon-mentions {
e9c73590 3195 background-color: #000000;
348c0499
RK
3196 border-radius: 3px;
3197 -moz-margin-start: 2px;
e9c73590
RK
3198}
3199
348c0499
RK
3200#social-notification-icon-mentions:hover {
3201 background-color: #FFCF00;
3202}
3203
3204#social-notification-icon-mentions[open="true"] {
3205 background-color: #FF9F00;
e9c73590
RK
3206}
3207
3208#social-sidebar-splitter {
3209 border: 0;
3210}
3211
3212/* social toolbar provider menu */
3213#social-statusarea-popup {
3214 margin-top: 0;
3215 margin-left: -12px;
3216 margin-right: -12px;
3217}
3218
3219#social-statusarea-user {
3220 border-bottom: 1px solid #9C9CFF;
3221 background-color: #000000;
3222 color: #FF9F00;
3223 position: relative;
348c0499 3224 cursor: pointer;
e9c73590
RK
3225}
3226
3227#social-statusarea-user-portrait {
3228 width: 32px;
3229 height: 32px;
3230 border-radius: 2px;
3231 margin: 10px;
e9c73590
RK
3232}
3233
90a244b7
RK
3234#social-statusarea-user > vbox > #social-statusarea-notloggedin,
3235#social-statusarea-user > vbox > #social-statusarea-username {
e9c73590
RK
3236 background: transparent;
3237 border: none;
3238 color: #9C9CFF;
e9c73590
RK
3239 min-width: 0;
3240 margin: 0 6px;
348c0499 3241 list-style-image: none;
e9c73590 3242}
90a244b7
RK
3243
3244#social-statusarea-user[_moz-menuactive] > vbox > #social-statusarea-notloggedin,
3245#social-statusarea-user[_moz-menuactive] > vbox > #social-statusarea-username {
e9c73590
RK
3246 text-decoration: underline;
3247}
3248
348c0499
RK
3249.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3250 padding: 0;
3251}
3252
348c0499
RK
3253.social-panel-frame {
3254 border-radius: inherit;
3255}
e9c73590
RK
3256
3257.chat-status-icon {
3258 max-height: 16px;
3259 max-width: 16px;
3260 padding: 0;
3261}
3262
3263.chat-toolbarbutton {
3264 -moz-appearance: none;
3265 border: none;
3266 padding: 0;
3267 margin: 0;
3268 background: none;
3269}
3270
3271.chat-toolbarbutton > .toolbarbutton-text {
3272 display: none;
3273}
3274
3275.chat-close-button {
348c0499
RK
3276 list-style-image: url('chrome://browser/skin/social/chat-close.png');
3277 -moz-image-region: rect(0, 14px, 14px, 0);
e9c73590
RK
3278}
3279
3280.chat-close-button:hover,
3281.chat-close-button:hover:active {
348c0499 3282 -moz-image-region: rect(14px, 14px, 28px, 0);
e9c73590
RK
3283}
3284
3285.chat-title {
3286 font-weight: bold;
3287 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 3288 text-shadow: none;
348c0499 3289 cursor: inherit;
e9c73590
RK
3290}
3291
3292.chat-titlebar {
3293 background-color: #9C9CFF;
3294 color: #000000;
3295 height: 20px;
fcfb76ce 3296 min-height: 16px;
e9c73590
RK
3297 width: 100%;
3298 margin: 0;
3299 padding: 2px;
348c0499 3300 -moz-padding-start: 6px;
e9c73590
RK
3301 border: none;
3302 border-bottom: 1px solid #008484;
348c0499 3303 cursor: pointer;
e9c73590
RK
3304}
3305
3306.chat-titlebar[minimized="true"] {
3307 border-bottom: none;
3308}
3309
348c0499
RK
3310.chat-titlebar[selected] {
3311 background-color: #008484;
3312}
3313
3314.chat-titlebar[activity] {
3315 background-color: #E7ADE7;
3316}
3317
e9c73590
RK
3318.chat-frame {
3319 padding: 0;
3320 margin: 0;
3321 overflow: hidden;
3322}
3323
3324.chatbar-button {
3325 /* XXX get a real image for this */
3326 list-style-image: url("chrome://browser/skin/social/social.png");
3327 background-color: #000000;
3328 border: none;
3329 margin: 0;
3330 padding: 2px;
3331 height: 21px;
3332 width: 21px;
3333 border-top: 1px solid #008484;
3334 -moz-border-end: 1px solid #008484;
3335}
3336
d7cfd768
RK
3337.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3338 width: auto;
3339 height: auto;
e9c73590
RK
3340 max-height: 16px;
3341 max-width: 16px;
e9c73590
RK
3342}
3343
90a244b7
RK
3344.chatbar-button > .toolbarbutton-icon {
3345 opacity: .6;
3346 -moz-margin-end: 0;
3347}
3348.chatbar-button:hover > .toolbarbutton-icon,
3349.chatbar-button[open="true"] > .toolbarbutton-icon {
3350 opacity: 1;
3351}
3352
3353.chatbar-button[open="true"] {
e9c73590
RK
3354}
3355
e9c73590
RK
3356.chatbar-button > .toolbarbutton-text,
3357.chatbar-button > .toolbarbutton-menu-dropmarker {
3358 display: none;
3359}
3360
90a244b7 3361.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
3362 background-color: #E7ADE7;
3363}
3364
3365.chatbar-button > menupopup > menuitem[activity] {
3366 font-weight: bold;
3367}
3368
e9c73590
RK
3369.chatbar-innerbox {
3370 background: transparent;
90a244b7 3371 margin: -285px 0 0;
e9c73590
RK
3372 overflow: hidden;
3373}
3374
fcfb76ce
RK
3375chatbar {
3376 -moz-margin-end: 20px;
3377}
3378
e9c73590 3379chatbar > chatbox {
fcfb76ce
RK
3380 height: 285px;
3381 width: 260px;
3382 -moz-margin-start: 4px;
e9c73590
RK
3383 background-color: #000000;
3384 border: 1px solid #9C9CFF;
3385 border-bottom: none;
90a244b7
RK
3386 border-top-left-radius: 2.5px;
3387 border-top-right-radius: 2.5px;
e9c73590
RK
3388}
3389
fcfb76ce
RK
3390chatbox[minimized="true"] {
3391 width: 160px;
e9c73590 3392 height: 20px;
e9c73590