sync both themes with toolkit windows theme changes in Mozilla 32 cycle
[themes.git] / LCARStrek / browser / browser.css
CommitLineData
9099c61d
RK
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/. */
acb0e9b8 4
5@import url("chrome://global/skin/");
fcaeefc2 6@import url("downloads/indicator.css");
acb0e9b8 7
8@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529 9@namespace html url("http://www.w3.org/1999/xhtml");
cae267ab 10@namespace svg url("http://www.w3.org/2000/svg");
319c6529
RK
11
12toolbar {
13 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
14}
acb0e9b8 15
7d3f7f14 16toolbar[customizable="true"] {
43cc2806
RK
17 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-browsercustom");
18}
19
41279e76
RK
20toolbar[type="menubar"][autohide="true"] {
21 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
22}
23
7d3f7f14 24#toolbar-menubar[autohide="true"] {
43cc2806
RK
25 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide-browsercustom");
26}
27
acb0e9b8 28menubar {
319c6529 29 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 30}
31
319c6529
RK
32#menubar-items {
33 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 34}
35
319c6529
RK
36#main-menubar {
37 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
38}
39
63ada306
RK
40/* ::::: primary toolbar ::::: */
41
42.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 43 background-color: #A09090;
63ada306
RK
44}
45
46.toolbar-primary > .toolbar-box > .toolbar-startcap,
47.toolbar-primary > .toolbar-box > .toolbar-endcap {
48 background-color: #9C9CFF;
49}
50
e20c83c3
RK
51/* Hides the titlebar-placeholder underneath the window caption buttons when we
52 are not autohiding the menubar. */
53#toolbar-menubar:not([autohide="true"]) + #TabsToolbar > .titlebar-placeholder[type="caption-buttons"] {
54 display: none;
55}
56
43cc2806
RK
57/* We want a 4px gap between the TabsToolbar and the toolbar-menubar when the
58 toolbar-menu is displayed, and a 16px gap when it is not. 1px is taken care
59 of by the (light) outer shadow of the tab, the remaining 3/15 are these margins. */
c0f6797e
RK
60#toolbar-menubar:not([moz-collapsed=true]):not([autohide=true]) ~ #TabsToolbar,
61#toolbar-menubar:not([moz-collapsed=true])[autohide=true]:not([inactive]) ~ #TabsToolbar {
43cc2806
RK
62/* margin-top: 3px;*/
63}
64
43371c9b
RK
65#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen])[chromehidden~="menubar"] #toolbar-menubar ~ #TabsToolbar,
66#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
43cc2806
RK
67/* margin-top: 15px;*/
68}
69
7d3f7f14 70#toolbar-menubar:not([autohide="true"]) {
43cc2806
RK
71 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom");
72}
73
018d70fb
RK
74#main-window[tabsintitlebar] #toolbar-menubar .toolbar-endcap {
75 /* the titlebar buttons are shown right over the endcap but we have no power over the buttonbox position just for this case, so hide the endcap */
76 display: none;
43cc2806 77}
63ada306 78
e20c83c3
RK
79#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[customizing-dragovertarget].customization-target::before,
80#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar[customizing-dragovertarget].customization-target::before,
81#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #toolbar-menubar.customization-target:hover::before,
82#main-window[customize-entered][tabsintitlebar]:not([inFullscreen]) #TabsToolbar.customization-target:hover::before {
83 outline-color: #A09090;
84}
85
319c6529
RK
86#navigator-toolbox {
87}
88
9abeb12c
RK
89#navigator-toolbox::after {
90 content: "";
91 display: -moz-box;
92 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
93 height: 1px;
94}
9abeb12c 95
319c6529
RK
96#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
97}
98
c0f6797e
RK
99/* indent due to non-applicable aero rule */
100 #toolbar-menubar {
101 background-color: transparent !important;
319c6529
RK
102 }
103
c0f6797e
RK
104 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme),
105 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme) {
106 /* like menubar */
107 background-color: #6000CF;
108 color: #FF9F00;
319c6529
RK
109 }
110
c0f6797e
RK
111 #main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar:not(:-moz-lwtheme):-moz-window-inactive,
112 #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
113 background-color: #8050B0;
114 color: #FF9F00;
319c6529
RK
115 }
116
c0f6797e
RK
117 #TabsToolbar:-moz-lwtheme {
118 /*background: linear-gradient(to top, @toolbarShadowColor@ 2px, transparent 2px);*/
319c6529 119 }
9abeb12c 120
c0f6797e
RK
121 #main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
122 visibility: hidden;
123 }
319c6529 124
c0f6797e
RK
125 #main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
126 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
127 visibility: visible;
128 }
319c6529 129
c0f6797e
RK
130#nav-bar {
131 /* Position the toolbar above the bottom of background tabs */
132 position: relative;
133 z-index: 1;
82b4252f
RK
134}
135
c0f6797e
RK
136#personal-bookmarks {
137/* min-height: 24px; */
319c6529
RK
138}
139
c0f6797e
RK
140#print-preview-toolbar:not(:-moz-lwtheme) {
141 /* -moz-appearance: toolbox; */
82b4252f
RK
142}
143
c0f6797e 144#browser-bottombox:not(:-moz-lwtheme) {
319c6529
RK
145}
146
147/* ::::: titlebar ::::: */
148
5305ef8d
RK
149#titlebar {
150 /* like menubar */
151 background-color: #6000CF;
152 color: #FF9F00;
153}
154#titlebar:-moz-window-inactive {
155 background-color: #8050B0;
156 color: #FF9F00;
157}
158
319c6529 159#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
160 margin-top: -3px;
161 margin-bottom: 3px;
319c6529
RK
162}
163
164#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 165 margin-top: 4px;
319c6529
RK
166}
167
43cc2806
RK
168/* The button box must appear on top of the navigator-toolbox in order for
169 * click and hover mouse events to work properly for the button in the restored
170 * window state. Otherwise, elements in the navigator-toolbox, like the menubar,
171 * can swallow those events. It will also place the buttons above the fog on
172 * themes with Aero Glass.
173 */
319c6529 174#titlebar-buttonbox {
b7f3670c
RK
175 -moz-appearance: none;
176 margin-top: 6px;
177 margin-top: 4px;
5305ef8d 178 -moz-margin-end: 3px;
43cc2806 179 z-index: 1;
319c6529
RK
180}
181
319c6529
RK
182.titlebar-placeholder[type="appmenu-button"] {
183 margin-left: 4px;
184}
185
186.titlebar-placeholder[type="caption-buttons"] {
187 margin-left: 10px;
188}
189
190/* titlebar command buttons */
191
192#titlebar-min {
5305ef8d
RK
193 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
194}
195
196#titlebar-min:hover {
197 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
198}
199
200#titlebar-max {
5305ef8d
RK
201 list-style-image: url("chrome://browser/skin/win-maximize.gif");
202}
203
204#titlebar-max:hover {
205 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
206}
207
208#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
209 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
210}
211
212#main-window[sizemode="maximized"] #titlebar-max:hover {
213 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
214}
215
216#titlebar-close {
5305ef8d
RK
217 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
218}
219
220#titlebar-close:hover {
221 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 222}
223
224/* ::::: bookmark buttons ::::: */
225
c0f6797e
RK
226toolbarbutton.bookmark-item:not(.subviewbutton),
227#personal-bookmarks[cui-areatype="toolbar"]:not([overflowedItem=true]) > #bookmarks-toolbar-placeholder {
228/* margin: 0;
229 padding: 2px 3px;*/
230}
231
232toolbarbutton.bookmark-item:not([disabled="true"]):not(.subviewbutton):hover:active,
233toolbarbutton.bookmark-item[open="true"] {
234/* padding-top: 3px;
235 padding-bottom: 1px;
236 -moz-padding-start: 4px;
237 -moz-padding-end: 2px;*/
238}
239
26125509
RK
240.bookmark-item > .toolbarbutton-icon,
241#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-icon {
acb0e9b8 242 width: 16px;
243 height: 16px;
244}
245
26125509
RK
246/* Force the display of the label for bookmarks */
247.bookmark-item > .toolbarbutton-text,
248#personal-bookmarks[cui-areatype="toolbar"] > #bookmarks-toolbar-placeholder > .toolbarbutton-text {
acb0e9b8 249 display: -moz-box !important;
250}
251
319c6529
RK
252.bookmark-item > .toolbarbutton-menu-dropmarker {
253 display: none;
254}
255
26125509 256#bookmarks-toolbar-placeholder {
8da9da4e 257 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
258}
259
e20c83c3
RK
260toolbarpaletteitem[place="palette"] > #personal-bookmarks > #bookmarks-toolbar-placeholder,
261#personal-bookmarks[cui-areatype="menu-panel"] > #bookmarks-toolbar-placeholder {
262 list-style-image: url("chrome://browser/skin/places/bookmarksToolbar-menuPanel.png") !important;
263}
264
265/* ----- BOOKMARK STAR ANIMATION ----- */
266
267@keyframes animation-bookmarkAdded {
268 from { transform: rotate(0deg) translateX(-16px) rotate(0deg) scale(1); opacity: 0; }
269 60% { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(2.2); opacity: 1; }
270 80% { opacity: 1; }
271 to { transform: rotate(180deg) translateX(-16px) rotate(-180deg) scale(1); opacity: 0; }
272}
273
274@keyframes animation-bookmarkPulse {
275 from { transform: scale(1); }
276 50% { transform: scale(1.3); }
277 to { transform: scale(1); }
278}
279
280#bookmarked-notification-container {
281 min-height: 1px;
282 min-width: 1px;
283 height: 1px;
284 margin-bottom: -1px;
285 z-index: 5;
286 position: relative;
287}
288
289#bookmarked-notification {
290 background-size: 16px;
291 background-position: center;
292 background-repeat: no-repeat;
293 width: 16px;
294 height: 16px;
295 opacity: 0;
296}
297
c0f6797e
RK
298#bookmarked-notification-dropmarker-anchor {
299 z-index: -1;
300 position: relative;
301}
302
303#bookmarked-notification-dropmarker-icon {
304 width: 18px;
305 height: 18px;
306 visibility: hidden;
307}
308
e20c83c3
RK
309#bookmarked-notification-anchor[notification="finish"] > #bookmarked-notification {
310 background-image: url("chrome://browser/skin/places/bookmarks-notification-finish.png");
311 animation: animation-bookmarkAdded 800ms;
312 animation-timing-function: ease, ease, ease;
313}
314
315#bookmarks-menu-button[notification="finish"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
c0f6797e
RK
316 list-style-image: none !important;
317}
318
319#bookmarked-notification-dropmarker-anchor[notification="finish"] > #bookmarked-notification-dropmarker-icon {
320 visibility: visible;
e20c83c3
RK
321 animation: animation-bookmarkPulse 300ms;
322 animation-delay: 600ms;
323 animation-timing-function: ease-out;
324}
325
319c6529
RK
326/* ::::: bookmark menus ::::: */
327
328menu.bookmark-item,
329menuitem.bookmark-item {
330 min-width: 0;
ab799a7a 331 max-width: 32em;
319c6529
RK
332}
333
e20c83c3 334.bookmark-item:not(.subviewbutton) > .menu-iconic-left {
319c6529
RK
335 margin-top: 0;
336 margin-bottom: 0;
337}
338
339.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
340 -moz-padding-start: 0px;
341}
342
343/* ::::: bookmark items ::::: */
344
345.bookmark-item {
dce90fef 346 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 347 -moz-image-region: auto;
319c6529
RK
348}
349
350.bookmark-item[container] {
351 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 352 -moz-image-region: auto;
319c6529
RK
353}
354
355.bookmark-item[container][open] {
356 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 357 -moz-image-region: auto;
319c6529
RK
358}
359
8da9da4e
RK
360.bookmark-item[container][livemark] {
361 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
362 -moz-image-region: auto;
363}
364
365.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 366 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 367 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
368}
369
eec397be 370.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 371 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
372}
373
319c6529 374.bookmark-item[container][query] {
8da9da4e 375 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
376 -moz-image-region: auto;
377}
378
379.bookmark-item[query][tagContainer] {
380 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
381 -moz-image-region: auto;
382}
383
384.bookmark-item[query][dayContainer] {
8da9da4e 385 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
386 -moz-image-region: auto;
387}
388
389.bookmark-item[query][hostContainer] {
390 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 391 -moz-image-region: auto;
319c6529
RK
392}
393
394.bookmark-item[query][hostContainer][open] {
395 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 396 -moz-image-region: auto;
319c6529
RK
397}
398
b1234db8
RK
399.bookmark-item[cutting] > .toolbarbutton-icon,
400.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
401 opacity: 0.5;
402}
403
404.bookmark-item[cutting] > .toolbarbutton-text,
405.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
406 opacity: 0.7;
407}
408
319c6529
RK
409/* ::::: primary toolbar buttons ::::: */
410
43cc2806
RK
411/* === BEGIN toolbarbuttons.inc.css === */
412
413/* Whole section of this included file: */
51994fad
RK
414:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
415 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
416 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
417 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
418 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
419 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
420 #copy-button, #paste-button, #e10s-button),
421
7d3f7f14 422#bookmarks-menu-button > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
423 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
424}
425
7d3f7f14 426#back-button {
43cc2806
RK
427 -moz-image-region: rect(0, 36px, 18px, 18px);
428}
429
7d3f7f14 430#back-button:hover:not([disabled="true"]) {
43cc2806
RK
431 -moz-image-region: rect(18px, 36px, 36px, 18px);
432}
433
7d3f7f14 434#back-button[disabled="true"] {
43cc2806
RK
435 -moz-image-region: rect(36px, 36px, 54px, 18px);
436}
437
7d3f7f14 438#forward-button {
43cc2806
RK
439 -moz-image-region: rect(0, 72px, 18px, 54px);
440}
441
7d3f7f14 442#forward-button:hover:not([disabled="true"]) {
43cc2806
RK
443 -moz-image-region: rect(18px, 72px, 36px, 54px);
444}
445
7d3f7f14 446#forward-button[disabled="true"] {
43cc2806
RK
447 -moz-image-region: rect(36px, 72px, 54px, 54px);
448}
449
7d3f7f14
RK
450#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
451#forward-button:-moz-locale-dir(rtl) {
43cc2806
RK
452 transform: scaleX(-1);
453}
454
7d3f7f14 455#home-button[cui-areatype="toolbar"] {
43cc2806
RK
456 -moz-image-region: rect(0, 126px, 18px, 108px);
457}
458
7d3f7f14 459#home-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
460 -moz-image-region: rect(18px, 126px, 36px, 108px);
461}
462
7d3f7f14 463#bookmarks-menu-button[cui-areatype="toolbar"] {
43cc2806
RK
464 -moz-image-region: rect(0, 144px, 18px, 126px);
465}
466
7d3f7f14
RK
467#bookmarks-menu-button[cui-areatype="toolbar"]:hover,
468#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
469 -moz-image-region: rect(18px, 144px, 36px, 126px);
470}
471
43ee1307 472/* When "new tab" page shows up, the menubutton-button (star button) is disabled */
7d3f7f14 473#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-button[disabled="true"] {
43ee1307
RK
474 -moz-image-region: rect(36px, 144px, 54px, 126px) !important;
475 background-color: transparent !important;
476}
477
7d3f7f14 478#bookmarks-menu-button[cui-areatype="toolbar"][starred] {
43cc2806
RK
479 -moz-image-region: rect(0, 162px, 18px, 144px);
480}
481
7d3f7f14 482#bookmarks-menu-button[cui-areatype="toolbar"][starred]:hover,
83e3b5cf
RK
483#bookmarks-menu-button[cui-areatype="toolbar"][starred][open="true"],
484#bookmarks-menu-button[cui-areatype="toolbar"][starred] > .toolbarbutton-menubutton-button[open="true"] {
485 /* When starred and clicked (for edit/delete dialog),
486 * then only the menubutton-button itself is open, but not the whole menubutton. */
43cc2806
RK
487 -moz-image-region: rect(18px, 162px, 36px, 144px);
488}
489
7d3f7f14 490#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
491 -moz-image-region: rect(0, 630px, 18px, 612px);
492}
493
7d3f7f14 494#bookmarks-menu-button[cui-areatype="toolbar"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
495 padding: 1px;
496 -moz-box-align: center;
497}
498
7d3f7f14
RK
499#bookmarks-menu-button[cui-areatype="toolbar"]:hover > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
500#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
43cc2806
RK
501 -moz-image-region: rect(18px, 630px, 36px, 612px);
502}
503
7d3f7f14
RK
504#bookmarks-menu-button[cui-areatype="toolbar"]:hover:active > .toolbarbutton-menubutton-dropmarker,
505#bookmarks-menu-button[cui-areatype="toolbar"][open="true"] > .toolbarbutton-menubutton-dropmarker {
43cc2806
RK
506 padding-top: 2px;
507 padding-bottom: 0px;
508 -moz-padding-start: 2px;
509 -moz-padding-end: 0px;
510}
511
7d3f7f14 512#history-panelmenu[cui-areatype="toolbar"] {
43cc2806
RK
513 -moz-image-region: rect(0, 180px, 18px, 162px);
514}
515
7d3f7f14
RK
516#history-panelmenu[cui-areatype="toolbar"]:hover,
517#history-panelmenu[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
518 -moz-image-region: rect(18px, 180px, 36px, 162px);
519}
520
7d3f7f14 521#downloads-button[cui-areatype="toolbar"] {
43cc2806
RK
522 -moz-image-region: rect(0, 198px, 18px, 180px);
523}
524
7d3f7f14
RK
525#downloads-button[cui-areatype="toolbar"]:hover,
526#downloads-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
527 -moz-image-region: rect(18px, 198px, 36px, 180px);
528}
529
7d3f7f14 530#add-ons-button[cui-areatype="toolbar"] {
43cc2806
RK
531 -moz-image-region: rect(0, 216px, 18px, 198px);
532}
533
7d3f7f14 534#add-ons-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
535 -moz-image-region: rect(18px, 216px, 36px, 198px);
536}
537
7d3f7f14 538#open-file-button[cui-areatype="toolbar"] {
43cc2806
RK
539 -moz-image-region: rect(0, 234px, 18px, 216px);
540}
541
7d3f7f14 542#open-file-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
543 -moz-image-region: rect(18px, 234px, 36px, 216px);
544}
545
7d3f7f14 546#save-page-button[cui-areatype="toolbar"] {
43cc2806
RK
547 -moz-image-region: rect(0, 252px, 18px, 234px);
548}
549
7d3f7f14 550#save-page-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
551 -moz-image-region: rect(18px, 252px, 36px, 234px);
552}
553
7d3f7f14 554#sync-button[cui-areatype="toolbar"] {
43cc2806
RK
555 -moz-image-region: rect(0, 270px, 18px, 252px);
556}
557
7d3f7f14 558#sync-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
559 -moz-image-region: rect(18px, 270px, 36px, 252px);
560}
561
5401f433
RK
562#sync-button[cui-areatype="toolbar"][status="active"],
563#sync-button[cui-areatype="toolbar"][status="active"]:hover:active:not([disabled="true"]) {
564 list-style-image: url("chrome://browser/skin/syncProgress-toolbar.png");
565 -moz-image-region: rect(0, 18px, 18px, 0px);
566}
567
568/*
569#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext,
570#sync-button[cui-areatype="toolbar"][status="active"]:-moz-lwtheme-brighttext:hover:active:not([disabled="true"]) {
571 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
572}
573*/
574
7d3f7f14 575#feed-button[cui-areatype="toolbar"] {
43cc2806
RK
576 -moz-image-region: rect(0, 288px, 18px, 270px);
577}
578
7d3f7f14 579#feed-button[cui-areatype="toolbar"]:hover:not([disabled="true"]) {
43cc2806
RK
580 -moz-image-region: rect(18px, 288px, 36px, 270px);
581}
582
7d3f7f14 583#feed-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
584 -moz-image-region: rect(36px, 288px, 54px, 270px);
585}
586
7d3f7f14 587#social-share-button[cui-areatype="toolbar"] {
43cc2806
RK
588 -moz-image-region: rect(0px, 306px, 18px, 288px);
589}
590
7d3f7f14 591#social-share-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
592 -moz-image-region: rect(18px, 306px, 36px, 288px);
593}
594
7d3f7f14 595#characterencoding-button[cui-areatype="toolbar"] {
43cc2806
RK
596 -moz-image-region: rect(0, 324px, 18px, 306px);
597}
598
7d3f7f14
RK
599#characterencoding-button[cui-areatype="toolbar"]:hover:not([disabled="true"]),
600#characterencoding-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
601 -moz-image-region: rect(18px, 324px, 36px, 306px);
602}
603
7d3f7f14 604#characterencoding-button[cui-areatype="toolbar"][disabled="true"] {
cc4b0b0d
RK
605 -moz-image-region: rect(36px, 324px, 54px, 306px);
606}
607
7d3f7f14 608#new-window-button[cui-areatype="toolbar"] {
43cc2806
RK
609 -moz-image-region: rect(0, 342px, 18px, 324px);
610}
611
7d3f7f14 612#new-window-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
613 -moz-image-region: rect(18px, 342px, 36px, 324px);
614}
615
46e71434
RK
616#e10s-button[cui-areatype="toolbar"] {
617 -moz-image-region: rect(0, 342px, 18px, 324px);
618}
619
620#e10s-button[cui-areatype="toolbar"]:hover {
621 -moz-image-region: rect(18px, 342px, 36px, 324px);
622}
623
624#e10s-button > .toolbarbutton-icon {
625 transform: scaleY(-1);
626}
627
7d3f7f14 628#new-tab-button[cui-areatype="toolbar"] {
43cc2806
RK
629 -moz-image-region: rect(0, 360px, 18px, 342px);
630}
631
7d3f7f14 632#new-tab-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
633 -moz-image-region: rect(18px, 360px, 36px, 342px);
634}
635
7d3f7f14 636#privatebrowsing-button[cui-areatype="toolbar"] {
43cc2806
RK
637 -moz-image-region: rect(0, 378px, 18px, 360px);
638}
639
7d3f7f14 640#privatebrowsing-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
641 -moz-image-region: rect(18px, 378px, 36px, 360px);
642}
643
7d3f7f14 644#find-button[cui-areatype="toolbar"] {
43cc2806
RK
645 -moz-image-region: rect(0, 396px, 18px, 378px);
646}
647
7d3f7f14 648#find-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
649 -moz-image-region: rect(18px, 396px, 36px, 378px);
650}
651
7d3f7f14 652#print-button[cui-areatype="toolbar"] {
43cc2806
RK
653 -moz-image-region: rect(0, 414px, 18px, 396px);
654}
655
7d3f7f14 656#print-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
657 -moz-image-region: rect(18px, 414px, 36px, 396px);
658}
659
7d3f7f14 660#fullscreen-button[cui-areatype="toolbar"] {
43cc2806
RK
661 -moz-image-region: rect(0, 432px, 18px, 414px);
662}
663
7d3f7f14 664#fullscreen-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
665 -moz-image-region: rect(18px, 432px, 36px, 414px);
666}
667
7d3f7f14 668#developer-button[cui-areatype="toolbar"] {
43cc2806
RK
669 -moz-image-region: rect(0, 450px, 18px, 432px);
670}
671
7d3f7f14
RK
672#developer-button[cui-areatype="toolbar"]:hover,
673#developer-button[cui-areatype="toolbar"][open="true"] {
43cc2806
RK
674 -moz-image-region: rect(18px, 450px, 36px, 432px);
675}
676
7d3f7f14 677#preferences-button[cui-areatype="toolbar"] {
43cc2806
RK
678 -moz-image-region: rect(0, 468px, 18px, 450px);
679}
680
7d3f7f14 681#preferences-button[cui-areatype="toolbar"]:hover {
43cc2806
RK
682 -moz-image-region: rect(18px, 468px, 36px, 450px);
683}
684
7d3f7f14 685#PanelUI-menu-button {
43cc2806
RK
686 -moz-image-region: rect(0, 486px, 18px, 468px);
687}
688
7d3f7f14
RK
689#PanelUI-menu-button:hover,
690#PanelUI-menu-button[open="true"] {
43cc2806
RK
691 -moz-image-region: rect(18px, 486px, 36px, 468px);
692}
693
51994fad 694#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button {
43cc2806
RK
695 -moz-image-region: rect(0, 504px, 18px, 486px);
696}
697
51994fad 698#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button:hover:not([disabled="true"]) {
43cc2806
RK
699 -moz-image-region: rect(18px, 504px, 36px, 486px);
700}
701
51994fad 702#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #cut-button[disabled="true"] {
cc4b0b0d
RK
703 -moz-image-region: rect(36px, 504px, 54px, 486px);
704}
705
51994fad 706#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button {
43cc2806
RK
707 -moz-image-region: rect(0, 522px, 18px, 504px);
708}
709
51994fad 710#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button:hover:not([disabled="true"]) {
43cc2806
RK
711 -moz-image-region: rect(18px, 522px, 36px, 504px);
712}
713
51994fad 714#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #copy-button[disabled="true"] {
cc4b0b0d
RK
715 -moz-image-region: rect(36px, 522px, 54px, 504px);
716}
717
51994fad 718#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button {
43cc2806
RK
719 -moz-image-region: rect(0, 540px, 18px, 522px);
720}
721
51994fad 722#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button:hover:not([disabled="true"]) {
43cc2806
RK
723 -moz-image-region: rect(18px, 540px, 36px, 522px);
724}
725
51994fad 726#edit-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #paste-button[disabled="true"] {
cc4b0b0d
RK
727 -moz-image-region: rect(36px, 540px, 54px, 522px);
728}
729
51994fad 730#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button {
43cc2806
RK
731 -moz-image-region: rect(0, 558px, 18px, 540px);
732}
733
51994fad 734#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button:hover:not([disabled="true"]) {
43cc2806
RK
735 -moz-image-region: rect(18px, 558px, 36px, 540px);
736}
737
51994fad 738#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
739 -moz-image-region: rect(36px, 558px, 54px, 540px);
740}
741
51994fad 742#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button {
43cc2806
RK
743 -moz-image-region: rect(0, 576px, 18px, 558px);
744}
745
51994fad 746#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button:hover:not([disabled="true"]) {
43cc2806
RK
747 -moz-image-region: rect(18px, 576px, 36px, 558px);
748}
749
51994fad 750#zoom-controls:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
751 -moz-image-region: rect(36px, 576px, 54px, 558px);
752}
753
51994fad 754#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])) {
43cc2806
RK
755 -moz-image-region: rect(0, 594px, 18px, 576px);
756}
757
51994fad
RK
758#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true])):hover,
759#webrtc-status-button:not(:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]))[open="true"] {
43cc2806
RK
760 -moz-image-region: rect(18px, 594px, 36px, 576px);
761}
762
7d3f7f14 763#nav-bar-overflow-button {
43cc2806
RK
764 -moz-image-region: rect(0, 612px, 18px, 594px);
765}
766
7d3f7f14
RK
767#nav-bar-overflow-button:hover,
768#nav-bar-overflow-button[open="true"] {
43cc2806
RK
769 -moz-image-region: rect(18px, 612px, 36px, 594px);
770}
771
46e71434
RK
772#nav-bar-overflow-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
773 transform: scaleX(-1);
774}
775
c0f6797e
RK
776#tabview-button {
777 -moz-image-region: rect(0, 648px, 18px, 630px);
778}
779
780#tabview-button:hover {
781 -moz-image-region: rect(18px, 648px, 36px, 630px);
782}
783
784#email-link-button[cui-areatype="toolbar"] {
785 -moz-image-region: rect(0, 666px, 18px, 648px);
786}
787
788#email-button[cui-areatype="toolbar"]:hover {
789 -moz-image-region: rect(18px, 666px, 36px, 648px);
790}
791
792#sidebar-button[cui-areatype="toolbar"] {
793 -moz-image-region: rect(0, 684px, 18px, 666px);
794}
795
796#sidebar-button[cui-areatype="toolbar"]:hover {
797 -moz-image-region: rect(18px, 684px, 36px, 666px);
798}
799
d0e580f1
RK
800#loop-call-button > .toolbarbutton-badge-container {
801 list-style-image: url("chrome://browser/skin/loop/toolbarfx.png");
802 -moz-image-region: rect(0, 18px, 18px, 0);
803}
804
805#loop-call-button:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
806 -moz-image-region: rect(0, 90px, 18px, 72px);
807}
808
809#loop-call-button[disabled="true"] > .toolbarbutton-badge-container {
810 -moz-image-region: rect(0, 36px, 18px, 18px);
811}
812
813#loop-call-button[disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
814 -moz-image-region: rect(0, 126px, 18px, 108px);
815}
816
817#loop-call-button:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
818 -moz-image-region: rect(0, 54px, 18px, 36px);
819}
820
821#loop-call-button:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
822 -moz-image-region: rect(0, 72px, 18px, 54px);
823}
824
825#loop-call-button:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
826 -moz-image-region: rect(0, 108px, 18px, 90px);
827}
828
43cc2806
RK
829/* === END toolbarbuttons.inc.css === */
830
831/* === BEGIN menupanel.inc.css === */
832
833/* Menu panel and palette styles */
834
51994fad 835toolbaritem[sdkstylewidget="true"] > toolbarbutton,
5401f433
RK
836:-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
837 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
838 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
839 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
840 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
841 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
842 #copy-button, #paste-button, #e10s-button)[cui-areatype="menu-panel"],
843toolbarpaletteitem[place="palette"] > :-moz-any(#back-button, #forward-button, #home-button, #print-button, #downloads-button, #bookmarks-menu-button,
844 #new-tab-button, #new-window-button, #fullscreen-button, #sync-button, #feed-button, #tabview-button,
845 #webrtc-status-button, #social-share-button, #open-file-button, #find-button, #developer-button,
846 #preferences-button, #privatebrowsing-button, #save-page-button, #switch-to-metro-button, #add-ons-button,
847 #history-panelmenu, #nav-bar-overflow-button, #PanelUI-menu-button, #characterencoding-button,
848 #email-link-button, #sidebar-button, #zoom-out-button, #zoom-reset-button, #zoom-in-button, #cut-button,
849 #copy-button, #paste-button, #e10s-button) {
d0e580f1 850 list-style-image: url("chrome://browser/skin/menuPanelFx.png"); /* avoid aero overrides with changed filename */
43cc2806
RK
851}
852
853#home-button[cui-areatype="menu-panel"],
7d3f7f14 854toolbarpaletteitem[place="palette"] > #home-button {
43cc2806
RK
855 -moz-image-region: rect(0px, 128px, 32px, 96px);
856}
857
cc4b0b0d 858#home-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 859toolbarpaletteitem[place="palette"] > #home-button:hover {
cc4b0b0d
RK
860 -moz-image-region: rect(32px, 128px, 64px, 96px);
861}
862
43cc2806 863#bookmarks-menu-button[cui-areatype="menu-panel"],
7d3f7f14 864toolbarpaletteitem[place="palette"] > #bookmarks-menu-button {
46e71434 865 -moz-image-region: rect(0px, 192px, 32px, 160px);
43cc2806
RK
866}
867
cc4b0b0d 868#bookmarks-menu-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 869toolbarpaletteitem[place="palette"] > #bookmarks-menu-button:hover {
46e71434
RK
870 -moz-image-region: rect(32px, 192px, 64px, 160px);
871}
872
873#bookmarks-menu-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
874 -moz-image-region: rect(32px, 192px, 64px, 160px);
cc4b0b0d
RK
875}
876
43cc2806 877#history-panelmenu[cui-areatype="menu-panel"],
7d3f7f14 878toolbarpaletteitem[place="palette"] > #history-panelmenu {
43cc2806
RK
879 -moz-image-region: rect(0px, 224px, 32px, 192px);
880}
881
cc4b0b0d 882#history-panelmenu[cui-areatype="menu-panel"]:hover,
7d3f7f14 883toolbarpaletteitem[place="palette"] > #history-panelmenu:hover {
cc4b0b0d
RK
884 -moz-image-region: rect(32px, 224px, 64px, 192px);
885}
886
46e71434
RK
887#history-panelmenu[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
888 -moz-image-region: rect(32px, 224px, 64px, 192px);
889}
890
43cc2806 891#downloads-button[cui-areatype="menu-panel"],
7d3f7f14 892toolbarpaletteitem[place="palette"] > #downloads-button {
43cc2806
RK
893 -moz-image-region: rect(0px, 256px, 32px, 224px);
894}
895
cc4b0b0d 896#downloads-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 897toolbarpaletteitem[place="palette"] > #downloads-button:hover {
cc4b0b0d
RK
898 -moz-image-region: rect(32px, 256px, 64px, 224px);
899}
900
43cc2806 901#add-ons-button[cui-areatype="menu-panel"],
7d3f7f14 902toolbarpaletteitem[place="palette"] > #add-ons-button {
43cc2806
RK
903 -moz-image-region: rect(0px, 288px, 32px, 256px);
904}
905
cc4b0b0d 906#add-ons-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 907toolbarpaletteitem[place="palette"] > #add-ons-button:hover {
cc4b0b0d
RK
908 -moz-image-region: rect(32px, 288px, 64px, 256px);
909}
910
43cc2806 911#open-file-button[cui-areatype="menu-panel"],
7d3f7f14 912toolbarpaletteitem[place="palette"] > #open-file-button {
43cc2806
RK
913 -moz-image-region: rect(0px, 320px, 32px, 288px);
914}
915
cc4b0b0d 916#open-file-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 917toolbarpaletteitem[place="palette"] > #open-file-button:hover {
cc4b0b0d
RK
918 -moz-image-region: rect(32px, 320px, 64px, 288px);
919}
920
43cc2806 921#save-page-button[cui-areatype="menu-panel"],
7d3f7f14 922toolbarpaletteitem[place="palette"] > #save-page-button {
43cc2806
RK
923 -moz-image-region: rect(0px, 352px, 32px, 320px);
924}
925
cc4b0b0d 926#save-page-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 927toolbarpaletteitem[place="palette"] > #save-page-button:hover {
cc4b0b0d
RK
928 -moz-image-region: rect(32px, 352px, 64px, 320px);
929}
930
43cc2806 931#sync-button[cui-areatype="menu-panel"],
7d3f7f14 932toolbarpaletteitem[place="palette"] > #sync-button {
43cc2806
RK
933 -moz-image-region: rect(0px, 384px, 32px, 352px);
934}
935
cc4b0b0d 936#sync-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 937toolbarpaletteitem[place="palette"] > #sync-button:hover {
cc4b0b0d
RK
938 -moz-image-region: rect(32px, 384px, 64px, 352px);
939}
940
5401f433
RK
941#sync-button[cui-areatype="menu-panel"][status="active"] {
942 list-style-image: url("chrome://browser/skin/syncProgress-menuPanel.png");
943 -moz-image-region: rect(0px, 32px, 32px, 0px);
944}
945
43cc2806 946#feed-button[cui-areatype="menu-panel"],
7d3f7f14 947toolbarpaletteitem[place="palette"] > #feed-button {
43cc2806
RK
948 -moz-image-region: rect(0px, 416px, 32px, 384px);
949}
950
cc4b0b0d 951#feed-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 952toolbarpaletteitem[place="palette"] > #feed-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
953 -moz-image-region: rect(32px, 416px, 64px, 384px);
954}
955
956#feed-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 957toolbarpaletteitem[place="palette"] > #feed-button[disabled="true"] {
cc4b0b0d
RK
958 -moz-image-region: rect(64px, 416px, 96px, 384px);
959}
960
43cc2806 961#social-share-button[cui-areatype="menu-panel"],
7d3f7f14 962toolbarpaletteitem[place="palette"] > #social-share-button {
43cc2806
RK
963 -moz-image-region: rect(0px, 448px, 32px, 416px);
964}
965
cc4b0b0d 966#social-share-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 967toolbarpaletteitem[place="palette"] > #social-share-button:hover {
cc4b0b0d
RK
968 -moz-image-region: rect(32px, 448px, 64px, 416px);
969}
970
43cc2806 971#characterencoding-button[cui-areatype="menu-panel"],
7d3f7f14 972toolbarpaletteitem[place="palette"] > #characterencoding-button {
43cc2806
RK
973 -moz-image-region: rect(0px, 480px, 32px, 448px);
974}
975
cc4b0b0d 976#characterencoding-button[cui-areatype="menu-panel"]:hover:not([disabled="true"]),
7d3f7f14 977toolbarpaletteitem[place="palette"] > #characterencoding-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
978 -moz-image-region: rect(32px, 480px, 64px, 448px);
979}
980
981#characterencoding-button[cui-areatype="menu-panel"][disabled="true"],
7d3f7f14 982toolbarpaletteitem[place="palette"] > #characterencoding-button[disabled="true"] {
cc4b0b0d
RK
983 -moz-image-region: rect(64px, 480px, 96px, 448px);
984}
985
46e71434
RK
986#characterencoding-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
987 -moz-image-region: rect(32px, 480px, 64px, 448px);
988}
989
43cc2806 990#new-window-button[cui-areatype="menu-panel"],
7d3f7f14 991toolbarpaletteitem[place="palette"] > #new-window-button {
43cc2806
RK
992 -moz-image-region: rect(0px, 512px, 32px, 480px);
993}
994
cc4b0b0d 995#new-window-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 996toolbarpaletteitem[place="palette"] > #new-window-button:hover {
cc4b0b0d
RK
997 -moz-image-region: rect(32px, 512px, 64px, 480px);
998}
999
5401f433
RK
1000#e10s-button[cui-areatype="menu-panel"],
1001toolbarpaletteitem[place="palette"] > #e10s-button {
1002 -moz-image-region: rect(0px, 512px, 32px, 480px);
1003}
1004
1005#e10s-button[cui-areatype="menu-panel"]:hover,
1006toolbarpaletteitem[place="palette"] > #e10s-button:hover {
1007 -moz-image-region: rect(32px, 512px, 64px, 480px);
1008}
1009
43cc2806 1010#new-tab-button[cui-areatype="menu-panel"],
7d3f7f14 1011toolbarpaletteitem[place="palette"] > #new-tab-button {
43cc2806
RK
1012 -moz-image-region: rect(0px, 544px, 32px, 512px);
1013}
1014
cc4b0b0d 1015#new-tab-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1016toolbarpaletteitem[place="palette"] > #new-tab-button:hover {
cc4b0b0d
RK
1017 -moz-image-region: rect(32px, 544px, 64px, 512px);
1018}
1019
43cc2806 1020#privatebrowsing-button[cui-areatype="menu-panel"],
7d3f7f14 1021toolbarpaletteitem[place="palette"] > #privatebrowsing-button {
43cc2806
RK
1022 -moz-image-region: rect(0px, 576px, 32px, 544px);
1023}
1024
cc4b0b0d 1025#privatebrowsing-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1026toolbarpaletteitem[place="palette"] > #privatebrowsing-button:hover {
cc4b0b0d
RK
1027 -moz-image-region: rect(32px, 576px, 64px, 544px);
1028}
1029
46e71434
RK
1030#tabview-button[cui-areatype="menu-panel"],
1031toolbarpaletteitem[place="palette"] > #tabview-button {
1032 -moz-image-region: rect(0px, 608px, 32px, 576px);
1033}
1034
1035#tabview-button[cui-areatype="menu-panel"]:hover,
1036toolbarpaletteitem[place="palette"] > #tabview-button:hover {
1037 -moz-image-region: rect(32px, 608px, 64px, 576px);
1038}
1039
43cc2806 1040#find-button[cui-areatype="menu-panel"],
7d3f7f14 1041toolbarpaletteitem[place="palette"] > #find-button {
43cc2806
RK
1042 -moz-image-region: rect(0px, 640px, 32px, 608px);
1043}
1044
cc4b0b0d 1045#find-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1046toolbarpaletteitem[place="palette"] > #find-button:hover {
cc4b0b0d
RK
1047 -moz-image-region: rect(32px, 640px, 64px, 608px);
1048}
1049
43cc2806 1050#print-button[cui-areatype="menu-panel"],
7d3f7f14 1051toolbarpaletteitem[place="palette"] > #print-button {
43cc2806
RK
1052 -moz-image-region: rect(0px, 672px, 32px, 640px);
1053}
1054
cc4b0b0d 1055#print-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1056toolbarpaletteitem[place="palette"] > #print-button:hover {
cc4b0b0d
RK
1057 -moz-image-region: rect(32px, 672px, 64px, 640px);
1058}
1059
43cc2806 1060#fullscreen-button[cui-areatype="menu-panel"],
7d3f7f14 1061toolbarpaletteitem[place="palette"] > #fullscreen-button {
43cc2806
RK
1062 -moz-image-region: rect(0px, 704px, 32px, 672px);
1063}
1064
cc4b0b0d 1065#fullscreen-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1066toolbarpaletteitem[place="palette"] > #fullscreen-button:hover {
cc4b0b0d
RK
1067 -moz-image-region: rect(32px, 704px, 64px, 672px);
1068}
1069
43cc2806 1070#developer-button[cui-areatype="menu-panel"],
7d3f7f14 1071toolbarpaletteitem[place="palette"] > #developer-button {
43cc2806
RK
1072 -moz-image-region: rect(0px, 736px, 32px, 704px);
1073}
1074
cc4b0b0d 1075#developer-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1076toolbarpaletteitem[place="palette"] > #developer-button:hover {
cc4b0b0d
RK
1077 -moz-image-region: rect(32px, 736px, 64px, 704px);
1078}
1079
46e71434
RK
1080#developer-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1081 -moz-image-region: rect(32px, 736px, 64px, 704px);
1082}
1083
43cc2806 1084#preferences-button[cui-areatype="menu-panel"],
7d3f7f14 1085toolbarpaletteitem[place="palette"] > #preferences-button {
43cc2806
RK
1086 -moz-image-region: rect(0px, 768px, 32px, 736px);
1087}
1088
cc4b0b0d 1089#preferences-button[cui-areatype="menu-panel"]:hover,
7d3f7f14 1090toolbarpaletteitem[place="palette"] > #preferences-button:hover {
cc4b0b0d
RK
1091 -moz-image-region: rect(32px, 768px, 64px, 736px);
1092}
1093
46e71434
RK
1094#email-link-button[cui-areatype="menu-panel"],
1095toolbarpaletteitem[place="palette"] > #email-link-button {
1096 -moz-image-region: rect(0, 800px, 32px, 768px);
1097}
1098
1099#email-link-button[cui-areatype="menu-panel"]:hover,
1100toolbarpaletteitem[place="palette"] > #email-link-button:hover {
1101 -moz-image-region: rect(32px, 800px, 64px, 768px);
1102}
1103
1104#sidebar-button[cui-areatype="menu-panel"],
1105toolbarpaletteitem[place="palette"] > #sidebar-button {
1106 -moz-image-region: rect(0, 864px, 32px, 832px);
1107}
1108
1109#sidebar-button[cui-areatype="menu-panel"]:hover,
1110toolbarpaletteitem[place="palette"] > #sidebar-button:hover {
1111 -moz-image-region: rect(32px, 864px, 64px, 832px);
1112}
1113
1114#sidebar-button[cui-areatype="menu-panel"][panel-multiview-anchor=true] {
1115 -moz-image-region: rect(32px, 864px, 64px, 832px);
1116}
1117
1118toolbaritem[sdkstylewidget="true"] > toolbarbutton {
1119 -moz-image-region: rect(0, 832px, 32px, 800px);
1120}
1121
d0e580f1
RK
1122#loop-call-button[cui-areatype="menu-panel"] > .toolbarbutton-badge-container,
1123toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1124 list-style-image: url("chrome://browser/skin/loop/menuPanel.png");
1125 -moz-image-region: rect(0, 32px, 32px, 0);
1126}
1127
1128/* Make sure that the state icons are not shown in the customization palette. */
1129toolbarpaletteitem[place="palette"] > #loop-call-button > .toolbarbutton-badge-container {
1130 -moz-image-region: rect(0, 32px, 32px, 0) !important;
1131}
1132
1133#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"]):-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1134 -moz-image-region: rect(0, 160px, 32px, 128px);
1135}
1136
1137#loop-call-button[cui-areatype="menu-panel"][disabled="true"] > .toolbarbutton-badge-container {
1138 -moz-image-region: rect(0, 64px, 32px, 32px);
1139}
1140
1141#loop-call-button[cui-areatype="menu-panel"][disabled="true"]:-moz-any(:hover,:hover:active,[open]) > .toolbarbutton-badge-container {
1142 -moz-image-region: rect(0, 224px, 32px, 192px);
1143}
1144
1145#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="error"] > .toolbarbutton-badge-container {
1146 -moz-image-region: rect(0, 96px, 32px, 64px);
1147}
1148
1149#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="action"] > .toolbarbutton-badge-container {
1150 -moz-image-region: rect(0, 128px, 32px, 96px);
1151}
1152
1153#loop-call-button[cui-areatype="menu-panel"]:not([disabled="true"])[state="active"] > .toolbarbutton-badge-container {
1154 -moz-image-region: rect(0, 192px, 32px, 160px);
1155}
1156
43cc2806
RK
1157/* Wide panel control icons */
1158
51994fad
RK
1159#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
1160#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > toolbarbutton,
7d3f7f14
RK
1161toolbarpaletteitem[place="palette"] > #edit-controls > toolbarbutton,
1162toolbarpaletteitem[place="palette"] > #zoom-controls > toolbarbutton {
d0e580f1 1163 list-style-image: url("chrome://browser/skin/menuPanelFx-small.png"); /* avoid aero overrides with changed filename */
43cc2806
RK
1164}
1165
51994fad 1166#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button,
7d3f7f14 1167toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button {
43cc2806
RK
1168 -moz-image-region: rect(0px, 32px, 16px, 16px);
1169}
1170
51994fad 1171#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button:hover:not([disabled="true"]),
7d3f7f14 1172toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1173 -moz-image-region: rect(16px, 32px, 32px, 16px);
1174}
1175
51994fad 1176#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #cut-button[disabled="true"],
7d3f7f14 1177toolbarpaletteitem[place="palette"] > #edit-controls > #cut-button[disabled="true"] {
cc4b0b0d
RK
1178 -moz-image-region: rect(32px, 32px, 48px, 16px);
1179}
1180
51994fad 1181#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button,
7d3f7f14 1182toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button {
43cc2806
RK
1183 -moz-image-region: rect(0px, 48px, 16px, 32px);
1184}
1185
51994fad 1186#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button:hover:not([disabled="true"]),
7d3f7f14 1187toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1188 -moz-image-region: rect(16px, 48px, 32px, 32px);
1189}
1190
51994fad 1191#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #copy-button[disabled="true"],
7d3f7f14 1192toolbarpaletteitem[place="palette"] > #edit-controls > #copy-button[disabled="true"] {
cc4b0b0d
RK
1193 -moz-image-region: rect(32px, 48px, 48px, 32px);
1194}
1195
51994fad 1196#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button,
7d3f7f14 1197toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button {
43cc2806
RK
1198 -moz-image-region: rect(0px, 64px, 16px, 48px);
1199}
1200
51994fad 1201#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button:hover:not([disabled="true"]),
7d3f7f14 1202toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1203 -moz-image-region: rect(16px, 64px, 32px, 48px);
1204}
1205
51994fad 1206#edit-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #paste-button[disabled="true"],
7d3f7f14 1207toolbarpaletteitem[place="palette"] > #edit-controls > #paste-button[disabled="true"] {
cc4b0b0d
RK
1208 -moz-image-region: rect(32px, 64px, 48px, 48px);
1209}
1210
51994fad 1211#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button,
7d3f7f14 1212toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button {
43cc2806
RK
1213 -moz-image-region: rect(0px, 80px, 16px, 64px);
1214}
1215
51994fad 1216#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button:hover:not([disabled="true"]),
7d3f7f14 1217toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1218 -moz-image-region: rect(16px, 80px, 32px, 64px);
1219}
1220
51994fad 1221#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-out-button[disabled="true"],
7d3f7f14 1222toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-out-button[disabled="true"] {
cc4b0b0d
RK
1223 -moz-image-region: rect(32px, 80px, 48px, 64px);
1224}
1225
51994fad 1226#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button,
7d3f7f14 1227toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button {
43cc2806
RK
1228 -moz-image-region: rect(0px, 96px, 16px, 80px);
1229}
1230
51994fad 1231#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button:hover:not([disabled="true"]),
7d3f7f14 1232toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button:hover:not([disabled="true"]) {
cc4b0b0d
RK
1233 -moz-image-region: rect(16px, 96px, 32px, 80px);
1234}
1235
51994fad 1236#zoom-controls:-moz-any(:not([cui-areatype="toolbar"]), [overflowedItem=true]) > #zoom-in-button[disabled="true"],
7d3f7f14 1237toolbarpaletteitem[place="palette"] > #zoom-controls > #zoom-in-button[disabled="true"] {
cc4b0b0d
RK
1238 -moz-image-region: rect(32px, 96px, 48px, 80px);
1239}
1240
43cc2806
RK
1241/* === END menupanel.inc.css === */
1242
63ada306
RK
1243.toolbarbutton-1:not([type="menu-button"]) {
1244 -moz-box-orient: vertical;
1245}
1246
319c6529
RK
1247.toolbarbutton-1,
1248.toolbarbutton-1 > .toolbarbutton-menubutton-button {
c0f6797e
RK
1249/* min-width: 36px;
1250 min-height: 36px;*/
319c6529
RK
1251}
1252
1253.toolbarbutton-1,
1254.toolbarbutton-1 > .toolbarbutton-menubutton-button,
1255.toolbarbutton-1[disabled="true"]:hover:active,
1256.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
1257 padding: 1px 2px;
1258}
1259
1260.toolbarbutton-1:hover:active,
1261.toolbarbutton-1[open="true"],
1262.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
1263 padding-top: 2px;
1264 padding-bottom: 0px;
1265 -moz-padding-start: 3px;
1266 -moz-padding-end: 1px;
1267}
1268
c0f6797e
RK
1269#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-icon,
1270#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menu-dropmarker,
1271#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-dropmarker,
1272#main-window:not([customizing]) .toolbarbutton-1[disabled=true] > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1273#main-window:not([customizing]) .toolbarbutton-1 > .toolbarbutton-menubutton-button[disabled=true] > .toolbarbutton-icon {
e20c83c3
RK
1274}
1275
c0f6797e
RK
1276.toolbarbutton-1 > .toolbarbutton-menu-dropmarker,
1277.toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
e20c83c3
RK
1278}
1279
c0f6797e
RK
1280toolbar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker:-moz-lwtheme-brighttext,
1281toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker:-moz-lwtheme-brighttext {
319c6529
RK
1282}
1283
c0f6797e
RK
1284.toolbarbutton-1 > .toolbarbutton-icon,
1285.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1286}
1287
c0f6797e
RK
1288#nav-bar .toolbarbutton-1,
1289#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
319c6529
RK
1290}
1291
c0f6797e
RK
1292#nav-bar .toolbarbutton-1:not([type=menu-button]),
1293#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1294#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
319c6529
RK
1295}
1296
c0f6797e
RK
1297#nav-bar #PanelUI-menu-button {
1298/* -moz-padding-start: 7px;
1299 -moz-padding-end: 5px;*/
319c6529
RK
1300}
1301
c0f6797e
RK
1302#nav-bar .toolbarbutton-1[type=menu]:not(#back-button):not(#forward-button):not(#feed-button):not(#social-provider-button):not(#PanelUI-menu-button) {
1303/* padding-left: 5px;
1304 padding-right: 5px;*/
319c6529
RK
1305}
1306
c0f6797e
RK
1307#nav-bar .toolbarbutton-1 > menupopup {
1308/* margin-top: -3px;*/
319c6529
RK
1309}
1310
c0f6797e 1311#nav-bar .toolbarbutton-1 > menupopup.cui-widget-panel {
c1d2ce3e 1312 margin-top: -4px;
319c6529
RK
1313}
1314
c0f6797e
RK
1315#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button {
1316/* -moz-padding-end: 0;*/
319c6529
RK
1317}
1318
c0f6797e
RK
1319#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
1320/* -moz-padding-start: 0;
1321 -moz-box-align: center;*/
319c6529
RK
1322}
1323
c0f6797e
RK
1324#nav-bar .toolbarbutton-1 > .toolbarbutton-icon,
1325#nav-bar .toolbarbutton-1 > .toolbarbutton-text,
1326#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container,
1327#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1328#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
2c62526c 1329window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
c0f6797e
RK
1330/* padding: 2px 6px;
1331 border: 1px solid;
1332 border-color: transparent;
1333 transition-property: background-color, border-color;
1334 transition-duration: 150ms;*/
d54f5b23 1335}
c0f6797e
RK
1336/*
1337#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-icon,
1338#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-badge-container,
1339#nav-bar .toolbarbutton-1:not(:-moz-any(@primaryToolbarButtons@)) > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
1340 padding: 3px 7px;
d54f5b23 1341}
c0f6797e 1342*/
d54f5b23 1343
c0f6797e
RK
1344/* Help SDK icons fit: */
1345toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1346 width: 16px;
26125509
RK
1347}
1348
c0f6797e
RK
1349#nav-bar toolbarbutton[sdk-button="true"][cui-areatype="toolbar"] > .toolbarbutton-icon {
1350 /* XXXgijs box models strike again: this is 16px + 2 * 7px padding + 2 * 1px border (from the rules above) */
1351 width: 32px;
26125509 1352}
26125509 1353
c0f6797e
RK
1354#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,
1355#nav-bar .toolbarbutton-1[type=menu] > .toolbarbutton-text /* hack for add-ons that forcefully display the label */ {
1356/* -moz-padding-end: 17px;*/
319c6529
RK
1357}
1358
c0f6797e 1359#nav-bar .toolbarbutton-1 > .toolbarbutton-menu-dropmarker {
319c6529
RK
1360}
1361
c0f6797e 1362#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
319c6529
RK
1363}
1364
c0f6797e 1365#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
38cfeb47
RK
1366}
1367
c0f6797e
RK
1368#nav-bar .toolbaritem-combined-buttons {
1369/* margin-left: 2px;
1370 margin-right: 2px;*/
38cfeb47
RK
1371}
1372
c0f6797e
RK
1373#nav-bar .toolbaritem-combined-buttons > .toolbarbutton-1 {
1374/* padding-left: 0;
1375 padding-right: 0;*/
319c6529
RK
1376}
1377
c0f6797e
RK
1378#nav-bar .toolbarbutton-1:not(:hover):not(:active):not([open]) > .toolbarbutton-menubutton-dropmarker::before,
1379#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 {
1380/*
1381 content: "";
1382 display: -moz-box;
1383 width: 1px;
1384 height: 16px;
1385 -moz-margin-end: -1px;
1386*/
319c6529
RK
1387}
1388
2c62526c 1389window:not([chromehidden~="toolbar"]) #urlbar-wrapper > .toolbarbutton-1:-moz-any([disabled=true],:not([open]):not([disabled=true]):not(:active)) > .toolbarbutton-icon {
319c6529
RK
1390}
1391
43371c9b 1392#nav-bar .toolbarbutton-1:not([disabled=true]) > .toolbarbutton-menubutton-button[open] + .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
c0f6797e
RK
1393#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-button > .toolbarbutton-icon,
1394#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any(:hover,[open]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon,
1395#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-icon,
1396#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-text,
1397#nav-bar .toolbarbutton-1:not([disabled=true]):not([checked]):not([open]):not(:active):hover > .toolbarbutton-badge-container,
2c62526c 1398window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button:not([open]):not(:active):not([disabled=true]):hover > .toolbarbutton-icon,
46e71434 1399#nav-bar .toolbarbutton-1:not([buttonover]):not([open]):not(:active):hover > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon {
319c6529
RK
1400}
1401
43371c9b 1402#nav-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):-moz-any(:hover:active, [open]) > .toolbarbutton-icon,
c0f6797e
RK
1403#nav-bar .toolbarbutton-1[open] > .toolbarbutton-menubutton-dropmarker:not([disabled=true]) > .dropmarker-icon,
1404#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-icon,
1405#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-text,
1406#nav-bar .toolbarbutton-1:not([disabled=true]):-moz-any([open],[checked],:hover:active) > .toolbarbutton-badge-container {
319c6529
RK
1407}
1408
c0f6797e
RK
1409#TabsToolbar .toolbarbutton-1,
1410#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
1411.tabbrowser-arrowscrollbox > .scrollbutton-up,
1412.tabbrowser-arrowscrollbox > .scrollbutton-down {
e8519ae0
RK
1413}
1414
c0f6797e
RK
1415#TabsToolbar .toolbarbutton-1:not([disabled=true]):hover,
1416#TabsToolbar .toolbarbutton-1[open],
1417#TabsToolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled=true]):hover,
1418.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled=true]):hover,
1419.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled=true]):hover {
e8519ae0
RK
1420}
1421
c0f6797e 1422/* unified back/forward button */
319c6529 1423
c0f6797e 1424#forward-button {
589b5528 1425 -moz-box-align: stretch; /* let the button shape grow vertically with the location bar */
71bac478
RK
1426}
1427
c0f6797e
RK
1428#forward-button > menupopup {
1429 margin-top: 1px !important;
319c6529
RK
1430}
1431
c0f6797e
RK
1432#forward-button > .toolbarbutton-icon {
1433 background-clip: padding-box !important;
1434 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
5401f433 1435 /*clip-path: url(chrome://browser/content/browser.xul#keyhole-forward-clip-path) !important;*/
71bac478
RK
1436}
1437
c0f6797e 1438#forward-button {
aec5dfad
RK
1439 -moz-margin-start: -4px !important;
1440 padding-left: 4px;
1441 padding-right: 2px;
c0f6797e
RK
1442 margin-top: 3px;
1443 margin-bottom: 3px;
1444 border-radius: 0 10000px 10000px 0;
319c6529
RK
1445}
1446
c0f6797e
RK
1447#forward-button:-moz-locale-dir(rtl) {
1448 border-radius: 10000px 0 0 10000px;
8ad8bf83
RK
1449}
1450
2c62526c 1451window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
aec5dfad 1452 transition: margin-left 150ms ease-out;
2c62526c
RK
1453}
1454
1455window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
aec5dfad 1456 margin-left: -27px !important;
2c62526c
RK
1457}
1458
1459window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1460 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1461 transition-delay: 100s;
1462}
1463
1464window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1465 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
aec5dfad 1466 margin-left: -27.01px !important;
2c62526c
RK
1467}
1468
c0f6797e
RK
1469#back-button {
1470/* padding-top: 3px !important;
1471 padding-bottom: 3px !important;
1472 -moz-padding-start: 5px !important;
1473 -moz-padding-end: 0 !important;*/
1474 position: relative;
1475 z-index: 1;
1476 border-radius: 10000px;
1477 width: 30px;
1478 height: 30px;
1479 margin-top: -2px;
1480 margin-bottom: -2px;
143c5409
RK
1481}
1482
c0f6797e 1483#back-button:-moz-locale-dir(rtl) {
319c6529
RK
1484}
1485
c0f6797e
RK
1486#back-button > menupopup {
1487 margin-top: -1px !important;
b36fc72e
RK
1488}
1489
c0f6797e
RK
1490#back-button > .toolbarbutton-icon {
1491 border-radius: 10000px !important;
1492 background-clip: padding-box !important;
1493/* background-color: hsla(210,25%,98%,.08) !important;
1494 padding: 6px !important;
589b5528
RK
1495 border-style: none !important;
1496 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1497 0 0 0 1px hsla(210,4%,10%,.25);*/
1498 transition-property: background-color, box-shadow !important;
c0f6797e 1499 transition-duration: 250ms !important;
143c5409
RK
1500}
1501
c0f6797e 1502#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
589b5528 1503/* background-color: hsla(210,4%,10%,.08) !important;*/
143c5409
RK
1504}
1505
c0f6797e
RK
1506#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1507#back-button[open="true"] > .toolbarbutton-icon {
1508/* background-color: hsla(210,4%,10%,.12) !important;
589b5528
RK
1509 box-shadow: 0 1px 0 0 hsla(210,4%,10%,.25),
1510 0 0 0 1px hsla(210,4%,10%,.25),
1511 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
143c5409
RK
1512}
1513
2c62526c 1514#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
c0f6797e 1515 transform: scaleX(-1);
143c5409 1516}
c0f6797e
RK
1517/*
1518.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1519.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1520 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
6adbc9a6
RK
1521}
1522
c0f6797e
RK
1523.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1524.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1525 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
6adbc9a6
RK
1526}
1527
c0f6797e
RK
1528#home-button.bookmark-item {
1529 list-style-image: url("chrome://browser/skin/Toolbar.png");
6adbc9a6
RK
1530}
1531
c0f6797e
RK
1532#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),
1533#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),
1534#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1535#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1536#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1537#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1538#home-button.bookmark-item:-moz-lwtheme-brighttext {
1539 position: relative;
1540 z-index: 1;
1541 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
6adbc9a6
RK
1542}
1543
c0f6797e
RK
1544#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1545#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1546 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
6adbc9a6 1547}
c0f6797e 1548*/
6adbc9a6 1549
c0f6797e
RK
1550#downloads-button > .toolbarbutton-icon {
1551 margin: 0;
6adbc9a6
RK
1552}
1553
c0f6797e
RK
1554/* tabview button & menu item */
1555
6adbc9a6 1556#menu_tabview {
c0f6797e 1557 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
6adbc9a6
RK
1558 -moz-image-region: rect(1px, 89px, 17px, 73px);
1559}
1560
1561#menu_tabview[groups="0"] {
1562 -moz-image-region: rect(1px, 17px, 17px, 1px);
1563}
1564
1565#menu_tabview[groups="1"] {
1566 -moz-image-region: rect(1px, 35px, 17px, 19px);
1567}
1568
1569#menu_tabview[groups="2"] {
1570 -moz-image-region: rect(1px, 53px, 17px, 37px);
1571}
1572
1573#menu_tabview[groups="3"] {
1574 -moz-image-region: rect(1px, 71px, 17px, 55px);
1575}
1576
5401f433
RK
1577/* zoom control text (reset) button special case: */
1578
1579#nav-bar #zoom-reset-button > .toolbarbutton-text {
1580 /* To make this line up with the icons, it needs the same height (18px) +
1581 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1582 * increase in text sizes would break things...
1583 */
1584 min-height: 20px;
1585}
1586
319c6529
RK
1587/* ::::: fullscreen window controls ::::: */
1588
8d7ef0d9 1589#window-controls {
ab799a7a
RK
1590 -moz-margin-start: 4px;
1591}
1592
319c6529
RK
1593#minimize-button,
1594#restore-button,
1595#close-button {
c0f6797e
RK
1596/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1597 padding: 0; */
319c6529
RK
1598}
1599
1600#minimize-button {
1601 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1602}
1603
1604#minimize-button:hover {
1605 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1606}
1607
1608#restore-button {
1609 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1610}
1611
1612#restore-button:hover {
1613 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1614}
1615
1616#close-button {
1617 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1618}
1619
1620#close-button:hover {
1621 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1622}
1623
1624/* ::::: Location Bar ::::: */
1625
319c6529
RK
1626#urlbar,
1627.searchbar-textbox {
1628 border-radius: 5px;
aec5dfad 1629 margin: 2px 0;
319c6529
RK
1630 -moz-margin-start: 3px;
1631}
1632
ffce2402 1633#urlbar {
f0071a71
RK
1634 /* make color as light as possible to deal with dark non-domain parts */
1635 color: #FFBFFF;
ffce2402
RK
1636}
1637
319c6529
RK
1638#urlbar:-moz-lwtheme,
1639.searchbar-textbox:-moz-lwtheme {
1640 /* background-color: rgba(255,255,255,.8);
1641 @navbarTextboxCustomBorder@
1642 color: black; */
1643}
1644
c0f6797e
RK
1645#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1646.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1647/* background-color: rgba(255,255,255,.9);*/
1648}
1649
1650#urlbar:-moz-lwtheme[focused]:not([readonly]),
1651.searchbar-textbox:-moz-lwtheme[focused] {
1652/* background-color: white;*/
1653}
1654
2c62526c
RK
1655window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1656 -moz-border-start: none;
1657/* margin-left: 0;*/
1658}
1659
1660window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1661/* border-top-left-radius: 0;
1662 border-bottom-left-radius: 0; */
1663}
1664
1665window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1666/* border-top-right-radius: 0;
1667 border-bottom-right-radius: 0; */
1668}
1669
1670window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1671/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
aec5dfad 1672/* -moz-margin-start: -5px; */
2c62526c
RK
1673}
1674
fff8097b
RK
1675window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1676window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
2c62526c 1677 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1678 transform: scaleX(-1);
8ad8bf83
RK
1679}
1680
2c62526c
RK
1681window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1682 -moz-box-direction: reverse;
1683}
1684
a7145e95
RK
1685html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1686.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1687 color: #E7ADE7;
1688}
1689
319c6529
RK
1690#urlbar-container {
1691 -moz-box-orient: horizontal;
1692 -moz-box-align: stretch;
1693}
1694
9abeb12c
RK
1695.urlbar-textbox-container {
1696 -moz-box-align: stretch;
1697}
1698
a40f6a79
RK
1699.urlbar-input-box {
1700 -moz-margin-start: 0;
1701}
1702
319c6529 1703#urlbar-icons {
319c6529
RK
1704 -moz-box-align: center;
1705}
1706
1707.urlbar-icon {
b8384c33 1708 padding: 0 2px;
ffce2402
RK
1709}
1710
1711.searchbar-engine-button,
1712.search-go-container {
4b686546
RK
1713 padding: 2px;
1714}
1715
1716.search-go-container > .search-go-button {
1717 padding: 0;
319c6529
RK
1718}
1719
ffce2402
RK
1720.urlbar-icon:hover {
1721}
1722
1723.urlbar-icon[open="true"],
1724.urlbar-icon:hover:active {
1725}
1726
319c6529
RK
1727#urlbar-search-splitter {
1728 min-width: 6px;
1729 -moz-margin-start: -3px;
1730 border: none;
1731 background: transparent;
1732}
1733
f0071a71 1734#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1735#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1736 -moz-margin-start: 0;
1737}
1738
e20c83c3
RK
1739#urlbar-display-box {
1740}
1741
319c6529 1742#urlbar-display {
319c6529
RK
1743 -moz-border-end: 1px solid #9C9CFF;
1744 -moz-margin-end: 3px;
ab799a7a
RK
1745 margin-top: 0;
1746 margin-bottom: 0;
a40f6a79 1747 -moz-margin-start: 0;
ab799a7a
RK
1748 color: #8050B0;
1749}
1750
26125509
RK
1751#search-container {
1752 min-width: calc(54px + 11ch);
1753}
1754
319c6529
RK
1755/* identity box */
1756
1757#identity-box {
319c6529 1758 border-radius: 2px;
85cfb236 1759 font-size: .9em;
319c6529
RK
1760}
1761
e20c83c3
RK
1762#identity-box:-moz-locale-dir(ltr) {
1763/* border-top-left-radius: 1.5px;
1764 border-bottom-left-radius: 1.5px;*/
1765}
1766
1767#identity-box:-moz-locale-dir(rtl) {
1768/* border-top-right-radius: 1.5px;
1769 border-bottom-right-radius: 1.5px;*/
1770}
1771
8ad8bf83 1772#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 1773 -moz-padding-start: 10px !important;
8ad8bf83
RK
1774 border-radius: 0;
1775}
1776
fff8097b 1777window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
d15d08bf 1778/* border-radius: 0; */
2a5b7882
RK
1779 -moz-padding-start: 2px;
1780 -moz-padding-end: 2px;
1781 -moz-margin-end: 1px;
8ad8bf83
RK
1782}
1783
2c62526c
RK
1784window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1785 transition: padding-left, padding-right;
1786}
1787
2c62526c 1788window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 1789 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 1790 padding-left: 2px;
8ad8bf83
RK
1791}
1792
2c62526c 1793window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 1794 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 1795 padding-right: 2px;
8ad8bf83
RK
1796}
1797
2c62526c 1798window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
26125509 1799 #notification-popup-box[hidden] + #identity-box {
8ad8bf83 1800 /* forward button hiding is delayed when hovered */
71a617ff 1801 transition-delay: 100s;
8ad8bf83
RK
1802}
1803
2c62526c 1804window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 1805 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 1806 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1807 padding-left: 2.01px;
8ad8bf83
RK
1808}
1809
2c62526c 1810window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 1811 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 1812 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1813 padding-right: 2.01px;
8ad8bf83
RK
1814}
1815
56859d76
RK
1816#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1817#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79 1818 -moz-margin-end: 3px;
319c6529
RK
1819}
1820
56859d76 1821#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
37953ab4 1822#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
1823 border-top-right-radius: 0;
1824 border-bottom-right-radius: 0;
319c6529
RK
1825}
1826
56859d76 1827#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
37953ab4 1828#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
1829 border-top-left-radius: 0;
1830 border-bottom-left-radius: 0;
319c6529
RK
1831}
1832
a40f6a79
RK
1833#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1834 background-color: #000000;
319c6529
RK
1835}
1836
1837#identity-box:-moz-focusring {
1838 outline: 1px dotted #008484;
f993773d 1839 outline-offset: -1px;
319c6529
RK
1840}
1841
1842#identity-box.verifiedDomain:-moz-focusring,
1843#identity-box.verifiedIdentity:-moz-focusring {
1844 outline-color: #000000;
1845}
1846
1847#identity-icon-labels {
1848 -moz-margin-start: 1px;
1849 -moz-margin-end: 3px;
319c6529
RK
1850}
1851
1852/* Location bar dropmarker */
1853
38cfeb47 1854.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1855 background-color: transparent;
319c6529
RK
1856}
1857
00f971bc
RK
1858#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1859#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
38cfeb47
RK
1860 border: none;
1861 border-radius: 0px;
319c6529
RK
1862}
1863
ffce2402
RK
1864.urlbar-history-dropmarker:hover {
1865}
1866
1867.urlbar-history-dropmarker:hover:active,
1868.urlbar-history-dropmarker[open="true"] {
1869}
1870
319c6529
RK
1871/* page proxy icon */
1872
e7c8bab1
RK
1873/* === BEGIN identity-block.inc.css === */
1874
1875#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1876 /* Default theme does different color per channel, we can't as they do it build-time. */
1877 color: #9C9CFF;
1878 -moz-border-end: 1px solid #9C9CFF;
1879}
1880
1881#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1882 color: #008484;
1883 -moz-border-end: 1px solid #008484;
1884}
1885
1886#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1887#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1888 background-position: right;
1889 background-size: 1px;
1890 background-repeat: no-repeat;
1891}
1892
1893/* page proxy icon */
1894
4d58ff64 1895#page-proxy-favicon {
319c6529
RK
1896 width: 16px;
1897 height: 16px;
a40f6a79 1898 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
00f971bc 1899 margin: 2px;
e7c8bab1
RK
1900}
1901
1902.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1903 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
319c6529
RK
1904}
1905
2a5b7882 1906.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1907 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1908}
1909
2a5b7882 1910.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1911 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1912}
1913
56ab361a
RK
1914.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1915 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1916}
1917
e7c8bab1
RK
1918.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1919 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1920}
1921
1922.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1923 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1924}
1925
1926#page-proxy-favicon[pageproxystate="invalid"] {
1927 opacity: 0.3;
1928}
1929
1930#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1931 list-style-image: url("chrome://branding/content/icon64.png");
1932}
1933
1934#identity-popup-brandName {
1935 font-weight: bold;
1936 font-size: 1.25em;
1937 margin-top: .5em;
1938 margin-bottom: .5em;
1939}
1940
1941#identity-popup-content-box {
1942 max-width: 50ch;
1943}
1944
1945/* === END identity-block.inc.css === */
1946
1947#page-proxy-favicon {
1948 -moz-image-region: rect(0, 16px, 16px, 0);
1949}
1950
3b1da406 1951window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
c0f6797e
RK
1952/* -moz-margin-end: 1px;*/
1953}
1954
2a5b7882 1955#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
1956 -moz-image-region: rect(0, 32px, 16px, 16px);
1957}
1958
2a5b7882
RK
1959#identity-box:hover:active > #page-proxy-favicon,
1960#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 1961 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 1962}
1963
2a5b7882
RK
1964#identity-box:hover {
1965 background-color: #FFCF00;
7092015d 1966 color: #000000;
2a5b7882
RK
1967}
1968
1969#identity-box:hover:active,
1970#identity-box[open=true] {
1971 background-color: #FF9F00;
7092015d 1972 color: #000000;
2a5b7882
RK
1973}
1974
56859d76
RK
1975#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
1976#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
1977#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
1978 background-color: #9C9CFF;
1979 color: #000000;
1980}
1981
387e6560
RK
1982#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1983#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1984#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
1985 background-color: #008484;
1986 color: #000000;
1987}
1988
319c6529
RK
1989/* autocomplete */
1990
319c6529
RK
1991#treecolAutoCompleteImage {
1992 max-width: 36px;
1993}
acb0e9b8 1994
319c6529
RK
1995.ac-result-type-bookmark,
1996.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 1997 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 1998 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 1999 width: 16px;
319c6529 2000 height: 16px;
acb0e9b8 2001}
2002
c0f6797e
RK
2003richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
2004.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
2005/* -moz-image-region: rect(0px 48px 16px 32px);*/
2006}
2007
319c6529
RK
2008.ac-result-type-keyword,
2009.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
2010 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
2011 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2012 width: 16px;
2013 height: 16px;
2014}
2015
319c6529
RK
2016.ac-result-type-tag,
2017.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 2018 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 2019 width: 16px;
319c6529
RK
2020 height: 16px;
2021}
acb0e9b8 2022
319c6529 2023.ac-comment {
c0f6797e 2024 font-size: 1.06em;
acb0e9b8 2025}
319c6529
RK
2026
2027.ac-extra > .ac-comment {
c0f6797e 2028 font-size: 1em;
acb0e9b8 2029}
319c6529
RK
2030
2031.ac-url-text,
2032.ac-action-text {
c0f6797e 2033 font-size: 1em;
319c6529 2034 color: #9C9CFF;
acb0e9b8 2035}
319c6529
RK
2036
2037richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
2038 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
2039 -moz-image-region: rect(0, 16px, 16px, 0);
2040 padding: 0 3px;
2041}
2042
2043richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
2044 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 2045}
2046
319c6529
RK
2047.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
2048 color: #8050B0;
2049}
acb0e9b8 2050
319c6529
RK
2051.ac-comment[selected="true"],
2052.ac-url-text[selected="true"],
2053.ac-action-text[selected="true"] {
2054 color: inherit !important;
acb0e9b8 2055}
2056
c1f7cc84
RK
2057.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
2058.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
2059{
2060 color: #8050B0;
2061 font-size: smaller;
acb0e9b8 2062}
319c6529
RK
2063
2064.autocomplete-treebody::-moz-tree-cell(suggesthint) {
2065 border-top: 1px solid #9C9CFF;
acb0e9b8 2066}
2067
319c6529
RK
2068/* combined go/reload/stop button in location bar */
2069
2070#urlbar > toolbarbutton {
9abeb12c 2071 -moz-margin-start: 0;
ffce2402 2072 padding: 0 2px;
319c6529
RK
2073 background-origin: border-box;
2074 border: none;
c0f6797e 2075 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
9abeb12c
RK
2076 -moz-border-start: 1px solid #9C9CFF;
2077}
2078
2079#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2080 border-top-left-radius: 0px;
2081 border-bottom-left-radius: 0px;
acb0e9b8 2082}
acb0e9b8 2083
9abeb12c 2084#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2085 border-top-right-radius: 0px;
2086 border-bottom-right-radius: 0px;
9abeb12c
RK
2087}
2088
46e71434 2089#urlbar > toolbarbutton:not([disabled=true]):active:hover,
dce90fef
RK
2090#urlbar-reload-button:not(:hover) {
2091 -moz-border-start-style: none;
714b11f6 2092 -moz-padding-start: 3px;
dce90fef
RK
2093}
2094
c0f6797e
RK
2095#urlbar-reload-button {
2096 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 2097}
2098
46e71434 2099#urlbar-reload-button[disabled=true] {
c0f6797e 2100 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2101}
2102
46e71434 2103#urlbar-reload-button:not([disabled=true]):hover {
c0f6797e 2104 -moz-image-region: rect(14px, 14px, 28px, 0px);
ffce2402
RK
2105}
2106
c0f6797e
RK
2107#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2108 transform: scaleX(-1);
acb0e9b8 2109}
2110
c0f6797e
RK
2111#urlbar-go-button {
2112 -moz-image-region: rect(0, 42px, 14px, 28px);
38cfeb47
RK
2113}
2114
fff8097b 2115#urlbar-go-button:hover {
c0f6797e 2116 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2117}
2118
c0f6797e
RK
2119#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2120 transform: scaleX(-1);
acb0e9b8 2121}
319c6529
RK
2122
2123#urlbar-stop-button {
ffce2402 2124 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2125}
319c6529
RK
2126
2127#urlbar-stop-button:hover {
ffce2402 2128 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2129}
2130
319c6529
RK
2131/* popup blocker button */
2132
2133#page-report-button {
2134 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2135 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2136}
319c6529 2137
71bac478 2138#page-report-button:hover ,
319c6529
RK
2139#page-report-button:hover:active,
2140#page-report-button[open="true"] {
71bac478 2141 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2142}
2143
c4460289
RK
2144/* social share panel */
2145
2146#social-share-panel > iframe {
2147/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2148 width: 300px;
2149 height: 150px;
2150}
2151
c4460289
RK
2152.social-share-toolbar {
2153 border-right: 1px solid #9C9CFF;
2154/* background-color: #000000; */
2155}
2156
2157#social-share-provider-buttons {
2158 padding: 6px;
2159}
2160
2161#social-share-provider-buttons > .share-provider-button {
2162 -moz-appearance: none;
2163 padding: 5px;
2164 margin: 1px;
2165 border: none;
2166 background: none;
2167 border-radius: 2px;
2168}
2169
2170#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2171#social-share-provider-buttons > .share-provider-button:hover,
2172#social-share-provider-buttons > .share-provider-button:active {
2173 padding: 4px;
2174}
2175
2176#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2177}
2178
2179#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2180 display: none;
2181}
2182#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2183 width: 16px;
2184 min-height: 16px;
2185 max-height: 16px;
2186}
2187
5a199ba1
RK
2188toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2189 width: auto;
2190 height: auto;
2191 max-width: 32px;
2192 max-height: 24px;
2193}
2194
c4460289
RK
2195/* fixup corners for share panel */
2196.social-panel > .social-panel-frame {
2197 border-radius: inherit;
2198}
2199
2200#social-share-panel {
2201 max-height: 600px;
2202 min-height: 100px;
2203 max-width: 800px;
2204 min-width: 300px;
2205}
2206
2207.social-share-frame {
2208/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2209 width: 330px;
2210 height: 150px;
c4460289
RK
2211 /* we resize our panels dynamically, make it look nice */
2212 transition: height 100ms ease-out, width 100ms ease-out;
2213}
2214
e2734cc7
RK
2215.social-share-frame:-moz-locale-dir(ltr) {
2216 border-top-left-radius: 0;
2217 border-bottom-left-radius: 0;
2218 border-top-right-radius: inherit;
2219 border-bottom-right-radius: inherit;
2220}
2221
2222.social-share-frame:-moz-locale-dir(rtl) {
c4460289
RK
2223 border-top-left-radius: inherit;
2224 border-bottom-left-radius: inherit;
e2734cc7
RK
2225 border-top-right-radius: 0;
2226 border-bottom-right-radius: 0;
c4460289
RK
2227}
2228
e2734cc7
RK
2229#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2230 border-top-left-radius: inherit;
2231 border-bottom-left-radius: inherit;
2232}
2233
2234#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2235 border-top-right-radius: inherit;
2236 border-bottom-right-radius: inherit;
2237}
2238
2239#social-share-provider-buttons:-moz-locale-dir(ltr) {
c4460289
RK
2240 border-top-left-radius: inherit;
2241 border-bottom-left-radius: inherit;
2242}
2243
e2734cc7
RK
2244#social-share-provider-buttons:-moz-locale-dir(rtl) {
2245 border-top-right-radius: inherit;
2246 border-bottom-right-radius: inherit;
2247}
2248
889649fd
RK
2249/* social recommending panel */
2250
a6757852 2251#social-mark-button {
d7cfd768 2252 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2253}
2254
c0f6797e 2255/* bookmarks menu-button */
319c6529 2256
c0f6797e
RK
2257#bookmarks-menu-button.bookmark-item {
2258 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2259 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 2260}
319c6529 2261
c0f6797e
RK
2262#bookmarks-menu-button.bookmark-item[starred] {
2263 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2264}
319c6529 2265
c0f6797e
RK
2266#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2267 -moz-margin-start: 5px;
acb0e9b8 2268}
2269
c0f6797e
RK
2270#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2271 padding-top: 2px;
2272 padding-bottom: 2px;
71bac478
RK
2273}
2274
c0f6797e
RK
2275#BMB_bookmarksPopup[side="top"],
2276#BMB_bookmarksPopup[side="bottom"] {
2277 margin-left: -20px;
2278 margin-right: -20px;
71bac478
RK
2279}
2280
c0f6797e
RK
2281#BMB_bookmarksPopup[side="left"],
2282#BMB_bookmarksPopup[side="right"] {
2283 margin-top: -20px;
2284 margin-bottom: -20px;
acb0e9b8 2285}
319c6529
RK
2286
2287/* bookmarking panel */
c0f6797e 2288
319c6529
RK
2289#editBookmarkPanelStarIcon {
2290 list-style-image: url("chrome://browser/skin/places/starred48.png");
2291 width: 48px;
2292 height: 48px;
acb0e9b8 2293}
319c6529
RK
2294
2295#editBookmarkPanelStarIcon[unstarred] {
2296 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2297}
2298
319c6529
RK
2299#editBookmarkPanelTitle {
2300 font-size: 130%;
acb0e9b8 2301}
319c6529
RK
2302
2303#editBookmarkPanelHeader,
2304#editBookmarkPanelContent {
2305 margin-bottom: .5em;
acb0e9b8 2306}
319c6529
RK
2307
2308/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2309#editBMPanel_folderTree {
2310 min-width: 27em;
acb0e9b8 2311}
2312
f993773d 2313.panel-promo-box {
46e71434
RK
2314 margin: 5px 0 -6px;
2315 padding: 5px 0;
889649fd 2316 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2317 border-bottom-left-radius: 5px;
2318 border-bottom-right-radius: 5px;
f993773d
RK
2319}
2320
2321.panel-promo-icon {
2322 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2323 -moz-margin-end: 10px;
2324 vertical-align: middle;
2325}
2326
2327.panel-promo-closebutton {
2328 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2329 -moz-margin-end: -3px;
2330 margin-top: -3px;
f993773d
RK
2331}
2332
2333.panel-promo-closebutton:hover {
2334 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2335}
2336
2337.panel-promo-closebutton:hover:active {
2338 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2339}
2340
2341.panel-promo-closebutton > .toolbarbutton-text {
2342 padding: 0;
2343 margin: 0;
2344}
2345
319c6529
RK
2346/* ::::: content area ::::: */
2347
2348#sidebar {
2349 background-color: Window;
acb0e9b8 2350}
319c6529
RK
2351
2352#sidebar-title {
2353 -moz-padding-start: 0px;
acb0e9b8 2354}
319c6529 2355
589b5528
RK
2356#sidebar-header > .close-icon {
2357/* padding: 4px 2px;
2358 margin: 0;
2359 border: none;*/
2360 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2361}
2362
2363#sidebar-header > .close-icon:hover,
2364#sidebar-header > .close-icon:hover:active {
2365 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2366}
2367
fe524e0c
RK
2368.browserContainer > findbar {
2369/*
2370 background-color: -moz-dialog;
2371 color: -moz-DialogText;
2372*/
2373}
2374
319c6529 2375/* Tabstrip */
b36fc72e 2376
c0f6797e 2377#TabsToolbar {
e20c83c3
RK
2378 min-height: 0;
2379 padding: 0;
2380 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2381}
2382
b36fc72e 2383#TabsToolbar .toolbar-holder {
c1f7cc84 2384 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2385}
2386
b36fc72e 2387#main-window[disablechrome] #TabsToolbar,
319c6529 2388#TabsToolbar[tabsontop="false"] {
8b5fc82e 2389 border-bottom: 1px solid #008484;
acb0e9b8 2390}
319c6529 2391
c0f6797e 2392#main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
45dc7657 2393}
c0f6797e
RK
2394
2395#main-window[tabsintitlebar] #TabsToolbar {
2396 background-color: transparent;
2397}
2398
6dc70335
RK
2399/* === BEGIN tabs.inc.css === */
2400
319c6529 2401.tabbrowser-tab,
43ee1307
RK
2402.tabs-newtab-button,
2403#TabsToolbar > #new-tab-button {
319c6529 2404 margin-top: 0px;
acb0e9b8 2405}
319c6529 2406
43ee1307 2407.tabbrowser-tab {
57fc408c
RK
2408 padding: 1px 4px 2px;
2409}
2410
2411.tabbrowser-tab:first-of-type {
2412 -moz-margin-start: 2px;
2413}
2414
43ee1307
RK
2415.tabs-newtab-button,
2416#TabsToolbar > #new-tab-button {
57fc408c
RK
2417 border-radius: 8px 8px 0px 0px;
2418 -moz-margin-start: 0;
2419}
2420
43ee1307
RK
2421.tabs-newtab-button:not(:hover),
2422#TabsToolbar > #new-tab-button:not(:hover) {
57fc408c
RK
2423 background-color: #C09070;
2424}
2425
fe524e0c
RK
2426.tabbrowser-tab[remote] {
2427 text-decoration: underline;
2428}
2429
c0f6797e
RK
2430/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2431.tabbrowser-tab[selected=true] {
2432/* position: relative;
2433 z-index: 2;*/
acb0e9b8 2434}
2435
c0f6797e 2436.tab-background-middle {
acb0e9b8 2437}
2438
c0f6797e 2439.tab-content {
acb0e9b8 2440}
319c6529 2441
46e71434 2442.tab-/*throbber*/,
c0f6797e
RK
2443.tab-icon-image,
2444.tab-close-button {
acb0e9b8 2445}
2446
319c6529
RK
2447.tab-throbber,
2448.tab-icon-image {
319c6529 2449 height: 16px;
c0f6797e
RK
2450 width: 16px;
2451}
2452
2453.tab-icon-image {
dce90fef 2454 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
613daf44 2455}
2456
319c6529 2457.tab-throbber {
95f333af 2458 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2459}
319c6529
RK
2460
2461.tab-throbber[progress] {
95f333af 2462 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2463}
319c6529 2464
c0f6797e
RK
2465.tab-throbber:not([pinned]),
2466.tab-icon-image:not([pinned]) {
2467 -moz-margin-end: 3px;
2468}
2469
319c6529
RK
2470.tab-throbber[pinned],
2471.tab-icon-image[pinned] {
2472 -moz-margin-start: 2px;
2473 -moz-margin-end: 2px;
613daf44 2474}
319c6529 2475
c0f6797e 2476.tab-label {
aec5dfad
RK
2477 /* this needs to add up to the 16px of the icon image */
2478 height: 12px;
2479 margin-top: 2px !important;
2480 margin-bottom: 2px !important;
c0f6797e
RK
2481}
2482
2483.tab-close-button {
2484 margin-top: 1px;
2485 padding: 0;
2486}
2487
2488.tab-background,
2489.tabs-newtab-button {
2490 /* overlap the tab curves */
2491}
2492
2493.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2494}
2495
2496.tab-background-start[selected=true]::after,
2497.tab-background-start[selected=true]::before,
2498.tab-background-start,
2499.tab-background-end,
2500.tab-background-end[selected=true]::after,
2501.tab-background-end[selected=true]::before {
2502}
2503
2504.tabbrowser-tab:not([selected=true]),
2505.tabbrowser-tab:-moz-lwtheme {
2506}
2507
319c6529 2508/* tabbrowser-tab focus ring */
c0f6797e 2509.tabbrowser-tab:focus {
319c6529 2510 outline: 1px dotted;
613daf44 2511}
319c6529 2512
c0f6797e
RK
2513/* Selected tab */
2514
2515.tabbrowser-tab[selected="true"] {
2516}
2517
2518/* End selected tab */
2519
c0f6797e
RK
2520/* Tab pointer-events */
2521/*
2522.tabbrowser-tab {
2523 pointer-events: none;
2524}
2525
2526.tab-background-middle,
2527.tabs-newtab-button,
2528.tab-close-button {
2529 pointer-events: auto;
2530}
2531*/
2532/* Pinned tabs */
2533
2534.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2535 background-color: #E7ADE7;
2536}
2537
2538.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2539 background-color: #3333FF;
2540 color: #000000;
2541}
2542
2543/* New tab button */
2544
2545.tabs-newtab-button {
2546 width: 28px;
2547}
2548
2549/* === END tabs.inc.css === */
2550
43371c9b
RK
2551/* Background tabs:
2552 *
2553 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2554 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2555 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2556 */
2557#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2558/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2559}
2560
8ad8bf83 2561/* Tab DnD indicator */
319c6529
RK
2562.tab-drop-indicator {
2563 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 2564 margin-bottom: -11px;
613daf44 2565}
2566
319c6529
RK
2567/* Tab close button */
2568.tab-close-button {
319c6529
RK
2569 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2570}
acb0e9b8 2571
319c6529
RK
2572.tab-close-button:hover,
2573.tab-close-button:hover[selected="true"] {
2574 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2575}
319c6529
RK
2576
2577.tab-close-button:hover:active,
2578.tab-close-button:hover:active[selected="true"] {
2579 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2580}
319c6529 2581
319c6529
RK
2582/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2583
319c6529
RK
2584.tabbrowser-arrowscrollbox > .scrollbutton-up,
2585.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
2586 margin: 0;
2587 padding-top: 0;
2588 padding-bottom: 0;
c0f6797e
RK
2589 background-origin: border-box;
2590}
2591
2592#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2593#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2594.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2595.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2596 }
b7f3670c 2597
c0f6797e
RK
2598.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2599.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2600 }
2601
2602.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2603.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2604/* transform: scaleX(-1);*/
2605}
2606
2607.tabbrowser-arrowscrollbox > .scrollbutton-down {
2608 transition: 1s background-color ease-out;
acb0e9b8 2609}
319c6529 2610
319c6529
RK
2611.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2612 background-color: #008484;
acb0e9b8 2613}
319c6529 2614
c0f6797e
RK
2615.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2616.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2617/* border-width: 0 2px 0 0;
2618 border-style: solid;
2619 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2620}
2621
319c6529
RK
2622.tabs-newtab-button > .toolbarbutton-icon {
2623 margin-top: -1px;
2624 margin-bottom: -1px;
acb0e9b8 2625}
319c6529
RK
2626
2627.tabs-newtab-button,
2628#TabsToolbar > #new-tab-button,
e20c83c3
RK
2629#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2630#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
38cfeb47 2631 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 2632 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 2633}
2634
8b5fc82e 2635.tabs-newtab-button,
38cfeb47 2636.tabs-newtab-button:hover,
c0f6797e 2637#TabsToolbar > #new-tab-button,
38cfeb47 2638#TabsToolbar > #new-tab-button:hover {
319c6529 2639 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 2640}
319c6529 2641
c0f6797e
RK
2642#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2643#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2644#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2645.tabs-newtab-button:-moz-lwtheme-brighttext,
2646#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2647#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
acb0e9b8 2648}
2649
c0f6797e
RK
2650#TabsToolbar > #new-tab-button {
2651 width: 26px;
2652}
2653
2654#alltabs-button {
2655 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 2656}
319c6529 2657
f9fc08c7
RK
2658#alltabs-button:hover,
2659#alltabs-button:hover:active,
2660#alltabs-button[open="true"] {
8da9da4e 2661 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 2662}
319c6529 2663
c0f6797e
RK
2664#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2665#alltabs-button:-moz-lwtheme-brighttext {
2666}
2667
2668#alltabs-button > .toolbarbutton-icon {
2669/* margin: 0 2px;*/
2670}
2671
2672#alltabs-button > .toolbarbutton-menu-dropmarker {
2673 display: none;
2674}
2675
319c6529
RK
2676/* All tabs menupopup */
2677.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 2678 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 2679 -moz-image-region: auto;
acb0e9b8 2680}
2681
319c6529
RK
2682.alltabs-item[selected="true"] {
2683 font-weight: bold;
acb0e9b8 2684}
319c6529
RK
2685
2686.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2687 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 2688}
319c6529 2689
85cfb236 2690.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
2691 background-color: #402800;
2692}
2693
319c6529
RK
2694toolbarbutton.chevron {
2695 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2696}
319c6529
RK
2697
2698toolbarbutton.chevron:hover {
2699 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2700}
2701
319c6529
RK
2702toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2703toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2704 transform: scaleX(-1);
acb0e9b8 2705}
319c6529
RK
2706
2707toolbarbutton.chevron > .toolbarbutton-text,
2708toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2709 display: none;
acb0e9b8 2710}
319c6529
RK
2711
2712toolbarbutton.chevron > .toolbarbutton-icon {
2713 margin: 0;
acb0e9b8 2714}
2715
319c6529
RK
2716#sidebar-throbber[loading="true"] {
2717 list-style-image: url("chrome://global/skin/icons/loading.gif");
2718 -moz-margin-end: 4px;
acb0e9b8 2719}
319c6529
RK
2720
2721/* Bookmarks toolbar */
2722#PlacesToolbarDropIndicator {
8da9da4e 2723 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2724}
2725
319c6529
RK
2726toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2727 background-color: #008484 !important;
2728 color: #FFCF00 !important;
613daf44 2729}
319c6529
RK
2730
2731/* rules for menupopup drop indicators */
2732.menupopup-drop-indicator-bar {
2733 position: relative;
2734 /* these two margins must together compensate the indicator's height */
2735 margin-top: -1px;
2736 margin-bottom: -1px;
613daf44 2737}
319c6529
RK
2738
2739.menupopup-drop-indicator {
2740 list-style-image: none;
2741 height: 2px;
2742 -moz-margin-end: -4em;
2743 background-color: #008484;
613daf44 2744}
2745
319c6529
RK
2746/* ::::: Identity Indicator Styling ::::: */
2747
2748/* Popup Icons */
2749#identity-popup-icon {
2750 height: 64px;
2751 width: 64px;
2752 padding: 0;
2753 list-style-image: url("chrome://browser/skin/identity.png");
2754 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2755}
319c6529
RK
2756
2757#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2758 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2759}
319c6529
RK
2760
2761#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2762 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2763}
2764
319c6529
RK
2765/* Popup Body Text */
2766.identity-popup-description {
2767 white-space: pre-wrap;
2768 -moz-padding-start: 15px;
2769 margin: 2px 0 4px;
613daf44 2770}
319c6529
RK
2771
2772.identity-popup-label {
2773 white-space: pre-wrap;
2774 -moz-padding-start: 15px;
2775 margin: 0;
613daf44 2776}
319c6529 2777
5517da5a 2778#identity-popup-content-host,
319c6529
RK
2779#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2780 font-size: 1.2em;
613daf44 2781}
2782
319c6529
RK
2783#identity-popup-content-host {
2784 margin-top: 3px;
2785 margin-bottom: 5px;
2786 font-weight: bold;
2787 max-width: 300px;
2788}
613daf44 2789
319c6529
RK
2790#identity-popup-content-owner {
2791 margin-top: 4px;
2792 margin-bottom: 0 !important;
2793 font-weight: bold;
2794 max-width: 300px;
2795}
613daf44 2796
319c6529
RK
2797.verifiedDomain > #identity-popup-content-owner {
2798 font-weight: normal;
613daf44 2799}
2800
319c6529
RK
2801#identity-popup-content-verifier {
2802 margin: 4px 0 2px;
613daf44 2803}
2804
319c6529
RK
2805#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2806#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2807 margin-top: 10px;
2808 -moz-margin-start: -24px;
613daf44 2809}
2810
319c6529
RK
2811#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2812#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2813 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2814}
2815
3a0880a9
RK
2816#identity-popup-help-icon {
2817 border: none;
2818 margin: 7px 0 0 -3px;
2819 background: none;
2820 min-width: 0;
2821 list-style-image: url("chrome://global/skin/icons/question-16.png");
2822 cursor: pointer;
2823}
2824
2825#identity-popup-help-icon > .button-box > .button-text {
2826 display: none;
2827}
2828
2829#identity-popup-help-icon > .button-box > .button-icon {
2830 height: 16px;
2831 width: 16px;
2832}
2833
319c6529
RK
2834#identity-popup-more-info-button {
2835 margin-top: 6px;
2836 margin-bottom: 0;
2837 -moz-margin-end: 0;
613daf44 2838}
acb0e9b8 2839
fe524e0c
RK
2840#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2841 padding: 0;
2842}
2843
2844#identity-popup-container {
2845 min-width: 280px;
2846 padding: 10px;
2847}
2848
2849#identity-popup-button-container {
2850/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2851 padding: 10px;
2852 margin-top: 5px;
2853}
2854
319c6529
RK
2855.popup-notification-icon {
2856 width: 64px;
2857 height: 64px;
2858 -moz-margin-end: 10px;
2859}
acb0e9b8 2860
319c6529
RK
2861.popup-notification-icon[popupid="geolocation"] {
2862 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2863}
2864
319c6529
RK
2865.popup-notification-icon[popupid="xpinstall-disabled"],
2866.popup-notification-icon[popupid="addon-progress"],
2867.popup-notification-icon[popupid="addon-install-cancelled"],
2868.popup-notification-icon[popupid="addon-install-blocked"],
2869.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2870.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2871 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2872 width: 32px;
2873 height: 32px;
acb0e9b8 2874}
319c6529 2875
a40f6a79 2876.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2877 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2878}
2879
a6757852
RK
2880.popup-notification-icon[popupid="plugins-not-found"] {
2881 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2882}
2883
82b4252f
RK
2884.popup-notification-icon[popupid="web-notifications"] {
2885 list-style-image: url("chrome://browser/skin/notification-64.png");
2886}
2887
319c6529
RK
2888.addon-progress-description {
2889 width: 350px;
2890 max-width: 350px;
acb0e9b8 2891}
319c6529
RK
2892
2893.popup-progress-label,
2894.popup-progress-meter {
2895 -moz-margin-start: 0;
2896 -moz-margin-end: 0;
acb0e9b8 2897}
319c6529
RK
2898
2899.popup-progress-cancel {
2900 -moz-appearance: none;
2901 background: transparent;
2902 border: none;
2903 padding: 0;
2904 margin: 0;
2905 min-height: 0;
2906 min-width: 0;
2907 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2908 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2909}
319c6529
RK
2910
2911.popup-progress-cancel:hover {
2912 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2913}
2914
319c6529
RK
2915.popup-progress-cancel:active {
2916 -moz-image-region: rect(32px, 32px, 48px, 16px);
2917}
acb0e9b8 2918
319c6529 2919.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
a6757852 2920.popup-notification-icon[popupid="indexedDB-quota-prompt"],
e2734cc7
RK
2921.popup-notification-icon[popupid*="offline-app-requested"],
2922.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 2923 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2924}
2925
319c6529
RK
2926.popup-notification-icon[popupid="password-save"],
2927.popup-notification-icon[popupid="password-change"] {
2928 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2929}
2930
1b13529a 2931.popup-notification-icon[popupid="webapps-install-progress"],
8d7ef0d9 2932.popup-notification-icon[popupid="webapps-install"] {
87a1144f 2933 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
8d7ef0d9
RK
2934}
2935
56ab361a
RK
2936.popup-notification-icon[popupid="mixed-content-blocked"] {
2937 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2938}
2939
0142a07b 2940.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
2941.popup-notification-icon[popupid="webRTC-shareDevices"] {
2942 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2943}
2944
c1d2ce3e
RK
2945.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
2946.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
2947 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
2948}
2949
82b4252f
RK
2950.popup-notification-icon[popupid="pointerLock"] {
2951 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2952}
2953
319c6529 2954/* Notification icon box */
cae267ab
RK
2955#notification-popup .panel-promo-box {
2956/* margin: 10px -10px -10px; */
2957}
2958
319c6529 2959#notification-popup-box {
f993773d
RK
2960 position: relative;
2961 background-color: #000000;
2962 background-clip: padding-box;
2963 padding-left: 3px;
5517da5a 2964 padding-right: 8px;
f0eab82c 2965 border-radius: 3px 0 0 3px;
82b4252f 2966 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 2967 -moz-margin-end: -8px;
5517da5a 2968 border-right-width: 8px;
f993773d
RK
2969}
2970
589b5528
RK
2971window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar > #notification-popup-box {
2972/* padding-left: 7px; */
f993773d
RK
2973}
2974
2975#notification-popup-box:-moz-locale-dir(rtl),
2976.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2977 transform: scaleX(-1);
319c6529 2978}
acb0e9b8 2979
319c6529 2980.notification-anchor-icon {
acb0e9b8 2981 width: 16px;
2982 height: 16px;
85cfb236 2983 margin: 0 2px;
acb0e9b8 2984}
2985
319c6529 2986.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2987 outline: 1px dotted #008484;
2988/* outline-offset: -3px; */
acb0e9b8 2989}
2990
e2734cc7 2991.default-notification-icon,
ab799a7a
RK
2992#default-notification-icon {
2993 list-style-image: url("chrome://global/skin/icons/information-16.png");
2994}
2995
e2734cc7 2996.identity-notification-icon,
9585a561
RK
2997#identity-notification-icon {
2998 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2999}
3000
e2734cc7 3001.geo-notification-icon,
319c6529
RK
3002#geo-notification-icon {
3003 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 3004}
3005
319c6529
RK
3006#addons-notification-icon {
3007 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 3008}
3009
e2734cc7 3010.indexedDB-notification-icon,
319c6529
RK
3011#indexedDB-notification-icon {
3012 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 3013}
3014
319c6529
RK
3015#password-notification-icon {
3016 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 3017}
3018
8d7ef0d9 3019#webapps-notification-icon {
87a1144f 3020 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
8d7ef0d9
RK
3021}
3022
a40f6a79 3023#plugins-notification-icon {
b27cc46e
RK
3024 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
3025}
3026
f76c6aee 3027#plugins-notification-icon.plugin-hidden {
b27cc46e 3028 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
3029}
3030
f76c6aee 3031#plugins-notification-icon.plugin-blocked {
b27cc46e 3032 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
3033}
3034
f76c6aee 3035#plugins-notification-icon {
fe524e0c
RK
3036/* -moz-image-region: rect(0, 16px, 16px, 0);*/
3037}
3038
f76c6aee 3039#plugins-notification-icon:hover {
fe524e0c
RK
3040/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
3041}
3042
a6757852
RK
3043#plugin-install-notification-icon {
3044 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
3045}
3046
6adbc9a6
RK
3047#notification-popup-box[hidden] {
3048 /* Override display:none to make the pluginBlockedNotification animation work
3049 when showing the notification repeatedly. */
3050 display: -moz-box;
3051 visibility: collapse;
3052}
3053
f76c6aee 3054#plugins-notification-icon.plugin-blocked[showing] {
990cba4b
RK
3055 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
3056}
3057
3058@keyframes pluginBlockedNotification {
3059 from {
3060 opacity: 0;
3061 }
3062 to {
3063 opacity: 1;
3064 }
3065}
3066
e2734cc7 3067.mixed-content-blocked-notification-icon,
56ab361a
RK
3068#mixed-content-blocked-notification-icon {
3069 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3070}
3071
e2734cc7 3072.webRTC-shareDevices-notification-icon,
0142a07b 3073#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3074 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3075}
3076
e2734cc7 3077.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3078#webRTC-sharingDevices-notification-icon {
3079 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3080}
3081
c1d2ce3e
RK
3082.webRTC-shareMicrophone-notification-icon,
3083#webRTC-shareMicrophone-notification-icon {
3084 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3085}
3086
3087.webRTC-sharingMicrophone-notification-icon,
3088#webRTC-sharingMicrophone-notification-icon {
3089 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3090}
3091
e2734cc7 3092.web-notifications-notification-icon,
82b4252f
RK
3093#web-notifications-notification-icon {
3094 list-style-image: url("chrome://browser/skin/notification-16.png");
3095}
3096
3097#pointerLock-notification-icon {
3098 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3099}
3100#pointerLock-cancel {
3101 margin: 0px;
3102}
3103
319c6529 3104/* Bookmarks roots menu-items */
319c6529
RK
3105#subscribeToPageMenuitem:not([disabled]),
3106#subscribeToPageMenupopup,
3107#BMB_subscribeToPageMenuitem:not([disabled]),
3108#BMB_subscribeToPageMenupopup {
3109 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 3110}
3111
319c6529 3112#bookmarksToolbarFolderMenu,
c0f6797e
RK
3113#BMB_bookmarksToolbar,
3114#panelMenu_bookmarksToolbar {
8da9da4e 3115 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
3116 -moz-image-region: auto;
3117}
acb0e9b8 3118
c0f6797e
RK
3119#BMB_unsortedBookmarks,
3120#panelMenu_unsortedBookmarks {
8da9da4e 3121 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 3122 -moz-image-region: auto;
acb0e9b8 3123}
3124
319c6529 3125/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 3126
319c6529
RK
3127.KUI-panel {
3128 color: #FF9F00;
3129 border-style: none;
3130 border-radius: 20px;
acb0e9b8 3131}
3132
319c6529
RK
3133.KUI-panel[level="top"] {
3134 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 3135}
3136
319c6529
RK
3137/* Ctrl-Tab */
3138
3139#ctrlTab-panel {
3140 padding: 20px 10px 10px;
3141 font-weight: bold;
acb0e9b8 3142}
3143
319c6529
RK
3144.ctrlTab-favicon[src] {
3145 background-color: #000000;
3146 width: 20px;
3147 height: 20px;
3148 padding: 2px;
3149}
acb0e9b8 3150
319c6529 3151.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 3152}
3153
319c6529
RK
3154.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3155 margin-bottom: 2px;
acb0e9b8 3156}
3157
319c6529
RK
3158.ctrlTab-preview-inner {
3159 padding-bottom: 10px;
acb0e9b8 3160}
3161
319c6529
RK
3162#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3163 padding: 10px;
3164 background-color: #000000;
3165 border-radius: .5em;
acb0e9b8 3166}
3167
319c6529
RK
3168.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3169 color: white;
3170 background-color: #000000;
3171 text-shadow: none;
3172 padding: 8px;
3173 border: 2px solid #9C9CFF;
3174 border-radius: .5em;
acb0e9b8 3175}
3176
319c6529
RK
3177.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3178 margin: -10px -10px 0;
acb0e9b8 3179}
3180
319c6529
RK
3181#ctrlTab-showAll {
3182 margin-top: .5em;
acb0e9b8 3183}
3184
45dc7657
RK
3185/* Sync Panel */
3186
3187.sync-panel-icon {
cae267ab 3188 height:32px;
45dc7657
RK
3189 width: 32px;
3190 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3191}
3192
3193.sync-panel-inner {
3194 width: 0;
3195 padding-left: 10px;
3196}
3197
3198.sync-panel-button-box {