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