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