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