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