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