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