rename files that are overridden on Windows; add icons for loop button
[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@import url("downloads/indicator.css");
7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9@namespace html url("http://www.w3.org/1999/xhtml");
10@namespace svg url("http://www.w3.org/2000/svg");
11
12toolbar {
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14}
15
16toolbar[customizable="true"] {
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
20toolbar[type="menubar"][autohide="true"] {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
22}
23
24#toolbar-menubar[autohide="true"] {
25 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
26}
27
28menubar {
29 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
30}
31
32#menubar-items {
33 -moz-box-orient: vertical; /* for flex hack */
34}
35
36#main-menubar {
37 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
38}
39
40/* ::::: primary toolbar ::::: */
41
42.toolbar-primary > .toolbar-box > .toolbar-holder {
43 background-color: #A09090;
44}
45
46.toolbar-primary > .toolbar-box > .toolbar-startcap,
47.toolbar-primary > .toolbar-box > .toolbar-endcap {
48 background-color: #9C9CFF;
49}
50
51/* Hides the titlebar-placeholder underneath the window caption buttons when we
52 are not autohiding the menubar. */
53#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
54 display: none;
55}
56
57/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
58 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
59 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
60#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
61#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
62/* margin-top: 3px;*/
63}
64
65#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
66#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
67/* margin-top: 15px;*/
68}
69
70#toolbar-menubar:not([autohide="true"]) {
71 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
72}
73
74#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
75 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
76 display: none;
77}
78
79#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
80#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
81#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
82#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
83 outline-color: #A09090;
84}
85
86#navigator-toolbox {
87}
88
89#navigator-toolbox::after {
90 content: "";
91 display: -moz-box;
92 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
93 height: 1px;
94}
95
96#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
97}
98
99/* indent due to non-applicable aero rule */
100 #toolbar-menubar {
101 background-color: transparent !important;
102 }
103
104 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
105 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
106 /* like menubar */
107 background-color: #6000CF;
108 color: #FF9F00;
109 }
110
111 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
112 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
113 background-color: #8050B0;
114 color: #FF9F00;
115 }
116
117 #TabsToolbar:-moz-lwtheme {
118 /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
119 }
120
121 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
122 visibility: hidden;
123 }
124
125 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
126 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
127 visibility: visible;
128 }
129
130#nav-bar {
131 /* Position the toolbar above the bottom of background tabs */
132 position: relative;
133 z-index: 1;
134}
135
136#personal-bookmarks {
137/* min-height: 24px; */
138}
139
140#print-preview-toolbar:not(:-moz-lwtheme) {
141 /* -moz-appearance: toolbox; */
142}
143
144#browser-bottombox:not(:-moz-lwtheme) {
145}
146
147/* ::::: titlebar ::::: */
148
149#titlebar {
150 /* like menubar */
151 background-color: #6000CF;
152 color: #FF9F00;
153}
154#titlebar:-moz-window-inactive {
155 background-color: #8050B0;
156 color: #FF9F00;
157}
158
159#main-window[sizemode="normal"] > #titlebar {
160 margin-top: -3px;
161 margin-bottom: 3px;
162}
163
164#main-window[sizemode="maximized"] > #titlebar {
165 margin-top: 4px;
166}
167
168/* The button box must appear on top of the navigator-toolbox in order for
169 * click and hover mouse events to work properly for the button in the restored
170 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
171 * can swallow those events. It will also place the buttons above the fog on
172 * themes with Aero Glass.
173 */
174#titlebar-buttonbox {
175 -moz-appearance: none;
176 margin-top: 6px;
177 margin-top: 4px;
178 -moz-margin-end: 3px;
179 z-index: 1;
180}
181
182.titlebar-placeholder[type="appmenu-button"] {
183 margin-left: 4px;
184}
185
186.titlebar-placeholder[type="caption-buttons"] {
187 margin-left: 10px;
188}
189
190/* titlebar command buttons */
191
192#titlebar-min {
193 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
194}
195
196#titlebar-min:hover {
197 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
198}
199
200#titlebar-max {
201 list-style-image: url("chrome://browser/skin/win-maximize.gif");
202}
203
204#titlebar-max:hover {
205 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
206}
207
208#main-window[sizemode="maximized"] #titlebar-max {
209 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
210}
211
212#main-window[sizemode="maximized"] #titlebar-max:hover {
213 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
214}
215
216#titlebar-close {
217 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
218}
219
220#titlebar-close:hover {
221 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
222}
223
224/* ::::: bookmark buttons ::::: */
225
226toolbarbutton.bookmark-item:not(.subviewbutton),
227#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
228/* margin: 0;
229 padding: 2px 3px;*/
230}
231
232toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
233toolbarbutton.bookmark-item[open="true"] {
234/* padding-top: 3px;
235 padding-bottom: 1px;
236 -moz-padding-start: 4px;
237 -moz-padding-end: 2px;*/
238}
239
240.bookmark-item > .toolbarbutton-icon,
241#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
242 width: 16px;
243 height: 16px;
244}
245
246/* Force the display of the label for bookmarks */
247.bookmark-item > .toolbarbutton-text,
248#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
249 display: -moz-box !important;
250}
251
252.bookmark-item > .toolbarbutton-menu-dropmarker {
253 display: none;
254}
255
256#bookmarks-toolbar-placeholder {
257 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
258}
259
260toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
261#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
262 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
263}
264
265/* ----- BOOKMARK STAR ANIMATION ----- */
266
267@keyframes animation-bookmarkAdded {
268 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
269 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
270 80% { opacity: 1; }
271 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
272}
273
274@keyframes animation-bookmarkPulse {
275 from { transform: scale(1); }
276 50% { transform: scale(1.3); }
277 to { transform: scale(1); }
278}
279
280#bookmarked-notification-container {
281 min-height: 1px;
282 min-width: 1px;
283 height: 1px;
284 margin-bottom: -1px;
285 z-index: 5;
286 position: relative;
287}
288
289#bookmarked-notification {
290 background-size: 16px;
291 background-position: center;
292 background-repeat: no-repeat;
293 width: 16px;
294 height: 16px;
295 opacity: 0;
296}
297
298#bookmarked-notification-dropmarker-anchor {
299 z-index: -1;
300 position: relative;
301}
302
303#bookmarked-notification-dropmarker-icon {
304 width: 18px;
305 height: 18px;
306 visibility: hidden;
307}
308
309#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
310 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
311 animation: animation-bookmarkAdded 800ms;
312 animation-timing-function: ease, ease, ease;
313}
314
315#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
316 list-style-image: none !important;
317}
318
319#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
320 visibility: visible;
321 animation: animation-bookmarkPulse 300ms;
322 animation-delay: 600ms;
323 animation-timing-function: ease-out;
324}
325
326/* ::::: bookmark menus ::::: */
327
328menu.bookmark-item,
329menuitem.bookmark-item {
330 min-width: 0;
331 max-width: 32em;
332}
333
334.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
335 margin-top: 0;
336 margin-bottom: 0;
337}
338
339.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
340 -moz-padding-start: 0px;
341}
342
343/* ::::: bookmark items ::::: */
344
345.bookmark-item {
346 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
347 -moz-image-region: auto;
348}
349
350.bookmark-item[container] {
351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
352 -moz-image-region: auto;
353}
354
355.bookmark-item[container][open] {
356 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
357 -moz-image-region: auto;
358}
359
360.bookmark-item[container][livemark] {
361 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
362 -moz-image-region: auto;
363}
364
365.bookmark-item[container][livemark] .bookmark-item {
366 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
367 -moz-image-region: rect(0px, 16px, 16px, 0px);
368}
369
370.bookmark-item[container][livemark] .bookmark-item[visited] {
371 -moz-image-region: rect(0px, 32px, 16px, 16px);
372}
373
374.bookmark-item[container][query] {
375 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
376 -moz-image-region: auto;
377}
378
379.bookmark-item[query][tagContainer] {
380 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
381 -moz-image-region: auto;
382}
383
384.bookmark-item[query][dayContainer] {
385 list-style-image: url("chrome://communicator/skin/history/calendar.png");
386 -moz-image-region: auto;
387}
388
389.bookmark-item[query][hostContainer] {
390 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
391 -moz-image-region: auto;
392}
393
394.bookmark-item[query][hostContainer][open] {
395 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
396 -moz-image-region: auto;
397}
398
399.bookmark-item[cutting] > .toolbarbutton-icon,
400.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
401 opacity: 0.5;
402}
403
404.bookmark-item[cutting] > .toolbarbutton-text,
405.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
406 opacity: 0.7;
407}
408
409/* ::::: primary toolbar buttons ::::: */
410
411/* === BEGIN toolbarbuttons.inc.css === */
412
413/* Whole section of this included file: */
414:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
415 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
416 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
417 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
418 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
419 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
420 #copy-button, #paste-button, #e10s-button),
421
422#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
423 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
424}
425
426#back-button {
427 -moz-image-region: rect(0, 36px, 18px, 18px);
428}
429
430#back-button:hover:not([disabled="true"]) {
431 -moz-image-region: rect(18px, 36px, 36px, 18px);
432}
433
434#back-button[disabled="true"] {
435 -moz-image-region: rect(36px, 36px, 54px, 18px);
436}
437
438#forward-button {
439 -moz-image-region: rect(0, 72px, 18px, 54px);
440}
441
442#forward-button:hover:not([disabled="true"]) {
443 -moz-image-region: rect(18px, 72px, 36px, 54px);
444}
445
446#forward-button[disabled="true"] {
447 -moz-image-region: rect(36px, 72px, 54px, 54px);
448}
449
450#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
451#forward-button:-moz-locale-dir(rtl) {
452 transform: scaleX(-1);
453}
454
455#home-button[cui-areatype="toolbar"] {
456 -moz-image-region: rect(0, 126px, 18px, 108px);
457}
458
459#home-button[cui-areatype="toolbar"]:hover {
460 -moz-image-region: rect(18px, 126px, 36px, 108px);
461}
462
463#bookmarks-menu-button[cui-areatype="toolbar"] {
464 -moz-image-region: rect(0, 144px, 18px, 126px);
465}
466
467#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
468#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
469 -moz-image-region: rect(18px, 144px, 36px, 126px);
470}
471
472/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
473#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
474 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
475 background-color: transparent !important;
476}
477
478#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
479 -moz-image-region: rect(0, 162px, 18px, 144px);
480}
481
482#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
483#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
484#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
485 /* When starred and clicked (for edit/delete dialog),
486 * then only the menubutton-button itself is open, but not the whole menubutton. */
487 -moz-image-region: rect(18px, 162px, 36px, 144px);
488}
489
490#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
491 -moz-image-region: rect(0, 630px, 18px, 612px);
492}
493
494#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
495 padding: 1px;
496 -moz-box-align: center;
497}
498
499#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
500#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
501 -moz-image-region: rect(18px, 630px, 36px, 612px);
502}
503
504#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
505#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
506 padding-top: 2px;
507 padding-bottom: 0px;
508 -moz-padding-start: 2px;
509 -moz-padding-end: 0px;
510}
511
512#history-panelmenu[cui-areatype="toolbar"] {
513 -moz-image-region: rect(0, 180px, 18px, 162px);
514}
515
516#history-panelmenu[cui-areatype="toolbar"]:hover,
517#history-panelmenu[cui-areatype="toolbar"][open="true"] {
518 -moz-image-region: rect(18px, 180px, 36px, 162px);
519}
520
521#downloads-button[cui-areatype="toolbar"] {
522 -moz-image-region: rect(0, 198px, 18px, 180px);
523}
524
525#downloads-button[cui-areatype="toolbar"]:hover,
526#downloads-button[cui-areatype="toolbar"][open="true"] {
527 -moz-image-region: rect(18px, 198px, 36px, 180px);
528}
529
530#add-ons-button[cui-areatype="toolbar"] {
531 -moz-image-region: rect(0, 216px, 18px, 198px);
532}
533
534#add-ons-button[cui-areatype="toolbar"]:hover {
535 -moz-image-region: rect(18px, 216px, 36px, 198px);
536}
537
538#open-file-button[cui-areatype="toolbar"] {
539 -moz-image-region: rect(0, 234px, 18px, 216px);
540}
541
542#open-file-button[cui-areatype="toolbar"]:hover {
543 -moz-image-region: rect(18px, 234px, 36px, 216px);
544}
545
546#save-page-button[cui-areatype="toolbar"] {
547 -moz-image-region: rect(0, 252px, 18px, 234px);
548}
549
550#save-page-button[cui-areatype="toolbar"]:hover {
551 -moz-image-region: rect(18px, 252px, 36px, 234px);
552}
553
554#sync-button[cui-areatype="toolbar"] {
555 -moz-image-region: rect(0, 270px, 18px, 252px);
556}
557
558#sync-button[cui-areatype="toolbar"]:hover {
559 -moz-image-region: rect(18px, 270px, 36px, 252px);
560}
561
562#sync-button[cui-areatype="toolbar"][status="active"],
563#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
564 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
565 -moz-image-region: rect(0, 18px, 18px, 0px);
566}
567
568/*
569#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
570#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
571 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
572}
573*/
574
575#feed-button[cui-areatype="toolbar"] {
576 -moz-image-region: rect(0, 288px, 18px, 270px);
577}
578
579#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
580 -moz-image-region: rect(18px, 288px, 36px, 270px);
581}
582
583#feed-button[cui-areatype="toolbar"][disabled="true"] {
584 -moz-image-region: rect(36px, 288px, 54px, 270px);
585}
586
587#social-share-button[cui-areatype="toolbar"] {
588 -moz-image-region: rect(0px, 306px, 18px, 288px);
589}
590
591#social-share-button[cui-areatype="toolbar"]:hover {
592 -moz-image-region: rect(18px, 306px, 36px, 288px);
593}
594
595#characterencoding-button[cui-areatype="toolbar"] {
596 -moz-image-region: rect(0, 324px, 18px, 306px);
597}
598
599#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
600#characterencoding-button[cui-areatype="toolbar"][open="true"] {
601 -moz-image-region: rect(18px, 324px, 36px, 306px);
602}
603
604#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
605 -moz-image-region: rect(36px, 324px, 54px, 306px);
606}
607
608#new-window-button[cui-areatype="toolbar"] {
609 -moz-image-region: rect(0, 342px, 18px, 324px);
610}
611
612#new-window-button[cui-areatype="toolbar"]:hover {
613 -moz-image-region: rect(18px, 342px, 36px, 324px);
614}
615
616#e10s-button[cui-areatype="toolbar"] {
617 -moz-image-region: rect(0, 342px, 18px, 324px);
618}
619
620#e10s-button[cui-areatype="toolbar"]:hover {
621 -moz-image-region: rect(18px, 342px, 36px, 324px);
622}
623
624#e10s-button > .toolbarbutton-icon {
625 transform: scaleY(-1);
626}
627
628#new-tab-button[cui-areatype="toolbar"] {
629 -moz-image-region: rect(0, 360px, 18px, 342px);
630}
631
632#new-tab-button[cui-areatype="toolbar"]:hover {
633 -moz-image-region: rect(18px, 360px, 36px, 342px);
634}
635
636#privatebrowsing-button[cui-areatype="toolbar"] {
637 -moz-image-region: rect(0, 378px, 18px, 360px);
638}
639
640#privatebrowsing-button[cui-areatype="toolbar"]:hover {
641 -moz-image-region: rect(18px, 378px, 36px, 360px);
642}
643
644#find-button[cui-areatype="toolbar"] {
645 -moz-image-region: rect(0, 396px, 18px, 378px);
646}
647
648#find-button[cui-areatype="toolbar"]:hover {
649 -moz-image-region: rect(18px, 396px, 36px, 378px);
650}
651
652#print-button[cui-areatype="toolbar"] {
653 -moz-image-region: rect(0, 414px, 18px, 396px);
654}
655
656#print-button[cui-areatype="toolbar"]:hover {
657 -moz-image-region: rect(18px, 414px, 36px, 396px);
658}
659
660#fullscreen-button[cui-areatype="toolbar"] {
661 -moz-image-region: rect(0, 432px, 18px, 414px);
662}
663
664#fullscreen-button[cui-areatype="toolbar"]:hover {
665 -moz-image-region: rect(18px, 432px, 36px, 414px);
666}
667
668#developer-button[cui-areatype="toolbar"] {
669 -moz-image-region: rect(0, 450px, 18px, 432px);
670}
671
672#developer-button[cui-areatype="toolbar"]:hover,
673#developer-button[cui-areatype="toolbar"][open="true"] {
674 -moz-image-region: rect(18px, 450px, 36px, 432px);
675}
676
677#preferences-button[cui-areatype="toolbar"] {
678 -moz-image-region: rect(0, 468px, 18px, 450px);
679}
680
681#preferences-button[cui-areatype="toolbar"]:hover {
682 -moz-image-region: rect(18px, 468px, 36px, 450px);
683}
684
685#PanelUI-menu-button {
686 -moz-image-region: rect(0, 486px, 18px, 468px);
687}
688
689#PanelUI-menu-button:hover,
690#PanelUI-menu-button[open="true"] {
691 -moz-image-region: rect(18px, 486px, 36px, 468px);
692}
693
694#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
695 -moz-image-region: rect(0, 504px, 18px, 486px);
696}
697
698#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
699 -moz-image-region: rect(18px, 504px, 36px, 486px);
700}
701
702#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
703 -moz-image-region: rect(36px, 504px, 54px, 486px);
704}
705
706#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
707 -moz-image-region: rect(0, 522px, 18px, 504px);
708}
709
710#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
711 -moz-image-region: rect(18px, 522px, 36px, 504px);
712}
713
714#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
715 -moz-image-region: rect(36px, 522px, 54px, 504px);
716}
717
718#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
719 -moz-image-region: rect(0, 540px, 18px, 522px);
720}
721
722#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
723 -moz-image-region: rect(18px, 540px, 36px, 522px);
724}
725
726#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
727 -moz-image-region: rect(36px, 540px, 54px, 522px);
728}
729
730#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
731 -moz-image-region: rect(0, 558px, 18px, 540px);
732}
733
734#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
735 -moz-image-region: rect(18px, 558px, 36px, 540px);
736}
737
738#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
739 -moz-image-region: rect(36px, 558px, 54px, 540px);
740}
741
742#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
743 -moz-image-region: rect(0, 576px, 18px, 558px);
744}
745
746#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
747 -moz-image-region: rect(18px, 576px, 36px, 558px);
748}
749
750#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
751 -moz-image-region: rect(36px, 576px, 54px, 558px);
752}
753
754#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
755 -moz-image-region: rect(0, 594px, 18px, 576px);
756}
757
758#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
759#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
760 -moz-image-region: rect(18px, 594px, 36px, 576px);
761}
762
763#nav-bar-overflow-button {
764 -moz-image-region: rect(0, 612px, 18px, 594px);
765}
766
767#nav-bar-overflow-button:hover,
768#nav-bar-overflow-button[open="true"] {
769 -moz-image-region: rect(18px, 612px, 36px, 594px);
770}
771
772#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
773 transform: scaleX(-1);
774}
775
776#tabview-button {
777 -moz-image-region: rect(0, 648px, 18px, 630px);
778}
779
780#tabview-button:hover {
781 -moz-image-region: rect(18px, 648px, 36px, 630px);
782}
783
784#email-link-button[cui-areatype="toolbar"] {
785 -moz-image-region: rect(0, 666px, 18px, 648px);
786}
787
788#email-button[cui-areatype="toolbar"]:hover {
789 -moz-image-region: rect(18px, 666px, 36px, 648px);
790}
791
792#sidebar-button[cui-areatype="toolbar"] {
793 -moz-image-region: rect(0, 684px, 18px, 666px);
794}
795
796#sidebar-button[cui-areatype="toolbar"]:hover {
797 -moz-image-region: rect(18px, 684px, 36px, 666px);
798}
799
800#loop-call-button > .toolbarbutton-badge-container {
801 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
802 -moz-image-region: rect(0, 18px, 18px, 0);
803}
804
805#loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
806 -moz-image-region: rect(0, 90px, 18px, 72px);
807}
808
809#loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
810 -moz-image-region: rect(0, 36px, 18px, 18px);
811}
812
813#loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
814 -moz-image-region: rect(0, 126px, 18px, 108px);
815}
816
817#loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
818 -moz-image-region: rect(0, 54px, 18px, 36px);
819}
820
821#loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
822 -moz-image-region: rect(0, 72px, 18px, 54px);
823}
824
825#loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
826 -moz-image-region: rect(0, 108px, 18px, 90px);
827}
828
829/* === END toolbarbuttons.inc.css === */
830
831/* === BEGIN menupanel.inc.css === */
832
833/* Menu panel and palette styles */
834
835toolbaritem[sdkstylewidget="true"] > toolbarbutton,
836:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
837 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
838 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
839 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
840 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
841 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
842 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
843toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
844 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
845 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
846 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
847 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
848 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
849 #copy-button, #paste-button, #e10s-button) {
850 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
851}
852
853#home-button[cui-areatype="menu-panel"],
854toolbarpaletteitem[place="palette"] > #home-button {
855 -moz-image-region: rect(0px, 128px, 32px, 96px);
856}
857
858#home-button[cui-areatype="menu-panel"]:hover,
859toolbarpaletteitem[place="palette"] > #home-button:hover {
860 -moz-image-region: rect(32px, 128px, 64px, 96px);
861}
862
863#bookmarks-menu-button[cui-areatype="menu-panel"],
864toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
865 -moz-image-region: rect(0px, 192px, 32px, 160px);
866}
867
868#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
869toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
870 -moz-image-region: rect(32px, 192px, 64px, 160px);
871}
872
873#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
874 -moz-image-region: rect(32px, 192px, 64px, 160px);
875}
876
877#history-panelmenu[cui-areatype="menu-panel"],
878toolbarpaletteitem[place="palette"] > #history-panelmenu {
879 -moz-image-region: rect(0px, 224px, 32px, 192px);
880}
881
882#history-panelmenu[cui-areatype="menu-panel"]:hover,
883toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
884 -moz-image-region: rect(32px, 224px, 64px, 192px);
885}
886
887#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
888 -moz-image-region: rect(32px, 224px, 64px, 192px);
889}
890
891#downloads-button[cui-areatype="menu-panel"],
892toolbarpaletteitem[place="palette"] > #downloads-button {
893 -moz-image-region: rect(0px, 256px, 32px, 224px);
894}
895
896#downloads-button[cui-areatype="menu-panel"]:hover,
897toolbarpaletteitem[place="palette"] > #downloads-button:hover {
898 -moz-image-region: rect(32px, 256px, 64px, 224px);
899}
900
901#add-ons-button[cui-areatype="menu-panel"],
902toolbarpaletteitem[place="palette"] > #add-ons-button {
903 -moz-image-region: rect(0px, 288px, 32px, 256px);
904}
905
906#add-ons-button[cui-areatype="menu-panel"]:hover,
907toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
908 -moz-image-region: rect(32px, 288px, 64px, 256px);
909}
910
911#open-file-button[cui-areatype="menu-panel"],
912toolbarpaletteitem[place="palette"] > #open-file-button {
913 -moz-image-region: rect(0px, 320px, 32px, 288px);
914}
915
916#open-file-button[cui-areatype="menu-panel"]:hover,
917toolbarpaletteitem[place="palette"] > #open-file-button:hover {
918 -moz-image-region: rect(32px, 320px, 64px, 288px);
919}
920
921#save-page-button[cui-areatype="menu-panel"],
922toolbarpaletteitem[place="palette"] > #save-page-button {
923 -moz-image-region: rect(0px, 352px, 32px, 320px);
924}
925
926#save-page-button[cui-areatype="menu-panel"]:hover,
927toolbarpaletteitem[place="palette"] > #save-page-button:hover {
928 -moz-image-region: rect(32px, 352px, 64px, 320px);
929}
930
931#sync-button[cui-areatype="menu-panel"],
932toolbarpaletteitem[place="palette"] > #sync-button {
933 -moz-image-region: rect(0px, 384px, 32px, 352px);
934}
935
936#sync-button[cui-areatype="menu-panel"]:hover,
937toolbarpaletteitem[place="palette"] > #sync-button:hover {
938 -moz-image-region: rect(32px, 384px, 64px, 352px);
939}
940
941#sync-button[cui-areatype="menu-panel"][status="active"] {
942 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
943 -moz-image-region: rect(0px, 32px, 32px, 0px);
944}
945
946#feed-button[cui-areatype="menu-panel"],
947toolbarpaletteitem[place="palette"] > #feed-button {
948 -moz-image-region: rect(0px, 416px, 32px, 384px);
949}
950
951#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
952toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
953 -moz-image-region: rect(32px, 416px, 64px, 384px);
954}
955
956#feed-button[cui-areatype="menu-panel"][disabled="true"],
957toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
958 -moz-image-region: rect(64px, 416px, 96px, 384px);
959}
960
961#social-share-button[cui-areatype="menu-panel"],
962toolbarpaletteitem[place="palette"] > #social-share-button {
963 -moz-image-region: rect(0px, 448px, 32px, 416px);
964}
965
966#social-share-button[cui-areatype="menu-panel"]:hover,
967toolbarpaletteitem[place="palette"] > #social-share-button:hover {
968 -moz-image-region: rect(32px, 448px, 64px, 416px);
969}
970
971#characterencoding-button[cui-areatype="menu-panel"],
972toolbarpaletteitem[place="palette"] > #characterencoding-button {
973 -moz-image-region: rect(0px, 480px, 32px, 448px);
974}
975
976#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
977toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
978 -moz-image-region: rect(32px, 480px, 64px, 448px);
979}
980
981#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
982toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
983 -moz-image-region: rect(64px, 480px, 96px, 448px);
984}
985
986#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
987 -moz-image-region: rect(32px, 480px, 64px, 448px);
988}
989
990#new-window-button[cui-areatype="menu-panel"],
991toolbarpaletteitem[place="palette"] > #new-window-button {
992 -moz-image-region: rect(0px, 512px, 32px, 480px);
993}
994
995#new-window-button[cui-areatype="menu-panel"]:hover,
996toolbarpaletteitem[place="palette"] > #new-window-button:hover {
997 -moz-image-region: rect(32px, 512px, 64px, 480px);
998}
999
1000#e10s-button[cui-areatype="menu-panel"],
1001toolbarpaletteitem[place="palette"] > #e10s-button {
1002 -moz-image-region: rect(0px, 512px, 32px, 480px);
1003}
1004
1005#e10s-button[cui-areatype="menu-panel"]:hover,
1006toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1007 -moz-image-region: rect(32px, 512px, 64px, 480px);
1008}
1009
1010#new-tab-button[cui-areatype="menu-panel"],
1011toolbarpaletteitem[place="palette"] > #new-tab-button {
1012 -moz-image-region: rect(0px, 544px, 32px, 512px);
1013}
1014
1015#new-tab-button[cui-areatype="menu-panel"]:hover,
1016toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
1017 -moz-image-region: rect(32px, 544px, 64px, 512px);
1018}
1019
1020#privatebrowsing-button[cui-areatype="menu-panel"],
1021toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
1022 -moz-image-region: rect(0px, 576px, 32px, 544px);
1023}
1024
1025#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
1026toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
1027 -moz-image-region: rect(32px, 576px, 64px, 544px);
1028}
1029
1030#tabview-button[cui-areatype="menu-panel"],
1031toolbarpaletteitem[place="palette"] > #tabview-button {
1032 -moz-image-region: rect(0px, 608px, 32px, 576px);
1033}
1034
1035#tabview-button[cui-areatype="menu-panel"]:hover,
1036toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1037 -moz-image-region: rect(32px, 608px, 64px, 576px);
1038}
1039
1040#find-button[cui-areatype="menu-panel"],
1041toolbarpaletteitem[place="palette"] > #find-button {
1042 -moz-image-region: rect(0px, 640px, 32px, 608px);
1043}
1044
1045#find-button[cui-areatype="menu-panel"]:hover,
1046toolbarpaletteitem[place="palette"] > #find-button:hover {
1047 -moz-image-region: rect(32px, 640px, 64px, 608px);
1048}
1049
1050#print-button[cui-areatype="menu-panel"],
1051toolbarpaletteitem[place="palette"] > #print-button {
1052 -moz-image-region: rect(0px, 672px, 32px, 640px);
1053}
1054
1055#print-button[cui-areatype="menu-panel"]:hover,
1056toolbarpaletteitem[place="palette"] > #print-button:hover {
1057 -moz-image-region: rect(32px, 672px, 64px, 640px);
1058}
1059
1060#fullscreen-button[cui-areatype="menu-panel"],
1061toolbarpaletteitem[place="palette"] > #fullscreen-button {
1062 -moz-image-region: rect(0px, 704px, 32px, 672px);
1063}
1064
1065#fullscreen-button[cui-areatype="menu-panel"]:hover,
1066toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
1067 -moz-image-region: rect(32px, 704px, 64px, 672px);
1068}
1069
1070#developer-button[cui-areatype="menu-panel"],
1071toolbarpaletteitem[place="palette"] > #developer-button {
1072 -moz-image-region: rect(0px, 736px, 32px, 704px);
1073}
1074
1075#developer-button[cui-areatype="menu-panel"]:hover,
1076toolbarpaletteitem[place="palette"] > #developer-button:hover {
1077 -moz-image-region: rect(32px, 736px, 64px, 704px);
1078}
1079
1080#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1081 -moz-image-region: rect(32px, 736px, 64px, 704px);
1082}
1083
1084#preferences-button[cui-areatype="menu-panel"],
1085toolbarpaletteitem[place="palette"] > #preferences-button {
1086 -moz-image-region: rect(0px, 768px, 32px, 736px);
1087}
1088
1089#preferences-button[cui-areatype="menu-panel"]:hover,
1090toolbarpaletteitem[place="palette"] > #preferences-button:hover {
1091 -moz-image-region: rect(32px, 768px, 64px, 736px);
1092}
1093
1094#email-link-button[cui-areatype="menu-panel"],
1095toolbarpaletteitem[place="palette"] > #email-link-button {
1096 -moz-image-region: rect(0, 800px, 32px, 768px);
1097}
1098
1099#email-link-button[cui-areatype="menu-panel"]:hover,
1100toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1101 -moz-image-region: rect(32px, 800px, 64px, 768px);
1102}
1103
1104#sidebar-button[cui-areatype="menu-panel"],
1105toolbarpaletteitem[place="palette"] > #sidebar-button {
1106 -moz-image-region: rect(0, 864px, 32px, 832px);
1107}
1108
1109#sidebar-button[cui-areatype="menu-panel"]:hover,
1110toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1111 -moz-image-region: rect(32px, 864px, 64px, 832px);
1112}
1113
1114#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1115 -moz-image-region: rect(32px, 864px, 64px, 832px);
1116}
1117
1118toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1119 -moz-image-region: rect(0, 832px, 32px, 800px);
1120}
1121
1122#loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1123toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1124 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1125 -moz-image-region: rect(0, 32px, 32px, 0);
1126}
1127
1128/* Make sure that the state icons are not shown in the customization palette. */
1129toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1130 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1131}
1132
1133#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1134 -moz-image-region: rect(0, 160px, 32px, 128px);
1135}
1136
1137#loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1138 -moz-image-region: rect(0, 64px, 32px, 32px);
1139}
1140
1141#loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1142 -moz-image-region: rect(0, 224px, 32px, 192px);
1143}
1144
1145#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1146 -moz-image-region: rect(0, 96px, 32px, 64px);
1147}
1148
1149#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1150 -moz-image-region: rect(0, 128px, 32px, 96px);
1151}
1152
1153#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1154 -moz-image-region: rect(0, 192px, 32px, 160px);
1155}
1156
1157/* Wide panel control icons */
1158
1159#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1160#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1161toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1162toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
1163 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
1164}
1165
1166#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
1167toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
1168 -moz-image-region: rect(0px, 32px, 16px, 16px);
1169}
1170
1171#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
1172toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
1173 -moz-image-region: rect(16px, 32px, 32px, 16px);
1174}
1175
1176#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
1177toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
1178 -moz-image-region: rect(32px, 32px, 48px, 16px);
1179}
1180
1181#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
1182toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
1183 -moz-image-region: rect(0px, 48px, 16px, 32px);
1184}
1185
1186#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
1187toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
1188 -moz-image-region: rect(16px, 48px, 32px, 32px);
1189}
1190
1191#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
1192toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
1193 -moz-image-region: rect(32px, 48px, 48px, 32px);
1194}
1195
1196#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
1197toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
1198 -moz-image-region: rect(0px, 64px, 16px, 48px);
1199}
1200
1201#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
1202toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
1203 -moz-image-region: rect(16px, 64px, 32px, 48px);
1204}
1205
1206#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
1207toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
1208 -moz-image-region: rect(32px, 64px, 48px, 48px);
1209}
1210
1211#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
1212toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
1213 -moz-image-region: rect(0px, 80px, 16px, 64px);
1214}
1215
1216#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
1217toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
1218 -moz-image-region: rect(16px, 80px, 32px, 64px);
1219}
1220
1221#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
1222toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
1223 -moz-image-region: rect(32px, 80px, 48px, 64px);
1224}
1225
1226#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
1227toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
1228 -moz-image-region: rect(0px, 96px, 16px, 80px);
1229}
1230
1231#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
1232toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
1233 -moz-image-region: rect(16px, 96px, 32px, 80px);
1234}
1235
1236#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
1237toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
1238 -moz-image-region: rect(32px, 96px, 48px, 80px);
1239}
1240
1241/* === END menupanel.inc.css === */
1242
1243.toolbarbutton-1:not([type="menu-button"]) {
1244 -moz-box-orient: vertical;
1245}
1246
1247.toolbarbutton-1,
1248.toolbarbutton-1 > .toolbarbutton-menubutton-button {
1249/* min-width: 36px;
1250 min-height: 36px;*/
1251}
1252
1253.toolbarbutton-1,
1254.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1255.toolbarbutton-1[disabled="true"]:hover:active,
1256.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1257 padding: 1px 2px;
1258}
1259
1260.toolbarbutton-1:hover:active,
1261.toolbarbutton-1[open="true"],
1262.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1263 padding-top: 2px;
1264 padding-bottom: 0px;
1265 -moz-padding-start: 3px;
1266 -moz-padding-end: 1px;
1267}
1268
1269#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1270#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1271#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1272#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1273#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
1274}
1275
1276.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1277.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1278}
1279
1280toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1281toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
1282}
1283
1284.toolbarbutton-1 > .toolbarbutton-icon,
1285.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1286}
1287
1288#nav-bar .toolbarbutton-1,
1289#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1290}
1291
1292#nav-bar .toolbarbutton-1:not([type=menu-button]),
1293#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1294#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1295}
1296
1297#nav-bar #PanelUI-menu-button {
1298/* -moz-padding-start: 7px;
1299 -moz-padding-end: 5px;*/
1300}
1301
1302#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1303/* padding-left: 5px;
1304 padding-right: 5px;*/
1305}
1306
1307#nav-bar .toolbarbutton-1 > menupopup {
1308/* margin-top: -3px;*/
1309}
1310
1311#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
1312 margin-top: -4px;
1313}
1314
1315#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1316/* -moz-padding-end: 0;*/
1317}
1318
1319#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1320/* -moz-padding-start: 0;
1321 -moz-box-align: center;*/
1322}
1323
1324#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1325#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1326#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1327#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1328#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1329window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1330/* padding: 2px 6px;
1331 border: 1px solid;
1332 border-color: transparent;
1333 transition-property: background-color, border-color;
1334 transition-duration: 150ms;*/
1335}
1336/*
1337#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1338#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1339#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1340 padding: 3px 7px;
1341}
1342*/
1343
1344/* Help SDK icons fit: */
1345toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1346 width: 16px;
1347}
1348
1349#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1350 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1351 width: 32px;
1352}
1353
1354#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) > .toolbarbutton-icon,
1355#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1356/* -moz-padding-end: 17px;*/
1357}
1358
1359#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
1360}
1361
1362#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1363}
1364
1365#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
1366}
1367
1368#nav-bar .toolbaritem-combined-buttons {
1369/* margin-left: 2px;
1370 margin-right: 2px;*/
1371}
1372
1373#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1374/* padding-left: 0;
1375 padding-right: 0;*/
1376}
1377
1378#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1379#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true]) + .toolbarbutton-1:-moz-any(:not(:hover):not([open]),[disabled=true])::before {
1380/*
1381 content: "";
1382 display: -moz-box;
1383 width: 1px;
1384 height: 16px;
1385 -moz-margin-end: -1px;
1386*/
1387}
1388
1389window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
1390}
1391
1392#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1393#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1394#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1395#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1396#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1397#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
1398window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
1399#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
1400}
1401
1402#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
1403#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1404#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1405#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1406#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
1407}
1408
1409#TabsToolbar .toolbarbutton-1,
1410#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1411.tabbrowser-arrowscrollbox > .scrollbutton-up,
1412.tabbrowser-arrowscrollbox > .scrollbutton-down {
1413}
1414
1415#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1416#TabsToolbar .toolbarbutton-1[open],
1417#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1418.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1419.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
1420}
1421
1422/* unified back/forward button */
1423
1424#forward-button {
1425 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
1426}
1427
1428#forward-button > menupopup {
1429 margin-top: 1px !important;
1430}
1431
1432#forward-button > .toolbarbutton-icon {
1433 background-clip: padding-box !important;
1434 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
1435 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
1436}
1437
1438#forward-button {
1439 -moz-margin-start: -4px !important;
1440 padding-left: 4px;
1441 padding-right: 2px;
1442 margin-top: 3px;
1443 margin-bottom: 3px;
1444 border-radius: 0 10000px 10000px 0;
1445}
1446
1447#forward-button:-moz-locale-dir(rtl) {
1448 border-radius: 10000px 0 0 10000px;
1449}
1450
1451window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
1452 transition: margin-left 150ms ease-out;
1453}
1454
1455window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
1456 margin-left: -27px !important;
1457}
1458
1459window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1460 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1461 transition-delay: 100s;
1462}
1463
1464window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1465 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
1466 margin-left: -27.01px !important;
1467}
1468
1469#back-button {
1470/* padding-top: 3px !important;
1471 padding-bottom: 3px !important;
1472 -moz-padding-start: 5px !important;
1473 -moz-padding-end: 0 !important;*/
1474 position: relative;
1475 z-index: 1;
1476 border-radius: 10000px;
1477 width: 30px;
1478 height: 30px;
1479 margin-top: -2px;
1480 margin-bottom: -2px;
1481}
1482
1483#back-button:-moz-locale-dir(rtl) {
1484}
1485
1486#back-button > menupopup {
1487 margin-top: -1px !important;
1488}
1489
1490#back-button > .toolbarbutton-icon {
1491 border-radius: 10000px !important;
1492 background-clip: padding-box !important;
1493/* background-color: hsla(210,25%,98%,.08) !important;
1494 padding: 6px !important;
1495 border-style: none !important;
1496 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1497 0 0 0 1px hsla(210,4%,10%,.25);*/
1498 transition-property: background-color, box-shadow !important;
1499 transition-duration: 250ms !important;
1500}
1501
1502#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1503/* background-color: hsla(210,4%,10%,.08) !important;*/
1504}
1505
1506#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1507#back-button[open="true"] > .toolbarbutton-icon {
1508/* background-color: hsla(210,4%,10%,.12) !important;
1509 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1510 0 0 0 1px hsla(210,4%,10%,.25),
1511 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
1512}
1513
1514#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
1515 transform: scaleX(-1);
1516}
1517/*
1518.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1519.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1520 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
1521}
1522
1523.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1524.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1525 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
1526}
1527
1528#home-button.bookmark-item {
1529 list-style-image: url("chrome://browser/skin/Toolbar.png");
1530}
1531
1532#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1533#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1534#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1535#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1536#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1537#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1538#home-button.bookmark-item:-moz-lwtheme-brighttext {
1539 position: relative;
1540 z-index: 1;
1541 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
1542}
1543
1544#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1545#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1546 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
1547}
1548*/
1549
1550#downloads-button > .toolbarbutton-icon {
1551 margin: 0;
1552}
1553
1554/* tabview button & menu item */
1555
1556#menu_tabview {
1557 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1558 -moz-image-region: rect(1px, 89px, 17px, 73px);
1559}
1560
1561#menu_tabview[groups="0"] {
1562 -moz-image-region: rect(1px, 17px, 17px, 1px);
1563}
1564
1565#menu_tabview[groups="1"] {
1566 -moz-image-region: rect(1px, 35px, 17px, 19px);
1567}
1568
1569#menu_tabview[groups="2"] {
1570 -moz-image-region: rect(1px, 53px, 17px, 37px);
1571}
1572
1573#menu_tabview[groups="3"] {
1574 -moz-image-region: rect(1px, 71px, 17px, 55px);
1575}
1576
1577/* zoom control text (reset) button special case: */
1578
1579#nav-bar #zoom-reset-button > .toolbarbutton-text {
1580 /* To make this line up with the icons, it needs the same height (18px) +
1581 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1582 * increase in text sizes would break things...
1583 */
1584 min-height: 20px;
1585}
1586
1587/* ::::: fullscreen window controls ::::: */
1588
1589#window-controls {
1590 -moz-margin-start: 4px;
1591}
1592
1593#minimize-button,
1594#restore-button,
1595#close-button {
1596/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1597 padding: 0; */
1598}
1599
1600#minimize-button {
1601 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1602}
1603
1604#minimize-button:hover {
1605 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1606}
1607
1608#restore-button {
1609 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1610}
1611
1612#restore-button:hover {
1613 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1614}
1615
1616#close-button {
1617 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1618}
1619
1620#close-button:hover {
1621 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1622}
1623
1624/* ::::: Location Bar ::::: */
1625
1626#urlbar,
1627.searchbar-textbox {
1628 border-radius: 5px;
1629 margin: 2px 0;
1630 -moz-margin-start: 3px;
1631}
1632
1633#urlbar {
1634 /* make color as light as possible to deal with dark non-domain parts */
1635 color: #FFBFFF;
1636}
1637
1638#urlbar:-moz-lwtheme,
1639.searchbar-textbox:-moz-lwtheme {
1640 /* background-color: rgba(255,255,255,.8);
1641 @navbarTextboxCustomBorder@
1642 color: black; */
1643}
1644
1645#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1646.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1647/* background-color: rgba(255,255,255,.9);*/
1648}
1649
1650#urlbar:-moz-lwtheme[focused]:not([readonly]),
1651.searchbar-textbox:-moz-lwtheme[focused] {
1652/* background-color: white;*/
1653}
1654
1655window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1656 -moz-border-start: none;
1657/* margin-left: 0;*/
1658}
1659
1660window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1661/* border-top-left-radius: 0;
1662 border-bottom-left-radius: 0; */
1663}
1664
1665window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1666/* border-top-right-radius: 0;
1667 border-bottom-right-radius: 0; */
1668}
1669
1670window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1671/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
1672/* -moz-margin-start: -5px; */
1673}
1674
1675window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1676window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1677 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
1678 transform: scaleX(-1);
1679}
1680
1681window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1682 -moz-box-direction: reverse;
1683}
1684
1685html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1686.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
1687 color: #E7ADE7;
1688}
1689
1690#urlbar-container {
1691 -moz-box-orient: horizontal;
1692 -moz-box-align: stretch;
1693}
1694
1695.urlbar-textbox-container {
1696 -moz-box-align: stretch;
1697}
1698
1699.urlbar-input-box {
1700 -moz-margin-start: 0;
1701}
1702
1703#urlbar-icons {
1704 -moz-box-align: center;
1705}
1706
1707.urlbar-icon {
1708 padding: 0 2px;
1709}
1710
1711.searchbar-engine-button,
1712.search-go-container {
1713 padding: 2px;
1714}
1715
1716.search-go-container > .search-go-button {
1717 padding: 0;
1718}
1719
1720.urlbar-icon:hover {
1721}
1722
1723.urlbar-icon[open="true"],
1724.urlbar-icon:hover:active {
1725}
1726
1727#urlbar-search-splitter {
1728 min-width: 6px;
1729 -moz-margin-start: -3px;
1730 border: none;
1731 background: transparent;
1732}
1733
1734#urlbar-search-splitter + #urlbar-container > #urlbar,
1735#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1736 -moz-margin-start: 0;
1737}
1738
1739#urlbar-display-box {
1740}
1741
1742#urlbar-display {
1743 -moz-border-end: 1px solid #9C9CFF;
1744 -moz-margin-end: 3px;
1745 margin-top: 0;
1746 margin-bottom: 0;
1747 -moz-margin-start: 0;
1748 color: #8050B0;
1749}
1750
1751#search-container {
1752 min-width: calc(54px + 11ch);
1753}
1754
1755/* identity box */
1756
1757#identity-box {
1758 border-radius: 2px;
1759 font-size: .9em;
1760}
1761
1762#identity-box:-moz-locale-dir(ltr) {
1763/* border-top-left-radius: 1.5px;
1764 border-bottom-left-radius: 1.5px;*/
1765}
1766
1767#identity-box:-moz-locale-dir(rtl) {
1768/* border-top-right-radius: 1.5px;
1769 border-bottom-right-radius: 1.5px;*/
1770}
1771
1772#notification-popup-box:not([hidden]) + #identity-box {
1773 -moz-padding-start: 10px !important;
1774 border-radius: 0;
1775}
1776
1777window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
1778/* border-radius: 0; */
1779 -moz-padding-start: 2px;
1780 -moz-padding-end: 2px;
1781 -moz-margin-end: 1px;
1782}
1783
1784window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1785 transition: padding-left, padding-right;
1786}
1787
1788window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1789 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1790 padding-left: 2px;
1791}
1792
1793window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
1794 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1795 padding-right: 2px;
1796}
1797
1798window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
1799 #notification-popup-box[hidden] + #identity-box {
1800 /* forward button hiding is delayed when hovered */
1801 transition-delay: 100s;
1802}
1803
1804window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1805 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
1806 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1807 padding-left: 2.01px;
1808}
1809
1810window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
1811 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
1812 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
1813 padding-right: 2.01px;
1814}
1815
1816#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1817#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1818 -moz-margin-end: 3px;
1819}
1820
1821#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
1822#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
1823 border-top-right-radius: 0;
1824 border-bottom-right-radius: 0;
1825}
1826
1827#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
1828#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
1829 border-top-left-radius: 0;
1830 border-bottom-left-radius: 0;
1831}
1832
1833#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1834 background-color: #000000;
1835}
1836
1837#identity-box:-moz-focusring {
1838 outline: 1px dotted #008484;
1839 outline-offset: -1px;
1840}
1841
1842#identity-box.verifiedDomain:-moz-focusring,
1843#identity-box.verifiedIdentity:-moz-focusring {
1844 outline-color: #000000;
1845}
1846
1847#identity-icon-labels {
1848 -moz-margin-start: 1px;
1849 -moz-margin-end: 3px;
1850}
1851
1852/* Location bar dropmarker */
1853
1854.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
1855 background-color: transparent;
1856}
1857
1858#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1859#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
1860 border: none;
1861 border-radius: 0px;
1862}
1863
1864.urlbar-history-dropmarker:hover {
1865}
1866
1867.urlbar-history-dropmarker:hover:active,
1868.urlbar-history-dropmarker[open="true"] {
1869}
1870
1871/* page proxy icon */
1872
1873/* === BEGIN identity-block.inc.css === */
1874
1875#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1876 /* Default theme does different color per channel, we can't as they do it build-time. */
1877 color: #9C9CFF;
1878 -moz-border-end: 1px solid #9C9CFF;
1879}
1880
1881#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1882 color: #008484;
1883 -moz-border-end: 1px solid #008484;
1884}
1885
1886#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1887#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1888 background-position: right;
1889 background-size: 1px;
1890 background-repeat: no-repeat;
1891}
1892
1893/* page proxy icon */
1894
1895#page-proxy-favicon {
1896 width: 16px;
1897 height: 16px;
1898 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1899 margin: 2px;
1900}
1901
1902.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1903 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
1904}
1905
1906.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
1907 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1908}
1909
1910.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
1911 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1912}
1913
1914.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1915 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1916}
1917
1918.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1919 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1920}
1921
1922.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1923 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1924}
1925
1926#page-proxy-favicon[pageproxystate="invalid"] {
1927 opacity: 0.3;
1928}
1929
1930#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1931 list-style-image: url("chrome://branding/content/icon64.png");
1932}
1933
1934#identity-popup-brandName {
1935 font-weight: bold;
1936 font-size: 1.25em;
1937 margin-top: .5em;
1938 margin-bottom: .5em;
1939}
1940
1941#identity-popup-content-box {
1942 max-width: 50ch;
1943}
1944
1945/* === END identity-block.inc.css === */
1946
1947#page-proxy-favicon {
1948 -moz-image-region: rect(0, 16px, 16px, 0);
1949}
1950
1951window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
1952/* -moz-margin-end: 1px;*/
1953}
1954
1955#identity-box:hover > #page-proxy-favicon {
1956 -moz-image-region: rect(0, 32px, 16px, 16px);
1957}
1958
1959#identity-box:hover:active > #page-proxy-favicon,
1960#identity-box[open=true] > #page-proxy-favicon {
1961 -moz-image-region: rect(0, 48px, 16px, 32px);
1962}
1963
1964#identity-box:hover {
1965 background-color: #FFCF00;
1966 color: #000000;
1967}
1968
1969#identity-box:hover:active,
1970#identity-box[open=true] {
1971 background-color: #FF9F00;
1972 color: #000000;
1973}
1974
1975#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
1976#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
1977#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
1978 background-color: #9C9CFF;
1979 color: #000000;
1980}
1981
1982#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1983#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1984#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
1985 background-color: #008484;
1986 color: #000000;
1987}
1988
1989/* autocomplete */
1990
1991#treecolAutoCompleteImage {
1992 max-width: 36px;
1993}
1994
1995.ac-result-type-bookmark,
1996.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
1997 list-style-image: url("chrome://browser/skin/places/bookmark.png");
1998 -moz-image-region: rect(0px 16px 16px 0px);
1999 width: 16px;
2000 height: 16px;
2001}
2002
2003richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2004.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2005/* -moz-image-region: rect(0px 48px 16px 32px);*/
2006}
2007
2008.ac-result-type-keyword,
2009.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2010 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2011 -moz-image-region: rect(0px 32px 16px 16px);
2012 width: 16px;
2013 height: 16px;
2014}
2015
2016.ac-result-type-tag,
2017.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
2018 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
2019 width: 16px;
2020 height: 16px;
2021}
2022
2023.ac-comment {
2024 font-size: 1.06em;
2025}
2026
2027.ac-extra > .ac-comment {
2028 font-size: 1em;
2029}
2030
2031.ac-url-text,
2032.ac-action-text {
2033 font-size: 1em;
2034 color: #9C9CFF;
2035}
2036
2037richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2038 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
2039 -moz-image-region: rect(0, 16px, 16px, 0);
2040 padding: 0 3px;
2041}
2042
2043richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2044 -moz-image-region: rect(16px, 16px, 32px, 0);
2045}
2046
2047.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2048 color: #8050B0;
2049}
2050
2051.ac-comment[selected="true"],
2052.ac-url-text[selected="true"],
2053.ac-action-text[selected="true"] {
2054 color: inherit !important;
2055}
2056
2057.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2058.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
2059{
2060 color: #8050B0;
2061 font-size: smaller;
2062}
2063
2064.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2065 border-top: 1px solid #9C9CFF;
2066}
2067
2068/* combined go/reload/stop button in location bar */
2069
2070#urlbar > toolbarbutton {
2071 -moz-margin-start: 0;
2072 padding: 0 2px;
2073 background-origin: border-box;
2074 border: none;
2075 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
2076 -moz-border-start: 1px solid #9C9CFF;
2077}
2078
2079#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
2080 border-top-left-radius: 0px;
2081 border-bottom-left-radius: 0px;
2082}
2083
2084#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
2085 border-top-right-radius: 0px;
2086 border-bottom-right-radius: 0px;
2087}
2088
2089#urlbar > toolbarbutton:not([disabled=true]):active:hover,
2090#urlbar-reload-button:not(:hover) {
2091 -moz-border-start-style: none;
2092 -moz-padding-start: 3px;
2093}
2094
2095#urlbar-reload-button {
2096 -moz-image-region: rect(0px, 14px, 14px, 0px);
2097}
2098
2099#urlbar-reload-button[disabled=true] {
2100 -moz-image-region: rect(28px, 14px, 42px, 0px);
2101}
2102
2103#urlbar-reload-button:not([disabled=true]):hover {
2104 -moz-image-region: rect(14px, 14px, 28px, 0px);
2105}
2106
2107#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2108 transform: scaleX(-1);
2109}
2110
2111#urlbar-go-button {
2112 -moz-image-region: rect(0, 42px, 14px, 28px);
2113}
2114
2115#urlbar-go-button:hover {
2116 -moz-image-region: rect(14px, 42px, 28px, 28px);
2117}
2118
2119#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2120 transform: scaleX(-1);
2121}
2122
2123#urlbar-stop-button {
2124 -moz-image-region: rect(0px, 28px, 14px, 14px);
2125}
2126
2127#urlbar-stop-button:hover {
2128 -moz-image-region: rect(14px, 28px, 28px, 14px);
2129}
2130
2131/* popup blocker button */
2132
2133#page-report-button {
2134 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2135 -moz-image-region: rect(0, 16px, 16px, 0);
2136}
2137
2138#page-report-button:hover ,
2139#page-report-button:hover:active,
2140#page-report-button[open="true"] {
2141 -moz-image-region: rect(0, 32px, 16px, 16px);
2142}
2143
2144/* social share panel */
2145
2146#social-share-panel > iframe {
2147/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2148 width: 300px;
2149 height: 150px;
2150}
2151
2152.social-share-toolbar {
2153 border-right: 1px solid #9C9CFF;
2154/* background-color: #000000; */
2155}
2156
2157#social-share-provider-buttons {
2158 padding: 6px;
2159}
2160
2161#social-share-provider-buttons > .share-provider-button {
2162 -moz-appearance: none;
2163 padding: 5px;
2164 margin: 1px;
2165 border: none;
2166 background: none;
2167 border-radius: 2px;
2168}
2169
2170#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2171#social-share-provider-buttons > .share-provider-button:hover,
2172#social-share-provider-buttons > .share-provider-button:active {
2173 padding: 4px;
2174}
2175
2176#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2177}
2178
2179#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2180 display: none;
2181}
2182#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2183 width: 16px;
2184 min-height: 16px;
2185 max-height: 16px;
2186}
2187
2188toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2189 width: auto;
2190 height: auto;
2191 max-width: 32px;
2192 max-height: 24px;
2193}
2194
2195/* fixup corners for share panel */
2196.social-panel > .social-panel-frame {
2197 border-radius: inherit;
2198}
2199
2200#social-share-panel {
2201 max-height: 600px;
2202 min-height: 100px;
2203 max-width: 800px;
2204 min-width: 300px;
2205}
2206
2207.social-share-frame {
2208/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2209 width: 330px;
2210 height: 150px;
2211 /* we resize our panels dynamically, make it look nice */
2212 transition: height 100ms ease-out, width 100ms ease-out;
2213}
2214
2215.social-share-frame:-moz-locale-dir(ltr) {
2216 border-top-left-radius: 0;
2217 border-bottom-left-radius: 0;
2218 border-top-right-radius: inherit;
2219 border-bottom-right-radius: inherit;
2220}
2221
2222.social-share-frame:-moz-locale-dir(rtl) {
2223 border-top-left-radius: inherit;
2224 border-bottom-left-radius: inherit;
2225 border-top-right-radius: 0;
2226 border-bottom-right-radius: 0;
2227}
2228
2229#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2230 border-top-left-radius: inherit;
2231 border-bottom-left-radius: inherit;
2232}
2233
2234#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2235 border-top-right-radius: inherit;
2236 border-bottom-right-radius: inherit;
2237}
2238
2239#social-share-provider-buttons:-moz-locale-dir(ltr) {
2240 border-top-left-radius: inherit;
2241 border-bottom-left-radius: inherit;
2242}
2243
2244#social-share-provider-buttons:-moz-locale-dir(rtl) {
2245 border-top-right-radius: inherit;
2246 border-bottom-right-radius: inherit;
2247}
2248
2249/* social recommending panel */
2250
2251#social-mark-button {
2252 -moz-image-region: rect(0, 16px, 16px, 0);
2253}
2254
2255/* bookmarks menu-button */
2256
2257#bookmarks-menu-button.bookmark-item {
2258 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2259 -moz-image-region: rect(0px 16px 16px 0px);
2260}
2261
2262#bookmarks-menu-button.bookmark-item[starred] {
2263 -moz-image-region: rect(0px 32px 16px 16px);
2264}
2265
2266#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2267 -moz-margin-start: 5px;
2268}
2269
2270#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2271 padding-top: 2px;
2272 padding-bottom: 2px;
2273}
2274
2275#BMB_bookmarksPopup[side="top"],
2276#BMB_bookmarksPopup[side="bottom"] {
2277 margin-left: -20px;
2278 margin-right: -20px;
2279}
2280
2281#BMB_bookmarksPopup[side="left"],
2282#BMB_bookmarksPopup[side="right"] {
2283 margin-top: -20px;
2284 margin-bottom: -20px;
2285}
2286
2287/* bookmarking panel */
2288
2289#editBookmarkPanelStarIcon {
2290 list-style-image: url("chrome://browser/skin/places/starred48.png");
2291 width: 48px;
2292 height: 48px;
2293}
2294
2295#editBookmarkPanelStarIcon[unstarred] {
2296 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
2297}
2298
2299#editBookmarkPanelTitle {
2300 font-size: 130%;
2301}
2302
2303#editBookmarkPanelHeader,
2304#editBookmarkPanelContent {
2305 margin-bottom: .5em;
2306}
2307
2308/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2309#editBMPanel_folderTree {
2310 min-width: 27em;
2311}
2312
2313.panel-promo-box {
2314 margin: 5px 0 -6px;
2315 padding: 5px 0;
2316 border-top: 1px solid #9C9CFF;
2317 border-bottom-left-radius: 5px;
2318 border-bottom-right-radius: 5px;
2319}
2320
2321.panel-promo-icon {
2322 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2323 -moz-margin-end: 10px;
2324 vertical-align: middle;
2325}
2326
2327.panel-promo-closebutton {
2328 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2329 -moz-margin-end: -3px;
2330 margin-top: -3px;
2331}
2332
2333.panel-promo-closebutton:hover {
2334 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2335}
2336
2337.panel-promo-closebutton:hover:active {
2338 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2339}
2340
2341.panel-promo-closebutton > .toolbarbutton-text {
2342 padding: 0;
2343 margin: 0;
2344}
2345
2346/* ::::: content area ::::: */
2347
2348#sidebar {
2349 background-color: Window;
2350}
2351
2352#sidebar-title {
2353 -moz-padding-start: 0px;
2354}
2355
2356#sidebar-header > .close-icon {
2357/* padding: 4px 2px;
2358 margin: 0;
2359 border: none;*/
2360 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2361}
2362
2363#sidebar-header > .close-icon:hover,
2364#sidebar-header > .close-icon:hover:active {
2365 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2366}
2367
2368.browserContainer > findbar {
2369/*
2370 background-color: -moz-dialog;
2371 color: -moz-DialogText;
2372*/
2373}
2374
2375/* Tabstrip */
2376
2377#TabsToolbar {
2378 min-height: 0;
2379 padding: 0;
2380 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2381}
2382
2383#TabsToolbar .toolbar-holder {
2384 background-color: #000000; /* correct effect of being an actual toolbar */
2385}
2386
2387#main-window[disablechrome] #TabsToolbar,
2388#TabsToolbar[tabsontop="false"] {
2389 border-bottom: 1px solid #008484;
2390}
2391
2392#main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
2393}
2394
2395#main-window[tabsintitlebar] #TabsToolbar {
2396 background-color: transparent;
2397}
2398
2399/* === BEGIN tabs.inc.css === */
2400
2401.tabbrowser-tab,
2402.tabs-newtab-button,
2403#TabsToolbar > #new-tab-button {
2404 margin-top: 0px;
2405}
2406
2407.tabbrowser-tab {
2408 padding: 1px 4px 2px;
2409}
2410
2411.tabbrowser-tab:first-of-type {
2412 -moz-margin-start: 2px;
2413}
2414
2415.tabs-newtab-button,
2416#TabsToolbar > #new-tab-button {
2417 border-radius: 8px 8px 0px 0px;
2418 -moz-margin-start: 0;
2419}
2420
2421.tabs-newtab-button:not(:hover),
2422#TabsToolbar > #new-tab-button:not(:hover) {
2423 background-color: #C09070;
2424}
2425
2426.tabbrowser-tab[remote] {
2427 text-decoration: underline;
2428}
2429
2430/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2431.tabbrowser-tab[selected=true] {
2432/* position: relative;
2433 z-index: 2;*/
2434}
2435
2436.tab-background-middle {
2437}
2438
2439.tab-content {
2440}
2441
2442.tab-/*throbber*/,
2443.tab-icon-image,
2444.tab-close-button {
2445}
2446
2447.tab-throbber,
2448.tab-icon-image {
2449 height: 16px;
2450 width: 16px;
2451}
2452
2453.tab-icon-image {
2454 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2455}
2456
2457.tab-throbber {
2458 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
2459}
2460
2461.tab-throbber[progress] {
2462 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
2463}
2464
2465.tab-throbber:not([pinned]),
2466.tab-icon-image:not([pinned]) {
2467 -moz-margin-end: 3px;
2468}
2469
2470.tab-throbber[pinned],
2471.tab-icon-image[pinned] {
2472 -moz-margin-start: 2px;
2473 -moz-margin-end: 2px;
2474}
2475
2476.tab-label {
2477 /* this needs to add up to the 16px of the icon image */
2478 height: 12px;
2479 margin-top: 2px !important;
2480 margin-bottom: 2px !important;
2481}
2482
2483.tab-close-button {
2484 margin-top: 1px;
2485 padding: 0;
2486}
2487
2488.tab-background,
2489.tabs-newtab-button {
2490 /* overlap the tab curves */
2491}
2492
2493.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2494}
2495
2496.tab-background-start[selected=true]::after,
2497.tab-background-start[selected=true]::before,
2498.tab-background-start,
2499.tab-background-end,
2500.tab-background-end[selected=true]::after,
2501.tab-background-end[selected=true]::before {
2502}
2503
2504.tabbrowser-tab:not([selected=true]),
2505.tabbrowser-tab:-moz-lwtheme {
2506}
2507
2508/* tabbrowser-tab focus ring */
2509.tabbrowser-tab:focus {
2510 outline: 1px dotted;
2511}
2512
2513/* Selected tab */
2514
2515.tabbrowser-tab[selected="true"] {
2516}
2517
2518/* End selected tab */
2519
2520/* Tab pointer-events */
2521/*
2522.tabbrowser-tab {
2523 pointer-events: none;
2524}
2525
2526.tab-background-middle,
2527.tabs-newtab-button,
2528.tab-close-button {
2529 pointer-events: auto;
2530}
2531*/
2532/* Pinned tabs */
2533
2534.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2535 background-color: #E7ADE7;
2536}
2537
2538.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2539 background-color: #3333FF;
2540 color: #000000;
2541}
2542
2543/* New tab button */
2544
2545.tabs-newtab-button {
2546 width: 28px;
2547}
2548
2549/* === END tabs.inc.css === */
2550
2551/* Background tabs:
2552 *
2553 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2554 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2555 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2556 */
2557#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2558/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2559}
2560
2561/* Tab DnD indicator */
2562.tab-drop-indicator {
2563 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
2564 margin-bottom: -11px;
2565}
2566
2567/* Tab close button */
2568.tab-close-button {
2569 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2570}
2571
2572.tab-close-button:hover,
2573.tab-close-button:hover[selected="true"] {
2574 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2575}
2576
2577.tab-close-button:hover:active,
2578.tab-close-button:hover:active[selected="true"] {
2579 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2580}
2581
2582/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2583
2584.tabbrowser-arrowscrollbox > .scrollbutton-up,
2585.tabbrowser-arrowscrollbox > .scrollbutton-down {
2586 margin: 0;
2587 padding-top: 0;
2588 padding-bottom: 0;
2589 background-origin: border-box;
2590}
2591
2592#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2593#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2594.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2595.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2596 }
2597
2598.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2599.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2600 }
2601
2602.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2603.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2604/* transform: scaleX(-1);*/
2605}
2606
2607.tabbrowser-arrowscrollbox > .scrollbutton-down {
2608 transition: 1s background-color ease-out;
2609}
2610
2611.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2612 background-color: #008484;
2613}
2614
2615.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2616.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2617/* border-width: 0 2px 0 0;
2618 border-style: solid;
2619 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2620}
2621
2622.tabs-newtab-button > .toolbarbutton-icon {
2623 margin-top: -1px;
2624 margin-bottom: -1px;
2625}
2626
2627.tabs-newtab-button,
2628#TabsToolbar > #new-tab-button,
2629#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2630#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
2631 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
2632 -moz-image-region: rect(0, 16px, 18px, 0);
2633}
2634
2635.tabs-newtab-button,
2636.tabs-newtab-button:hover,
2637#TabsToolbar > #new-tab-button,
2638#TabsToolbar > #new-tab-button:hover {
2639 -moz-image-region: rect(0, 32px, 18px, 16px);
2640}
2641
2642#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2643#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2644#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2645.tabs-newtab-button:-moz-lwtheme-brighttext,
2646#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2647#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
2648}
2649
2650#TabsToolbar > #new-tab-button {
2651 width: 26px;
2652}
2653
2654#alltabs-button {
2655 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
2656}
2657
2658#alltabs-button:hover,
2659#alltabs-button:hover:active,
2660#alltabs-button[open="true"] {
2661 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
2662}
2663
2664#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2665#alltabs-button:-moz-lwtheme-brighttext {
2666}
2667
2668#alltabs-button > .toolbarbutton-icon {
2669/* margin: 0 2px;*/
2670}
2671
2672#alltabs-button > .toolbarbutton-menu-dropmarker {
2673 display: none;
2674}
2675
2676/* All tabs menupopup */
2677.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
2678 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
2679 -moz-image-region: auto;
2680}
2681
2682.alltabs-item[selected="true"] {
2683 font-weight: bold;
2684}
2685
2686.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2687 list-style-image: url("chrome://global/skin/icons/loading.gif");
2688}
2689
2690.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
2691 background-color: #402800;
2692}
2693
2694toolbarbutton.chevron {
2695 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
2696}
2697
2698toolbarbutton.chevron:hover {
2699 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
2700}
2701
2702toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2703toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
2704 transform: scaleX(-1);
2705}
2706
2707toolbarbutton.chevron > .toolbarbutton-text,
2708toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2709 display: none;
2710}
2711
2712toolbarbutton.chevron > .toolbarbutton-icon {
2713 margin: 0;
2714}
2715
2716#sidebar-throbber[loading="true"] {
2717 list-style-image: url("chrome://global/skin/icons/loading.gif");
2718 -moz-margin-end: 4px;
2719}
2720
2721/* Bookmarks toolbar */
2722#PlacesToolbarDropIndicator {
2723 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
2724}
2725
2726toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2727 background-color: #008484 !important;
2728 color: #FFCF00 !important;
2729}
2730
2731/* rules for menupopup drop indicators */
2732.menupopup-drop-indicator-bar {
2733 position: relative;
2734 /* these two margins must together compensate the indicator's height */
2735 margin-top: -1px;
2736 margin-bottom: -1px;
2737}
2738
2739.menupopup-drop-indicator {
2740 list-style-image: none;
2741 height: 2px;
2742 -moz-margin-end: -4em;
2743 background-color: #008484;
2744}
2745
2746/* ::::: Identity Indicator Styling ::::: */
2747
2748/* Popup Icons */
2749#identity-popup-icon {
2750 height: 64px;
2751 width: 64px;
2752 padding: 0;
2753 list-style-image: url("chrome://browser/skin/identity.png");
2754 -moz-image-region: rect(0px, 64px, 64px, 0px);
2755}
2756
2757#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2758 -moz-image-region: rect(64px, 64px, 128px, 0px);
2759}
2760
2761#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2762 -moz-image-region: rect(128px, 64px, 192px, 0px);
2763}
2764
2765/* Popup Body Text */
2766.identity-popup-description {
2767 white-space: pre-wrap;
2768 -moz-padding-start: 15px;
2769 margin: 2px 0 4px;
2770}
2771
2772.identity-popup-label {
2773 white-space: pre-wrap;
2774 -moz-padding-start: 15px;
2775 margin: 0;
2776}
2777
2778#identity-popup-content-host,
2779#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2780 font-size: 1.2em;
2781}
2782
2783#identity-popup-content-host {
2784 margin-top: 3px;
2785 margin-bottom: 5px;
2786 font-weight: bold;
2787 max-width: 300px;
2788}
2789
2790#identity-popup-content-owner {
2791 margin-top: 4px;
2792 margin-bottom: 0 !important;
2793 font-weight: bold;
2794 max-width: 300px;
2795}
2796
2797.verifiedDomain > #identity-popup-content-owner {
2798 font-weight: normal;
2799}
2800
2801#identity-popup-content-verifier {
2802 margin: 4px 0 2px;
2803}
2804
2805#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2806#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2807 margin-top: 10px;
2808 -moz-margin-start: -24px;
2809}
2810
2811#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2812#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2813 list-style-image: url("chrome://browser/skin/Secure24.png");
2814}
2815
2816#identity-popup-help-icon {
2817 border: none;
2818 margin: 7px 0 0 -3px;
2819 background: none;
2820 min-width: 0;
2821 list-style-image: url("chrome://global/skin/icons/question-16.png");
2822 cursor: pointer;
2823}
2824
2825#identity-popup-help-icon > .button-box > .button-text {
2826 display: none;
2827}
2828
2829#identity-popup-help-icon > .button-box > .button-icon {
2830 height: 16px;
2831 width: 16px;
2832}
2833
2834#identity-popup-more-info-button {
2835 margin-top: 6px;
2836 margin-bottom: 0;
2837 -moz-margin-end: 0;
2838}
2839
2840#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2841 padding: 0;
2842}
2843
2844#identity-popup-container {
2845 min-width: 280px;
2846 padding: 10px;
2847}
2848
2849#identity-popup-button-container {
2850/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2851 padding: 10px;
2852 margin-top: 5px;
2853}
2854
2855.popup-notification-icon {
2856 width: 64px;
2857 height: 64px;
2858 -moz-margin-end: 10px;
2859}
2860
2861.popup-notification-icon[popupid="geolocation"] {
2862 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
2863}
2864
2865.popup-notification-icon[popupid="xpinstall-disabled"],
2866.popup-notification-icon[popupid="addon-progress"],
2867.popup-notification-icon[popupid="addon-install-cancelled"],
2868.popup-notification-icon[popupid="addon-install-blocked"],
2869.popup-notification-icon[popupid="addon-install-failed"],
2870.popup-notification-icon[popupid="addon-install-complete"] {
2871 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2872 width: 32px;
2873 height: 32px;
2874}
2875
2876.popup-notification-icon[popupid="click-to-play-plugins"] {
2877 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
2878}
2879
2880.popup-notification-icon[popupid="plugins-not-found"] {
2881 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2882}
2883
2884.popup-notification-icon[popupid="web-notifications"] {
2885 list-style-image: url("chrome://browser/skin/notification-64.png");
2886}
2887
2888.addon-progress-description {
2889 width: 350px;
2890 max-width: 350px;
2891}
2892
2893.popup-progress-label,
2894.popup-progress-meter {
2895 -moz-margin-start: 0;
2896 -moz-margin-end: 0;
2897}
2898
2899.popup-progress-cancel {
2900 -moz-appearance: none;
2901 background: transparent;
2902 border: none;
2903 padding: 0;
2904 margin: 0;
2905 min-height: 0;
2906 min-width: 0;
2907 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2908 -moz-image-region: rect(0px, 32px, 16px, 16px);
2909}
2910
2911.popup-progress-cancel:hover {
2912 -moz-image-region: rect(16px, 32px, 32px, 16px);
2913}
2914
2915.popup-progress-cancel:active {
2916 -moz-image-region: rect(32px, 32px, 48px, 16px);
2917}
2918
2919.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
2920.popup-notification-icon[popupid="indexedDB-quota-prompt"],
2921.popup-notification-icon[popupid*="offline-app-requested"],
2922.popup-notification-icon[popupid="offline-app-usage"] {
2923 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
2924}
2925
2926.popup-notification-icon[popupid="password-save"],
2927.popup-notification-icon[popupid="password-change"] {
2928 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
2929}
2930
2931.popup-notification-icon[popupid="webapps-install-progress"],
2932.popup-notification-icon[popupid="webapps-install"] {
2933 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
2934}
2935
2936.popup-notification-icon[popupid="mixed-content-blocked"] {
2937 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2938}
2939
2940.popup-notification-icon[popupid="webRTC-sharingDevices"],
2941.popup-notification-icon[popupid="webRTC-shareDevices"] {
2942 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2943}
2944
2945.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
2946.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
2947 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
2948}
2949
2950.popup-notification-icon[popupid="pointerLock"] {
2951 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2952}
2953
2954/* Notification icon box */
2955#notification-popup .panel-promo-box {
2956/* margin: 10px -10px -10px; */
2957}
2958
2959#notification-popup-box {
2960 position: relative;
2961 background-color: #000000;
2962 background-clip: padding-box;
2963 padding-left: 3px;
2964 padding-right: 8px;
2965 border-radius: 3px 0 0 3px;
2966 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
2967 -moz-margin-end: -8px;
2968 border-right-width: 8px;
2969}
2970
2971window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
2972/* padding-left: 7px; */
2973}
2974
2975#notification-popup-box:-moz-locale-dir(rtl),
2976.notification-anchor-icon:-moz-locale-dir(rtl) {
2977 transform: scaleX(-1);
2978}
2979
2980.notification-anchor-icon {
2981 width: 16px;
2982 height: 16px;
2983 margin: 0 2px;
2984}
2985
2986.notification-anchor-icon:-moz-focusring {
2987 outline: 1px dotted #008484;
2988/* outline-offset: -3px; */
2989}
2990
2991.default-notification-icon,
2992#default-notification-icon {
2993 list-style-image: url("chrome://global/skin/icons/information-16.png");
2994}
2995
2996.identity-notification-icon,
2997#identity-notification-icon {
2998 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2999}
3000
3001.geo-notification-icon,
3002#geo-notification-icon {
3003 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
3004}
3005
3006#addons-notification-icon {
3007 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
3008}
3009
3010.indexedDB-notification-icon,
3011#indexedDB-notification-icon {
3012 list-style-image: url("chrome://global/skin/icons/question-16.png");
3013}
3014
3015#password-notification-icon {
3016 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
3017}
3018
3019#webapps-notification-icon {
3020 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
3021}
3022
3023#plugins-notification-icon {
3024 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3025}
3026
3027#plugins-notification-icon.plugin-hidden {
3028 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
3029}
3030
3031#plugins-notification-icon.plugin-blocked {
3032 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
3033}
3034
3035#plugins-notification-icon {
3036/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3037}
3038
3039#plugins-notification-icon:hover {
3040/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3041}
3042
3043#plugin-install-notification-icon {
3044 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3045}
3046
3047#notification-popup-box[hidden] {
3048 /* Override display:none to make the pluginBlockedNotification animation work
3049 when showing the notification repeatedly. */
3050 display: -moz-box;
3051 visibility: collapse;
3052}
3053
3054#plugins-notification-icon.plugin-blocked[showing] {
3055 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3056}
3057
3058@keyframes pluginBlockedNotification {
3059 from {
3060 opacity: 0;
3061 }
3062 to {
3063 opacity: 1;
3064 }
3065}
3066
3067.mixed-content-blocked-notification-icon,
3068#mixed-content-blocked-notification-icon {
3069 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3070}
3071
3072.webRTC-shareDevices-notification-icon,
3073#webRTC-shareDevices-notification-icon {
3074 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3075}
3076
3077.webRTC-sharingDevices-notification-icon,
3078#webRTC-sharingDevices-notification-icon {
3079 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3080}
3081
3082.webRTC-shareMicrophone-notification-icon,
3083#webRTC-shareMicrophone-notification-icon {
3084 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3085}
3086
3087.webRTC-sharingMicrophone-notification-icon,
3088#webRTC-sharingMicrophone-notification-icon {
3089 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3090}
3091
3092.web-notifications-notification-icon,
3093#web-notifications-notification-icon {
3094 list-style-image: url("chrome://browser/skin/notification-16.png");
3095}
3096
3097#pointerLock-notification-icon {
3098 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3099}
3100#pointerLock-cancel {
3101 margin: 0px;
3102}
3103
3104/* Bookmarks roots menu-items */
3105#subscribeToPageMenuitem:not([disabled]),
3106#subscribeToPageMenupopup,
3107#BMB_subscribeToPageMenuitem:not([disabled]),
3108#BMB_subscribeToPageMenupopup {
3109 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
3110}
3111
3112#bookmarksToolbarFolderMenu,
3113#BMB_bookmarksToolbar,
3114#panelMenu_bookmarksToolbar {
3115 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
3116 -moz-image-region: auto;
3117}
3118
3119#BMB_unsortedBookmarks,
3120#panelMenu_unsortedBookmarks {
3121 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
3122 -moz-image-region: auto;
3123}
3124
3125/* ::::: Keyboard UI Panel ::::: */
3126
3127.KUI-panel {
3128 color: #FF9F00;
3129 border-style: none;
3130 border-radius: 20px;
3131}
3132
3133.KUI-panel[level="top"] {
3134 /*background-color: rgba(27%,27%,27%,.65);*/
3135}
3136
3137/* Ctrl-Tab */
3138
3139#ctrlTab-panel {
3140 padding: 20px 10px 10px;
3141 font-weight: bold;
3142}
3143
3144.ctrlTab-favicon[src] {
3145 background-color: #000000;
3146 width: 20px;
3147 height: 20px;
3148 padding: 2px;
3149}
3150
3151.ctrlTab-preview-inner > .tabPreview-canvas {
3152}
3153
3154.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3155 margin-bottom: 2px;
3156}
3157
3158.ctrlTab-preview-inner {
3159 padding-bottom: 10px;
3160}
3161
3162#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3163 padding: 10px;
3164 background-color: #000000;
3165 border-radius: .5em;
3166}
3167
3168.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3169 color: white;
3170 background-color: #000000;
3171 text-shadow: none;
3172 padding: 8px;
3173 border: 2px solid #9C9CFF;
3174 border-radius: .5em;
3175}
3176
3177.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3178 margin: -10px -10px 0;
3179}
3180
3181#ctrlTab-showAll {
3182 margin-top: .5em;
3183}
3184
3185/* Sync Panel */
3186
3187.sync-panel-icon {
3188 height:32px;
3189 width: 32px;
3190 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3191}
3192
3193.sync-panel-inner {
3194 width: 0;
3195 padding-left: 10px;
3196}
3197
3198.sync-panel-button-box {
3199 margin-top: 1em;
3200}
3201
3202#sync-error-panel-title,
3203#sync-start-panel-title {
3204 font-size: 120%;
3205 font-weight: bold;
3206 margin-bottom: 5px;
3207}
3208
3209#sync-start-panel-subtitle,
3210#sync-error-panel-subtitle {
3211 margin: 0;
3212}
3213
3214/* Status panel */
3215
3216.statuspanel-label {
3217 margin: 0;
3218 padding: 2px 4px;
3219 background: #404000;
3220 border: 1px none #9C9CFF;
3221 border-top-style: solid;
3222 color: #FF9F00;
3223 text-shadow: none;
3224}
3225
3226.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3227.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3228 border-right-style: solid;
3229 border-top-right-radius: .3em;
3230 margin-right: 1em;
3231}
3232
3233.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3234.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3235 border-left-style: solid;
3236 border-top-left-radius: .3em;
3237 margin-left: 1em;
3238}
3239
3240/* HACK to abolish devily color on main content */
3241
3242#content {
3243 background-color: transparent !important;
3244}
3245
3246/* === BEGIN highlighter.inc.css === */
3247
3248/* Box model highlighter */
3249svg|g.box-model-container {
3250 opacity: 0.4;
3251}
3252
3253svg|polygon.box-model-content {
3254 fill: #008484;
3255}
3256
3257svg|polygon.box-model-padding {
3258 fill: #9C9CFF;
3259}
3260
3261svg|polygon.box-model-border {
3262 fill: #FFCF00;
3263}
3264
3265svg|polygon.box-model-margin {
3266 fill: #A09090;
3267}
3268
3269svg|polygon.box-model-content,
3270svg|polygon.box-model-padding,
3271svg|polygon.box-model-border,
3272svg|polygon.box-model-margin {
3273 stroke: none;
3274}
3275
3276svg|line.box-model-guide-top,
3277svg|line.box-model-guide-right,
3278svg|line.box-model-guide-bottom,
3279svg|line.box-model-guide-left {
3280 stroke: #E7ADE7;
3281 stroke-dasharray: 5 3;
3282}
3283
3284/* Highlighter - Node Infobar */
3285
3286.highlighter-nodeinfobar {
3287 color: #FF9F00;
3288 border-radius: 3px;
3289 background-color: #000000;
3290 background-clip: padding-box;
3291 border: 1px solid #008484;
3292 padding: 5px;
3293 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3294 short */
3295 min-width: 75px;
3296}
3297
3298/* Highlighter - Node Infobar - text */
3299
3300.highlighter-nodeinfobar-text {
3301 text-align: center;
3302 /* 100% - size of the buttons and margins */
3303 max-width: calc(100% - 2 * (26px + 6px));
3304 padding-bottom: 1px;
3305}
3306
3307html|*.highlighter-nodeinfobar-tagname {
3308 color: #FFCF00;
3309}
3310
3311html|*.highlighter-nodeinfobar-id {
3312 color: #9C9CFF;
3313}
3314
3315html|*.highlighter-nodeinfobar-pseudo-classes {
3316 color: #FF9F00;
3317}
3318
3319/* Highlighter - Node Infobar - box & arrow */
3320
3321.highlighter-nodeinfobar-arrow {
3322 width: 14px;
3323 height: 14px;
3324 -moz-margin-start: calc(50% - 7px);
3325 transform: rotate(-45deg);
3326 background-clip: padding-box;
3327 background-repeat: no-repeat;
3328}
3329
3330.highlighter-nodeinfobar-arrow-top {
3331 margin-bottom: -8px;
3332 margin-top: 8px;
3333 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
3334}
3335
3336.highlighter-nodeinfobar-arrow-bottom {
3337 margin-top: -8px;
3338 margin-bottom: 8px;
3339 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
3340}
3341
3342.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
3343 margin: 7px 0;
3344}
3345
3346/* === END highlighter.inc.css === */
3347
3348#full-screen-warning-message {
3349 background-color: #000000;
3350 color: #FF9F00;
3351 border-radius: 8px;
3352 margin-top: 30px;
3353 padding: 30px 50px;
3354 box-shadow: 0 0 2px #9C9CFF;
3355}
3356
3357#full-screen-warning-container[obscure-browser] {
3358 background-color: rgba(0,0,0,0.3);
3359}
3360
3361.full-screen-description {
3362 font-size: 150%;
3363}
3364
3365#full-screen-domain-text {
3366 font-size: 300%;
3367}
3368
3369.full-screen-approval-button,
3370#full-screen-remember-decision {
3371 font-size: 120%;
3372}
3373
3374/* === BEGIN commandline.inc.css === */
3375
3376/* Developer toolbar */
3377
3378#developer-toolbar {
3379 border-top: 3px solid #000000;
3380 border-bottom: none;
3381}
3382
3383#developer-toolbar .toolbar-holder {
3384 background-color: #8050B0;
3385 color: #FFCF00;
3386}
3387
3388#developer-toolbar .toolbar-holder {
3389 background-color: #8050B0;
3390 color: #FFCF00;
3391}
3392
3393#developer-toolbar .toolbar-startcap,
3394#developer-toolbar .toolbar-endcap{
3395 background-color: #6000CF;
3396}
3397
3398#developer-toolbar {
3399/* padding: 0;
3400 min-height: 32px; */
3401}
3402
3403#developer-toolbar > toolbarbutton {
3404/* margin: 0;
3405 padding: 0 10px;
3406 width: 32px; */
3407}
3408
3409.developer-toolbar-button > image {
3410/* margin: auto 10px; */
3411}
3412
3413#developer-toolbar-toolbox-button > label {
3414 display: none;
3415}
3416
3417#developer-toolbar-toolbox-button {
3418 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3419 -moz-image-region: rect(0px, 16px, 16px, 0px);
3420}
3421
3422#developer-toolbar-toolbox-button > label {
3423 display: none;
3424}
3425
3426#developer-toolbar-toolbox-button:hover,
3427#developer-toolbar-toolbox-button:hover:active,
3428#developer-toolbar-toolbox-button[checked=true] {
3429 -moz-image-region: rect(0px, 32px, 16px, 16px);
3430}
3431
3432#developer-toolbar-closebutton {
3433 list-style-image: url("chrome://browser/skin/devtools/close.png");
3434 -moz-image-region: rect(0px, 16px, 16px, 0px);
3435 min-width: 16px;
3436 width: 16px;
3437}
3438
3439#developer-toolbar-closebutton > .toolbarbutton-icon {
3440}
3441
3442#developer-toolbar-closebutton > .toolbarbutton-text {
3443 display: none;
3444}
3445
3446#developer-toolbar-closebutton:hover,
3447#developer-toolbar-closebutton:hover:active {
3448 -moz-image-region: rect(0px, 32px, 16px, 16px);
3449}
3450
3451/* GCLI */
3452
3453html|*#gcli-tooltip-frame,
3454html|*#gcli-output-frame {
3455 padding: 0;
3456 border-width: 0;
3457 background-color: transparent;
3458}
3459
3460#gcli-output,
3461#gcli-tooltip {
3462 border-width: 0;
3463 background-color: transparent;
3464}
3465
3466.gclitoolbar-input-node,
3467.gclitoolbar-complete-node {
3468 margin: 1px 3px;
3469 -moz-box-align: center;
3470 padding-top: 0;
3471 padding-bottom: 0;
3472 padding-right: 8px;
3473 background-color: transparent;
3474}
3475
3476.gclitoolbar-input-node {
3477 padding-left: 20px;
3478/* line-height: 32px;
3479 outline-style: none; */
3480 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
3481 background-repeat: no-repeat;
3482 background-color: rgba(0, 0, 0, .75);
3483}
3484
3485.gclitoolbar-input-node[focused="true"] {
3486 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
3487 background-color: #000000;
3488}
3489
3490.gclitoolbar-input-node:not([focused="true"]) {
3491 border-color: transparent;
3492}
3493
3494.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3495 background-color: #008484;
3496 color: #000000;
3497 text-shadow: none;
3498}
3499
3500.gclitoolbar-complete-node {
3501 padding-left: 21px;
3502 background-color: transparent;
3503 color: transparent;
3504 z-index: 100;
3505 pointer-events: none;
3506}
3507
3508.gcli-in-incomplete,
3509.gcli-in-error,
3510.gcli-in-ontab,
3511.gcli-in-todo,
3512.gcli-in-closebrace,
3513.gcli-in-param,
3514.gcli-in-valid {
3515 margin: 0;
3516 padding: 0;
3517}
3518
3519.gcli-in-incomplete {
3520 border-bottom: 2px dotted #8050B0;
3521}
3522
3523.gcli-in-error {
3524 border-bottom: 2px dotted #FF0000;
3525}
3526
3527.gcli-in-ontab {
3528 color: #9C9CFF;
3529}
3530
3531.gcli-in-todo {
3532 color: #795900;
3533}
3534
3535.gcli-in-closebrace {
3536 color: #8050B0;
3537}
3538
3539/* === END commandline.inc.css === */
3540
3541/* === BEGIN responsivedesign.inc.css === */
3542
3543/* Responsive Mode */
3544
3545.browserContainer[responsivemode] {
3546 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
3547 padding: 0 20px 20px 20px;
3548}
3549
3550.browserStack[responsivemode] {
3551 box-shadow: 0 0 7px #9C9CFF;
3552}
3553
3554.devtools-responsiveui-toolbar {
3555 background: transparent;
3556 /* text color is textColor from dark theme, since no theme is applied to
3557 * the responsive toolbar.
3558 */
3559 color: #FF9F00;
3560 margin: 10px 0;
3561 padding: 0;
3562 box-shadow: none;
3563 border-bottom-width: 0;
3564}
3565
3566.devtools-responsiveui-menulist,
3567.devtools-responsiveui-toolbarbutton {
3568 -moz-box-align: center;
3569 min-width: 32px;
3570/* min-height: 22px;*/
3571/* margin: 0 3px; */
3572}
3573
3574.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3575 -moz-box-orient: horizontal;
3576}
3577
3578.devtools-responsiveui-menulist:-moz-focusring,
3579.devtools-responsiveui-toolbarbutton:-moz-focusring {
3580/* outline: 1px dotted hsla(210,30%,85%,0.7);
3581 outline-offset: -4px;*/
3582}
3583
3584.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3585 display: none;
3586}
3587
3588.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3589/* border-color: hsla(210,8%,5%,.6);
3590 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3591 box-shadow: 0 0 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3592}
3593
3594.devtools-responsiveui-menulist[open=true],
3595.devtools-responsiveui-toolbarbutton[open=true],
3596.devtools-responsiveui-toolbarbutton[checked=true] {
3597/* border-color: hsla(210,8%,5%,.6) !important;
3598 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3599 box-shadow: 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 3px hsla(210,8%,5%,.25) inset, 0 1px 0 hsla(210,16%,76%,.15); */
3600}
3601
3602.devtools-responsiveui-toolbarbutton[checked=true] {
3603/* color: hsl(208,100%,60%); */
3604}
3605
3606.devtools-responsiveui-toolbarbutton[checked=true]:hover {
3607/* background-color: transparent !important;*/
3608}
3609
3610.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3611/* background-color: hsla(210,8%,5%,.2) !important;*/
3612}
3613
3614.devtools-responsiveui-menulist > .menulist-label-box {
3615 text-align: center;
3616}
3617
3618.devtools-responsiveui-menulist > .menulist-dropmarker {
3619/* display: -moz-box;
3620 background-color: transparent;
3621 list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3622 -moz-box-align: center;
3623 border-width: 0;
3624 min-width: 16px;*/
3625}
3626
3627.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3628/* color: inherit;
3629 border-width: 0;
3630 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3631 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3632}
3633
3634.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3635/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3636}
3637
3638.devtools-responsiveui-toolbarbutton[type=menu-button] {
3639/* padding: 0 1px;*/
3640 -moz-box-align: stretch;
3641}
3642
3643.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3644.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3645/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3646 -moz-box-align: center;
3647 padding: 0 3px;*/
3648}
3649
3650.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3651.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
3652 margin-left: 3px;
3653}
3654
3655.devtools-responsiveui-close {
3656 list-style-image: url("chrome://browser/skin/devtools/close.png");
3657 -moz-image-region: rect(0px,16px,16px,0px);
3658}
3659
3660.devtools-responsiveui-close:hover {
3661 -moz-image-region: rect(0px,32px,16px,16px);
3662}
3663
3664.devtools-responsiveui-rotate {
3665 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3666 -moz-image-region: rect(0px,16px,16px,0px);
3667}
3668
3669.devtools-responsiveui-rotate:hover {
3670 -moz-image-region: rect(0px,32px,16px,16px);
3671}
3672
3673.devtools-responsiveui-touch {
3674 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3675 -moz-image-region: rect(0px,16px,16px,0px);
3676}
3677
3678.devtools-responsiveui-touch:hover,
3679.devtools-responsiveui-touch[checked],
3680.devtools-responsiveui-touch[checked]:hover {
3681 -moz-image-region: rect(0px,32px,16px,16px);
3682}
3683
3684.devtools-responsiveui-screenshot {
3685 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3686 -moz-image-region: rect(0px,16px,16px,0px);
3687}
3688
3689.devtools-responsiveui-screenshot:hover {
3690 -moz-image-region: rect(0px,32px,16px,16px);
3691}
3692
3693.devtools-responsiveui-resizebarV {
3694 width: 7px;
3695 height: 24px;
3696 cursor: ew-resize;
3697 transform: translate(12px, -12px);
3698 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3699}
3700
3701.devtools-responsiveui-resizebarH {
3702 width: 24px;
3703 height: 7px;
3704 cursor: ns-resize;
3705 transform: translate(-12px, 12px);
3706 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3707}
3708
3709.devtools-responsiveui-resizehandle {
3710 width: 16px;
3711 height: 16px;
3712 cursor: se-resize;
3713 transform: translate(12px, 12px);
3714 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
3715}
3716
3717/* === END responsivedesign.inc.css === */
3718
3719/* === including indicator.css is done at the start of the file === */
3720
3721/* Error counter */
3722
3723#developer-toolbar-toolbox-button[error-count]:before {
3724 color: #000000;
3725 min-width: 16px;
3726 text-shadow: none;
3727 background-color: #FF0000;
3728 border-radius: 1px;
3729 -moz-margin-end: 5px;
3730}
3731
3732/* Social toolbar item */
3733
3734#social-provider-button {
3735 -moz-image-region: rect(0, 16px, 16px, 0);
3736 list-style-image: url("chrome://browser/skin/social/services-16.png");
3737}
3738
3739#social-provider-button > .toolbarbutton-menu-dropmarker {
3740 display: none;
3741}
3742
3743.toolbarbutton-badge-container {
3744 margin: 0;
3745 padding: 0;
3746 position: relative;
3747}
3748
3749#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
3750 padding: 2px 2px;
3751}
3752
3753.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3754 position: absolute;
3755 top: 2px;
3756 right: 2px;
3757}
3758
3759.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3760 -moz-margin-end: 0;
3761}
3762
3763.toolbarbutton-badge[badge=""] {
3764 display: none;
3765}
3766.toolbarbutton-badge[badge]:not([badge=""])::after {
3767 /* The |content| property is set in the content stylesheet. */
3768 font-size: 9px;
3769 font-weight: bold;
3770 padding: 0 1px;
3771 color: #FF9F00;
3772 background-color: #000000;
3773 border: 1px solid #9C9CFF;
3774 border-radius: 2px;
3775 position: absolute;
3776 top: 0;
3777 right: 0;
3778}
3779
3780#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
3781 top: 1px;
3782 right: 1px;
3783}
3784
3785.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3786 left: 0;
3787 right: auto;
3788}
3789
3790#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3791 left: 1px;
3792 right: auto;
3793}
3794
3795#social-notification-icon-mentions {
3796 background-color: #000000;
3797 border-radius: 3px;
3798 -moz-margin-start: 2px;
3799}
3800
3801#social-notification-icon-mentions:hover {
3802 background-color: #FFCF00;
3803}
3804
3805#social-notification-icon-mentions[open="true"] {
3806 background-color: #FF9F00;
3807}
3808
3809#social-sidebar-splitter {
3810 border: 0;
3811}
3812
3813.popup-notification-icon[popupid="servicesInstall"] {
3814 list-style-image: url("chrome://browser/skin/social/services-64.png");
3815}
3816#servicesInstall-notification-icon {
3817 list-style-image: url("chrome://browser/skin/social/services-16.png");
3818}
3819#social-undoactivation-button {
3820 -moz-margin-start: 0; /* override default label margin to match description margin */
3821}
3822
3823#socialActivatedNotification .popup-notification-button-container {
3824 margin-left: 6px;
3825}
3826
3827.social-activation-icon {
3828 width: auto;
3829 height: auto;
3830 max-height: 64px;
3831 max-width: 64px;
3832}
3833
3834#social-activation-message {
3835 max-width: 250px;
3836}
3837
3838#social-activation-message > label {
3839 margin: 0;
3840}
3841
3842/* social toolbar provider menu */
3843.social-statusarea-popup {
3844 margin-top: 0;
3845 margin-left: -12px;
3846 margin-right: -12px;
3847}
3848
3849.social-statusarea-user {
3850 border-bottom: 1px solid #9C9CFF;
3851 background-color: #000000;
3852 color: #FF9F00;
3853 position: relative;
3854 cursor: pointer;
3855}
3856
3857.social-statusarea-user-portrait {
3858 width: 32px;
3859 height: 32px;
3860 border-radius: 2px;
3861 margin: 10px;
3862}
3863
3864.social-statusarea-loggedInStatus {
3865 background: transparent;
3866 border: none;
3867 color: #3333FF;
3868 min-width: 0;
3869 margin: 0 6px;
3870 list-style-image: none;
3871}
3872
3873#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
3874 text-decoration: underline;
3875}
3876
3877.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3878 padding: 0;
3879}
3880
3881.social-panel-frame {
3882 border-radius: inherit;
3883}
3884
3885/* === BEGIN chat.inc.css === */
3886
3887#social-sidebar-header {
3888 padding: 3px;
3889}
3890
3891#social-sidebar-button {
3892 -moz-appearance: none;
3893 list-style-image: url("chrome://browser/skin/social/gear_default.png");
3894 border: none;
3895 padding: 0;
3896 margin: 2px;
3897}
3898#social-sidebar-button > .toolbarbutton-icon {
3899 min-height: 16px;
3900 min-width: 16px;
3901}
3902#social-sidebar-button:hover,
3903#social-sidebar-button:hover:active {
3904 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
3905}
3906#social-sidebar-button > .toolbarbutton-menu-dropmarker {
3907 display: none;
3908}
3909
3910#social-sidebar-button[loading="true"] {
3911 list-style-image: url("chrome://global/skin/icons/loading.gif");
3912}
3913
3914#social-sidebar-favico {
3915 max-height: 16px;
3916 max-width: 16px;
3917 padding: 0;
3918 margin: 2px;
3919}
3920
3921.chat-status-icon {
3922 max-height: 16px;
3923 max-width: 16px;
3924 padding: 0;
3925}
3926
3927.chat-toolbarbutton {
3928 -moz-appearance: none;
3929 border: none;
3930 padding: 0;
3931 margin: 0;
3932 background: none;
3933 width: 16px;
3934}
3935
3936.chat-toolbarbutton > .toolbarbutton-text {
3937 display: none;
3938}
3939
3940.chat-toolbarbutton > .toolbarbutton-icon {
3941 width: inherit;
3942}
3943
3944.chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
3945 width: inherit;
3946 margin-top: -2px;
3947}
3948
3949.chat-close-button {
3950 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3951 -moz-image-region: rect(0, 16px, 16px, 0);
3952}
3953
3954.chat-close-button:hover,
3955.chat-close-button:hover:active {
3956 -moz-image-region: rect(0, 32px, 16px, 16px);
3957}
3958
3959.chat-minimize-button {
3960 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3961 -moz-image-region: rect(16px, 16px, 32px, 0);
3962}
3963
3964.chat-minimize-button:hover:active,
3965.chat-minimize-button:hover {
3966 -moz-image-region: rect(16px, 32px, 32px, 16px);
3967}
3968
3969.chat-swap-button {
3970 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3971 -moz-image-region: rect(48px, 16px, 64px, 0);
3972}
3973
3974.chat-swap-button:hover:active,
3975.chat-swap-button:hover {
3976 -moz-image-region: rect(48px, 32px, 64px, 16px);
3977}
3978
3979chatbar > chatbox > .chat-titlebar > .chat-swap-button {
3980 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3981 -moz-image-region: rect(32px, 16px, 48px, 0);
3982}
3983
3984chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
3985chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
3986 -moz-image-region: rect(32px, 32px, 48px, 16px);
3987}
3988
3989.chat-title {
3990 font-weight: bold;
3991 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
3992 text-shadow: none;
3993 cursor: inherit;
3994}
3995
3996.chat-titlebar {
3997 background-color: #9C9CFF;
3998 color: #000000;
3999 height: 20px;
4000 min-height: 16px;
4001 width: 100%;
4002 margin: 0;
4003 padding: 2px;
4004 -moz-padding-start: 6px;
4005 border: none;
4006 border-bottom: 1px solid #008484;
4007 cursor: pointer;
4008}
4009
4010.chat-titlebar > .notification-anchor-icon {
4011 margin-left: 2px;
4012 margin-right: 2px;
4013}
4014
4015.chat-titlebar[minimized="true"] {
4016 border-bottom: none;
4017}
4018
4019.chat-titlebar[selected] {
4020 background-color: #008484;
4021}
4022
4023.chat-titlebar[activity] {
4024 background-color: #E7ADE7;
4025}
4026
4027.chat-frame {
4028 padding: 0;
4029 margin: 0;
4030 overflow: hidden;
4031}
4032
4033.chatbar-button {
4034 list-style-image: url("chrome://browser/skin/social/services-16.png");
4035 background-color: #000000;
4036 border: none;
4037 margin: 0;
4038 padding: 2px;
4039 height: 21px;
4040 width: 21px;
4041 border-top: 1px solid #008484;
4042 -moz-border-end: 1px solid #008484;
4043}
4044
4045@media (min-resolution: 2dppx) {
4046 .chatbar-button {
4047 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
4048 }
4049}
4050
4051.chatbar-button > .toolbarbutton-icon {
4052 width: 16px;
4053}
4054
4055.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4056 width: auto;
4057 height: auto;
4058 max-height: 16px;
4059 max-width: 16px;
4060}
4061
4062.chatbar-button > .toolbarbutton-icon {
4063 opacity: .6;
4064 -moz-margin-end: 0;
4065}
4066.chatbar-button:hover > .toolbarbutton-icon,
4067.chatbar-button[open="true"] > .toolbarbutton-icon {
4068 opacity: 1;
4069}
4070
4071.chatbar-button:hover,
4072.chatbar-button[open="true"] {
4073}
4074
4075.chatbar-button > .toolbarbutton-text,
4076.chatbar-button > .toolbarbutton-menu-dropmarker {
4077 display: none;
4078}
4079
4080.chatbar-button[activity]:not([open="true"]) {
4081 background-color: #E7ADE7;
4082}
4083
4084.chatbar-button > menupopup > menuitem[activity] {
4085 font-weight: bold;
4086}
4087
4088.chatbar-innerbox {
4089 background: transparent;
4090 margin: -285px 0 0;
4091 overflow: hidden;
4092}
4093
4094chatbar {
4095 -moz-margin-end: 20px;
4096}
4097
4098chatbar > chatbox {
4099 height: 285px;
4100 width: 260px;
4101 -moz-margin-start: 4px;
4102 background-color: #000000;
4103 border: 1px solid #9C9CFF;
4104 border-bottom: none;
4105 border-top-left-radius: 2.5px;
4106 border-top-right-radius: 2.5px;
4107}
4108
4109chatbox[minimized="true"] {
4110 width: 160px;
4111 height: 20px;
4112}
4113
4114window > chatbox {
4115 -moz-margin-start: 0px;
4116 margin: 0px;
4117 border: none;
4118 padding: 0px;
4119}
4120
4121/* === END chat.inc.css === */
4122
4123.chat-titlebar {
4124/* background-color: #c4cfde; */
4125}
4126
4127.chat-titlebar[selected] {
4128/* background-color: #dae3f0; */
4129}
4130
4131.chatbar-button {
4132 -moz-appearance: none;
4133/* background-color: #c4cfde; */
4134}
4135
4136.chatbar-button > .toolbarbutton-icon {
4137/* -moz-margin-end: 0; */
4138}
4139
4140.chatbar-button:hover,
4141.chatbar-button[open="true"] {
4142/* background-color: #dae3f0; */
4143}
4144
4145.chatbar-button[activity]:not([open="true"]) {
4146}
4147
4148chatbox {
4149/* border-top-left-radius: 2.5px;
4150 border-top-right-radius: 2.5px; */
4151}
4152
4153/* === BEGIN plugin-doorhanger.inc.css === */
4154
4155/**
4156 * Plugin Doorhanger Styles
4157 */
4158
4159#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
4160 padding: 6px 1px 2px;
4161}
4162
4163.click-to-play-plugins-notification-center-box {
4164}
4165
4166.plugin-popupnotification-centeritem:nth-child(odd) {
4167/* background-color: rgba(0,0,0,0.1);*/
4168}
4169
4170.center-item-label {
4171 margin-bottom: 0;
4172 text-overflow: ellipsis;
4173}
4174
4175.center-item-warning-icon {
4176 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
4177 background-repeat: no-repeat;
4178 width: 16px;
4179 height: 15px;
4180 -moz-margin-start: 6px;
4181}
4182
4183.click-to-play-plugins-notification-button-container {
4184}
4185
4186.click-to-play-popup-button {
4187 width: 50%;
4188}
4189
4190.click-to-play-plugins-notification-description-box {
4191 margin-left: 5px;
4192 margin-right: 5px;
4193 margin-top: 0;
4194 padding-bottom: 3px;
4195}
4196
4197.click-to-play-plugins-outer-description {
4198 margin-top: 1px;
4199}
4200
4201.click-to-play-plugins-notification-link,
4202.center-item-link {
4203 margin: 0;
4204}
4205
4206.messageImage[value="plugin-hidden"] {
4207 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4208}
4209
4210/* Keep any changes to this style in sync with pluginProblem.css */
4211notification.pluginVulnerable {
4212}
4213
4214notification.pluginVulnerable .messageImage {
4215 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4216}
4217
4218/* === END plugin-doorhanger.inc.css === */
4219
4220/* === BEGIN customizeMode.inc.css === */
4221
4222/* Customization mode */
4223
4224#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4225 margin-bottom: 1em;
4226}
4227
4228#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4229#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4230#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4231 margin-left: 1em;
4232 margin-right: 1em;
4233}
4234
4235#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4236 pointer-events: none;
4237}
4238
4239#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4240#PanelUI-contents > .panel-customization-placeholder {
4241 -moz-outline-radius: 2.5px;
4242 outline: 1px dashed transparent;
4243}
4244
4245#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4246 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4247 -moz-box-ordinal-group: 0;
4248 content: "";
4249 display: -moz-box;
4250 height: 100%;
4251 left: 0;
4252 outline-offset: -2px;
4253 pointer-events: none;
4254 position: absolute;
4255 top: 0;
4256 width: 100%;
4257}
4258
4259/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4260 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4261 offset from the bottom effectively the same as other targets (-2px). */
4262#main-window[customize-entered] #TabsToolbar.customization-target::before {
4263/* top: -2px;*/
4264}
4265
4266/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4267#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4268#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4269#main-window[customize-entered] #nav-bar-customization-target.customization-target {
4270 position: relative;
4271}
4272
4273/* Most target outlines are shown on hover and drag over but the panel menu uses
4274 placeholders instead. */
4275#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4276#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4277/* nav-bar and panel outlines are always shown */
4278#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4279 outline-color: #A09090;
4280}
4281
4282#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4283 transition: outline-color 250ms linear;
4284}
4285
4286#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4287 transition: outline-color 250ms linear;
4288 outline-color: #9C9CFF;
4289}
4290
4291#PanelUI-contents > .panel-customization-placeholder {
4292 cursor: auto;
4293 outline-offset: -5px;
4294}
4295
4296#main-window[customizing] .customization-target:not(#PanelUI-contents) {
4297 min-width: 100px;
4298/* padding-left: 10px;
4299 padding-right: 10px;*/
4300}
4301
4302#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4303 padding: 0 2em 2em;
4304}
4305
4306#customization-container {
4307 background-color: #000000;
4308}
4309
4310#customization-palette,
4311#customization-empty {
4312 padding: 0 15px 15px;
4313}
4314
4315#customization-header {
4316 font-size: 1.5em;
4317 line-height: 1.5em;
4318 color: #9C9CFF;
4319 font-weight: lighter;
4320 margin-bottom: 1em;
4321 padding: 15px 15px 0;
4322}
4323
4324#customization-panel-container {
4325 padding: 10px 10px 0px;
4326}
4327
4328#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
4329#customization-footer {
4330 /*background-color: rgb(236,236,236);*/
4331}
4332
4333#customization-footer {
4334 border-top: 1px solid #9C9CFF;
4335 padding: 15px;
4336}
4337
4338.customizationmode-button {
4339 margin: 0;
4340}
4341
4342.customizationmode-button:hover {
4343}
4344
4345.customizationmode-button[disabled="true"] {
4346}
4347
4348#customization-titlebar-visibility-button {
4349 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
4350 -moz-image-region: rect(0, 16px, 16px, 0);
4351 padding: 0px 5px;
4352 -moz-margin-end: 10px;
4353}
4354
4355#customization-titlebar-visibility-button:hover {
4356 -moz-image-region: rect(16px, 16px, 32px, 0);
4357}
4358
4359#customization-titlebar-visibility-button > .button-box {
4360 padding-top: 0;
4361 padding-bottom: 1px;
4362}
4363
4364#customization-titlebar-visibility-button:hover:active > .button-box {
4365 padding-top: 1px;
4366 padding-bottom: 0;
4367}
4368
4369#customization-titlebar-visibility-button > .button-box > .button-text {
4370 /* Sadly, button.css thinks its margins are perfect for everyone. */
4371 -moz-margin-start: 5px !important;
4372}
4373
4374#customization-titlebar-visibility-button[checked] {
4375 -moz-image-region: rect(0, 32px, 16px, 16px);
4376 background-color: #008484;
4377}
4378
4379#customization-titlebar-visibility-button[checked]:hover {
4380 -moz-image-region: rect(16px, 32px, 32px, 16px);
4381 background-color: #FFCF00;
4382}
4383
4384#customization-titlebar-visibility-button[checked]:hover:active {
4385 background-color: #FF9F00;
4386}
4387
4388#customization-undo-reset-button {
4389 -moz-margin-end: 10px;
4390}
4391
4392#main-window[customize-entered] #customization-panel-container {
4393 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4394 background-position: left top;
4395 background-repeat: repeat;
4396 background-size: auto;
4397 background-attachment: fixed;
4398}
4399
4400toolbarpaletteitem[place="toolbar"] {
4401 transition: border-width 250ms ease-in-out;
4402}
4403
4404toolbarpaletteitem[mousedown] {
4405 outline: 1px solid #008484;
4406 cursor: -moz-grabbing;
4407 opacity: 0.8;
4408}
4409
4410.panel-customization-placeholder,
4411toolbarpaletteitem[place="palette"],
4412toolbarpaletteitem[place="panel"] {
4413 transition: transform .3s ease-in-out;
4414}
4415
4416#customization-palette {
4417 transition: opacity .3s ease-in-out;
4418 opacity: 0;
4419}
4420
4421#customization-palette[showing="true"] {
4422 opacity: 1;
4423}
4424
4425toolbarpaletteitem[notransition].panel-customization-placeholder,
4426toolbarpaletteitem[notransition][place="toolbar"],
4427toolbarpaletteitem[notransition][place="palette"],
4428toolbarpaletteitem[notransition][place="panel"] {
4429 transition: none;
4430}
4431
4432toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4433toolbarpaletteitem > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon,
4434toolbarpaletteitem > toolbaritem.panel-wide-item,
4435toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4436 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
4437}
4438
4439toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon,
4440toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-badge-container > .toolbarbutton-icon {
4441 transform: scale(1.3);
4442}
4443
4444toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4445toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
4446 transform: scale(1.1);
4447}
4448
4449/* Override the toolkit styling for items being dragged over. */
4450toolbarpaletteitem[place="toolbar"] {
4451 border-left-width: 0;
4452 border-right-width: 0;
4453 margin-right: 0;
4454 margin-left: 0;
4455}
4456
4457#customization-palette:not([hidden]) {
4458 margin-bottom: 25px;
4459}
4460
4461#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4462#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
4463#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4464#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4465 margin-top: 20px;
4466}
4467
4468#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4469#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
4470 margin-left: 0;
4471 margin-right: 0;
4472 max-width: 24px;
4473 min-width: 24px;
4474 max-height: 24px;
4475 min-height: 24px;
4476 padding: 4px;
4477}
4478
4479#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4480#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4481 width: 16px;
4482}
4483
4484#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4485 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4486}
4487
4488#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4489#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
4490 display: none;
4491}
4492
4493#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4494 -moz-box-pack: center;
4495 min-height: 48px;
4496}
4497
4498#customization-palette > toolbarpaletteitem > label {
4499 text-align: center;
4500 margin-left: 0;
4501 margin-right: 0;
4502}
4503
4504/* === END customizeMode.inc.css === */
4505
4506/* === BEGIN customizeTip.inc.css === */
4507
4508#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4509 padding: 0;
4510 margin: 0;
4511 min-width: 400px;
4512 max-width: 1000px;
4513 min-height: 200px;
4514 border-radius: 3px;
4515/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4516 border: 1px solid #9C9CFF;
4517}
4518
4519#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4520/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4521}
4522
4523.customization-tipPanel-infoBox {
4524 margin: 20px 25px 25px;
4525 width: 25px;
4526 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4527 background-repeat: no-repeat;
4528}
4529
4530.customization-tipPanel-content {
4531 margin: 25px 0;
4532 font-size: 12px;
4533 line-height: 18px;
4534}
4535
4536.customization-tipPanel-em {
4537 margin: 0;
4538 font-weight: bold;
4539}
4540
4541.customization-tipPanel-contentImage {
4542 margin-top: 25px;
4543 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4544 min-width: 300px;
4545 max-width: 300px;
4546 min-height: 190px;
4547 max-height: 190px;
4548 display: -moz-box;
4549}
4550
4551.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4552 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4553}
4554
4555.customization-tipPanel-link {
4556 -moz-appearance: none;
4557 background: transparent;
4558 border: none;
4559 box-shadow: none;
4560 color: #3333FF;
4561 margin: 0;
4562 cursor: pointer;
4563}
4564
4565.customization-tipPanel-link > .button-box > .button-text {
4566 margin: 0 !important;
4567}
4568
4569.customization-tipPanel-closeBox > .close-icon {
4570 -moz-appearance: none;
4571 border: 0;
4572 -moz-margin-end: -25px;
4573}
4574
4575#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4576#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4577 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4578}
4579
4580/* === END customizeTip.inc.css === */
4581
4582/**
4583 * This next rule is a hack to disable subpixel anti-aliasing on all
4584 * labels during the customize mode transition. Subpixel anti-aliasing
4585 * on Windows with Direct2D layers acceleration is particularly slow to
4586 * paint, so this hack is how we sidestep that performance bottleneck.
4587 */
4588#main-window:-moz-any([customize-entering],[customize-exiting]) label {
4589 transform: perspective(0.01px);
4590}
4591
4592#main-window[customize-entered] {
4593 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4594 background-attachment: fixed;
4595}
4596
4597#main-window[customize-entered] #browser-bottombox,
4598#main-window[customize-entered] #customization-container {
4599 border-left: 1px solid #9C9CFF;
4600 border-right: 1px solid #9C9CFF;
4601 background-clip: padding-box;
4602}
4603
4604#main-window[customize-entered] #browser-bottombox {
4605 border-bottom: 1px solid #9C9CFF;
4606}
4607
4608#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4609 margin-right: -2px;
4610}
4611
4612#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4613 margin-left: -2px;
4614}
4615
4616/* End customization mode */
4617
4618/* Private browsing indicators */
4619
4620/**
4621 * Currently, we have two places where we put private browsing indicators on
4622 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4623 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4624 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4625 * want the bottom border of the image to line up with the bottom of the window
4626 * caption buttons. That's why there's so much special-casing going on in here.
4627 */
4628.private-browsing-indicator {
4629 display: none;
4630 pointer-events: none;
4631}
4632
4633#private-browsing-indicator-titlebar {
4634 display: block;
4635 position: absolute;
4636}
4637
4638#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4639 display: block;
4640}
4641
4642#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4643 display: -moz-box;
4644}
4645
4646#TabsToolbar > .private-browsing-indicator {
4647 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4648 -moz-margin-start: 4px;
4649 width: 48px;
4650}
4651
4652/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4653 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4654 * min/max/close window buttons.
4655 */
4656#private-browsing-indicator-titlebar > .private-browsing-indicator,
4657#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4658 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4659 -moz-margin-end: 4px;
4660 width: 40px;
4661 height: 20px;
4662 position: relative;
4663}
4664
4665/* This one is for Linux */
4666#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4667 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4668 width: 48px;
4669}
4670
4671/* End private browsing indicators */
4672
4673/* === BEGIN UITour.inc.css === */
4674
4675/* UI Tour */
4676
4677#UITourHighlightContainer {
4678 -moz-appearance: none;
4679 border: none;
4680 background-color: transparent;
4681 /* This is a buffer to compensate for the movement in the "wobble" effect */
4682 padding: 4px;
4683}
4684
4685#UITourHighlight {
4686 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4687 border-radius: 40px;
4688 border: 1px solid #9C9CFF;
4689 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4690 on Linux without an X compositor where opacity is either 0 or 1. */
4691 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
4692 min-height: 32px;
4693 min-width: 32px;
4694}
4695
4696#UITourTooltipBody {
4697 -moz-margin-end: 14px;
4698}
4699
4700#UITourTooltipBody > vbox {
4701 padding-top: 4px;
4702}
4703
4704#UITourTooltipIconContainer {
4705 -moz-margin-start: -16px;
4706}
4707
4708#UITourTooltipIcon {
4709 width: 48px;
4710 height: 48px;
4711 -moz-margin-start: 28px;
4712 -moz-margin-end: 28px;
4713}
4714
4715#UITourTooltipTitle,
4716#UITourTooltipDescription {
4717 max-width: 20rem;
4718}
4719
4720#UITourTooltipTitle {
4721 font-size: 1.45rem;
4722 font-weight: bold;
4723 -moz-margin-start: 0;
4724 -moz-margin-end: 0;
4725 margin: 0 0 9px 0;
4726}
4727
4728#UITourTooltipDescription {
4729 -moz-margin-start: 0;
4730 -moz-margin-end: 0;
4731 font-size: 1.15rem;
4732 line-height: 1.8rem;
4733 margin-bottom: 0; /* Override global.css */
4734}
4735
4736#UITourTooltipClose {
4737 -moz-appearance: none;
4738 border: none;
4739 background-color: transparent;
4740 min-width: 0;
4741 -moz-margin-start: 4px;
4742 margin-top: -2px;
4743}
4744
4745#UITourTooltipClose > .toolbarbutton-text {
4746 display: none;
4747}
4748
4749#UITourTooltipButtons {
4750 -moz-box-pack: end;
4751 background-color: rgba(0,0,0,.2);
4752 border-top: 1px solid rgba(0,0,0,.4);
4753 margin: 24px -16px -16px;
4754 padding: 2em 15px;
4755}
4756
4757#UITourTooltipButtons > button {
4758 margin: 0 15px;
4759}
4760
4761#UITourTooltipButtons > button:first-child {
4762 -moz-margin-start: 0;
4763}
4764
4765#UITourTooltipButtons > button[image] > .button-box > .button-icon {
4766 width: 16px;
4767 height: 16px;
4768 -moz-margin-end: 5px;
4769}
4770
4771#UITourTooltipButtons > button .button-text {
4772 font-size: 1.15rem;
4773}
4774
4775#UITourTooltipButtons > button:not(.button-link) {
4776 -moz-appearance: none;
4777 background-color: #C09070;
4778 border-radius: 3000px;
4779 border: none;
4780 color: #000000;
4781 padding: 4px 30px;
4782 transition-property: background-color, color;
4783 transition-duration: 150ms;
4784}
4785
4786#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
4787 background-color: #FFCF00;
4788 color: #000000;
4789}
4790
4791#UITourTooltipButtons > button.button-link {
4792 -moz-appearance: none;
4793 background: transparent;
4794 border: none;
4795 box-shadow: none;
4796 color: rgba(0,0,0,0.35);
4797 padding-left: 10px;
4798 padding-right: 10px;
4799}
4800
4801#UITourTooltipButtons > button.button-link:hover {
4802 color: black;
4803}
4804
4805/* The primary button gets the same color as the customize button. */
4806#UITourTooltipButtons > button.button-primary {
4807 background-color: #A06060; /* LCARS default button background color */
4808 color: #000000;
4809 padding-left: 30px;
4810 padding-right: 30px;
4811}
4812
4813#UITourTooltipButtons > button.button-primary:not(:active):hover {
4814 background-color: #FFCF00;
4815 color: #000000;
4816}
4817
4818/* === END UITour.inc.css === */
4819
4820#UITourTooltipButtons {
4821 margin: 24px -4px -4px;
4822}
4823
4824/* === BEGIN contextmenu.inc.css === */
4825
4826menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
4827}
4828
4829#context-navigation > .menuitem-iconic {
4830 -moz-box-flex: 1;
4831 -moz-box-pack: center;
4832 -moz-box-align: center;
4833}
4834
4835#context-navigation > .menuitem-iconic[disabled="true"] {
4836 background-color: transparent;
4837}
4838
4839#context-navigation > .menuitem-iconic > .menu-iconic-left {
4840 -moz-appearance: none;
4841}
4842
4843#context-navigation > #context-back > .menu-iconic-left {
4844 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4845 -moz-image-region: rect(0, 54px, 18px, 36px);
4846}
4847
4848#context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
4849 -moz-image-region: rect(18px, 54px, 36px, 36px);
4850}
4851
4852#context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
4853 -moz-image-region: rect(36px, 54px, 54px, 36px);
4854}
4855
4856#context-navigation > #context-forward > .menu-iconic-left {
4857 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4858 -moz-image-region: rect(0, 72px, 18px, 54px);
4859}
4860
4861#context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
4862 -moz-image-region: rect(18px, 72px, 36px, 54px);
4863}
4864
4865#context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
4866 -moz-image-region: rect(36px, 72px, 54px, 54px);
4867}
4868
4869#context-navigation > #context-reload > .menu-iconic-left {
4870 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4871 -moz-image-region: rect(0, 14px, 14px, 0);
4872}
4873
4874#context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
4875 -moz-image-region: rect(14px, 14px, 28px, 0);
4876}
4877
4878#context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
4879 -moz-image-region: rect(28px, 14px, 42px, 0);
4880}
4881
4882#context-navigation > #context-stop > .menu-iconic-left {
4883 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4884 -moz-image-region: rect(0, 28px, 14px, 14px);
4885}
4886
4887#context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
4888 -moz-image-region: rect(14px, 28px, 28px, 14px);
4889}
4890
4891#context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
4892 -moz-image-region: rect(28px, 28px, 42px, 14px);
4893}
4894
4895#context-navigation > #context-bookmarkpage > .menu-iconic-left {
4896 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4897 -moz-image-region: rect(0, 144px, 18px, 126px);
4898}
4899
4900#context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
4901 -moz-image-region: rect(18px, 144px, 36px, 126px);
4902}
4903
4904#context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
4905 -moz-image-region: rect(36px, 144px, 54px, 126px);
4906}
4907
4908#context-back:-moz-locale-dir(rtl),
4909#context-forward:-moz-locale-dir(rtl),
4910#context-reload:-moz-locale-dir(rtl) {
4911 transform: scaleX(-1);
4912}
4913
4914#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4915 width: 18px;
4916 height: 18px;
4917 margin: 7px;
4918}
4919
4920#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
4921#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
4922 width: 14px;
4923 height: 14px;
4924 margin: 9px;
4925}
4926
4927/* === END contextmenu.inc.css === */