make searchbar button look good when selection menu is open, make downloads-button...
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
1/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
6
7@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529
RK
8@namespace html url("http://www.w3.org/1999/xhtml");
9
10toolbar {
11 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
12}
acb0e9b8 13
41279e76
RK
14toolbar[type="menubar"][autohide="true"] {
15 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
16}
17
acb0e9b8 18menubar {
319c6529 19 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 20}
21
319c6529
RK
22#menubar-items {
23 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 24}
25
319c6529
RK
26#main-menubar {
27 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
28}
29
63ada306
RK
30/* ::::: primary toolbar ::::: */
31
32.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 33 background-color: #A09090;
63ada306
RK
34}
35
36.toolbar-primary > .toolbar-box > .toolbar-startcap,
37.toolbar-primary > .toolbar-box > .toolbar-endcap {
38 background-color: #9C9CFF;
39}
40
41
319c6529
RK
42#navigator-toolbox {
43}
44
9abeb12c
RK
45#navigator-toolbox::after {
46 content: "";
47 display: -moz-box;
48 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
49 height: 1px;
50}
51#navigator-toolbox[tabsontop=false]::after,
52#main-window[disablechrome] #navigator-toolbox::after {
53 visibility: collapse;
54}
55
319c6529
RK
56#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
57}
58
d54f5b23 59#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
60 /* like menubar */
61 background-color: #6000CF;
62 color: #FF9F00;
63}
d54f5b23 64#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
65 background-color: #8050B0;
66 color: #FF9F00;
67}
68
69#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
70 visibility: hidden;
71}
72#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
73 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
74 visibility: visible;
75}
76
676f0091
RK
77#nav-bar[tabsontop="true"],
78#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
79#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
319c6529
RK
80 /* background-image: -moz-linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
81}
82
319c6529 83#personal-bookmarks {
38cfeb47 84/* min-height: 24px; */
319c6529
RK
85}
86
87#print-preview-toolbar:not(:-moz-lwtheme) {
88 /* -moz-appearance: toolbox; */
acb0e9b8 89}
90
319c6529
RK
91/* ::::: app menu button ::::: */
92
93#appmenu-button {
acb0e9b8 94 background-color: #FF9F00;
319c6529
RK
95 background-clip: padding-box;
96 border-radius: 0;
97 border: none;
319c6529
RK
98 border-right: 3px solid #000000;
99 color: #000000;
100 font-weight: bold;
5305ef8d
RK
101 padding: 1px 1.5em;
102 margin: 0;
103}
104
105#appmenu-button:-moz-locale-dir(rtl) {
106 border-left: 3px solid #000000;
107 border-right: none;
acb0e9b8 108}
109
319c6529
RK
110#main-window[privatebrowsingmode=temporary] #appmenu-button {
111 background-color: #6000CF;
112 color: #FFCF00;
113}
114
b36fc72e
RK
115#appmenu-button:hover:not(:active):not([open]) {
116}
117
118#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
119}
120
319c6529
RK
121#appmenu-button:hover,
122#appmenu-button:hover:active,
123#appmenu-button[open] {
124 background-color: #FFCF00;
125 color: #000000;
126}
127
128#appmenu-button > .button-box > .button-menu-dropmarker {
db6435b4 129 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
319c6529
RK
130 width: auto;
131 height: auto;
132 padding: 0;
133 margin: 0;
5305ef8d
RK
134 border: none;
135 background-color: transparent;
319c6529
RK
136 -moz-margin-start: .5em;
137}
138
db6435b4
RK
139#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
140 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
141}
142
38cfeb47
RK
143#appmenuPrimaryPane > menuitem,
144#appmenuSecondaryPane > menuitem,
145#appmenuPrimaryPane > menu {
146 padding: 2px;
147}
148
d54f5b23 149.splitmenu-menuitem {
38cfeb47
RK
150 -moz-padding-start: 2px;
151 padding-top: 2px;
152 padding-bottom: 2px;
d54f5b23
RK
153 -moz-margin-end: 1px;
154}
155
ab799a7a 156.splitmenu-menu {
38cfeb47
RK
157 padding-top: 2px;
158 padding-bottom: 2px;
319c6529
RK
159 -moz-box-pack: end;
160}
161
162.appmenu-edit-button {
163}
164
165.appmenu-edit-button[disabled="true"] {
166}
167
168#appmenuPrimaryPane {
169 -moz-border-end: 1px solid #9C9CFF;
170}
171/*
172 #appmenu-popup {
173 }
174 #appmenuPrimaryPane {
175 }
176 #appmenuSecondaryPane {
177 }
178 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
179 }
180
181 #appmenuSecondaryPane menupopup {
182 }
183
184 .appmenu-menuseparator {
185 }
186
187 .appmenu-edit-button:not([disabled]):hover {
188 }
189*/
190#appmenuSecondaryPane-spacer {
191 min-height: 1em;
192}
193
9abeb12c
RK
194#appmenu-editmenu {
195 -moz-box-pack: end;
196}
197
319c6529
RK
198#appmenu_print,
199#appmenu_print_popup,
200.appmenu-edit-button,
9abeb12c
RK
201#appmenu-editmenu-cut,
202#appmenu-editmenu-copy,
203#appmenu-editmenu-paste,
319c6529
RK
204#appmenu-quit {
205 list-style-image: url("appmenu-icons.png");
206}
207
9abeb12c
RK
208#appmenu-cut,
209#appmenu-editmenu-cut {
319c6529 210 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 211}
212
143c5409
RK
213#appmenu-cut:hover:not([disabled="true"]),
214#appmenu-editmenu-cut:hover:not([disabled="true"]) {
215 -moz-image-region: rect(16px 16px 32px 0);
216}
217
218#appmenu-cut[disabled="true"],
219#appmenu-editmenu-cut[disabled="true"] {
220 -moz-image-region: rect(32px 16px 48px 0);
221}
222
9abeb12c
RK
223#appmenu-copy,
224#appmenu-editmenu-copy {
319c6529
RK
225 -moz-image-region: rect(0 32px 16px 16px);
226}
227
143c5409
RK
228#appmenu-copy:hover:not([disabled="true"]),
229#appmenu-editmenu-copy:hover:not([disabled="true"]) {
230 -moz-image-region: rect(16px 32px 32px 16px);
231}
232
233#appmenu-copy[disabled="true"],
234#appmenu-editmenu-copy[disabled="true"] {
235 -moz-image-region: rect(32px 32px 48px 16px);
236}
237
9abeb12c
RK
238#appmenu-paste,
239#appmenu-editmenu-paste {
319c6529
RK
240 -moz-image-region: rect(0 48px 16px 32px);
241}
242
143c5409
RK
243#appmenu-paste:hover:not([disabled="true"]),
244#appmenu-editmenu-paste:hover:not([disabled="true"]) {
245 -moz-image-region: rect(16px 48px 32px 32px);
246}
247
248#appmenu-paste[disabled="true"],
249#appmenu-editmenu-paste[disabled="true"] {
250 -moz-image-region: rect(32px 48px 48px 32px);
251}
252
319c6529
RK
253#appmenu_print,
254#appmenu_print_popup {
255 -moz-image-region: rect(0 64px 16px 48px);
256}
257
143c5409
RK
258#appmenu_print:hover:not([disabled="true"]),
259#appmenu_print[open="true"],
260#appmenu_print_popup:hover:not([disabled="true"]) {
261 -moz-image-region: rect(16px 64px 32px 48px);
262}
263
264#appmenu-print[disabled="true"],
265#appmenu_print_popup[disabled="true"] {
266 -moz-image-region: rect(32px 64px 48px 48px);
267}
268
319c6529
RK
269#appmenu-quit {
270 -moz-image-region: rect(0 80px 16px 64px);
271}
272
143c5409
RK
273#appmenu-quit:hover {
274 -moz-image-region: rect(16px 80px 32px 64px);
275}
276
319c6529
RK
277#appmenu-edit-label {
278 -moz-appearance: none;
279 background: transparent;
280 font-style: italic;
281}
282
283#appmenu_bookmarks {
284 list-style-image: url("chrome://browser/skin/places/bookmark.png");
285 -moz-image-region: rect(0px 48px 16px 32px);
286}
287
288#appmenu_privateBrowsing {
289 list-style-image: url("chrome://browser/skin/Privacy-16.png");
290}
291
292#appmenu_addons {
293 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
294}
295
296#BMB_bookmarkThisPage,
297#appmenu_bookmarkThisPage {
298 list-style-image: url("chrome://browser/skin/places/bookmark.png");
299 -moz-image-region: rect(0 16px 16px 0);
300}
301
302/* ::::: titlebar ::::: */
303
5305ef8d
RK
304#titlebar {
305 /* like menubar */
306 background-color: #6000CF;
307 color: #FF9F00;
308}
309#titlebar:-moz-window-inactive {
310 background-color: #8050B0;
311 color: #FF9F00;
312}
313
319c6529 314#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
315 margin-top: -3px;
316 margin-bottom: 3px;
319c6529
RK
317}
318
319#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 320 margin-top: 4px;
319c6529
RK
321}
322
323#titlebar-buttonbox {
5305ef8d
RK
324 margin-top: 5px;
325 -moz-margin-end: 3px;
319c6529
RK
326}
327
328#main-window[sizemode="maximized"] #titlebar-buttonbox {
329}
330
331.titlebar-placeholder[type="appmenu-button"] {
332 margin-left: 4px;
333}
334
335.titlebar-placeholder[type="caption-buttons"] {
336 margin-left: 10px;
337}
338
339/* titlebar command buttons */
340
341#titlebar-min {
5305ef8d
RK
342 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
343}
344
345#titlebar-min:hover {
346 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
347}
348
349#titlebar-max {
5305ef8d
RK
350 list-style-image: url("chrome://browser/skin/win-maximize.gif");
351}
352
353#titlebar-max:hover {
354 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
355}
356
357#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
358 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
359}
360
361#main-window[sizemode="maximized"] #titlebar-max:hover {
362 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
363}
364
365#titlebar-close {
5305ef8d
RK
366 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
367}
368
369#titlebar-close:hover {
370 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 371}
372
373/* ::::: bookmark buttons ::::: */
374
fb1aad97
RK
375/*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
376.bookmark-item > .toolbarbutton-icon {
acb0e9b8 377 width: 16px;
378 height: 16px;
379}
380
381/* Prevent [mode="icons"] from hiding the label */
382.bookmark-item > .toolbarbutton-text {
383 display: -moz-box !important;
384}
385
319c6529
RK
386.bookmark-item > .toolbarbutton-menu-dropmarker {
387 display: none;
388}
389
390#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
c5772fdf 391 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
319c6529
RK
392}
393
394.bookmarks-toolbar-customize {
395 max-width: 15em !important;
8da9da4e 396 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
397}
398
399/* ::::: bookmark menus ::::: */
400
401menu.bookmark-item,
402menuitem.bookmark-item {
403 min-width: 0;
ab799a7a 404 max-width: 32em;
319c6529
RK
405}
406
407.bookmark-item > .menu-iconic-left {
408 margin-top: 0;
409 margin-bottom: 0;
410}
411
412.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
413 -moz-padding-start: 0px;
414}
415
416/* ::::: bookmark items ::::: */
417
418.bookmark-item {
dce90fef 419 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 420 -moz-image-region: auto;
319c6529
RK
421}
422
423.bookmark-item[container] {
424 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 425 -moz-image-region: auto;
319c6529
RK
426}
427
428.bookmark-item[container][open] {
429 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 430 -moz-image-region: auto;
319c6529
RK
431}
432
8da9da4e
RK
433.bookmark-item[container][livemark] {
434 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
435 -moz-image-region: auto;
436}
437
438.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 439 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 440 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
441}
442
eec397be 443.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 444 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
445}
446
319c6529 447.bookmark-item[container][query] {
8da9da4e 448 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
449 -moz-image-region: auto;
450}
451
452.bookmark-item[query][tagContainer] {
453 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
454 -moz-image-region: auto;
455}
456
457.bookmark-item[query][dayContainer] {
8da9da4e 458 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
459 -moz-image-region: auto;
460}
461
462.bookmark-item[query][hostContainer] {
463 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 464 -moz-image-region: auto;
319c6529
RK
465}
466
467.bookmark-item[query][hostContainer][open] {
468 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 469 -moz-image-region: auto;
319c6529
RK
470}
471
b1234db8
RK
472.bookmark-item[cutting] > .toolbarbutton-icon,
473.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
474 opacity: 0.5;
475}
476
477.bookmark-item[cutting] > .toolbarbutton-text,
478.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
479 opacity: 0.7;
480}
481
319c6529
RK
482/* ::::: primary toolbar buttons ::::: */
483
63ada306
RK
484.toolbarbutton-1 {
485 list-style-image: url("chrome://browser/skin/Toolbar.png");
486}
487
488.toolbarbutton-1:not([type="menu-button"]) {
489 -moz-box-orient: vertical;
490}
491
319c6529
RK
492.toolbarbutton-1,
493.toolbarbutton-1 > .toolbarbutton-menubutton-button {
494 min-width: 36px;
495 min-height: 36px;
319c6529
RK
496}
497
ab799a7a
RK
498.toolbarbutton-1:not([type="menu-button"]) {
499 -moz-box-orient: vertical;
319c6529
RK
500}
501
502.toolbarbutton-1,
503.toolbarbutton-1 > .toolbarbutton-menubutton-button,
504.toolbarbutton-1[disabled="true"]:hover:active,
505.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
506 padding: 1px 2px;
507}
508
509.toolbarbutton-1:hover:active,
510.toolbarbutton-1[open="true"],
511.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
512 padding-top: 2px;
513 padding-bottom: 0px;
514 -moz-padding-start: 3px;
515 -moz-padding-end: 1px;
516}
517
319c6529
RK
518/* ::::: small primary toolbar buttons ::::: */
519
9abeb12c
RK
520#nav-bar {
521 /* force iconsize="small" on this toolbar */
522 counter-reset: smallicons;
523}
524
319c6529
RK
525toolbar[mode="text"] .toolbarbutton-1,
526toolbar[mode="icons"] .toolbarbutton-1,
527toolbar[iconsize="small"] .toolbarbutton-1,
528:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
529toolbar[mode="text"] .toolbarbutton-menubutton-button,
530toolbar[mode="icons"] .toolbarbutton-menubutton-button,
531toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
532:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
533 min-width: 0px;
534 min-height: 0px;
535}
536
537toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
538 padding-top: 4px;
539 padding-bottom: 8px;
540 -moz-padding-start: 1px;
541 -moz-padding-end: 1px;
542}
543
544toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
545toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
546:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
547 padding-top: 0px;
548 padding-bottom: 13px;
549 -moz-padding-start: 1px;
550 -moz-padding-end: 1px;
551}
552
553toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
554toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
555 padding-top: 5px;
556 padding-bottom: 7px;
557 -moz-padding-start: 0px;
558 -moz-padding-end: 2px;
559}
560
561toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
562toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
563toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
564toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
565:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
566:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
567 padding-top: 1px;
568 padding-bottom: 12px;
569 -moz-padding-start: 0px;
570 -moz-padding-end: 2px;
571}
572
573toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
574 padding-top: 4px !important;
575 padding-bottom: 8px !important;
576 -moz-padding-start: 1px !important;
577 -moz-padding-end: 1px !important;
578}
579
580toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
581toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
582 padding-top: 0px !important;
583 padding-bottom: 13px !important;
584 -moz-padding-start: 1px !important;
585 -moz-padding-end: 1px !important;
586}
587
588toolbar[mode="icons"] .toolbarbutton-text,
589toolbar[mode="text"] .toolbarbutton-icon {
590 display: none;
591}
592
593toolbar[mode="text"] .toolbarbutton-text {
594 padding: 4px 0;
595}
596
597toolbar[mode="text"] .toolbarbutton-1,
598toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
599 -moz-box-orient: horizontal;
600}
601
602toolbar[mode="full"] .toolbarbutton-1,
603toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
604 min-width: 30px;
605}
606
d54f5b23 607#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
608}
609
610#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
611}
612
613
319c6529
RK
614/* unified back/forward button */
615
616#back-button {
617 -moz-image-region: rect(0, 18px, 18px, 0);
618 -moz-margin-end: 0;
619}
620
38cfeb47
RK
621#back-button:not([disabled="true"]):hover {
622 -moz-image-region: rect(18px, 18px, 36px, 0);
623}
624
625#back-button[disabled="true"] {
626 -moz-image-region: rect(36px, 18px, 54px, 0);
627}
628
319c6529
RK
629#forward-button {
630 -moz-image-region: rect(0, 36px, 18px, 18px);
631 border-left: none;
632 -moz-margin-start: 0;
633}
634
38cfeb47
RK
635#forward-button:not([disabled="true"]):hover {
636 -moz-image-region: rect(18px, 36px, 36px, 18px);
637}
638
639#forward-button[disabled="true"] {
640 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
641}
642
319c6529
RK
643#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
644#forward-button:-moz-locale-dir(rtl),
645#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
71a617ff 646 transform: scaleX(-1);
319c6529
RK
647}
648
b36fc72e
RK
649#nav-bar #back-button {
650 -moz-margin-end: 0 !important;
651}
652
653#nav-bar #forward-button {
654 border-left-style: none;
655 -moz-margin-start: 0 !important;
656}
657
658#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
659 border-top-right-radius: 0;
660 border-bottom-right-radius: 0;
661}
662
b36fc72e
RK
663#nav-bar #back-button:-moz-locale-dir(rtl),
664#nav-bar #forward-button {
319c6529
RK
665 border-top-left-radius: 0;
666 border-bottom-left-radius: 0;
667}
668
676f0091
RK
669window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
670 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
671 #unified-back-forward-button > #back-button {
319c6529
RK
672 border-radius: 10000px;
673 width: 30px;
674 height: 30px;
675 position: relative;
676 z-index: 1;
677 margin-top: -2px;
678 margin-bottom: -2px;
679 border: none;
38cfeb47
RK
680 -moz-image-region: rect(54px, 20px, 74px, 0);
681}
682
676f0091
RK
683window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
684 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
685 #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
686window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
687 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
688 #unified-back-forward-button > #back-button[open="true"] {
38cfeb47
RK
689 -moz-image-region: rect(54px, 40px, 74px, 20px);
690}
691
676f0091
RK
692window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
693 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
694 #unified-back-forward-button > #back-button[disabled="true"] {
38cfeb47 695 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
696}
697
676f0091
RK
698window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
699 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
700 #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
701}
702
676f0091
RK
703window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
704 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
705 #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
706window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
707 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
708 #unified-back-forward-button > #back-button[open="true"] {
319c6529
RK
709}
710
9abeb12c
RK
711#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
712#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
713/* padding-top: 3px;
714 padding-bottom: 5px; */
715}
716
9abeb12c
RK
717#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
718#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
719/* padding-top: 5px; */
720}
721
676f0091
RK
722window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
723 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
724 #unified-back-forward-button > #forward-button {
319c6529 725 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
2a5b7882 726 /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
9abeb12c 727 -moz-margin-start: -6px !important;
319c6529
RK
728 padding-left: 7px;
729 padding-right: 3px;
e8519ae0
RK
730 margin-top: 2px;
731 margin-bottom: 2px;
732}
733
676f0091
RK
734window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
735 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
736 #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
e8519ae0
RK
737 border-top-right-radius: 11px;
738 border-bottom-right-radius: 11px;
739}
740
676f0091
RK
741window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
742 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
743 #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
e8519ae0
RK
744 border-top-left-radius: 11px;
745 border-bottom-left-radius: 11px;
319c6529
RK
746}
747
319c6529
RK
748.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
749.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
750 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
751}
752
753.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
754.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
755 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
319c6529
RK
756}
757
758.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
759.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
760 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
761}
762
763.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
764.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
765 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
319c6529
RK
766}
767
8ad8bf83
RK
768window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
769 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
770 #unified-back-forward-button > #forward-button {
e8519ae0 771/* border-top-right-radius: 0;
8ad8bf83 772 border-bottom-right-radius: 0;
e8519ae0 773 -moz-margin-end: 0; */
8ad8bf83
RK
774}
775
776window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
777 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
778 #unified-back-forward-button:not([switchingtabs]) > #forward-button {
71a617ff 779 transition: opacity 150ms ease-out;
8ad8bf83
RK
780}
781
782window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
783 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
784 #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
785 opacity: 0;
786}
787
e8519ae0
RK
788window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
789 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
790 #unified-back-forward-button:hover > #forward-button[disabled] {
791 background-color: transparent;
792}
793
319c6529
RK
794/* stop button */
795
796#stop-button {
797 -moz-image-region: rect(0, 54px, 18px, 36px);
798}
799
143c5409
RK
800#stop-button:not([disabled="true"]):hover {
801 -moz-image-region: rect(18px, 54px, 36px, 36px);
802}
803
804#stop-button[disabled="true"] {
805 -moz-image-region: rect(36px, 54px, 54px, 36px);
806}
807
319c6529
RK
808/* reload button */
809
810#reload-button {
811 -moz-image-region: rect(0, 72px, 18px, 54px);
812}
813
143c5409
RK
814#reload-button:not([disabled="true"]):hover {
815 -moz-image-region: rect(18px, 72px, 36px, 54px);
816}
817
818#reload-button[disabled="true"] {
819 -moz-image-region: rect(36px, 72px, 54px, 54px);
820}
821
319c6529
RK
822/* home button */
823
824#home-button.bookmark-item {
825 list-style-image: url("chrome://browser/skin/Toolbar.png");
826}
827#home-button {
828 -moz-image-region: rect(0, 90px, 18px, 72px);
829}
830
143c5409
RK
831#home-button:not([disabled="true"]):hover {
832 -moz-image-region: rect(18px, 90px, 36px, 72px);
833}
834
835#home-button[disabled="true"] {
836 -moz-image-region: rect(36px, 90px, 54px, 72px);
837}
838
319c6529
RK
839/* tabview button */
840
d54f5b23
RK
841#tabview-button,
842#menu_tabview {
319c6529 843 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
d54f5b23
RK
844}
845
846#tabview-button {
319c6529
RK
847 -moz-image-region: rect(0, 90px, 18px, 72px);
848}
849
850#tabview-button[groups="0"] {
851 -moz-image-region: rect(0, 18px, 18px, 0);
852}
853
854#tabview-button[groups="1"] {
855 -moz-image-region: rect(0, 36px, 18px, 18px);
856}
857
858#tabview-button[groups="2"] {
859 -moz-image-region: rect(0, 54px, 18px, 36px);
860}
861
862#tabview-button[groups="3"] {
863 -moz-image-region: rect(0, 72px, 18px, 54px);
864}
865
d54f5b23
RK
866#menu_tabview {
867 -moz-image-region: rect(1px, 89px, 17px, 73px);
868}
869
870#menu_tabview[groups="0"] {
871 -moz-image-region: rect(1px, 17px, 17px, 1px);
872}
873
874#menu_tabview[groups="1"] {
875 -moz-image-region: rect(1px, 35px, 17px, 19px);
876}
877
878#menu_tabview[groups="2"] {
879 -moz-image-region: rect(1px, 53px, 17px, 37px);
880}
881
882#menu_tabview[groups="3"] {
883 -moz-image-region: rect(1px, 71px, 17px, 55px);
884}
885
319c6529
RK
886/* download manager button */
887
888#downloads-button {
889 -moz-image-region: rect(0, 108px, 18px, 90px);
890}
891
143c5409
RK
892#downloads-button:not([disabled="true"]):hover {
893 -moz-image-region: rect(18px, 108px, 36px, 90px);
894}
895
896#downloads-button[disabled="true"] {
897 -moz-image-region: rect(36px, 108px, 54px, 90px);
898}
899
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 {
8da9da4e 922 list-style-image: url("chrome://browser/skin/Toolbar.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 {
8da9da4e 927 /* list-style-image: url("chrome://browser/skin/Toolbar.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]) {
8da9da4e 1073 list-style-image: url("chrome://browser/skin/Toolbar.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
1439#identity-box.verifiedIdentity:hover,
1440#identity-box.verifiedIdentity:hover:active,
1441#identity-box.verifiedIdentity[open=true] {
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
RK
1775#TabsToolbar[tabsontop="false"] {
1776 border-bottom: 1px solid #FF9F00;
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
38cfeb47
RK
1946.tabs-newtab-button:hover,
1947#TabsToolbar > #new-tab-button:hover {
319c6529 1948 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1949}
319c6529
RK
1950
1951#alltabs-button {
1952 list-style-image: url("chrome://browser/skin/tabbrowser/alltabs.png");
1953 -moz-image-region: rect(0, 14px, 16px, 0);
acb0e9b8 1954}
1955
8da9da4e 1956#alltabs-button:hover,
319c6529
RK
1957#alltabs-button:hover:active {
1958 -moz-image-region: rect(0, 28px, 16px, 14px);
acb0e9b8 1959}
319c6529
RK
1960
1961#alltabs-button[type="menu"] {
8da9da4e
RK
1962 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
1963 -moz-image-region: auto;
acb0e9b8 1964}
1965
319c6529
RK
1966#alltabs-button[type="menu"] > .toolbarbutton-menu-dropmarker {
1967 display: none;
acb0e9b8 1968}
319c6529 1969
8da9da4e 1970#alltabs-button[type="menu"]:hover,
319c6529
RK
1971#alltabs-button[type="menu"]:hover:active,
1972#alltabs-button[type="menu"][open="true"] {
8da9da4e
RK
1973 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
1974 -moz-image-region: auto;
acb0e9b8 1975}
319c6529
RK
1976
1977/* All tabs menupopup */
1978.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 1979 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1980 -moz-image-region: auto;
acb0e9b8 1981}
1982
319c6529
RK
1983.alltabs-item[selected="true"] {
1984 font-weight: bold;
acb0e9b8 1985}
319c6529
RK
1986
1987.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
1988 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 1989}
319c6529 1990
85cfb236 1991.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
1992 background-color: #402800;
1993}
1994
319c6529
RK
1995/* Tabstrip close button */
1996.tabs-closebutton {
1997 -moz-box-flex: 1;
1998 margin: 0px;
1999 padding: 2px;
2000 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 2001}
2002
b36fc72e
RK
2003.tabs-closebutton > .toolbarbutton-icon {
2004}
2005
8da9da4e
RK
2006.tabs-closebutton > .toolbarbutton-text {
2007 display: none;
2008}
2009
319c6529
RK
2010.tabs-closebutton:hover,
2011.tabs-closebutton:hover:active {
2012 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2013}
319c6529
RK
2014
2015toolbarbutton.chevron {
2016 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2017}
319c6529
RK
2018
2019toolbarbutton.chevron:hover {
2020 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2021}
2022
319c6529
RK
2023toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2024toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2025 transform: scaleX(-1);
acb0e9b8 2026}
319c6529
RK
2027
2028toolbarbutton.chevron > .toolbarbutton-text,
2029toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2030 display: none;
acb0e9b8 2031}
319c6529
RK
2032
2033toolbarbutton.chevron > .toolbarbutton-icon {
2034 margin: 0;
acb0e9b8 2035}
2036
319c6529
RK
2037toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2038 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 2039}
319c6529
RK
2040
2041#sidebar-throbber[loading="true"] {
2042 list-style-image: url("chrome://global/skin/icons/loading.gif");
2043 -moz-margin-end: 4px;
acb0e9b8 2044}
319c6529
RK
2045
2046/* Bookmarks toolbar */
2047#PlacesToolbarDropIndicator {
8da9da4e 2048 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2049}
2050
319c6529
RK
2051toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2052 background-color: #008484 !important;
2053 color: #FFCF00 !important;
613daf44 2054}
319c6529
RK
2055
2056/* rules for menupopup drop indicators */
2057.menupopup-drop-indicator-bar {
2058 position: relative;
2059 /* these two margins must together compensate the indicator's height */
2060 margin-top: -1px;
2061 margin-bottom: -1px;
613daf44 2062}
319c6529
RK
2063
2064.menupopup-drop-indicator {
2065 list-style-image: none;
2066 height: 2px;
2067 -moz-margin-end: -4em;
2068 background-color: #008484;
613daf44 2069}
2070
319c6529
RK
2071/* ::::: Identity Indicator Styling ::::: */
2072
2073/* Popup Icons */
2074#identity-popup-icon {
2075 height: 64px;
2076 width: 64px;
2077 padding: 0;
2078 list-style-image: url("chrome://browser/skin/identity.png");
2079 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2080}
319c6529
RK
2081
2082#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2083 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2084}
319c6529
RK
2085
2086#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2087 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2088}
2089
319c6529
RK
2090/* Popup Body Text */
2091.identity-popup-description {
2092 white-space: pre-wrap;
2093 -moz-padding-start: 15px;
2094 margin: 2px 0 4px;
613daf44 2095}
319c6529
RK
2096
2097.identity-popup-label {
2098 white-space: pre-wrap;
2099 -moz-padding-start: 15px;
2100 margin: 0;
613daf44 2101}
319c6529 2102
5517da5a 2103#identity-popup-content-host,
319c6529
RK
2104#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2105 font-size: 1.2em;
613daf44 2106}
2107
319c6529
RK
2108#identity-popup-content-host {
2109 margin-top: 3px;
2110 margin-bottom: 5px;
2111 font-weight: bold;
2112 max-width: 300px;
2113}
613daf44 2114
319c6529
RK
2115#identity-popup-content-owner {
2116 margin-top: 4px;
2117 margin-bottom: 0 !important;
2118 font-weight: bold;
2119 max-width: 300px;
2120}
613daf44 2121
319c6529
RK
2122.verifiedDomain > #identity-popup-content-owner {
2123 font-weight: normal;
613daf44 2124}
2125
319c6529
RK
2126#identity-popup-content-verifier {
2127 margin: 4px 0 2px;
613daf44 2128}
2129
319c6529
RK
2130#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2131#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2132 margin-top: 10px;
2133 -moz-margin-start: -24px;
613daf44 2134}
2135
319c6529
RK
2136#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2137#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2138 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2139}
2140
319c6529
RK
2141#identity-popup-more-info-button {
2142 margin-top: 6px;
2143 margin-bottom: 0;
2144 -moz-margin-end: 0;
613daf44 2145}
acb0e9b8 2146
319c6529
RK
2147.popup-notification-icon {
2148 width: 64px;
2149 height: 64px;
2150 -moz-margin-end: 10px;
2151}
acb0e9b8 2152
319c6529
RK
2153.popup-notification-icon[popupid="geolocation"] {
2154 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2155}
2156
319c6529
RK
2157.popup-notification-icon[popupid="xpinstall-disabled"],
2158.popup-notification-icon[popupid="addon-progress"],
2159.popup-notification-icon[popupid="addon-install-cancelled"],
2160.popup-notification-icon[popupid="addon-install-blocked"],
2161.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2162.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2163 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2164 width: 32px;
2165 height: 32px;
acb0e9b8 2166}
319c6529 2167
a40f6a79 2168.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2169 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2170}
2171
319c6529
RK
2172.addon-progress-description {
2173 width: 350px;
2174 max-width: 350px;
acb0e9b8 2175}
319c6529
RK
2176
2177.popup-progress-label,
2178.popup-progress-meter {
2179 -moz-margin-start: 0;
2180 -moz-margin-end: 0;
acb0e9b8 2181}
319c6529
RK
2182
2183.popup-progress-cancel {
2184 -moz-appearance: none;
2185 background: transparent;
2186 border: none;
2187 padding: 0;
2188 margin: 0;
2189 min-height: 0;
2190 min-width: 0;
2191 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2192 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2193}
319c6529
RK
2194
2195.popup-progress-cancel:hover {
2196 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2197}
2198
319c6529
RK
2199.popup-progress-cancel:active {
2200 -moz-image-region: rect(32px, 32px, 48px, 16px);
2201}
acb0e9b8 2202
319c6529
RK
2203.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2204.popup-notification-icon[popupid="indexedDB-quota-prompt"] {
2205 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2206}
2207
319c6529
RK
2208.popup-notification-icon[popupid="password-save"],
2209.popup-notification-icon[popupid="password-change"] {
2210 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2211}
2212
8d7ef0d9
RK
2213.popup-notification-icon[popupid="webapps-install"] {
2214 list-style-image: url("chrome://browser/skin/webapps-64.png");
2215}
2216
7bc075b6
RK
2217.popup-notification-icon[popupid="webRTC-shareDevices"] {
2218 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2219}
2220
319c6529
RK
2221/* Notification icon box */
2222#notification-popup-box {
f993773d
RK
2223 position: relative;
2224 background-color: #000000;
2225 background-clip: padding-box;
2226 padding-left: 3px;
5517da5a 2227 padding-right: 8px;
f0eab82c 2228 border-radius: 3px 0 0 3px;
f993773d
RK
2229 -moz-border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2230 -moz-margin-end: -8px;
5517da5a 2231 border-right-width: 8px;
f993773d
RK
2232}
2233
8ad8bf83
RK
2234window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2235 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2236 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
5517da5a 2237/* padding-left: 5px; */
f993773d
RK
2238}
2239
2240#notification-popup-box:-moz-locale-dir(rtl),
2241.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2242 transform: scaleX(-1);
319c6529 2243}
acb0e9b8 2244
319c6529 2245.notification-anchor-icon {
acb0e9b8 2246 width: 16px;
2247 height: 16px;
85cfb236 2248 margin: 0 2px;
acb0e9b8 2249}
2250
319c6529 2251.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2252 outline: 1px dotted #008484;
2253/* outline-offset: -3px; */
acb0e9b8 2254}
2255
ab799a7a
RK
2256#default-notification-icon {
2257 list-style-image: url("chrome://global/skin/icons/information-16.png");
2258}
2259
9585a561
RK
2260#identity-notification-icon {
2261 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2262}
2263
319c6529
RK
2264#geo-notification-icon {
2265 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2266}
2267
319c6529
RK
2268#addons-notification-icon {
2269 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2270}
2271
319c6529
RK
2272#indexedDB-notification-icon {
2273 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2274}
2275
319c6529
RK
2276#password-notification-icon {
2277 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2278}
2279
8d7ef0d9
RK
2280#webapps-notification-icon {
2281 list-style-image: url("chrome://browser/skin/webapps-16.png");
2282}
2283
a40f6a79
RK
2284#plugins-notification-icon {
2285 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
2286}
2287
990cba4b
RK
2288#blocked-plugins-notification-icon {
2289 list-style-image: url("chrome://mozapps/skin/plugins/notifyPluginBlocked.png");
2290}
2291
2292#blocked-plugins-notification-icon[showing] {
2293 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
2294}
2295
2296@keyframes pluginBlockedNotification {
2297 from {
2298 opacity: 0;
2299 }
2300 to {
2301 opacity: 1;
2302 }
2303}
2304
7bc075b6
RK
2305#webRTC-notification-icon {
2306 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
2307}
2308
319c6529
RK
2309#identity-popup-container {
2310 min-width: 280px;
2311}
acb0e9b8 2312
319c6529
RK
2313#download-monitor {
2314 list-style-image: url("chrome://browser/skin/Toolbar.png");
2315 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 2316}
2317
319c6529
RK
2318/* Bookmarks roots menu-items */
2319#appmenu_subscribeToPage:not([disabled]),
2320#appmenu_subscribeToPageMenu,
2321#subscribeToPageMenuitem:not([disabled]),
2322#subscribeToPageMenupopup,
2323#BMB_subscribeToPageMenuitem:not([disabled]),
2324#BMB_subscribeToPageMenupopup {
2325 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 2326}
2327
319c6529
RK
2328#bookmarksToolbarFolderMenu,
2329#appmenu_bookmarksToolbar,
2330#BMB_bookmarksToolbar {
8da9da4e 2331 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
2332 -moz-image-region: auto;
2333}
acb0e9b8 2334
319c6529
RK
2335#appmenu_unsortedBookmarks,
2336#BMB_unsortedBookmarks {
8da9da4e 2337 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 2338 -moz-image-region: auto;
acb0e9b8 2339}
2340
319c6529 2341/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 2342
319c6529
RK
2343.KUI-panel {
2344 color: #FF9F00;
2345 border-style: none;
2346 border-radius: 20px;
acb0e9b8 2347}
2348
319c6529
RK
2349.KUI-panel[level="top"] {
2350 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 2351}
2352
319c6529
RK
2353.KUI-panel-closebutton {
2354 list-style-image: url("KUI-close.png");
2355 width: 24px;
2356 height: 24px;
acb0e9b8 2357}
2358
319c6529 2359.KUI-panel-closebutton:not(:hover) {
acb0e9b8 2360}
2361
319c6529 2362.KUI-panel-closebutton > .toolbarbutton-icon {
acb0e9b8 2363}
2364
319c6529 2365/* ::::: Ctrl-Tab and All Tabs Panels ::::: */
acb0e9b8 2366
319c6529
RK
2367/* Ctrl-Tab */
2368
2369#ctrlTab-panel {
2370 padding: 20px 10px 10px;
2371 font-weight: bold;
acb0e9b8 2372}
2373
319c6529
RK
2374.ctrlTab-favicon[src] {
2375 background-color: #000000;
2376 width: 20px;
2377 height: 20px;
2378 padding: 2px;
2379}
acb0e9b8 2380
319c6529 2381.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 2382}
2383
319c6529
RK
2384.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2385 margin-bottom: 2px;
acb0e9b8 2386}
2387
319c6529
RK
2388.ctrlTab-preview-inner {
2389 padding-bottom: 10px;
acb0e9b8 2390}
2391
319c6529
RK
2392#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2393 padding: 10px;
2394 background-color: #000000;
2395 border-radius: .5em;
acb0e9b8 2396}
2397
319c6529
RK
2398.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2399 color: white;
2400 background-color: #000000;
2401 text-shadow: none;
2402 padding: 8px;
2403 border: 2px solid #9C9CFF;
2404 border-radius: .5em;
acb0e9b8 2405}
2406
319c6529
RK
2407.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2408 margin: -10px -10px 0;
acb0e9b8 2409}
2410
319c6529
RK
2411#ctrlTab-showAll {
2412 margin-top: .5em;
acb0e9b8 2413}
2414
319c6529
RK
2415/* All Tabs */
2416
2417#allTabs-panel {
2418 padding-bottom: 10px;
613daf44 2419}
2420
319c6529
RK
2421#allTabs-meta {
2422 margin: 10px;
613daf44 2423}
2424
319c6529
RK
2425#allTabs-filter {
2426 -moz-margin-start: 24px;
2427 -moz-margin-end: 0;
2428}
acb0e9b8 2429
319c6529 2430#allTabs-tab-close-button > .toolbarbutton-icon {
acb0e9b8 2431 margin: 0;
acb0e9b8 2432}
319c6529
RK
2433
2434.allTabs-favicon[src] {
2435 width: 22px;
2436 height: 22px;
2437 padding-top: 1px;
2438 padding-bottom: 5px;
2439 -moz-padding-start: 1px;
2440 -moz-padding-end: 5px;
2441 margin-top: -2px;
2442 -moz-margin-start: -2px;
2443 border-bottom-right-radius: 4px;
acb0e9b8 2444}
2445
319c6529
RK
2446.allTabs-favicon[src]:-moz-locale-dir(rtl) {
2447 border-bottom-right-radius: 0;
2448 border-bottom-left-radius: 4px;
acb0e9b8 2449}
319c6529
RK
2450
2451.allTabs-preview-inner > .tabPreview-canvas {
2452 background-color: #E7ADE7;
acb0e9b8 2453}
2454
319c6529 2455.allTabs-preview:not(:hover):not([closebuttonhover]) > html|canvas {
acb0e9b8 2456}
319c6529
RK
2457
2458.allTabs-preview:focus > * > .allTabs-preview-inner {
2459 outline: 1px dotted #008484;
acb0e9b8 2460}
2461
b36fc72e
RK
2462/* Add-on bar */
2463
2464#addon-bar {
2465 min-height: 20px;
2466 border-top: 3px solid #000000;
3e6e0e5c 2467 border-bottom-width: 0;
b36fc72e
RK
2468}
2469
2470#addon-bar .toolbar-holder {
2471 background-color: #8050B0;
2472 color: #FFCF00;
2473}
2474
2475#addon-bar .toolbar-holder {
2476 background-color: #8050B0;
2477 color: #FFCF00;
2478}
2479
2480#addon-bar .toolbar-startcap,
2481#addon-bar .toolbar-endcap{
2482 background-color: #6000CF;
2483}
2484
319c6529 2485#status-bar {
b36fc72e 2486 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2487 margin-top: .3em;
2488 border-width: 0;
613daf44 2489}
2490
e0c47e26
RK
2491#addon-bar[customizing] > #status-bar {
2492 opacity: .5;
2493/* background-image: -moz-repeating-linear-gradient(-45deg,
2494 rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2495 rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2496}
2497
319c6529
RK
2498/* Remove all borders from statusbarpanel children of
2499 the statusbar.
2500#status-bar > statusbarpanel {
2501 border-width: 0;
2502} */
2503
319c6529
RK
2504#addonbar-closebutton {
2505 border: none;
2506 padding: 3px 5px;
2507 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2508}
2509
319c6529
RK
2510#addonbar-closebutton:hover,
2511#addonbar-closebutton:hover:active {
2512 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2513}
9abeb12c
RK
2514
2515/* Status panel */
2516
2517.statuspanel-label {
2518 margin: 0;
2519 padding: 2px 4px;
38cfeb47 2520 background: #404000;
9abeb12c
RK
2521 border: 1px none #9C9CFF;
2522 border-top-style: solid;
2523 color: #FF9F00;
2524 text-shadow: none;
2525}
2526
2527.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2528.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2529 border-right-style: solid;
2530 border-top-right-radius: .3em;
2531 margin-right: 1em;
2532}
2533
2534.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2535.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2536 border-left-style: solid;
2537 border-top-left-radius: .3em;
2538 margin-left: 1em;
2539}
3e6e0e5c
RK
2540
2541/* HACK to abolish devily color on main content */
2542
2543#content {
2544 background-color: transparent !important;
2545}
dce90fef
RK
2546
2547/* Highlighter */
2548
fcfb76ce
RK
2549#highlighter-outline {
2550 box-shadow: 0 0 0 1px black;
2551 outline: 1px dashed white;
dce90fef
RK
2552}
2553
fcfb76ce
RK
2554#highlighter-outline[locked] {
2555 box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2556 outline-color: rgba(255,255,255,0.7);
dce90fef 2557}
4c765db1 2558
8ad8bf83
RK
2559/* Highlighter toolbar */
2560
8d7ef0d9
RK
2561#inspector-inspect-toolbutton {
2562 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
c4338f39 2563 -moz-image-region: rect(0 16px 16px 0);
8d7ef0d9
RK
2564}
2565
c4338f39 2566#inspector-inspect-toolbutton[checked=true],
8d7ef0d9 2567#inspector-inspect-toolbutton:hover {
c4338f39
RK
2568 -moz-image-region: rect(0 32px 16px 16px);
2569}
2570
37953ab4
RK
2571#inspector-toolbar,
2572#developer-toolbar {
8ad8bf83
RK
2573 border-top: 3px solid #000000;
2574 border-bottom: none;
2575}
2576
37953ab4
RK
2577#developer-toolbar .toolbar-holder {
2578 background-color: #8050B0;
2579 color: #FFCF00;
2580}
2581
2582#developer-toolbar .toolbar-holder {
2583 background-color: #8050B0;
2584 color: #FFCF00;
2585}
2586
2587#developer-toolbar .toolbar-startcap,
2588#developer-toolbar .toolbar-endcap{
2589 background-color: #6000CF;
2590}
2591
8ad8bf83 2592#inspector-tools {
8ad8bf83
RK
2593 -moz-padding-end: 2px;
2594 border-left: 3px solid #000000;
2595 border-right: 3px solid #000000;
2596 -moz-margin-start: 2px;
8ad8bf83
RK
2597}
2598
c5772fdf
RK
2599#devtools-sidebar-box {
2600 background-color: #000000;
4c765db1 2601}
8ad8bf83 2602
8d7ef0d9
RK
2603html|*#highlighter-nodeinfobar-pseudo-classes {
2604 color: #FF9F00;
8ad8bf83
RK
2605}
2606
8ad8bf83
RK
2607/* Highlighter - Node Infobar */
2608
a40f6a79
RK
2609#highlighter-nodeinfobar {
2610 color: #FF9F00;
2611 border: 1px solid rgba(156, 156, 255, .5);
2612 border-radius: 3px;
2613 background-color: #000000;
2614 background-clip: padding-box;
2615}
2616
8ad8bf83
RK
2617/* Highlighter - Node Infobar - text */
2618
a40f6a79
RK
2619#highlighter-nodeinfobar-text {
2620 /* 100% - size of the buttons and margins */
c29b709d 2621 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
2622 padding-bottom: 1px;
2623}
2624
eec397be 2625html|*#highlighter-nodeinfobar-tagname {
8ad8bf83
RK
2626 color: #FFCF00;
2627}
2628
eec397be 2629html|*#highlighter-nodeinfobar-id {
8ad8bf83
RK
2630 color: #9C9CFF;
2631}
2632
a40f6a79 2633html|*#highlighter-nodeinfobar-pseudo-classes {
eec397be 2634 color: #FF9F00;
8ad8bf83
RK
2635}
2636
a40f6a79
RK
2637/* Highlighter - Node Infobar - buttons */
2638
2639.highlighter-nodeinfobar-button {
2640 padding: 0;
2641 width: 26px;
2642 min-height: 26px;
2643}
2644
2645#highlighter-nodeinfobar-inspectbutton {
2646 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2647 -moz-image-region: rect(0px 16px 16px 0px);
2648 -moz-margin-start: 0px;
2649 -moz-margin-end: 2px;
2650}
2651
2652#highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
2653}
2654
2655#highlighter-nodeinfobar-inspectbutton:hover,
2656#highlighter-nodeinfobar-inspectbutton:hover:active/*,
2657#highlighter-nodeinfobar-container:not([locked]) > #highlighter-nodeinfobar > #highlighter-nodeinfobar-inspectbutton*/ {
2658 -moz-image-region: rect(0px 32px 16px 16px);
2659}
2660
2661#highlighter-nodeinfobar-menu {
2662}
2663
2664#highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
2665}
2666
2667#highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
2668 -moz-box-align: center;
2669 -moz-margin-start: -1px;
2670}
2671
2672/* Highlighter - Node Infobar - box & arrow */
2673
8ad8bf83
RK
2674.highlighter-nodeinfobar-arrow {
2675 width: 14px;
2676 height: 14px;
c29b709d 2677 -moz-margin-start: calc(50% - 7px);
71a617ff 2678 transform: rotate(-45deg);
8ad8bf83
RK
2679 border: 1px solid transparent;
2680 background-clip: padding-box;
2681 background-repeat: no-repeat;
2682}
2683
2684#highlighter-nodeinfobar-arrow-top {
2685 margin-bottom: -8px;
2686 margin-top: 8px;
2687 border-right-color: rgba(0, 132, 132, .5);
2688 border-top-color: rgba(0, 132, 132, .5);
2689 background-image: -moz-linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
2690}
2691
2692#highlighter-nodeinfobar-arrow-bottom {
2693 margin-top: -8px;
2694 margin-bottom: 8px;
2695 border-left-color: rgba(0, 132, 132, .5);
2696 border-bottom-color: rgba(0, 132, 132, .5);
2697 background-image: -moz-linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
2698}
2699
2700#highlighter-nodeinfobar-container[position="top"] > #highlighter-nodeinfobar,
2701#highlighter-nodeinfobar-container[position="overlap"] > #highlighter-nodeinfobar {
2702 box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2703}
2704
2705#highlighter-nodeinfobar-container[hide-arrow] > #highlighter-nodeinfobar {
2706 margin: 7px 0;
2707}
2708
2709#full-screen-warning-message {
2710 background-color: #000000;
2711 color: #FF9F00;
8ad8bf83
RK
2712 border-radius: 8px;
2713 margin-top: 30px;
2714 padding: 30px 50px;
2715 box-shadow: 0 0 2px #9C9CFF;
2716}
2717
2718#full-screen-warning-container[obscure-browser] {
85cfb236
RK
2719 background-color: rgba(0,0,0,0.3);
2720}
2721
2722.full-screen-description {
2723 font-size: 150%;
2724}
2725
2726#full-screen-domain-text {
2727 font-size: 300%;
8ad8bf83
RK
2728}
2729
85cfb236
RK
2730.full-screen-approval-button,
2731#full-screen-remember-decision {
2732 font-size: 120%;
8ad8bf83
RK
2733}
2734
2735/* Highlighter toolbar - breadcrumbs */
2736
2737#inspector-breadcrumbs {
a40f6a79 2738 -moz-margin-start: 2px;
8ad8bf83
RK
2739}
2740
c5772fdf
RK
2741#inspector-breadcrumbs > .scrollbutton-up,
2742#inspector-breadcrumbs > .scrollbutton-down {
a40f6a79
RK
2743 min-height: 25px;
2744 margin-top: 0;
2745 margin-bottom: 0;
2746}
2747
2748#inspector-breadcrumbs > .scrollbutton-up {
2749 -moz-margin-end: 1px;
2750}
2751
2752#inspector-breadcrumbs > .scrollbutton-down {
2753 -moz-margin-end: 0;
2754}
2755
2756#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover,
2757#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover {
2758}
2759
2760#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon,
2761#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon {
2762 /* margin: 0 5px; */
2763}
2764
2765#inspector-breadcrumbs > .scrollbutton-up[disabled] > .toolbarbutton-icon,
2766#inspector-breadcrumbs > .scrollbutton-down[disabled] > .toolbarbutton-icon {
2767}
2768
2769#inspector-breadcrumbs > .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
2770#inspector-breadcrumbs > .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
2771}
2772
2773#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(ltr) {
2774 border-top-right-radius: 0;
2775 border-bottom-right-radius: 0;
2776}
2777
2778#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr) {
2779 border-top-left-radius: 0;
2780 border-bottom-left-radius: 0;
2781}
2782
2783#inspector-breadcrumbs > .scrollbutton-up:-moz-locale-dir(rtl) {
2784 border-top-left-radius: 0;
2785 border-bottom-left-radius: 0;
2786}
2787
2788#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl) {
2789 border-top-right-radius: 0;
2790 border-bottom-right-radius: 0;
2791}
2792
2793#inspector-breadcrumbs > .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
2794#inspector-breadcrumbs > .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
71a617ff 2795/* transform: scaleX(-1); */
c5772fdf
RK
2796}
2797
8ad8bf83 2798.inspector-breadcrumbs-button {
e4cecae1 2799 /*background-color: transparent;*/
c54ac991
RK
2800 border-style: solid;
2801 border-width: 2px 13px;
e4cecae1 2802 outline: none;
8ad8bf83 2803 /* color: hsl(210,30%,85%); */
a40f6a79 2804 width: 85px; /* Can't use max-width. See bug 723132 */
8ad8bf83
RK
2805 /* The content of the button can be larger than the button */
2806 overflow: hidden;
2807 min-height: 25px;
8ad8bf83
RK
2808 margin: 0 -11px 0 0;
2809 padding: 0 9px;
2810}
2811
85cfb236
RK
2812.inspector-breadcrumbs-button:-moz-focusring > .button-box {
2813 border-width: 0;
2814}
2815
a40f6a79
RK
2816.inspector-breadcrumbs-button:-moz-focusring > label {
2817 border-bottom: 1px dotted #008484;
2818}
2819
8ad8bf83
RK
2820.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-tag {
2821 /*color: hsl(208,100%,60%); */
2822}
2823
2824.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-id {
2825 /*color: hsl(205,100%,70%); */
2826}
2827
8d7ef0d9
RK
2828.inspector-breadcrumbs-button[checked] > .inspector-breadcrumbs-pseudo-classes {
2829 color: #FF9F00;
2830}
2831
8ad8bf83
RK
2832.inspector-breadcrumbs-id,
2833.inspector-breadcrumbs-classes {
2834 /*color: #8d99a6; */
2835}
2836
6b43c80b
RK
2837/* fit height of other buttons to breadcrumbs */
2838#inspector-toolbar .devtools-toolbarbutton,
c4338f39
RK
2839#highlighter-closebutton,
2840#inspector-option-toolbarbutton {
6b43c80b
RK
2841 min-height: 25px;
2842}
2843
8d7ef0d9
RK
2844.inspector-breadcrumbs-pseudo-classes {
2845 color: #FFCF00;
2846}
2847
8ad8bf83
RK
2848/* Highlighter toolbar - breadcrumbs - LTR */
2849
2850.inspector-breadcrumbs-button:-moz-locale-dir(ltr):first-of-type {
8ad8bf83
RK
2851}
2852
2853.inspector-breadcrumbs-button {
c54ac991 2854 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2855}
2856
2857.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]),
2858.inspector-breadcrumbs-button:not([checked]):hover:active {
c54ac991 2859 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2860}
2861
2862.inspector-breadcrumbs-button[checked] {
c54ac991 2863 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2864}
2865
2866.inspector-breadcrumbs-button[checked][siblings-menu-open],
2867.inspector-breadcrumbs-button[checked]:hover:active {
c54ac991 2868 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2869}
2870
2871.inspector-breadcrumbs-button:first-of-type {
c54ac991 2872 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2873}
2874
2875.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]),
2876.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active {
c54ac991 2877 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2878}
2879
2880.inspector-breadcrumbs-button:first-of-type[checked] {
c54ac991 2881 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2882}
2883
2884.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked],
2885.inspector-breadcrumbs-button:first-of-type[checked]:hover:active {
c54ac991 2886 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2887}
2888
2889.inspector-breadcrumbs-button:last-of-type {
c54ac991 2890 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2891}
2892
a40f6a79
RK
2893#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:-moz-locale-dir(ltr):last-of-type {
2894}
2895
8ad8bf83
RK
2896.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]),
2897.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active {
c54ac991 2898 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2899}
2900
2901.inspector-breadcrumbs-button:last-of-type[checked] {
c54ac991 2902 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2903}
2904
2905.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked],
2906.inspector-breadcrumbs-button:last-of-type[checked]:hover:active {
c54ac991 2907 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2908}
2909
2910/* Highlighter toolbar - breadcrumbs - RTL */
2911
2912.inspector-breadcrumbs-button:-moz-locale-dir(rtl):first-of-type {
8ad8bf83
RK
2913}
2914
2915.inspector-breadcrumbs-button:-moz-locale-dir(rtl) {
c54ac991 2916 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2917}
2918
2919.inspector-breadcrumbs-button[siblings-menu-open]:not([checked]):-moz-locale-dir(rtl),
2920.inspector-breadcrumbs-button:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2921 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2922}
2923
2924.inspector-breadcrumbs-button[checked]:-moz-locale-dir(rtl) {
c54ac991 2925 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2926}
2927
2928.inspector-breadcrumbs-button[checked][siblings-menu-open]:-moz-locale-dir(rtl),
2929.inspector-breadcrumbs-button[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2930 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2931}
2932
2933.inspector-breadcrumbs-button:first-of-type:-moz-locale-dir(rtl) {
c54ac991 2934 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2935}
2936
2937.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type:not([checked]):-moz-locale-dir(rtl),
2938.inspector-breadcrumbs-button:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2939 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2940}
2941
2942.inspector-breadcrumbs-button:first-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2943 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2944}
2945
2946.inspector-breadcrumbs-button[siblings-menu-open]:first-of-type[checked]:-moz-locale-dir(rtl),
2947.inspector-breadcrumbs-button:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2948 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2949}
2950
2951.inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
c54ac991 2952 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2953}
2954
a40f6a79
RK
2955#inspector-breadcrumbs[overflows] > .inspector-breadcrumbs-button:last-of-type:-moz-locale-dir(rtl) {
2956}
2957
8ad8bf83
RK
2958.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type:not([checked]):-moz-locale-dir(rtl),
2959.inspector-breadcrumbs-button:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) {
c54ac991 2960 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2961}
2962
2963.inspector-breadcrumbs-button:last-of-type[checked]:-moz-locale-dir(rtl) {
c54ac991 2964 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch;
8ad8bf83
RK
2965}
2966
2967.inspector-breadcrumbs-button[siblings-menu-open]:last-of-type[checked]:-moz-locale-dir(rtl),
2968.inspector-breadcrumbs-button:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) {
c54ac991 2969 -moz-border-image: url("chrome://browser/skin/devtools/breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch;
8ad8bf83 2970}
8d7ef0d9
RK
2971
2972/* Highlighter toolbar - HTML Tree */
2973
c4338f39
RK
2974#inspector-treepanel-toolbutton {
2975 list-style-image: url("chrome://browser/skin/devtools/treepanel-button.png");
2976 -moz-image-region: rect(0 18px 16px 0);
2977}
2978
2979#inspector-treepanel-toolbutton[checked],
2980#inspector-treepanel-toolbutton:hover {
2981 -moz-image-region: rect(0 36px 16px 18px);
2982}
2983
a40f6a79
RK
2984#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(rtl),
2985#inspector-treepanel-toolbutton:-moz-locale-dir(ltr) {
2986/* border-radius: 3px 0 0 3px;*/
2987}
2988
2989#inspector-breadcrumbs > .scrollbutton-down:-moz-locale-dir(ltr),
2990#inspector-treepanel-toolbutton:-moz-locale-dir(rtl) {
2991/* border-radius: 0 3px 3px 0;*/
2992}
2993
37953ab4
RK
2994/* Highlight toolbar - Option menu */
2995
2996#inspector-option-toolbarbutton:-moz-focusring {
2997 outline: 1px dotted #008484;
2998 outline-offset: -2px;
2999}
3000
3001html|*#gcli-tooltip-frame,
3002html|*#gcli-output-frame {
85cfb236 3003 padding: 0;
37953ab4
RK
3004 border-width: 0;
3005 background-color: transparent;
3006}
3007
3008#gcli-output,
3009#gcli-tooltip {
3010 border-width: 0;
3011 background-color: transparent;
3012 margin-bottom: -2px;
85cfb236
RK
3013}
3014
3015.gclitoolbar-input-node,
3016.gclitoolbar-complete-node,
3017.gclitoolbar-prompt {
37953ab4
RK
3018 margin: 1px 3px;
3019 -moz-box-align: center;
3020 padding-top: 0;
3021 padding-bottom: 0;
3022 padding-right: 4px;
3023 background-color: transparent;
3024 border-radius: 3px;
3025 text-shadow: none;
85cfb236
RK
3026}
3027
3028.gclitoolbar-input-node {
37953ab4
RK
3029 padding-left: 20px;
3030}
3031
3032.gclitoolbar-input-node:not([focused="true"]) {
3033 border-color: transparent;
85cfb236
RK
3034}
3035
7bc075b6
RK
3036.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3037 background-color: #008484;
3038 color: #000000;
3039 text-shadow: none;
3040}
3041
85cfb236 3042.gclitoolbar-complete-node {
37953ab4 3043 padding-left: 21px;
85cfb236
RK
3044 background-color: transparent;
3045 color: transparent;
85cfb236
RK
3046}
3047
3048.gclitoolbar-prompt {
37953ab4
RK
3049 padding-left: 4px;
3050 padding-bottom: 2px;
85cfb236
RK
3051 font-size: 150%;
3052 font-weight: bold;
37953ab4
RK
3053 color: #E7ADE7;
3054 background-color: #000000;
85cfb236
RK
3055}
3056
37953ab4 3057.gclitoolbar-prompt-label,
85cfb236
RK
3058.gcli-in-incomplete,
3059.gcli-in-error,
3060.gcli-in-ontab,
3061.gcli-in-todo,
3062.gcli-in-closebrace,
3063.gcli-in-param,
3064.gcli-in-valid {
3065 margin: 0;
3066 padding: 0;
3067}
3068
3069.gcli-in-incomplete {
3070 border-bottom: 2px dotted #8050B0;
3071}
3072
3073.gcli-in-error {
3074 border-bottom: 2px dotted #FF0000;
3075}
3076
3077.gcli-in-ontab {
3078 color: #9C9CFF;
3079}
3080
3081.gcli-in-todo {
3082 color: #795900;
3083}
3084
3085.gcli-in-closebrace {
3086 color: #8050B0;
3087}
3088
37953ab4 3089/* Responsive Mode */
85cfb236 3090
7bc075b6
RK
3091.browserContainer[responsivemode] {
3092 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
37953ab4
RK
3093 padding: 0 20px 20px 20px;
3094}
3095
7bc075b6 3096.browserStack[responsivemode] {
37953ab4
RK
3097 box-shadow: 0 0 7px #9C9CFF;
3098}
3099
3100.devtools-responsiveui-toolbar {
3101 background: transparent;
3102 margin: 10px 0;
3103 padding: 0;
3104 box-shadow: none;
3105 border-bottom-width: 0;
3106}
3107
3108.devtools-responsiveui-toolbar > menulist,
3109.devtools-responsiveui-toolbar > toolbarbutton {
3110 min-width: 22px;
3111 border-radius: 0;
3112}
3113
3114.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3115.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3116 margin-left: 0;
3117}
3118
3119.devtools-responsiveui-resizebar {
3120 width: 7px;
3121 height: 24px;
3122 cursor: ew-resize;
71a617ff 3123 transform: translate(12px, -12px);
37953ab4
RK
3124 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3125}
3126
3127.devtools-responsiveui-resizehandle {
3128 width: 16px;
3129 height: 16px;
3130 cursor: se-resize;
71a617ff 3131 transform: translate(12px, 12px);
37953ab4 3132 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 3133}
889649fd 3134
c29b709d
RK
3135/* Web Console */
3136
3137.web-console-frame {
3138 /* border-bottom: 3px solid #000000; */
3139}
3140
3141.web-console-frame[animated] {
3142 transition: height 100ms;
3143}
3144
889649fd
RK
3145/* Developer Toolbar */
3146
3147.developer-toolbar-button {
3148 min-width: 78px;
3149 min-height: 21px;
3150 margin: 0 1px;
3151 list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
3152}
3153
c29b709d 3154.developer-toolbar-button[open=true],
889649fd
RK
3155.developer-toolbar-button:active:hover,
3156.developer-toolbar-button[checked=true] {
3157}
3158
3159.developer-toolbar-button[checked=true] {
3160}
3161
3162#developer-toolbar-webconsole {
3163 -moz-image-region: rect(0, 16px, 16px, 0);
3164}
3165
3166#developer-toolbar-inspector {
3167 -moz-image-region: rect(16px, 16px, 32px, 0);
3168}
3169
3170#developer-toolbar-styleeditor {
3171 -moz-image-region: rect(32px, 16px, 48px, 0);
3172}
3173
3174#developer-toolbar-debugger {
3175 -moz-image-region: rect(48px, 16px, 64px, 0);
3176}
3177
3178#developer-toolbar-other-tools {
3179 -moz-image-region: rect(64px, 16px, 80px, 0);
3180}
3181
3182#developer-toolbar-other-tools > .toolbarbutton-menu-dropmarker {
c29b709d 3183 display: none;
889649fd
RK
3184}
3185
445863a2
RK
3186#developer-toolbar-toolbox-button {
3187 -moz-image-region: rect(64px, 16px, 80px, 0);
3188}
3189
889649fd
RK
3190/* Error counter */
3191
3192#developer-toolbar-webconsole[error-count]:before {
3193 color: #000000;
3194 min-width: 16px;
3195 text-shadow: none;
3196 background-color: #FF0000;
3197 border-radius: 1px;
c29b709d 3198 -moz-margin-end: 5px;
c54ac991 3199}
e9c73590 3200
348c0499 3201/* Social toolbar item */
e9c73590 3202
348c0499
RK
3203#social-provider-button > .toolbarbutton-menu-dropmarker {
3204 display: none;
e9c73590
RK
3205}
3206
348c0499 3207#social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3208}
3209
348c0499 3210#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1 {
e9c73590
RK
3211}
3212
348c0499 3213#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:first-child {
e9c73590
RK
3214}
3215
348c0499 3216#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar > #social-toolbar-item > .toolbarbutton-1:last-child {
e9c73590
RK
3217}
3218
348c0499
RK
3219.social-notification-icon-hbox {
3220 pointer-events: none;
e9c73590
RK
3221}
3222
348c0499
RK
3223.social-notification-icon-stack > image {
3224 max-height: 20px;
e9c73590
RK
3225}
3226
348c0499
RK
3227.social-notification-icon-label {
3228 text-align: end;
3229 font-size: 9px;
3230 font-weight: bold;
3231 padding: 0 1px;
3232 color: #FF9F00;
3233 background-color: #000000;
3234 border: 1px solid #9C9CFF;
3235 border-radius: 2px;
e9c73590
RK
3236}
3237
348c0499
RK
3238.social-notification-icon-label[value=""] {
3239 display: none;
e9c73590
RK
3240}
3241
348c0499 3242.social-notification-icon-image {
d7cfd768 3243 -moz-image-region: rect(0, 16px, 16px, 0);
348c0499
RK
3244}
3245
3246#social-notification-icon-mentions {
e9c73590 3247 background-color: #000000;
348c0499
RK
3248 border-radius: 3px;
3249 -moz-margin-start: 2px;
e9c73590
RK
3250}
3251
348c0499
RK
3252#social-notification-icon-mentions:hover {
3253 background-color: #FFCF00;
3254}
3255
3256#social-notification-icon-mentions[open="true"] {
3257 background-color: #FF9F00;
e9c73590
RK
3258}
3259
3260#social-sidebar-splitter {
3261 border: 0;
3262}
3263
3264/* social toolbar provider menu */
990cba4b 3265.social-statusarea-popup {
e9c73590
RK
3266 margin-top: 0;
3267 margin-left: -12px;
3268 margin-right: -12px;
3269}
3270
990cba4b 3271.social-statusarea-user {
e9c73590
RK
3272 border-bottom: 1px solid #9C9CFF;
3273 background-color: #000000;
3274 color: #FF9F00;
3275 position: relative;
348c0499 3276 cursor: pointer;
e9c73590
RK
3277}
3278
990cba4b 3279.social-statusarea-user-portrait {
e9c73590
RK
3280 width: 32px;
3281 height: 32px;
3282 border-radius: 2px;
3283 margin: 10px;
e9c73590
RK
3284}
3285
990cba4b 3286.social-statusarea-loggedInStatus {
e9c73590
RK
3287 background: transparent;
3288 border: none;
b8384c33 3289 color: #3333FF;
e9c73590
RK
3290 min-width: 0;
3291 margin: 0 6px;
348c0499 3292 list-style-image: none;
e9c73590 3293}
90a244b7 3294
990cba4b 3295#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
3296 text-decoration: underline;
3297}
3298
348c0499
RK
3299.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3300 padding: 0;
3301}
3302
348c0499
RK
3303.social-panel-frame {
3304 border-radius: inherit;
3305}
e9c73590
RK
3306
3307.chat-status-icon {
3308 max-height: 16px;
3309 max-width: 16px;
3310 padding: 0;
3311}
3312
3313.chat-toolbarbutton {
3314 -moz-appearance: none;
3315 border: none;
3316 padding: 0;
3317 margin: 0;
3318 background: none;
3319}
3320
3321.chat-toolbarbutton > .toolbarbutton-text {
3322 display: none;
3323}
3324
3325.chat-close-button {
348c0499
RK
3326 list-style-image: url('chrome://browser/skin/social/chat-close.png');
3327 -moz-image-region: rect(0, 14px, 14px, 0);
e9c73590
RK
3328}
3329
3330.chat-close-button:hover,
3331.chat-close-button:hover:active {
348c0499 3332 -moz-image-region: rect(14px, 14px, 28px, 0);
e9c73590
RK
3333}
3334
3335.chat-title {
3336 font-weight: bold;
3337 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 3338 text-shadow: none;
348c0499 3339 cursor: inherit;
e9c73590
RK
3340}
3341
3342.chat-titlebar {
3343 background-color: #9C9CFF;
3344 color: #000000;
3345 height: 20px;
fcfb76ce 3346 min-height: 16px;
e9c73590
RK
3347 width: 100%;
3348 margin: 0;
3349 padding: 2px;
348c0499 3350 -moz-padding-start: 6px;
e9c73590
RK
3351 border: none;
3352 border-bottom: 1px solid #008484;
348c0499 3353 cursor: pointer;
e9c73590
RK
3354}
3355
3356.chat-titlebar[minimized="true"] {
3357 border-bottom: none;
3358}
3359
348c0499
RK
3360.chat-titlebar[selected] {
3361 background-color: #008484;
3362}
3363
3364.chat-titlebar[activity] {
3365 background-color: #E7ADE7;
3366}
3367
e9c73590
RK
3368.chat-frame {
3369 padding: 0;
3370 margin: 0;
3371 overflow: hidden;
3372}
3373
3374.chatbar-button {
3375 /* XXX get a real image for this */
3376 list-style-image: url("chrome://browser/skin/social/social.png");
3377 background-color: #000000;
3378 border: none;
3379 margin: 0;
3380 padding: 2px;
3381 height: 21px;
3382 width: 21px;
3383 border-top: 1px solid #008484;
3384