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