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