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