fix forward button and tab-without-icon styles
[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 1373#forward-button {
aec5dfad
RK
1374 -moz-margin-start: -4px !important;
1375 padding-left: 4px;
1376 padding-right: 2px;
c0f6797e
RK
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 1386window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #forward-button {
aec5dfad 1387 transition: margin-left 150ms ease-out;
2c62526c
RK
1388}
1389
1390window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] {
aec5dfad 1391 margin-left: -27px !important;
2c62526c
RK
1392}
1393
1394window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] {
1395 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
1396 transition-delay: 100s;
1397}
1398
1399window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] {
1400 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
aec5dfad 1401 margin-left: -27.01px !important;
2c62526c
RK
1402}
1403
c0f6797e
RK
1404#back-button {
1405/* padding-top: 3px !important;
1406 padding-bottom: 3px !important;
1407 -moz-padding-start: 5px !important;
1408 -moz-padding-end: 0 !important;*/
1409 position: relative;
1410 z-index: 1;
1411 border-radius: 10000px;
1412 width: 30px;
1413 height: 30px;
1414 margin-top: -2px;
1415 margin-bottom: -2px;
143c5409
RK
1416}
1417
c0f6797e 1418#back-button:-moz-locale-dir(rtl) {
319c6529
RK
1419}
1420
c0f6797e
RK
1421#back-button > menupopup {
1422 margin-top: -1px !important;
b36fc72e
RK
1423}
1424
c0f6797e
RK
1425#back-button > .toolbarbutton-icon {
1426 border-radius: 10000px !important;
1427 background-clip: padding-box !important;
1428/* background-color: hsla(210,25%,98%,.08) !important;
1429 padding: 6px !important;
1430 border-color: hsla(210,4%,10%,.25) !important;*/
1431 transition-property: background-color, border-color !important;
1432 transition-duration: 250ms !important;
143c5409
RK
1433}
1434
c0f6797e
RK
1435#back-button:not([disabled="true"]):not([open="true"]):not(:active):hover > .toolbarbutton-icon {
1436/* background-color: hsla(210,4%,10%,.08) !important;
1437 box-shadow: none !important;*/
143c5409
RK
1438}
1439
c0f6797e
RK
1440#back-button:not([disabled="true"]):hover:active > .toolbarbutton-icon,
1441#back-button[open="true"] > .toolbarbutton-icon {
1442/* background-color: hsla(210,4%,10%,.12) !important;
1443 box-shadow: 0 1px 0 0 hsla(210,80%,20%,.1) inset !important;*/
143c5409
RK
1444}
1445
2c62526c 1446#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
c0f6797e 1447 transform: scaleX(-1);
143c5409 1448}
c0f6797e
RK
1449/*
1450.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
1451.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
1452 list-style-image: url("chrome://browser/skin/menu-back.png") !important;
6adbc9a6
RK
1453}
1454
c0f6797e
RK
1455.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
1456.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
1457 list-style-image: url("chrome://browser/skin/menu-forward.png") !important;
6adbc9a6
RK
1458}
1459
c0f6797e
RK
1460#home-button.bookmark-item {
1461 list-style-image: url("chrome://browser/skin/Toolbar.png");
6adbc9a6
RK
1462}
1463
c0f6797e
RK
1464#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),
1465#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),
1466#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1467#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbaritem > :-moz-any(@nestedButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1468#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1469#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > :-moz-any(@primaryToolbarButtons@):-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1470#home-button.bookmark-item:-moz-lwtheme-brighttext {
1471 position: relative;
1472 z-index: 1;
1473 list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
6adbc9a6
RK
1474}
1475
c0f6797e
RK
1476#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
1477#main-window[tabsintitlebar]:not([inFullscreen]) :-moz-any(#TabsToolbar, #toolbar-menubar) > toolbarpaletteitem > #sync-button[status="active"]:-moz-system-metric(windows-classic):not(:-moz-lwtheme) {
1478 list-style-image: url("chrome://browser/skin/syncProgress-toolbar-inverted.png");
6adbc9a6 1479}
c0f6797e 1480*/
6adbc9a6 1481
c0f6797e
RK
1482#downloads-button > .toolbarbutton-icon {
1483 margin: 0;
6adbc9a6
RK
1484}
1485
c0f6797e
RK
1486/* tabview button & menu item */
1487
6adbc9a6 1488#menu_tabview {
c0f6797e 1489 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
6adbc9a6
RK
1490 -moz-image-region: rect(1px, 89px, 17px, 73px);
1491}
1492
1493#menu_tabview[groups="0"] {
1494 -moz-image-region: rect(1px, 17px, 17px, 1px);
1495}
1496
1497#menu_tabview[groups="1"] {
1498 -moz-image-region: rect(1px, 35px, 17px, 19px);
1499}
1500
1501#menu_tabview[groups="2"] {
1502 -moz-image-region: rect(1px, 53px, 17px, 37px);
1503}
1504
1505#menu_tabview[groups="3"] {
1506 -moz-image-region: rect(1px, 71px, 17px, 55px);
1507}
1508
5401f433
RK
1509/* zoom control text (reset) button special case: */
1510
1511#nav-bar #zoom-reset-button > .toolbarbutton-text {
1512 /* To make this line up with the icons, it needs the same height (18px) +
1513 * padding (2 * 2px) + border (2 * 1px), but as a minimum because otherwise
1514 * increase in text sizes would break things...
1515 */
1516 min-height: 20px;
1517}
1518
319c6529
RK
1519/* ::::: fullscreen window controls ::::: */
1520
8d7ef0d9 1521#window-controls {
ab799a7a
RK
1522 -moz-margin-start: 4px;
1523}
1524
319c6529
RK
1525#minimize-button,
1526#restore-button,
1527#close-button {
c0f6797e
RK
1528/* list-style-image: url("chrome://global/skin/icons/windowControls.png");
1529 padding: 0; */
319c6529
RK
1530}
1531
1532#minimize-button {
1533 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1534}
1535
1536#minimize-button:hover {
1537 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1538}
1539
1540#restore-button {
1541 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1542}
1543
1544#restore-button:hover {
1545 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1546}
1547
1548#close-button {
1549 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1550}
1551
1552#close-button:hover {
1553 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1554}
1555
1556/* ::::: Location Bar ::::: */
1557
319c6529
RK
1558#urlbar,
1559.searchbar-textbox {
1560 border-radius: 5px;
aec5dfad 1561 margin: 2px 0;
319c6529
RK
1562 -moz-margin-start: 3px;
1563}
1564
ffce2402 1565#urlbar {
f0071a71
RK
1566 /* make color as light as possible to deal with dark non-domain parts */
1567 color: #FFBFFF;
ffce2402
RK
1568}
1569
319c6529
RK
1570#urlbar:-moz-lwtheme,
1571.searchbar-textbox:-moz-lwtheme {
1572 /* background-color: rgba(255,255,255,.8);
1573 @navbarTextboxCustomBorder@
1574 color: black; */
1575}
1576
c0f6797e
RK
1577#urlbar:-moz-lwtheme:hover:not([focused]):not([readonly]),
1578.searchbar-textbox:-moz-lwtheme:hover:not([focused]) {
1579/* background-color: rgba(255,255,255,.9);*/
1580}
1581
1582#urlbar:-moz-lwtheme[focused]:not([readonly]),
1583.searchbar-textbox:-moz-lwtheme[focused] {
1584/* background-color: white;*/
1585}
1586
2c62526c
RK
1587window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar {
1588 -moz-border-start: none;
1589/* margin-left: 0;*/
1590}
1591
1592window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(ltr) {
1593/* border-top-left-radius: 0;
1594 border-bottom-left-radius: 0; */
1595}
1596
1597window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
1598/* border-top-right-radius: 0;
1599 border-bottom-right-radius: 0; */
1600}
1601
1602window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
1603/* clip-path: url("chrome://browser/content/browser.xul#urlbar-back-button-clip-path");*/
aec5dfad 1604/* -moz-margin-start: -5px; */
2c62526c
RK
1605}
1606
fff8097b
RK
1607window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl),
1608window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar:-moz-locale-dir(rtl) {
2c62526c 1609 /* let urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1610 transform: scaleX(-1);
8ad8bf83
RK
1611}
1612
2c62526c
RK
1613window:not([chromehidden~="toolbar"]) #urlbar-wrapper:-moz-locale-dir(rtl) {
1614 -moz-box-direction: reverse;
1615}
1616
a7145e95
RK
1617html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1618.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1619 color: #E7ADE7;
1620}
1621
319c6529
RK
1622#urlbar-container {
1623 -moz-box-orient: horizontal;
1624 -moz-box-align: stretch;
1625}
1626
9abeb12c
RK
1627.urlbar-textbox-container {
1628 -moz-box-align: stretch;
1629}
1630
a40f6a79
RK
1631.urlbar-input-box {
1632 -moz-margin-start: 0;
1633}
1634
319c6529 1635#urlbar-icons {
319c6529
RK
1636 -moz-box-align: center;
1637}
1638
1639.urlbar-icon {
b8384c33 1640 padding: 0 2px;
ffce2402
RK
1641}
1642
1643.searchbar-engine-button,
1644.search-go-container {
4b686546
RK
1645 padding: 2px;
1646}
1647
1648.search-go-container > .search-go-button {
1649 padding: 0;
319c6529
RK
1650}
1651
ffce2402
RK
1652.urlbar-icon:hover {
1653}
1654
1655.urlbar-icon[open="true"],
1656.urlbar-icon:hover:active {
1657}
1658
319c6529
RK
1659#urlbar-search-splitter {
1660 min-width: 6px;
1661 -moz-margin-start: -3px;
1662 border: none;
1663 background: transparent;
1664}
1665
f0071a71 1666#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1667#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1668 -moz-margin-start: 0;
1669}
1670
e20c83c3
RK
1671#urlbar-display-box {
1672}
1673
319c6529 1674#urlbar-display {
319c6529
RK
1675 -moz-border-end: 1px solid #9C9CFF;
1676 -moz-margin-end: 3px;
ab799a7a
RK
1677 margin-top: 0;
1678 margin-bottom: 0;
a40f6a79 1679 -moz-margin-start: 0;
ab799a7a
RK
1680 color: #8050B0;
1681}
1682
26125509
RK
1683#search-container {
1684 min-width: calc(54px + 11ch);
1685}
1686
319c6529
RK
1687/* identity box */
1688
1689#identity-box {
319c6529 1690 border-radius: 2px;
85cfb236 1691 font-size: .9em;
319c6529
RK
1692}
1693
e20c83c3
RK
1694#identity-box:-moz-locale-dir(ltr) {
1695/* border-top-left-radius: 1.5px;
1696 border-bottom-left-radius: 1.5px;*/
1697}
1698
1699#identity-box:-moz-locale-dir(rtl) {
1700/* border-top-right-radius: 1.5px;
1701 border-bottom-right-radius: 1.5px;*/
1702}
1703
8ad8bf83 1704#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 1705 -moz-padding-start: 10px !important;
8ad8bf83
RK
1706 border-radius: 0;
1707}
1708
fff8097b 1709window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box {
d15d08bf 1710/* border-radius: 0; */
2a5b7882
RK
1711 -moz-padding-start: 2px;
1712 -moz-padding-end: 2px;
1713 -moz-margin-end: 1px;
8ad8bf83
RK
1714}
1715
2c62526c
RK
1716window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not([switchingtabs]) > #urlbar > #identity-box {
1717 transition: padding-left, padding-right;
1718}
1719
2c62526c 1720window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 1721 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 1722 padding-left: 2px;
8ad8bf83
RK
1723}
1724
2c62526c 1725window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #forward-button[disabled] + #urlbar >
26125509 1726 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 1727 padding-right: 2px;
8ad8bf83
RK
1728}
1729
2c62526c 1730window:not([chromehidden~="toolbar"]) #urlbar-wrapper:hover:not([switchingtabs]) > #forward-button[disabled] + #urlbar >
26125509 1731 #notification-popup-box[hidden] + #identity-box {
8ad8bf83 1732 /* forward button hiding is delayed when hovered */
71a617ff 1733 transition-delay: 100s;
8ad8bf83
RK
1734}
1735
2c62526c 1736window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 1737 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 1738 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1739 padding-left: 2.01px;
8ad8bf83
RK
1740}
1741
2c62526c 1742window:not([chromehidden~="toolbar"]) #urlbar-wrapper:not(:hover) > #forward-button[disabled] + #urlbar >
26125509 1743 #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 1744 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1745 padding-right: 2.01px;
8ad8bf83
RK
1746}
1747
56859d76
RK
1748#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1749#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79 1750 -moz-margin-end: 3px;
319c6529
RK
1751}
1752
56859d76 1753#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(ltr),
37953ab4 1754#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
1755 border-top-right-radius: 0;
1756 border-bottom-right-radius: 0;
319c6529
RK
1757}
1758
56859d76 1759#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:-moz-locale-dir(rtl),
37953ab4 1760#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
1761 border-top-left-radius: 0;
1762 border-bottom-left-radius: 0;
319c6529
RK
1763}
1764
a40f6a79
RK
1765#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1766 background-color: #000000;
319c6529
RK
1767}
1768
1769#identity-box:-moz-focusring {
1770 outline: 1px dotted #008484;
f993773d 1771 outline-offset: -1px;
319c6529
RK
1772}
1773
1774#identity-box.verifiedDomain:-moz-focusring,
1775#identity-box.verifiedIdentity:-moz-focusring {
1776 outline-color: #000000;
1777}
1778
1779#identity-icon-labels {
1780 -moz-margin-start: 1px;
1781 -moz-margin-end: 3px;
319c6529
RK
1782}
1783
1784/* Location bar dropmarker */
1785
38cfeb47 1786.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1787 background-color: transparent;
319c6529
RK
1788}
1789
00f971bc
RK
1790#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker,
1791#urlbar-wrapper > #urlbar > .urlbar-history-dropmarker {
38cfeb47
RK
1792 border: none;
1793 border-radius: 0px;
319c6529
RK
1794}
1795
ffce2402
RK
1796.urlbar-history-dropmarker:hover {
1797}
1798
1799.urlbar-history-dropmarker:hover:active,
1800.urlbar-history-dropmarker[open="true"] {
1801}
1802
319c6529
RK
1803/* page proxy icon */
1804
e7c8bab1
RK
1805/* === BEGIN identity-block.inc.css === */
1806
1807#urlbar[pageproxystate="valid"] > #identity-box.chromeUI {
1808 /* Default theme does different color per channel, we can't as they do it build-time. */
1809 color: #9C9CFF;
1810 -moz-border-end: 1px solid #9C9CFF;
1811}
1812
1813#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1814 color: #008484;
1815 -moz-border-end: 1px solid #008484;
1816}
1817
1818#urlbar[pageproxystate="valid"] > #identity-box.chromeUI,
1819#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
1820 background-position: right;
1821 background-size: 1px;
1822 background-repeat: no-repeat;
1823}
1824
1825/* page proxy icon */
1826
4d58ff64 1827#page-proxy-favicon {
319c6529
RK
1828 width: 16px;
1829 height: 16px;
a40f6a79 1830 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
00f971bc 1831 margin: 2px;
e7c8bab1
RK
1832}
1833
1834.chromeUI > #page-proxy-favicon[pageproxystate="valid"] {
1835 list-style-image: url("chrome://branding/content/identity-icons-brand.png");
319c6529
RK
1836}
1837
2a5b7882 1838.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1839 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1840}
1841
2a5b7882 1842.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1843 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1844}
1845
56ab361a
RK
1846.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1847 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1848}
1849
e7c8bab1
RK
1850.mixedDisplayContent > #page-proxy-favicon[pageproxystate="valid"] {
1851 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1852}
1853
1854.mixedDisplayContentLoadedActiveBlocked > #page-proxy-favicon[pageproxystate="valid"] {
1855 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-display.png");
1856}
1857
1858#page-proxy-favicon[pageproxystate="invalid"] {
1859 opacity: 0.3;
1860}
1861
1862#identity-popup.chromeUI > #identity-popup-container > #identity-popup-icon {
1863 list-style-image: url("chrome://branding/content/icon64.png");
1864}
1865
1866#identity-popup-brandName {
1867 font-weight: bold;
1868 font-size: 1.25em;
1869 margin-top: .5em;
1870 margin-bottom: .5em;
1871}
1872
1873#identity-popup-content-box {
1874 max-width: 50ch;
1875}
1876
1877/* === END identity-block.inc.css === */
1878
1879#page-proxy-favicon {
1880 -moz-image-region: rect(0, 16px, 16px, 0);
1881}
1882
3b1da406 1883window:not([chromehidden~="toolbar"]) #urlbar-wrapper > #urlbar > #identity-box > #page-proxy-favicon {
c0f6797e
RK
1884/* -moz-margin-end: 1px;*/
1885}
1886
2a5b7882 1887#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
1888 -moz-image-region: rect(0, 32px, 16px, 16px);
1889}
1890
2a5b7882
RK
1891#identity-box:hover:active > #page-proxy-favicon,
1892#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 1893 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 1894}
1895
2a5b7882
RK
1896#identity-box:hover {
1897 background-color: #FFCF00;
7092015d 1898 color: #000000;
2a5b7882
RK
1899}
1900
1901#identity-box:hover:active,
1902#identity-box[open=true] {
1903 background-color: #FF9F00;
7092015d 1904 color: #000000;
2a5b7882
RK
1905}
1906
56859d76
RK
1907#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover,
1908#urlbar[pageproxystate="valid"] > #identity-box.chromeUI:hover:active,
1909#urlbar[pageproxystate="valid"] > #identity-box.chromeUI[open=true] {
1910 background-color: #9C9CFF;
1911 color: #000000;
1912}
1913
387e6560
RK
1914#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1915#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1916#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
1917 background-color: #008484;
1918 color: #000000;
1919}
1920
319c6529
RK
1921/* autocomplete */
1922
319c6529
RK
1923#treecolAutoCompleteImage {
1924 max-width: 36px;
1925}
acb0e9b8 1926
319c6529
RK
1927.ac-result-type-bookmark,
1928.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 1929 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 1930 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 1931 width: 16px;
319c6529 1932 height: 16px;
acb0e9b8 1933}
1934
c0f6797e
RK
1935richlistitem[selected="true"][current="true"] > .ac-title-box > .ac-result-type-bookmark,
1936.autocomplete-treebody::-moz-tree-image(selected, current, bookmark, treecolAutoCompleteImage) {
1937/* -moz-image-region: rect(0px 48px 16px 32px);*/
1938}
1939
319c6529
RK
1940.ac-result-type-keyword,
1941.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1942 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1943 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1944 width: 16px;
1945 height: 16px;
1946}
1947
319c6529
RK
1948.ac-result-type-tag,
1949.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 1950 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 1951 width: 16px;
319c6529
RK
1952 height: 16px;
1953}
acb0e9b8 1954
319c6529 1955.ac-comment {
c0f6797e 1956 font-size: 1.06em;
acb0e9b8 1957}
319c6529
RK
1958
1959.ac-extra > .ac-comment {
c0f6797e 1960 font-size: 1em;
acb0e9b8 1961}
319c6529
RK
1962
1963.ac-url-text,
1964.ac-action-text {
c0f6797e 1965 font-size: 1em;
319c6529 1966 color: #9C9CFF;
acb0e9b8 1967}
319c6529
RK
1968
1969richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1970 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
1971 -moz-image-region: rect(0, 16px, 16px, 0);
1972 padding: 0 3px;
1973}
1974
1975richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
1976 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 1977}
1978
319c6529
RK
1979.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1980 color: #8050B0;
1981}
acb0e9b8 1982
319c6529
RK
1983.ac-comment[selected="true"],
1984.ac-url-text[selected="true"],
1985.ac-action-text[selected="true"] {
1986 color: inherit !important;
acb0e9b8 1987}
1988
c1f7cc84
RK
1989.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1990.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
1991{
1992 color: #8050B0;
1993 font-size: smaller;
acb0e9b8 1994}
319c6529
RK
1995
1996.autocomplete-treebody::-moz-tree-cell(suggesthint) {
1997 border-top: 1px solid #9C9CFF;
acb0e9b8 1998}
1999
319c6529
RK
2000/* combined go/reload/stop button in location bar */
2001
2002#urlbar > toolbarbutton {
9abeb12c 2003 -moz-margin-start: 0;
ffce2402 2004 padding: 0 2px;
319c6529
RK
2005 background-origin: border-box;
2006 border: none;
c0f6797e 2007 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
9abeb12c
RK
2008 -moz-border-start: 1px solid #9C9CFF;
2009}
2010
2011#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
2012 border-top-left-radius: 0px;
2013 border-bottom-left-radius: 0px;
acb0e9b8 2014}
acb0e9b8 2015
9abeb12c 2016#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
2017 border-top-right-radius: 0px;
2018 border-bottom-right-radius: 0px;
9abeb12c
RK
2019}
2020
46e71434 2021#urlbar > toolbarbutton:not([disabled=true]):active:hover,
dce90fef
RK
2022#urlbar-reload-button:not(:hover) {
2023 -moz-border-start-style: none;
714b11f6 2024 -moz-padding-start: 3px;
dce90fef
RK
2025}
2026
c0f6797e
RK
2027#urlbar-reload-button {
2028 -moz-image-region: rect(0px, 14px, 14px, 0px);
acb0e9b8 2029}
2030
46e71434 2031#urlbar-reload-button[disabled=true] {
c0f6797e 2032 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 2033}
2034
46e71434 2035#urlbar-reload-button:not([disabled=true]):hover {
c0f6797e 2036 -moz-image-region: rect(14px, 14px, 28px, 0px);
ffce2402
RK
2037}
2038
c0f6797e
RK
2039#urlbar-reload-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2040 transform: scaleX(-1);
acb0e9b8 2041}
2042
c0f6797e
RK
2043#urlbar-go-button {
2044 -moz-image-region: rect(0, 42px, 14px, 28px);
38cfeb47
RK
2045}
2046
fff8097b 2047#urlbar-go-button:hover {
c0f6797e 2048 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 2049}
2050
c0f6797e
RK
2051#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
2052 transform: scaleX(-1);
acb0e9b8 2053}
319c6529
RK
2054
2055#urlbar-stop-button {
ffce2402 2056 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 2057}
319c6529
RK
2058
2059#urlbar-stop-button:hover {
ffce2402 2060 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 2061}
2062
319c6529
RK
2063/* popup blocker button */
2064
2065#page-report-button {
2066 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
2067 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 2068}
319c6529 2069
71bac478 2070#page-report-button:hover ,
319c6529
RK
2071#page-report-button:hover:active,
2072#page-report-button[open="true"] {
71bac478 2073 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 2074}
2075
c4460289
RK
2076/* social share panel */
2077
2078#social-share-panel > iframe {
2079/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
2080 width: 300px;
2081 height: 150px;
2082}
2083
c4460289
RK
2084.social-share-toolbar {
2085 border-right: 1px solid #9C9CFF;
2086/* background-color: #000000; */
2087}
2088
2089#social-share-provider-buttons {
2090 padding: 6px;
2091}
2092
2093#social-share-provider-buttons > .share-provider-button {
2094 -moz-appearance: none;
2095 padding: 5px;
2096 margin: 1px;
2097 border: none;
2098 background: none;
2099 border-radius: 2px;
2100}
2101
2102#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
2103#social-share-provider-buttons > .share-provider-button:hover,
2104#social-share-provider-buttons > .share-provider-button:active {
2105 padding: 4px;
2106}
2107
2108#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
2109}
2110
2111#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
2112 display: none;
2113}
2114#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
2115 width: 16px;
2116 min-height: 16px;
2117 max-height: 16px;
2118}
2119
5a199ba1
RK
2120toolbarbutton[type="socialmark"] > .toolbarbutton-icon {
2121 width: auto;
2122 height: auto;
2123 max-width: 32px;
2124 max-height: 24px;
2125}
2126
c4460289
RK
2127/* fixup corners for share panel */
2128.social-panel > .social-panel-frame {
2129 border-radius: inherit;
2130}
2131
2132#social-share-panel {
2133 max-height: 600px;
2134 min-height: 100px;
2135 max-width: 800px;
2136 min-width: 300px;
2137}
2138
2139.social-share-frame {
2140/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
2141 width: 330px;
2142 height: 150px;
c4460289
RK
2143 /* we resize our panels dynamically, make it look nice */
2144 transition: height 100ms ease-out, width 100ms ease-out;
2145}
2146
e2734cc7
RK
2147.social-share-frame:-moz-locale-dir(ltr) {
2148 border-top-left-radius: 0;
2149 border-bottom-left-radius: 0;
2150 border-top-right-radius: inherit;
2151 border-bottom-right-radius: inherit;
2152}
2153
2154.social-share-frame:-moz-locale-dir(rtl) {
c4460289
RK
2155 border-top-left-radius: inherit;
2156 border-bottom-left-radius: inherit;
e2734cc7
RK
2157 border-top-right-radius: 0;
2158 border-bottom-right-radius: 0;
c4460289
RK
2159}
2160
e2734cc7
RK
2161#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
2162 border-top-left-radius: inherit;
2163 border-bottom-left-radius: inherit;
2164}
2165
2166#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
2167 border-top-right-radius: inherit;
2168 border-bottom-right-radius: inherit;
2169}
2170
2171#social-share-provider-buttons:-moz-locale-dir(ltr) {
c4460289
RK
2172 border-top-left-radius: inherit;
2173 border-bottom-left-radius: inherit;
2174}
2175
e2734cc7
RK
2176#social-share-provider-buttons:-moz-locale-dir(rtl) {
2177 border-top-right-radius: inherit;
2178 border-bottom-right-radius: inherit;
2179}
2180
889649fd
RK
2181/* social recommending panel */
2182
a6757852 2183#social-mark-button {
d7cfd768 2184 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
2185}
2186
c0f6797e 2187/* bookmarks menu-button */
319c6529 2188
c0f6797e
RK
2189#bookmarks-menu-button.bookmark-item {
2190 list-style-image: url("chrome://browser/skin/places/bookmark.png");
2191 -moz-image-region: rect(0px 16px 16px 0px);
acb0e9b8 2192}
319c6529 2193
c0f6797e
RK
2194#bookmarks-menu-button.bookmark-item[starred] {
2195 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 2196}
319c6529 2197
c0f6797e
RK
2198#bookmarks-menu-button.bookmark-item > .toolbarbutton-menubutton-button > .toolbarbutton-icon {
2199 -moz-margin-start: 5px;
acb0e9b8 2200}
2201
c0f6797e
RK
2202#bookmarks-menu-button[cui-areatype="toolbar"]:not(.bookmark-item):not([overflowedItem=true]) > .toolbarbutton-menubutton-dropmarker > .dropmarker-icon {
2203 padding-top: 2px;
2204 padding-bottom: 2px;
71bac478
RK
2205}
2206
c0f6797e
RK
2207#BMB_bookmarksPopup[side="top"],
2208#BMB_bookmarksPopup[side="bottom"] {
2209 margin-left: -20px;
2210 margin-right: -20px;
71bac478
RK
2211}
2212
c0f6797e
RK
2213#BMB_bookmarksPopup[side="left"],
2214#BMB_bookmarksPopup[side="right"] {
2215 margin-top: -20px;
2216 margin-bottom: -20px;
acb0e9b8 2217}
319c6529
RK
2218
2219/* bookmarking panel */
c0f6797e 2220
319c6529
RK
2221#editBookmarkPanelStarIcon {
2222 list-style-image: url("chrome://browser/skin/places/starred48.png");
2223 width: 48px;
2224 height: 48px;
acb0e9b8 2225}
319c6529
RK
2226
2227#editBookmarkPanelStarIcon[unstarred] {
2228 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 2229}
2230
319c6529
RK
2231#editBookmarkPanelTitle {
2232 font-size: 130%;
acb0e9b8 2233}
319c6529
RK
2234
2235#editBookmarkPanelHeader,
2236#editBookmarkPanelContent {
2237 margin-bottom: .5em;
acb0e9b8 2238}
319c6529
RK
2239
2240/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
2241#editBMPanel_folderTree {
2242 min-width: 27em;
acb0e9b8 2243}
2244
f993773d 2245.panel-promo-box {
46e71434
RK
2246 margin: 5px 0 -6px;
2247 padding: 5px 0;
889649fd 2248 border-top: 1px solid #9C9CFF;
f0eab82c
RK
2249 border-bottom-left-radius: 5px;
2250 border-bottom-right-radius: 5px;
f993773d
RK
2251}
2252
2253.panel-promo-icon {
2254 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
2255 -moz-margin-end: 10px;
2256 vertical-align: middle;
2257}
2258
2259.panel-promo-closebutton {
2260 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
2261 -moz-margin-end: -3px;
2262 margin-top: -3px;
f993773d
RK
2263}
2264
2265.panel-promo-closebutton:hover {
2266 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2267}
2268
2269.panel-promo-closebutton:hover:active {
2270 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
2271}
2272
2273.panel-promo-closebutton > .toolbarbutton-text {
2274 padding: 0;
2275 margin: 0;
2276}
2277
319c6529
RK
2278/* ::::: content area ::::: */
2279
2280#sidebar {
2281 background-color: Window;
acb0e9b8 2282}
319c6529
RK
2283
2284#sidebar-title {
2285 -moz-padding-start: 0px;
acb0e9b8 2286}
319c6529 2287
fe524e0c
RK
2288.browserContainer > findbar {
2289/*
2290 background-color: -moz-dialog;
2291 color: -moz-DialogText;
2292*/
2293}
2294
319c6529 2295/* Tabstrip */
b36fc72e 2296
c0f6797e 2297#TabsToolbar {
e20c83c3
RK
2298 min-height: 0;
2299 padding: 0;
2300 -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar");
2301}
2302
b36fc72e 2303#TabsToolbar .toolbar-holder {
c1f7cc84 2304 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 2305}
2306
b36fc72e 2307#main-window[disablechrome] #TabsToolbar,
319c6529 2308#TabsToolbar[tabsontop="false"] {
8b5fc82e 2309 border-bottom: 1px solid #008484;
acb0e9b8 2310}
319c6529 2311
c0f6797e 2312#main-window:not([customizing]) #TabsToolbar:not(:-moz-lwtheme) {
45dc7657 2313}
c0f6797e
RK
2314
2315#main-window[tabsintitlebar] #TabsToolbar {
2316 background-color: transparent;
2317}
2318
6dc70335
RK
2319/* === BEGIN tabs.inc.css === */
2320
319c6529 2321.tabbrowser-tab,
43ee1307
RK
2322.tabs-newtab-button,
2323#TabsToolbar > #new-tab-button {
319c6529 2324 margin-top: 0px;
acb0e9b8 2325}
319c6529 2326
43ee1307 2327.tabbrowser-tab {
57fc408c
RK
2328 padding: 1px 4px 2px;
2329}
2330
2331.tabbrowser-tab:first-of-type {
2332 -moz-margin-start: 2px;
2333}
2334
43ee1307
RK
2335.tabs-newtab-button,
2336#TabsToolbar > #new-tab-button {
57fc408c
RK
2337 border-radius: 8px 8px 0px 0px;
2338 -moz-margin-start: 0;
2339}
2340
43ee1307
RK
2341.tabs-newtab-button:not(:hover),
2342#TabsToolbar > #new-tab-button:not(:hover) {
57fc408c
RK
2343 background-color: #C09070;
2344}
2345
fe524e0c
RK
2346.tabbrowser-tab[remote] {
2347 text-decoration: underline;
2348}
2349
c0f6797e
RK
2350/* The selected tab should appear above adjacent tabs, .tabs-newtab-button and the highlight of #nav-bar */
2351.tabbrowser-tab[selected=true] {
2352/* position: relative;
2353 z-index: 2;*/
acb0e9b8 2354}
2355
c0f6797e 2356.tab-background-middle {
acb0e9b8 2357}
2358
c0f6797e 2359.tab-content {
acb0e9b8 2360}
319c6529 2361
46e71434 2362.tab-/*throbber*/,
c0f6797e
RK
2363.tab-icon-image,
2364.tab-close-button {
acb0e9b8 2365}
2366
319c6529
RK
2367.tab-throbber,
2368.tab-icon-image {
319c6529 2369 height: 16px;
c0f6797e
RK
2370 width: 16px;
2371}
2372
2373.tab-icon-image {
dce90fef 2374 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
613daf44 2375}
2376
319c6529 2377.tab-throbber {
95f333af 2378 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 2379}
319c6529
RK
2380
2381.tab-throbber[progress] {
95f333af 2382 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 2383}
319c6529 2384
c0f6797e
RK
2385.tab-throbber:not([pinned]),
2386.tab-icon-image:not([pinned]) {
2387 -moz-margin-end: 3px;
2388}
2389
319c6529
RK
2390.tab-throbber[pinned],
2391.tab-icon-image[pinned] {
2392 -moz-margin-start: 2px;
2393 -moz-margin-end: 2px;
613daf44 2394}
319c6529 2395
c0f6797e 2396.tab-label {
aec5dfad
RK
2397 /* this needs to add up to the 16px of the icon image */
2398 height: 12px;
2399 margin-top: 2px !important;
2400 margin-bottom: 2px !important;
c0f6797e
RK
2401}
2402
2403.tab-close-button {
2404 margin-top: 1px;
2405 padding: 0;
2406}
2407
2408.tab-background,
2409.tabs-newtab-button {
2410 /* overlap the tab curves */
2411}
2412
2413.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
2414}
2415
2416.tab-background-start[selected=true]::after,
2417.tab-background-start[selected=true]::before,
2418.tab-background-start,
2419.tab-background-end,
2420.tab-background-end[selected=true]::after,
2421.tab-background-end[selected=true]::before {
2422}
2423
2424.tabbrowser-tab:not([selected=true]),
2425.tabbrowser-tab:-moz-lwtheme {
2426}
2427
319c6529 2428/* tabbrowser-tab focus ring */
c0f6797e 2429.tabbrowser-tab:focus {
319c6529 2430 outline: 1px dotted;
613daf44 2431}
319c6529 2432
c0f6797e
RK
2433/* Selected tab */
2434
2435.tabbrowser-tab[selected="true"] {
2436}
2437
2438/* End selected tab */
2439
c0f6797e
RK
2440/* Tab pointer-events */
2441/*
2442.tabbrowser-tab {
2443 pointer-events: none;
2444}
2445
2446.tab-background-middle,
2447.tabs-newtab-button,
2448.tab-close-button {
2449 pointer-events: auto;
2450}
2451*/
2452/* Pinned tabs */
2453
2454.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
2455 background-color: #E7ADE7;
2456}
2457
2458.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
2459 background-color: #3333FF;
2460 color: #000000;
2461}
2462
2463/* New tab button */
2464
2465.tabs-newtab-button {
2466 width: 28px;
2467}
2468
2469/* === END tabs.inc.css === */
2470
43371c9b
RK
2471/* Background tabs:
2472 *
2473 * Decrease the height of the hoverable region of background tabs whenever the tabs are at the top
2474 * of the window (e.g. no menubar, tabs in titlebar, etc.) to make it easier to drag the window by
2475 * the titlebar. We don't need this in fullscreen since window dragging is not an issue there.
2476 */
2477#main-window[tabsintitlebar][sizemode=normal] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar .tab-background-middle:not([selected=true]) {
2478/* clip-path: url(chrome://browser/content/browser.xul#tab-hover-clip-path);*/
2479}
2480
8ad8bf83 2481/* Tab DnD indicator */
319c6529
RK
2482.tab-drop-indicator {
2483 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 2484 margin-bottom: -11px;
613daf44 2485}
2486
319c6529
RK
2487/* Tab close button */
2488.tab-close-button {
319c6529
RK
2489 list-style-image: url("chrome://global/skin/icons/close-button.gif");
2490}
acb0e9b8 2491
319c6529
RK
2492.tab-close-button:hover,
2493.tab-close-button:hover[selected="true"] {
2494 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2495}
319c6529
RK
2496
2497.tab-close-button:hover:active,
2498.tab-close-button:hover:active[selected="true"] {
2499 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2500}
319c6529 2501
319c6529
RK
2502/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
2503
319c6529
RK
2504.tabbrowser-arrowscrollbox > .scrollbutton-up,
2505.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
2506 margin: 0;
2507 padding-top: 0;
2508 padding-bottom: 0;
c0f6797e
RK
2509 background-origin: border-box;
2510}
2511
2512#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2513#main-window[tabsintitlebar]:not([inFullscreen]) .tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2514.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-lwtheme-brighttext,
2515.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-lwtheme-brighttext {
2516 }
b7f3670c 2517
c0f6797e
RK
2518.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled],
2519.tabbrowser-arrowscrollbox > .scrollbutton-down[disabled] {
2520 }
2521
2522.tabbrowser-arrowscrollbox > .scrollbutton-up:-moz-locale-dir(rtl),
2523.tabbrowser-arrowscrollbox > .scrollbutton-down:-moz-locale-dir(ltr) {
2524/* transform: scaleX(-1);*/
2525}
2526
2527.tabbrowser-arrowscrollbox > .scrollbutton-down {
2528 transition: 1s background-color ease-out;
acb0e9b8 2529}
319c6529 2530
319c6529
RK
2531.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
2532 background-color: #008484;
acb0e9b8 2533}
319c6529 2534
c0f6797e
RK
2535.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled]),
2536.tabbrowser-arrowscrollbox > .scrollbutton-down:not([disabled]) {
2537/* border-width: 0 2px 0 0;
2538 border-style: solid;
2539 border-image: url("chrome://browser/skin/tabbrowser/tab-overflow-border.png") 0 2 0 2 fill;*/
2540}
2541
319c6529
RK
2542.tabs-newtab-button > .toolbarbutton-icon {
2543 margin-top: -1px;
2544 margin-bottom: -1px;
acb0e9b8 2545}
319c6529
RK
2546
2547.tabs-newtab-button,
2548#TabsToolbar > #new-tab-button,
e20c83c3
RK
2549#TabsToolbar > toolbarpaletteitem > #new-tab-button,
2550#TabsToolbar > toolbarpaletteitem > #new-tab-button[cui-areatype="toolbar"] {
38cfeb47 2551 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 2552 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 2553}
2554
8b5fc82e 2555.tabs-newtab-button,
38cfeb47 2556.tabs-newtab-button:hover,
c0f6797e 2557#TabsToolbar > #new-tab-button,
38cfeb47 2558#TabsToolbar > #new-tab-button:hover {
319c6529 2559 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 2560}
319c6529 2561
c0f6797e
RK
2562#main-window[tabsintitlebar]:not([inFullscreen]) .tabs-newtab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2563#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2564#main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2565.tabs-newtab-button:-moz-lwtheme-brighttext,
2566#TabsToolbar > #new-tab-button:-moz-lwtheme-brighttext,
2567#TabsToolbar > toolbarpaletteitem > #new-tab-button:-moz-lwtheme-brighttext {
acb0e9b8 2568}
2569
c0f6797e
RK
2570#TabsToolbar > #new-tab-button {
2571 width: 26px;
2572}
2573
2574#alltabs-button {
2575 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 2576}
319c6529 2577
f9fc08c7
RK
2578#alltabs-button:hover,
2579#alltabs-button:hover:active,
2580#alltabs-button[open="true"] {
8da9da4e 2581 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 2582}
319c6529 2583
c0f6797e
RK
2584#main-window[tabsintitlebar]:not([inFullscreen]) #alltabs-button:-moz-system-metric(windows-classic):not(:-moz-lwtheme),
2585#alltabs-button:-moz-lwtheme-brighttext {
2586}
2587
2588#alltabs-button > .toolbarbutton-icon {
2589/* margin: 0 2px;*/
2590}
2591
2592#alltabs-button > .toolbarbutton-menu-dropmarker {
2593 display: none;
2594}
2595
319c6529
RK
2596/* All tabs menupopup */
2597.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 2598 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 2599 -moz-image-region: auto;
acb0e9b8 2600}
2601
319c6529
RK
2602.alltabs-item[selected="true"] {
2603 font-weight: bold;
acb0e9b8 2604}
319c6529
RK
2605
2606.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2607 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 2608}
319c6529 2609
85cfb236 2610.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
2611 background-color: #402800;
2612}
2613
319c6529
RK
2614/* Tabstrip close button */
2615.tabs-closebutton {
2616 -moz-box-flex: 1;
2617 margin: 0px;
2618 padding: 2px;
2619 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 2620}
2621
b36fc72e
RK
2622.tabs-closebutton > .toolbarbutton-icon {
2623}
2624
8da9da4e
RK
2625.tabs-closebutton > .toolbarbutton-text {
2626 display: none;
2627}
2628
319c6529
RK
2629.tabs-closebutton:hover,
2630.tabs-closebutton:hover:active {
2631 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2632}
319c6529
RK
2633
2634toolbarbutton.chevron {
2635 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2636}
319c6529
RK
2637
2638toolbarbutton.chevron:hover {
2639 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2640}
2641
319c6529
RK
2642toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2643toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2644 transform: scaleX(-1);
acb0e9b8 2645}
319c6529
RK
2646
2647toolbarbutton.chevron > .toolbarbutton-text,
2648toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2649 display: none;
acb0e9b8 2650}
319c6529
RK
2651
2652toolbarbutton.chevron > .toolbarbutton-icon {
2653 margin: 0;
acb0e9b8 2654}
2655
319c6529
RK
2656#sidebar-throbber[loading="true"] {
2657 list-style-image: url("chrome://global/skin/icons/loading.gif");
2658 -moz-margin-end: 4px;
acb0e9b8 2659}
319c6529
RK
2660
2661/* Bookmarks toolbar */
2662#PlacesToolbarDropIndicator {
8da9da4e 2663 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2664}
2665
319c6529
RK
2666toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2667 background-color: #008484 !important;
2668 color: #FFCF00 !important;
613daf44 2669}
319c6529
RK
2670
2671/* rules for menupopup drop indicators */
2672.menupopup-drop-indicator-bar {
2673 position: relative;
2674 /* these two margins must together compensate the indicator's height */
2675 margin-top: -1px;
2676 margin-bottom: -1px;
613daf44 2677}
319c6529
RK
2678
2679.menupopup-drop-indicator {
2680 list-style-image: none;
2681 height: 2px;
2682 -moz-margin-end: -4em;
2683 background-color: #008484;
613daf44 2684}
2685
319c6529
RK
2686/* ::::: Identity Indicator Styling ::::: */
2687
2688/* Popup Icons */
2689#identity-popup-icon {
2690 height: 64px;
2691 width: 64px;
2692 padding: 0;
2693 list-style-image: url("chrome://browser/skin/identity.png");
2694 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2695}
319c6529
RK
2696
2697#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2698 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2699}
319c6529
RK
2700
2701#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2702 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2703}
2704
319c6529
RK
2705/* Popup Body Text */
2706.identity-popup-description {
2707 white-space: pre-wrap;
2708 -moz-padding-start: 15px;
2709 margin: 2px 0 4px;
613daf44 2710}
319c6529
RK
2711
2712.identity-popup-label {
2713 white-space: pre-wrap;
2714 -moz-padding-start: 15px;
2715 margin: 0;
613daf44 2716}
319c6529 2717
5517da5a 2718#identity-popup-content-host,
319c6529
RK
2719#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2720 font-size: 1.2em;
613daf44 2721}
2722
319c6529
RK
2723#identity-popup-content-host {
2724 margin-top: 3px;
2725 margin-bottom: 5px;
2726 font-weight: bold;
2727 max-width: 300px;
2728}
613daf44 2729
319c6529
RK
2730#identity-popup-content-owner {
2731 margin-top: 4px;
2732 margin-bottom: 0 !important;
2733 font-weight: bold;
2734 max-width: 300px;
2735}
613daf44 2736
319c6529
RK
2737.verifiedDomain > #identity-popup-content-owner {
2738 font-weight: normal;
613daf44 2739}
2740
319c6529
RK
2741#identity-popup-content-verifier {
2742 margin: 4px 0 2px;
613daf44 2743}
2744
319c6529
RK
2745#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2746#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2747 margin-top: 10px;
2748 -moz-margin-start: -24px;
613daf44 2749}
2750
319c6529
RK
2751#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2752#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2753 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2754}
2755
3a0880a9
RK
2756#identity-popup-help-icon {
2757 border: none;
2758 margin: 7px 0 0 -3px;
2759 background: none;
2760 min-width: 0;
2761 list-style-image: url("chrome://global/skin/icons/question-16.png");
2762 cursor: pointer;
2763}
2764
2765#identity-popup-help-icon > .button-box > .button-text {
2766 display: none;
2767}
2768
2769#identity-popup-help-icon > .button-box > .button-icon {
2770 height: 16px;
2771 width: 16px;
2772}
2773
319c6529
RK
2774#identity-popup-more-info-button {
2775 margin-top: 6px;
2776 margin-bottom: 0;
2777 -moz-margin-end: 0;
613daf44 2778}
acb0e9b8 2779
fe524e0c
RK
2780#identity-popup > .panel-arrowcontainer > .panel-arrowcontent {
2781 padding: 0;
2782}
2783
2784#identity-popup-container {
2785 min-width: 280px;
2786 padding: 10px;
2787}
2788
2789#identity-popup-button-container {
2790/* background: linear-gradient(to bottom, rgba(0,0,0,0.04) 60%, transparent);*/
2791 padding: 10px;
2792 margin-top: 5px;
2793}
2794
319c6529
RK
2795.popup-notification-icon {
2796 width: 64px;
2797 height: 64px;
2798 -moz-margin-end: 10px;
2799}
acb0e9b8 2800
319c6529
RK
2801.popup-notification-icon[popupid="geolocation"] {
2802 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2803}
2804
319c6529
RK
2805.popup-notification-icon[popupid="xpinstall-disabled"],
2806.popup-notification-icon[popupid="addon-progress"],
2807.popup-notification-icon[popupid="addon-install-cancelled"],
2808.popup-notification-icon[popupid="addon-install-blocked"],
2809.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2810.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2811 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2812 width: 32px;
2813 height: 32px;
acb0e9b8 2814}
319c6529 2815
a40f6a79 2816.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2817 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2818}
2819
a6757852
RK
2820.popup-notification-icon[popupid="plugins-not-found"] {
2821 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2822}
2823
82b4252f
RK
2824.popup-notification-icon[popupid="web-notifications"] {
2825 list-style-image: url("chrome://browser/skin/notification-64.png");
2826}
2827
319c6529
RK
2828.addon-progress-description {
2829 width: 350px;
2830 max-width: 350px;
acb0e9b8 2831}
319c6529
RK
2832
2833.popup-progress-label,
2834.popup-progress-meter {
2835 -moz-margin-start: 0;
2836 -moz-margin-end: 0;
acb0e9b8 2837}
319c6529
RK
2838
2839.popup-progress-cancel {
2840 -moz-appearance: none;
2841 background: transparent;
2842 border: none;
2843 padding: 0;
2844 margin: 0;
2845 min-height: 0;
2846 min-width: 0;
2847 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2848 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2849}
319c6529
RK
2850
2851.popup-progress-cancel:hover {
2852 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2853}
2854
319c6529
RK
2855.popup-progress-cancel:active {
2856 -moz-image-region: rect(32px, 32px, 48px, 16px);
2857}
acb0e9b8 2858
319c6529 2859.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
a6757852 2860.popup-notification-icon[popupid="indexedDB-quota-prompt"],
e2734cc7
RK
2861.popup-notification-icon[popupid*="offline-app-requested"],
2862.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 2863 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2864}
2865
319c6529
RK
2866.popup-notification-icon[popupid="password-save"],
2867.popup-notification-icon[popupid="password-change"] {
2868 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2869}
2870
1b13529a 2871.popup-notification-icon[popupid="webapps-install-progress"],
8d7ef0d9 2872.popup-notification-icon[popupid="webapps-install"] {
87a1144f 2873 list-style-image: url("chrome://global/skin/icons/webapps-64.png");
8d7ef0d9
RK
2874}
2875
56ab361a
RK
2876.popup-notification-icon[popupid="mixed-content-blocked"] {
2877 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2878}
2879
0142a07b 2880.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
2881.popup-notification-icon[popupid="webRTC-shareDevices"] {
2882 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2883}
2884
c1d2ce3e
RK
2885.popup-notification-icon[popupid="webRTC-sharingMicrophone"],
2886.popup-notification-icon[popupid="webRTC-shareMicrophone"] {
2887 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-64.png");
2888}
2889
82b4252f
RK
2890.popup-notification-icon[popupid="pointerLock"] {
2891 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2892}
2893
319c6529 2894/* Notification icon box */
cae267ab
RK
2895#notification-popup .panel-promo-box {
2896/* margin: 10px -10px -10px; */
2897}
2898
319c6529 2899#notification-popup-box {
f993773d
RK
2900 position: relative;
2901 background-color: #000000;
2902 background-clip: padding-box;
2903 padding-left: 3px;
5517da5a 2904 padding-right: 8px;
f0eab82c 2905 border-radius: 3px 0 0 3px;
82b4252f 2906 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 2907 -moz-margin-end: -8px;
5517da5a 2908 border-right-width: 8px;
f993773d
RK
2909}
2910
fff8097b 2911window:not([chromehidden~="toolbar"]) #urlbar-wrapper[forwarddisabled] > #urlbar > #notification-popup-box {
5517da5a 2912/* padding-left: 5px; */
f993773d
RK
2913}
2914
2915#notification-popup-box:-moz-locale-dir(rtl),
2916.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2917 transform: scaleX(-1);
319c6529 2918}
acb0e9b8 2919
319c6529 2920.notification-anchor-icon {
acb0e9b8 2921 width: 16px;
2922 height: 16px;
85cfb236 2923 margin: 0 2px;
acb0e9b8 2924}
2925
319c6529 2926.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2927 outline: 1px dotted #008484;
2928/* outline-offset: -3px; */
acb0e9b8 2929}
2930
e2734cc7 2931.default-notification-icon,
ab799a7a
RK
2932#default-notification-icon {
2933 list-style-image: url("chrome://global/skin/icons/information-16.png");
2934}
2935
e2734cc7 2936.identity-notification-icon,
9585a561
RK
2937#identity-notification-icon {
2938 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2939}
2940
e2734cc7 2941.geo-notification-icon,
319c6529
RK
2942#geo-notification-icon {
2943 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2944}
2945
319c6529
RK
2946#addons-notification-icon {
2947 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2948}
2949
e2734cc7 2950.indexedDB-notification-icon,
319c6529
RK
2951#indexedDB-notification-icon {
2952 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2953}
2954
319c6529
RK
2955#password-notification-icon {
2956 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2957}
2958
8d7ef0d9 2959#webapps-notification-icon {
87a1144f 2960 list-style-image: url("chrome://gobal/skin/icons/webapps-16.png");
8d7ef0d9
RK
2961}
2962
a40f6a79 2963#plugins-notification-icon {
b27cc46e
RK
2964 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
2965}
2966
f76c6aee 2967#plugins-notification-icon.plugin-hidden {
b27cc46e 2968 list-style-image: url("chrome://browser/skin/notification-pluginAlert.png");
a40f6a79
RK
2969}
2970
f76c6aee 2971#plugins-notification-icon.plugin-blocked {
b27cc46e 2972 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
990cba4b
RK
2973}
2974
f76c6aee 2975#plugins-notification-icon {
fe524e0c
RK
2976/* -moz-image-region: rect(0, 16px, 16px, 0);*/
2977}
2978
f76c6aee 2979#plugins-notification-icon:hover {
fe524e0c
RK
2980/* -moz-image-region: rect(0, 32px, 16px, 16px);*/
2981}
2982
a6757852
RK
2983#plugin-install-notification-icon {
2984 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
2985}
2986
6adbc9a6
RK
2987#notification-popup-box[hidden] {
2988 /* Override display:none to make the pluginBlockedNotification animation work
2989 when showing the notification repeatedly. */
2990 display: -moz-box;
2991 visibility: collapse;
2992}
2993
f76c6aee 2994#plugins-notification-icon.plugin-blocked[showing] {
990cba4b
RK
2995 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
2996}
2997
2998@keyframes pluginBlockedNotification {
2999 from {
3000 opacity: 0;
3001 }
3002 to {
3003 opacity: 1;
3004 }
3005}
3006
e2734cc7 3007.mixed-content-blocked-notification-icon,
56ab361a
RK
3008#mixed-content-blocked-notification-icon {
3009 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
3010}
3011
e2734cc7 3012.webRTC-shareDevices-notification-icon,
0142a07b 3013#webRTC-shareDevices-notification-icon {
7bc075b6
RK
3014 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
3015}
3016
e2734cc7 3017.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
3018#webRTC-sharingDevices-notification-icon {
3019 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
3020}
3021
c1d2ce3e
RK
3022.webRTC-shareMicrophone-notification-icon,
3023#webRTC-shareMicrophone-notification-icon {
3024 list-style-image: url("chrome://browser/skin/webRTC-shareMicrophone-16.png");
3025}
3026
3027.webRTC-sharingMicrophone-notification-icon,
3028#webRTC-sharingMicrophone-notification-icon {
3029 list-style-image: url("chrome://browser/skin/webRTC-sharingMicrophone-16.png");
3030}
3031
e2734cc7 3032.web-notifications-notification-icon,
82b4252f
RK
3033#web-notifications-notification-icon {
3034 list-style-image: url("chrome://browser/skin/notification-16.png");
3035}
3036
3037#pointerLock-notification-icon {
3038 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
3039}
3040#pointerLock-cancel {
3041 margin: 0px;
3042}
3043
319c6529 3044/* Bookmarks roots menu-items */
319c6529
RK
3045#subscribeToPageMenuitem:not([disabled]),
3046#subscribeToPageMenupopup,
3047#BMB_subscribeToPageMenuitem:not([disabled]),
3048#BMB_subscribeToPageMenupopup {
3049 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 3050}
3051
319c6529 3052#bookmarksToolbarFolderMenu,
c0f6797e
RK
3053#BMB_bookmarksToolbar,
3054#panelMenu_bookmarksToolbar {
8da9da4e 3055 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
3056 -moz-image-region: auto;
3057}
acb0e9b8 3058
c0f6797e
RK
3059#BMB_unsortedBookmarks,
3060#panelMenu_unsortedBookmarks {
8da9da4e 3061 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 3062 -moz-image-region: auto;
acb0e9b8 3063}
3064
319c6529 3065/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 3066
319c6529
RK
3067.KUI-panel {
3068 color: #FF9F00;
3069 border-style: none;
3070 border-radius: 20px;
acb0e9b8 3071}
3072
319c6529
RK
3073.KUI-panel[level="top"] {
3074 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 3075}
3076
319c6529
RK
3077/* Ctrl-Tab */
3078
3079#ctrlTab-panel {
3080 padding: 20px 10px 10px;
3081 font-weight: bold;
acb0e9b8 3082}
3083
319c6529
RK
3084.ctrlTab-favicon[src] {
3085 background-color: #000000;
3086 width: 20px;
3087 height: 20px;
3088 padding: 2px;
3089}
acb0e9b8 3090
319c6529 3091.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 3092}
3093
319c6529
RK
3094.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
3095 margin-bottom: 2px;
acb0e9b8 3096}
3097
319c6529
RK
3098.ctrlTab-preview-inner {
3099 padding-bottom: 10px;
acb0e9b8 3100}
3101
319c6529
RK
3102#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
3103 padding: 10px;
3104 background-color: #000000;
3105 border-radius: .5em;
acb0e9b8 3106}
3107
319c6529
RK
3108.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
3109 color: white;
3110 background-color: #000000;
3111 text-shadow: none;
3112 padding: 8px;
3113 border: 2px solid #9C9CFF;
3114 border-radius: .5em;
acb0e9b8 3115}
3116
319c6529
RK
3117.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
3118 margin: -10px -10px 0;
acb0e9b8 3119}
3120
319c6529
RK
3121#ctrlTab-showAll {
3122 margin-top: .5em;
acb0e9b8 3123}
3124
45dc7657
RK
3125/* Sync Panel */
3126
3127.sync-panel-icon {
cae267ab 3128 height:32px;
45dc7657
RK
3129 width: 32px;
3130 background: url("chrome://browser/content/abouthome/sync.png") top left no-repeat;
3131}
3132
3133.sync-panel-inner {
3134 width: 0;
3135 padding-left: 10px;
3136}
3137
3138.sync-panel-button-box {
3139 margin-top: 1em;
3140}
3141
3142#sync-error-panel-title,
3143#sync-start-panel-title {
cae267ab 3144 font-size: 120%;
45dc7657 3145 font-weight: bold;
cae267ab 3146 margin-bottom: 5px;
45dc7657
RK
3147}
3148
3149#sync-start-panel-subtitle,
3150#sync-error-panel-subtitle {
3151 margin: 0;
3152}
3153
9abeb12c
RK
3154/* Status panel */
3155
3156.statuspanel-label {
3157 margin: 0;
3158 padding: 2px 4px;
38cfeb47 3159 background: #404000;
9abeb12c
RK
3160 border: 1px none #9C9CFF;
3161 border-top-style: solid;
3162 color: #FF9F00;
3163 text-shadow: none;
3164}
3165
3166.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
3167.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
3168 border-right-style: solid;
3169 border-top-right-radius: .3em;
3170 margin-right: 1em;
3171}
3172
3173.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
3174.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
3175 border-left-style: solid;
3176 border-top-left-radius: .3em;
3177 margin-left: 1em;
3178}
3e6e0e5c
RK
3179
3180/* HACK to abolish devily color on main content */
3181
3182#content {
3183 background-color: transparent !important;
3184}
dce90fef 3185
7600e0b1
RK
3186/* === BEGIN highlighter.inc.css === */
3187
cae267ab
RK
3188/* Box model highlighter */
3189svg|g.box-model-container {
3190 opacity: 0.4;
3191}
3192
3193svg|polygon.box-model-content {
3194 fill: #008484;
3195}
3196
3197svg|polygon.box-model-padding {
3198 fill: #9C9CFF;
3199}
3200
3201svg|polygon.box-model-border {
3202 fill: #FFCF00;
3203}
3204
3205svg|polygon.box-model-margin {
3206 fill: #A09090;
3207}
3208
3209svg|polygon.box-model-content,
3210svg|polygon.box-model-padding,
3211svg|polygon.box-model-border,
3212svg|polygon.box-model-margin {
3213 stroke: none;
3214}
dce90fef 3215
cae267ab
RK
3216svg|line.box-model-guide-top,
3217svg|line.box-model-guide-right,
3218svg|line.box-model-guide-bottom,
3219svg|line.box-model-guide-left {
3220 stroke: #E7ADE7;
3221 stroke-dasharray: 5 3;
dce90fef
RK
3222}
3223
8ad8bf83
RK
3224/* Highlighter - Node Infobar */
3225
0142a07b 3226.highlighter-nodeinfobar {
a40f6a79 3227 color: #FF9F00;
a40f6a79
RK
3228 border-radius: 3px;
3229 background-color: #000000;
3230 background-clip: padding-box;
1bf116f8
RK
3231 border: 1px solid #008484;
3232 padding: 5px;
3233 /* Avoid cases where the infobar is smaller than the arrow, when the text is
3234 short */
3235 min-width: 75px;
a40f6a79
RK
3236}
3237
8ad8bf83
RK
3238/* Highlighter - Node Infobar - text */
3239
0142a07b 3240.highlighter-nodeinfobar-text {
45dc7657 3241 text-align: center;
a40f6a79 3242 /* 100% - size of the buttons and margins */
c29b709d 3243 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
3244 padding-bottom: 1px;
3245}
3246
0142a07b 3247html|*.highlighter-nodeinfobar-tagname {
8ad8bf83
RK
3248 color: #FFCF00;
3249}
3250
0142a07b 3251html|*.highlighter-nodeinfobar-id {
8ad8bf83
RK
3252 color: #9C9CFF;
3253}
3254
0142a07b 3255html|*.highlighter-nodeinfobar-pseudo-classes {
eec397be 3256 color: #FF9F00;
8ad8bf83
RK
3257}
3258
a40f6a79
RK
3259/* Highlighter - Node Infobar - box & arrow */
3260
8ad8bf83
RK
3261.highlighter-nodeinfobar-arrow {
3262 width: 14px;
3263 height: 14px;
c29b709d 3264 -moz-margin-start: calc(50% - 7px);
71a617ff 3265 transform: rotate(-45deg);
8ad8bf83
RK
3266 background-clip: padding-box;
3267 background-repeat: no-repeat;
3268}
3269
0142a07b 3270.highlighter-nodeinfobar-arrow-top {
8ad8bf83
RK
3271 margin-bottom: -8px;
3272 margin-top: 8px;
fcaeefc2 3273 background-image: linear-gradient(to bottom left, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
3274}
3275
0142a07b 3276.highlighter-nodeinfobar-arrow-bottom {
8ad8bf83
RK
3277 margin-top: -8px;
3278 margin-bottom: 8px;
fcaeefc2 3279 background-image: linear-gradient(to top right, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
3280}
3281
0142a07b 3282.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
8ad8bf83
RK
3283 margin: 7px 0;
3284}
3285
7600e0b1
RK
3286/* === END highlighter.inc.css === */
3287
8ad8bf83
RK
3288#full-screen-warning-message {
3289 background-color: #000000;
3290 color: #FF9F00;
8ad8bf83
RK
3291 border-radius: 8px;
3292 margin-top: 30px;
3293 padding: 30px 50px;
3294 box-shadow: 0 0 2px #9C9CFF;
3295}
3296
3297#full-screen-warning-container[obscure-browser] {
85cfb236
RK
3298 background-color: rgba(0,0,0,0.3);
3299}
3300
3301.full-screen-description {
3302 font-size: 150%;
3303}
3304
3305#full-screen-domain-text {
3306 font-size: 300%;
8ad8bf83
RK
3307}
3308
85cfb236
RK
3309.full-screen-approval-button,
3310#full-screen-remember-decision {
3311 font-size: 120%;
8ad8bf83
RK
3312}
3313
b27cc46e
RK
3314/* === BEGIN commandline.inc.css === */
3315
3316/* Developer toolbar */
3317
3318#developer-toolbar {
3319 border-top: 3px solid #000000;
3320 border-bottom: none;
3321}
3322
3323#developer-toolbar .toolbar-holder {
3324 background-color: #8050B0;
3325 color: #FFCF00;
3326}
3327
3328#developer-toolbar .toolbar-holder {
3329 background-color: #8050B0;
3330 color: #FFCF00;
3331}
3332
3333#developer-toolbar .toolbar-startcap,
3334#developer-toolbar .toolbar-endcap{
3335 background-color: #6000CF;
3336}
3337
3338#developer-toolbar {
3339/* padding: 0;
3340 min-height: 32px; */
3341}
3342
de57e474 3343#developer-toolbar > toolbarbutton {
b27cc46e
RK
3344/* margin: 0;
3345 padding: 0 10px;
3346 width: 32px; */
3347}
3348
3349.developer-toolbar-button > image {
3350/* margin: auto 10px; */
3351}
3352
fe524e0c
RK
3353#developer-toolbar-toolbox-button > label {
3354 display: none;
3355}
3356
b27cc46e
RK
3357#developer-toolbar-toolbox-button {
3358 list-style-image: url("chrome://browser/skin/devtools/toggle-tools.png");
3359 -moz-image-region: rect(0px, 16px, 16px, 0px);
3360}
3361
3362#developer-toolbar-toolbox-button > label {
3363 display: none;
3364}
3365
3366#developer-toolbar-toolbox-button:hover,
3367#developer-toolbar-toolbox-button:hover:active,
3368#developer-toolbar-toolbox-button[checked=true] {
3369 -moz-image-region: rect(0px, 32px, 16px, 16px);
3370}
3371
de57e474
RK
3372#developer-toolbar-closebutton {
3373 list-style-image: url("chrome://browser/skin/devtools/close.png");
3374 -moz-image-region: rect(0px, 16px, 16px, 0px);
3375 min-width: 16px;
3376 width: 16px;
3377}
3378
3379#developer-toolbar-closebutton > .toolbarbutton-icon {
3380}
3381
3382#developer-toolbar-closebutton > .toolbarbutton-text {
3383 display: none;
3384}
3385
3386#developer-toolbar-closebutton:hover,
3387#developer-toolbar-closebutton:hover:active {
3388 -moz-image-region: rect(0px, 32px, 16px, 16px);
3389}
3390
b27cc46e
RK
3391/* GCLI */
3392
37953ab4
RK
3393html|*#gcli-tooltip-frame,
3394html|*#gcli-output-frame {
85cfb236 3395 padding: 0;
37953ab4
RK
3396 border-width: 0;
3397 background-color: transparent;
3398}
3399
3400#gcli-output,
3401#gcli-tooltip {
3402 border-width: 0;
3403 background-color: transparent;
85cfb236
RK
3404}
3405
3406.gclitoolbar-input-node,
b27cc46e 3407.gclitoolbar-complete-node {
37953ab4
RK
3408 margin: 1px 3px;
3409 -moz-box-align: center;
3410 padding-top: 0;
3411 padding-bottom: 0;
b27cc46e 3412 padding-right: 8px;
37953ab4 3413 background-color: transparent;
85cfb236
RK
3414}
3415
3416.gclitoolbar-input-node {
37953ab4 3417 padding-left: 20px;
b27cc46e
RK
3418/* line-height: 32px;
3419 outline-style: none; */
3420 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 16, 16, 0);
de57e474
RK
3421 background-repeat: no-repeat;
3422 background-color: rgba(0, 0, 0, .75);
b27cc46e
RK
3423}
3424
3425.gclitoolbar-input-node[focused="true"] {
3426 background-image: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16);
de57e474 3427 background-color: #000000;
37953ab4
RK
3428}
3429
3430.gclitoolbar-input-node:not([focused="true"]) {
3431 border-color: transparent;
85cfb236
RK
3432}
3433
7bc075b6
RK
3434.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
3435 background-color: #008484;
3436 color: #000000;
3437 text-shadow: none;
3438}
3439
85cfb236 3440.gclitoolbar-complete-node {
37953ab4 3441 padding-left: 21px;
85cfb236
RK
3442 background-color: transparent;
3443 color: transparent;
b27cc46e
RK
3444 z-index: 100;
3445 pointer-events: none;
85cfb236
RK
3446}
3447
85cfb236
RK
3448.gcli-in-incomplete,
3449.gcli-in-error,
3450.gcli-in-ontab,
3451.gcli-in-todo,
3452.gcli-in-closebrace,
3453.gcli-in-param,
3454.gcli-in-valid {
3455 margin: 0;
3456 padding: 0;
3457}
3458
3459.gcli-in-incomplete {
3460 border-bottom: 2px dotted #8050B0;
3461}
3462
3463.gcli-in-error {
3464 border-bottom: 2px dotted #FF0000;
3465}
3466
3467.gcli-in-ontab {
3468 color: #9C9CFF;
3469}
3470
3471.gcli-in-todo {
3472 color: #795900;
3473}
3474
3475.gcli-in-closebrace {
3476 color: #8050B0;
3477}
3478
b27cc46e
RK
3479/* === END commandline.inc.css === */
3480
fe524e0c
RK
3481/* === BEGIN responsivedesign.inc.css === */
3482
37953ab4 3483/* Responsive Mode */
85cfb236 3484
7bc075b6
RK
3485.browserContainer[responsivemode] {
3486 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
37953ab4
RK
3487 padding: 0 20px 20px 20px;
3488}
3489
7bc075b6 3490.browserStack[responsivemode] {
37953ab4
RK
3491 box-shadow: 0 0 7px #9C9CFF;
3492}
3493
3494.devtools-responsiveui-toolbar {
3495 background: transparent;
d2ce251d
RK
3496 /* text color is textColor from dark theme, since no theme is applied to
3497 * the responsive toolbar.
3498 */
3499 color: #FF9F00;
37953ab4
RK
3500 margin: 10px 0;
3501 padding: 0;
3502 box-shadow: none;
3503 border-bottom-width: 0;
3504}
3505
de57e474
RK
3506.devtools-responsiveui-menulist,
3507.devtools-responsiveui-toolbarbutton {
3508 -moz-box-align: center;
3509 min-width: 32px;
3510/* min-height: 22px;*/
3511/* margin: 0 3px; */
3512}
3513
3514.devtools-responsiveui-toolbarbutton > .toolbarbutton-menubutton-button {
3515 -moz-box-orient: horizontal;
3516}
3517
3518.devtools-responsiveui-menulist:-moz-focusring,
3519.devtools-responsiveui-toolbarbutton:-moz-focusring {
3520/* outline: 1px dotted hsla(210,30%,85%,0.7);
3521 outline-offset: -4px;*/
3522}
3523
3524.devtools-responsiveui-toolbarbutton:not([label]) > .toolbarbutton-text {
3525 display: none;
3526}
3527
3528.devtools-responsiveui-toolbarbutton:not([checked=true]):hover:active {
3529/* border-color: hsla(210,8%,5%,.6);
3530 background: linear-gradient(hsla(220,6%,10%,.3), hsla(212,7%,57%,.15) 65%, hsla(212,7%,57%,.3));
3531 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); */
3532}
3533
3534.devtools-responsiveui-menulist[open=true],
3535.devtools-responsiveui-toolbarbutton[open=true],
3536.devtools-responsiveui-toolbarbutton[checked=true] {
3537/* border-color: hsla(210,8%,5%,.6) !important;
3538 background: linear-gradient(hsla(220,6%,10%,.6), hsla(210,11%,18%,.45) 75%, hsla(210,11%,30%,.4));
3539 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); */
3540}
3541
3542.devtools-responsiveui-toolbarbutton[checked=true] {
3543/* color: hsl(208,100%,60%); */
3544}
3545
3546.devtools-responsiveui-toolbarbutton[checked=true]:hover {
3547/* background-color: transparent !important;*/
3548}
3549
3550.devtools-responsiveui-toolbarbutton[checked=true]:hover:active {
3551/* background-color: hsla(210,8%,5%,.2) !important;*/
3552}
3553
3554.devtools-responsiveui-menulist > .menulist-label-box {
3555 text-align: center;
3556}
3557
3558.devtools-responsiveui-menulist > .menulist-dropmarker {
3559/* display: -moz-box;
3560 background-color: transparent;
3561 list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3562 -moz-box-align: center;
3563 border-width: 0;
3564 min-width: 16px;*/
3565}
3566
3567.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-button {
3568/* color: inherit;
3569 border-width: 0;
3570 -moz-border-end: 1px solid hsla(210,8%,5%,.45);
3571 box-shadow: -1px 0 0 hsla(210,16%,76%,.15) inset, 1px 0 0 hsla(210,16%,76%,.15);*/
3572}
3573
3574.devtools-responsiveui-toolbarbutton[type=menu-button]:-moz-locale-dir(rtl) > .toolbarbutton-menubutton-button {
3575/* box-shadow: 1px 0 0 hsla(210,16%,76%,.15) inset, -1px 0 0 hsla(210,16%,76%,.15);*/
3576}
3577
3578.devtools-responsiveui-toolbarbutton[type=menu-button] {
3579/* padding: 0 1px;*/
3580 -moz-box-align: stretch;
3581}
3582
3583.devtools-responsiveui-toolbarbutton[type=menu] > .toolbarbutton-menu-dropmarker,
3584.devtools-responsiveui-toolbarbutton[type=menu-button] > .toolbarbutton-menubutton-dropmarker {
3585/* list-style-image: url("chrome://browser/skin/devtools/dropmarker.png");
3586 -moz-box-align: center;
3587 padding: 0 3px;*/
37953ab4
RK
3588}
3589
3590.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
3591.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
fe524e0c
RK
3592 margin-left: 3px;
3593}
3594
3595.devtools-responsiveui-close {
3596 list-style-image: url("chrome://browser/skin/devtools/close.png");
3597 -moz-image-region: rect(0px,16px,16px,0px);
3598}
3599
3600.devtools-responsiveui-close:hover {
3601 -moz-image-region: rect(0px,32px,16px,16px);
3602}
3603
3604.devtools-responsiveui-rotate {
3605 list-style-image: url("chrome://browser/skin/devtools/responsiveui-rotate.png");
3606 -moz-image-region: rect(0px,16px,16px,0px);
3607}
3608
3609.devtools-responsiveui-rotate:hover {
3610 -moz-image-region: rect(0px,32px,16px,16px);
3611}
3612
3613.devtools-responsiveui-touch {
3614 list-style-image: url("chrome://browser/skin/devtools/responsiveui-touch.png");
3615 -moz-image-region: rect(0px,16px,16px,0px);
3616}
3617
3618.devtools-responsiveui-touch:hover,
3619.devtools-responsiveui-touch[checked],
3620.devtools-responsiveui-touch[checked]:hover {
3621 -moz-image-region: rect(0px,32px,16px,16px);
3622}
3623
3624.devtools-responsiveui-screenshot {
3625 list-style-image: url("chrome://browser/skin/devtools/responsiveui-screenshot.png");
3626 -moz-image-region: rect(0px,16px,16px,0px);
3627}
3628
3629.devtools-responsiveui-screenshot:hover {
3630 -moz-image-region: rect(0px,32px,16px,16px);
37953ab4
RK
3631}
3632
fe524e0c 3633.devtools-responsiveui-resizebarV {
37953ab4
RK
3634 width: 7px;
3635 height: 24px;
3636 cursor: ew-resize;
71a617ff 3637 transform: translate(12px, -12px);
37953ab4
RK
3638 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
3639}
3640
fe524e0c
RK
3641.devtools-responsiveui-resizebarH {
3642 width: 24px;
3643 height: 7px;
3644 cursor: ns-resize;
3645 transform: translate(-12px, 12px);
3646 background-image: url("chrome://browser/skin/devtools/responsive-horizontal-resizer.png");
3647}
3648
37953ab4
RK
3649.devtools-responsiveui-resizehandle {
3650 width: 16px;
3651 height: 16px;
3652 cursor: se-resize;
71a617ff 3653 transform: translate(12px, 12px);
37953ab4 3654 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 3655}
889649fd 3656
fe524e0c 3657/* === END responsivedesign.inc.css === */
fcaeefc2
RK
3658
3659/* === including indicator.css is done at the start of the file === */
fe524e0c 3660
889649fd
RK
3661/* Error counter */
3662
0142a07b 3663#developer-toolbar-toolbox-button[error-count]:before {
889649fd
RK
3664 color: #000000;
3665 min-width: 16px;
3666 text-shadow: none;
3667 background-color: #FF0000;
3668 border-radius: 1px;
c29b709d 3669 -moz-margin-end: 5px;
c54ac991 3670}
e9c73590 3671
348c0499 3672/* Social toolbar item */
e9c73590 3673
0142a07b
RK
3674#social-provider-button {
3675 -moz-image-region: rect(0, 16px, 16px, 0);
a6757852 3676 list-style-image: url("chrome://browser/skin/social/services-16.png");
0142a07b
RK
3677}
3678
348c0499
RK
3679#social-provider-button > .toolbarbutton-menu-dropmarker {
3680 display: none;
e9c73590
RK
3681}
3682
82b4252f
RK
3683.toolbarbutton-badge-container {
3684 margin: 0;
3685 padding: 0;
3686 position: relative;
e9c73590
RK
3687}
3688
c0f6797e 3689#nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
ed1a91c6 3690 padding: 2px 2px;
82b4252f
RK
3691}
3692
3693.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
3694 position: absolute;
3695 top: 2px;
3696 right: 2px;
3697}
3698
3699.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
3700 -moz-margin-end: 0;
e9c73590
RK
3701}
3702
82b4252f
RK
3703.toolbarbutton-badge[badge=""] {
3704 display: none;
3705}
3706.toolbarbutton-badge[badge]:not([badge=""])::after {
6adbc9a6 3707 /* The |content| property is set in the content stylesheet. */
348c0499
RK
3708 font-size: 9px;
3709 font-weight: bold;
3710 padding: 0 1px;
3711 color: #FF9F00;
3712 background-color: #000000;
3713 border: 1px solid #9C9CFF;
3714 border-radius: 2px;
6adbc9a6 3715 position: absolute;
82b4252f
RK
3716 top: 0;
3717 right: 0;
3718}
3719
c0f6797e 3720#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
82b4252f
RK
3721 top: 1px;
3722 right: 1px;
e9c73590
RK
3723}
3724
82b4252f
RK
3725.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
3726 left: 0;
3727 right: auto;
e9c73590
RK
3728}
3729
c0f6797e 3730#nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
82b4252f 3731 left: 1px;
6adbc9a6 3732 right: auto;
348c0499
RK
3733}
3734
3735#social-notification-icon-mentions {
e9c73590 3736 background-color: #000000;
348c0499
RK
3737 border-radius: 3px;
3738 -moz-margin-start: 2px;
e9c73590
RK
3739}
3740
348c0499
RK
3741#social-notification-icon-mentions:hover {
3742 background-color: #FFCF00;
3743}
3744
3745#social-notification-icon-mentions[open="true"] {
3746 background-color: #FF9F00;
e9c73590
RK
3747}
3748
3749#social-sidebar-splitter {
3750 border: 0;
3751}
3752
ed1a91c6
RK
3753.popup-notification-icon[popupid="servicesInstall"] {
3754 list-style-image: url("chrome://browser/skin/social/services-64.png");
3755}
3756#servicesInstall-notification-icon {
3757 list-style-image: url("chrome://browser/skin/social/services-16.png");
3758}
c1d2ce3e 3759#social-undoactivation-button {
ed1a91c6
RK
3760 -moz-margin-start: 0; /* override default label margin to match description margin */
3761}
3762
3763#socialActivatedNotification .popup-notification-button-container {
3764 margin-left: 6px;
3765}
3766
3767.social-activation-icon {
3768 width: auto;
3769 height: auto;
3770 max-height: 64px;
3771 max-width: 64px;
3772}
3773
3774#social-activation-message {
3775 max-width: 250px;
3776}
3777
3778#social-activation-message > label {
3779 margin: 0;
3780}
3781
e9c73590 3782/* social toolbar provider menu */
990cba4b 3783.social-statusarea-popup {
e9c73590
RK
3784 margin-top: 0;
3785 margin-left: -12px;
3786 margin-right: -12px;
3787}
3788
990cba4b 3789.social-statusarea-user {
e9c73590
RK
3790 border-bottom: 1px solid #9C9CFF;
3791 background-color: #000000;
3792 color: #FF9F00;
3793 position: relative;
348c0499 3794 cursor: pointer;
e9c73590
RK
3795}
3796
990cba4b 3797.social-statusarea-user-portrait {
e9c73590
RK
3798 width: 32px;
3799 height: 32px;
3800 border-radius: 2px;
3801 margin: 10px;
e9c73590
RK
3802}
3803
990cba4b 3804.social-statusarea-loggedInStatus {
e9c73590
RK
3805 background: transparent;
3806 border: none;
b8384c33 3807 color: #3333FF;
e9c73590
RK
3808 min-width: 0;
3809 margin: 0 6px;
348c0499 3810 list-style-image: none;
e9c73590 3811}
90a244b7 3812
990cba4b 3813#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
3814 text-decoration: underline;
3815}
3816
348c0499
RK
3817.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3818 padding: 0;
3819}
3820
348c0499
RK
3821.social-panel-frame {
3822 border-radius: inherit;
3823}
e9c73590 3824
e7c8bab1
RK
3825/* === BEGIN chat.inc.css === */
3826
dfa34f73
RK
3827#social-sidebar-header {
3828 padding: 3px;
3829}
3830
3831#social-sidebar-button {
3832 -moz-appearance: none;
3833 list-style-image: url("chrome://browser/skin/social/gear_default.png");
45dc7657 3834 border: none;
dfa34f73
RK
3835 padding: 0;
3836 margin: 2px;
3837}
45dc7657
RK
3838#social-sidebar-button > .toolbarbutton-icon {
3839 min-height: 16px;
3840 min-width: 16px;
3841}
dfa34f73
RK
3842#social-sidebar-button:hover,
3843#social-sidebar-button:hover:active {
3844 list-style-image: url("chrome://browser/skin/social/gear_clicked.png");
3845}
3846#social-sidebar-button > .toolbarbutton-menu-dropmarker {
3847 display: none;
3848}
3849
3850#social-sidebar-button[loading="true"] {
3851 list-style-image: url("chrome://global/skin/icons/loading.gif");
3852}
3853
3854#social-sidebar-favico {
3855 max-height: 16px;
3856 max-width: 16px;
3857 padding: 0;
3858 margin: 2px;
3859}
3860
e9c73590
RK
3861.chat-status-icon {
3862 max-height: 16px;
3863 max-width: 16px;
3864 padding: 0;
3865}
3866
3867.chat-toolbarbutton {
3868 -moz-appearance: none;
3869 border: none;
3870 padding: 0;
3871 margin: 0;
3872 background: none;
b27cc46e 3873 width: 16px;
e9c73590
RK
3874}
3875
3876.chat-toolbarbutton > .toolbarbutton-text {
3877 display: none;
3878}
3879
b27cc46e
RK
3880.chat-toolbarbutton > .toolbarbutton-icon {
3881 width: inherit;
3882}
3883
e7c8bab1
RK
3884.chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
3885 width: inherit;
3886 margin-top: -2px;
3887}
3888
e9c73590 3889.chat-close-button {
e2734cc7 3890 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
b27cc46e 3891 -moz-image-region: rect(0, 16px, 16px, 0);
e9c73590
RK
3892}
3893
3894.chat-close-button:hover,
3895.chat-close-button:hover:active {
b27cc46e 3896 -moz-image-region: rect(0, 32px, 16px, 16px);
e9c73590
RK
3897}
3898
e2734cc7
RK
3899.chat-minimize-button {
3900 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
b27cc46e 3901 -moz-image-region: rect(16px, 16px, 32px, 0);
e2734cc7
RK
3902}
3903
3904.chat-minimize-button:hover:active,
3905.chat-minimize-button:hover {
b27cc46e 3906 -moz-image-region: rect(16px, 32px, 32px, 16px);
e2734cc7
RK
3907}
3908
3909.chat-swap-button {
3910 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
b27cc46e 3911 -moz-image-region: rect(48px, 16px, 64px, 0);
e2734cc7
RK
3912}
3913
3914.chat-swap-button:hover:active,
3915.chat-swap-button:hover {
b27cc46e 3916 -moz-image-region: rect(48px, 32px, 64px, 16px);
e2734cc7
RK
3917}
3918
3919chatbar > chatbox > .chat-titlebar > .chat-swap-button {
3920 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
b27cc46e 3921 -moz-image-region: rect(32px, 16px, 48px, 0);
e2734cc7
RK
3922}
3923
3924chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
3925chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
b27cc46e 3926 -moz-image-region: rect(32px, 32px, 48px, 16px);
e2734cc7
RK
3927}
3928
e9c73590
RK
3929.chat-title {
3930 font-weight: bold;
3931 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 3932 text-shadow: none;
348c0499 3933 cursor: inherit;
e9c73590
RK
3934}
3935
3936.chat-titlebar {
3937 background-color: #9C9CFF;
3938 color: #000000;
3939 height: 20px;
fcfb76ce 3940 min-height: 16px;
e9c73590
RK
3941 width: 100%;
3942 margin: 0;
3943 padding: 2px;
348c0499 3944 -moz-padding-start: 6px;
e9c73590
RK
3945 border: none;
3946 border-bottom: 1px solid #008484;
348c0499 3947 cursor: pointer;
e9c73590
RK
3948}
3949
e2734cc7
RK
3950.chat-titlebar > .notification-anchor-icon {
3951 margin-left: 2px;
3952 margin-right: 2px;
3953}
3954
e9c73590
RK
3955.chat-titlebar[minimized="true"] {
3956 border-bottom: none;
3957}
3958
348c0499
RK
3959.chat-titlebar[selected] {
3960 background-color: #008484;
3961}
3962
3963.chat-titlebar[activity] {
3964 background-color: #E7ADE7;
3965}
3966
e9c73590
RK
3967.chat-frame {
3968 padding: 0;
3969 margin: 0;
3970 overflow: hidden;
3971}
3972
3973.chatbar-button {
ed1a91c6 3974 list-style-image: url("chrome://browser/skin/social/services-16.png");
e9c73590
RK
3975 background-color: #000000;
3976 border: none;
3977 margin: 0;
3978 padding: 2px;
3979 height: 21px;
3980 width: 21px;
3981 border-top: 1px solid #008484;
3982 -moz-border-end: 1px solid #008484;
3983}
3984
ed1a91c6
RK
3985@media (min-resolution: 2dppx) {
3986 .chatbar-button {
3987 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
3988 }
3989}
3990
fe524e0c
RK
3991.chatbar-button > .toolbarbutton-icon {
3992 width: 16px;
3993}
3994
d7cfd768
RK
3995.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3996 width: auto;
3997 height: auto;
e9c73590
RK
3998 max-height: 16px;
3999 max-width: 16px;
e9c73590
RK
4000}
4001
90a244b7
RK
4002.chatbar-button > .toolbarbutton-icon {
4003 opacity: .6;
4004 -moz-margin-end: 0;
4005}
4006.chatbar-button:hover > .toolbarbutton-icon,
4007.chatbar-button[open="true"] > .toolbarbutton-icon {
4008 opacity: 1;
4009}
4010
a6757852 4011.chatbar-button:hover,
90a244b7 4012.chatbar-button[open="true"] {
e9c73590
RK
4013}
4014
e9c73590
RK
4015.chatbar-button > .toolbarbutton-text,
4016.chatbar-button > .toolbarbutton-menu-dropmarker {
4017 display: none;
4018}
4019
90a244b7 4020.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
4021 background-color: #E7ADE7;
4022}
4023
4024.chatbar-button > menupopup > menuitem[activity] {
4025 font-weight: bold;
4026}
4027
e9c73590
RK
4028.chatbar-innerbox {
4029 background: transparent;
90a244b7 4030 margin: -285px 0 0;
e9c73590
RK
4031 overflow: hidden;
4032}
4033
fcfb76ce
RK
4034chatbar {
4035 -moz-margin-end: 20px;
4036}
4037
e9c73590 4038chatbar > chatbox {
fcfb76ce
RK
4039 height: 285px;
4040 width: 260px;
4041 -moz-margin-start: 4px;
e9c73590
RK
4042 background-color: #000000;
4043 border: 1px solid #9C9CFF;
4044 border-bottom: none;
90a244b7
RK
4045 border-top-left-radius: 2.5px;
4046 border-top-right-radius: 2.5px;
e9c73590
RK
4047}
4048
fcfb76ce
RK
4049chatbox[minimized="true"] {
4050 width: 160px;
e9c73590 4051 height: 20px;
e9c73590 4052}
348c0499 4053
e2734cc7
RK
4054window > chatbox {
4055 -moz-margin-start: 0px;
4056 margin: 0px;
4057 border: none;
4058 padding: 0px;
4059}
4060
e7c8bab1
RK
4061/* === END chat.inc.css === */
4062
c0f6797e
RK
4063.chat-titlebar {
4064/* background-color: #c4cfde; */
4065}
4066
4067.chat-titlebar[selected] {
4068/* background-color: #dae3f0; */
4069}
4070
4071.chatbar-button {
4072 -moz-appearance: none;
4073/* background-color: #c4cfde; */
4074}
4075
4076.chatbar-button > .toolbarbutton-icon {
4077/* -moz-margin-end: 0; */
4078}
4079
4080.chatbar-button:hover,
4081.chatbar-button[open="true"] {
4082/* background-color: #dae3f0; */
4083}
4084
4085.chatbar-button[activity]:not([open="true"]) {
4086}
4087
4088chatbox {
4089/* border-top-left-radius: 2.5px;
4090 border-top-right-radius: 2.5px; */
4091}
4092
b27cc46e 4093/* === BEGIN plugin-doorhanger.inc.css === */
348c0499 4094
b27cc46e
RK
4095/**
4096 * Plugin Doorhanger Styles
4097 */
348c0499 4098
b27cc46e 4099#notification-popup[popupid="click-to-play-plugins"] > .panel-arrowcontainer > .panel-arrowcontent {
1e32332f 4100 padding: 6px 1px 2px;
348c0499
RK
4101}
4102
348c0499 4103.click-to-play-plugins-notification-center-box {
348c0499
RK
4104}
4105
fe524e0c
RK
4106.plugin-popupnotification-centeritem:nth-child(odd) {
4107/* background-color: rgba(0,0,0,0.1);*/
348c0499
RK
4108}
4109
b27cc46e
RK
4110.center-item-label {
4111 margin-bottom: 0;
4112 text-overflow: ellipsis;
348c0499
RK
4113}
4114
b27cc46e
RK
4115.center-item-warning-icon {
4116 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
348c0499 4117 background-repeat: no-repeat;
348c0499 4118 width: 16px;
b27cc46e
RK
4119 height: 15px;
4120 -moz-margin-start: 6px;
348c0499
RK
4121}
4122
b27cc46e 4123.click-to-play-plugins-notification-button-container {
348c0499
RK
4124}
4125
b27cc46e
RK
4126.click-to-play-popup-button {
4127 width: 50%;
348c0499
RK
4128}
4129
b27cc46e 4130.click-to-play-plugins-notification-description-box {
1e32332f
RK
4131 margin-left: 5px;
4132 margin-right: 5px;
4133 margin-top: 0;
4134 padding-bottom: 3px;
348c0499
RK
4135}
4136
b27cc46e 4137.click-to-play-plugins-outer-description {
1e32332f 4138 margin-top: 1px;
348c0499
RK
4139}
4140
b27cc46e
RK
4141.click-to-play-plugins-notification-link,
4142.center-item-link {
4143 margin: 0;
348c0499
RK
4144}
4145
2c225fcb
RK
4146.messageImage[value="plugin-hidden"] {
4147 list-style-image: url("chrome://browser/skin/notification-pluginNormal.png");
4148}
4149
4150/* Keep any changes to this style in sync with pluginProblem.css */
4151notification.pluginVulnerable {
4152}
4153
4154notification.pluginVulnerable .messageImage {
4155 list-style-image: url("chrome://browser/skin/notification-pluginBlocked.png");
4156}
4157
b27cc46e 4158/* === END plugin-doorhanger.inc.css === */
0142a07b 4159
43cc2806
RK
4160/* === BEGIN customizeMode.inc.css === */
4161
4162/* Customization mode */
e28f3f71 4163
5401f433
RK
4164#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox {
4165 margin-bottom: 1em;
e28f3f71
RK
4166}
4167
5401f433
RK
4168#main-window:-moz-any([customize-entering],[customize-entered]) #content-deck,
4169#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
4170#main-window:-moz-any([customize-entering],[customize-entered]) #navigator-toolbox {
4171 margin-left: 1em;
4172 margin-right: 1em;
43cc2806
RK
4173}
4174
e28f3f71
RK
4175#main-window:-moz-any([customize-entering],[customize-exiting]) #tab-view-deck {
4176 pointer-events: none;
4177}
4178
4179#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
43cc2806 4180#PanelUI-contents > .panel-customization-placeholder {
e28f3f71 4181 -moz-outline-radius: 2.5px;
43cc2806
RK
4182 outline: 1px dashed transparent;
4183}
4184
e28f3f71
RK
4185#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before {
4186 /* Prevent jumping of tabs when switching a window between inactive and active (bug 853415). */
4187 -moz-box-ordinal-group: 0;
4188 content: "";
4189 display: -moz-box;
4190 height: 100%;
4191 left: 0;
4192 outline-offset: -2px;
4193 pointer-events: none;
4194 position: absolute;
4195 top: 0;
4196 width: 100%;
4197}
4198
4199/* Shift the TabsToolbar outline up 2px since the #nav-bar is shifted up by 1px and the
4200 #TabsToolbar::after is a pixel higher to draw the bottom border of the tabstrip so this makes the
4201 offset from the bottom effectively the same as other targets (-2px). */
4202#main-window[customize-entered] #TabsToolbar.customization-target::before {
e20c83c3 4203/* top: -2px;*/
e28f3f71
RK
4204}
4205
4206/* The parents of the outline pseudo-elements need to be positioned so that the outline is positioned relative to it. */
4207#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover,
4208#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)),
4209#main-window[customize-entered] #nav-bar-customization-target.customization-target {
4210 position: relative;
4211}
4212
4213/* Most target outlines are shown on hover and drag over but the panel menu uses
4214 placeholders instead. */
4215#main-window[customize-entered] .customization-target:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar)):hover::before,
4216#main-window[customize-entered] .customization-target[customizing-dragovertarget]:not(:-moz-any(#PanelUI-contents, #TabsToolbar, #toolbar-menubar))::before,
4217/* nav-bar and panel outlines are always shown */
4218#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4219 outline-color: #A09090;
4220}
4221
4222#nav-bar[showoutline=true] > #nav-bar-customization-target.customization-target::before {
4223 transition: outline-color 250ms linear;
4224}
4225
4226#PanelUI-contents[showoutline=true] > .panel-customization-placeholder {
4227 transition: outline-color 250ms linear;
43cc2806
RK
4228 outline-color: #9C9CFF;
4229}
4230
4231#PanelUI-contents > .panel-customization-placeholder {
4232 cursor: auto;
4233 outline-offset: -5px;
4234}
4235
e28f3f71 4236#main-window[customizing] .customization-target:not(#PanelUI-contents) {
43cc2806 4237 min-width: 100px;
e20c83c3
RK
4238/* padding-left: 10px;
4239 padding-right: 10px;*/
4240}
4241
4242#main-window:-moz-any([customize-entering],[customize-entered]) #tab-view-deck {
4243 padding: 0 2em 2em;
43cc2806
RK
4244}
4245
4246#customization-container {
4247 background-color: #000000;
4248}
4249
e28f3f71
RK
4250#customization-palette,
4251#customization-empty {
4252 padding: 0 15px 15px;
43cc2806
RK
4253}
4254
4255#customization-header {
4256 font-size: 1.5em;
4257 line-height: 1.5em;
4258 color: #9C9CFF;
4259 font-weight: lighter;
4260 margin-bottom: 1em;
e28f3f71 4261 padding: 15px 15px 0;
43cc2806
RK
4262}
4263
4264#customization-panel-container {
e28f3f71
RK
4265 padding: 10px 10px 0px;
4266}
4267
5401f433 4268#main-window:-moz-any([customize-entering],[customize-entered]) #browser-bottombox,
e28f3f71
RK
4269#customization-footer {
4270 /*background-color: rgb(236,236,236);*/
5401f433
RK
4271}
4272
4273#customization-footer {
e28f3f71
RK
4274 border-top: 1px solid #9C9CFF;
4275 padding: 15px;
4276}
4277
4278.customizationmode-button {
4279 margin: 0;
4280}
4281
4282.customizationmode-button:hover {
4283}
4284
4285.customizationmode-button[disabled="true"] {
4286}
4287
4288#customization-titlebar-visibility-button {
4289 list-style-image: url("chrome://browser/skin/customizableui/customize-titleBar-toggle.png");
b7f3670c
RK
4290 -moz-image-region: rect(0, 16px, 16px, 0);
4291 padding: 0px 5px;
e28f3f71
RK
4292 -moz-margin-end: 10px;
4293}
4294
b7f3670c
RK
4295#customization-titlebar-visibility-button:hover {
4296 -moz-image-region: rect(16px, 16px, 32px, 0);
4297}
4298
4299#customization-titlebar-visibility-button > .button-box {
4300 padding-top: 0;
4301 padding-bottom: 1px;
4302}
4303
4304#customization-titlebar-visibility-button:hover:active > .button-box {
4305 padding-top: 1px;
4306 padding-bottom: 0;
4307}
4308
e28f3f71
RK
4309#customization-titlebar-visibility-button > .button-box > .button-text {
4310 /* Sadly, button.css thinks its margins are perfect for everyone. */
b7f3670c 4311 -moz-margin-start: 5px !important;
e28f3f71
RK
4312}
4313
4314#customization-titlebar-visibility-button[checked] {
b7f3670c 4315 -moz-image-region: rect(0, 32px, 16px, 16px);
e28f3f71
RK
4316 background-color: #008484;
4317}
4318
b7f3670c
RK
4319#customization-titlebar-visibility-button[checked]:hover {
4320 -moz-image-region: rect(16px, 32px, 32px, 16px);
4321 background-color: #FFCF00;
4322}
4323
4324#customization-titlebar-visibility-button[checked]:hover:active {
4325 background-color: #FF9F00;
4326}
4327
e28f3f71
RK
4328#customization-undo-reset-button {
4329 -moz-margin-end: 10px;
4330}
4331
4332#main-window[customize-entered] #customization-panel-container {
43cc2806
RK
4333 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4334 background-position: left top;
4335 background-repeat: repeat;
4336 background-size: auto;
4337 background-attachment: fixed;
4338}
4339
e28f3f71
RK
4340toolbarpaletteitem[place="toolbar"] {
4341 transition: border-width 250ms ease-in-out;
43cc2806
RK
4342}
4343
4344toolbarpaletteitem[mousedown] {
4345 outline: 1px solid #008484;
4346 cursor: -moz-grabbing;
4347 opacity: 0.8;
4348}
4349
4350.panel-customization-placeholder,
4351toolbarpaletteitem[place="palette"],
4352toolbarpaletteitem[place="panel"] {
e28f3f71
RK
4353 transition: transform .3s ease-in-out;
4354}
4355
4356#customization-palette {
4357 transition: opacity .3s ease-in-out;
4358 opacity: 0;
43cc2806
RK
4359}
4360
e28f3f71
RK
4361#customization-palette[showing="true"] {
4362 opacity: 1;
4363}
4364
4365toolbarpaletteitem[notransition].panel-customization-placeholder,
4366toolbarpaletteitem[notransition][place="toolbar"],
43cc2806
RK
4367toolbarpaletteitem[notransition][place="palette"],
4368toolbarpaletteitem[notransition][place="panel"] {
e28f3f71 4369 transition: none;
43cc2806
RK
4370}
4371
e28f3f71
RK
4372toolbarpaletteitem > toolbarbutton > .toolbarbutton-icon,
4373toolbarpaletteitem > toolbaritem.panel-wide-item,
4374toolbarpaletteitem > toolbarbutton[type="menu-button"] {
4375 transition: transform .3s cubic-bezier(.6, 2, .75, 1.5) !important;
43cc2806
RK
4376}
4377
4378toolbarpaletteitem[mousedown] > toolbarbutton > .toolbarbutton-icon {
e28f3f71
RK
4379 transform: scale(1.3);
4380}
4381
4382toolbarpaletteitem[mousedown] > toolbaritem.panel-wide-item,
4383toolbarpaletteitem[mousedown] > toolbarbutton[type="menu-button"] {
43cc2806
RK
4384 transform: scale(1.1);
4385}
4386
4387/* Override the toolkit styling for items being dragged over. */
4388toolbarpaletteitem[place="toolbar"] {
4389 border-left-width: 0;
4390 border-right-width: 0;
4391 margin-right: 0;
4392 margin-left: 0;
4393}
4394
4395#customization-palette:not([hidden]) {
4396 margin-bottom: 25px;
4397}
4398
43cc2806
RK
4399#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
4400#wrapper-edit-controls[place="palette"] > #edit-controls > separator,
e28f3f71
RK
4401#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton,
4402#wrapper-zoom-controls[place="palette"] > #zoom-controls > separator {
4403 margin-top: 20px;
43cc2806
RK
4404}
4405
4406#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton,
c0f6797e 4407#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton {
43cc2806
RK
4408 margin-left: 0;
4409 margin-right: 0;
e28f3f71
RK
4410 max-width: 24px;
4411 min-width: 24px;
43cc2806 4412 max-height: 24px;
5401f433 4413 min-height: 24px;
e28f3f71 4414 padding: 4px;
43cc2806
RK
4415}
4416
e28f3f71
RK
4417#wrapper-edit-controls[place="palette"] > #edit-controls > toolbarbutton > .toolbarbutton-icon,
4418#wrapper-zoom-controls[place="palette"] > #zoom-controls > toolbarbutton > .toolbarbutton-icon {
4419 width: 16px;
43cc2806
RK
4420}
4421
e28f3f71
RK
4422#wrapper-edit-controls > #edit-controls > toolbarbutton > .toolbarbutton-icon {
4423 opacity: 1; /* To ensure these buttons always look enabled in customize mode */
4424}
4425
c0f6797e
RK
4426#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button,
4427#wrapper-zoom-controls[place="palette"] > #zoom-controls > #zoom-reset-button + separator {
e28f3f71
RK
4428 display: none;
4429}
4430
4431#wrapper-personal-bookmarks:not([place="toolbar"]) > #personal-bookmarks {
4432 -moz-box-pack: center;
4433 min-height: 48px;
43cc2806
RK
4434}
4435
4436#customization-palette > toolbarpaletteitem > label {
4437 text-align: center;
4438 margin-left: 0;
4439 margin-right: 0;
4440}
4441
4442/* === END customizeMode.inc.css === */
4443
e28f3f71
RK
4444/* === BEGIN customizeTip.inc.css === */
4445
4446#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent {
4447 padding: 0;
4448 margin: 0;
4449 min-width: 400px;
4450 max-width: 1000px;
4451 min-height: 200px;
4452 border-radius: 3px;
4453/* background-image: linear-gradient(90deg, #a0dfff 0%, #ceeeff 100%);*/
4454 border: 1px solid #9C9CFF;
4455}
4456
4457#customization-tipPanel > .panel-arrowcontainer > .panel-arrowcontent:-moz-locale-dir(rtl) {
4458/* background-image: linear-gradient(90deg, #ceeeff 0%, #a0dfff 100%);*/
4459}
4460
4461.customization-tipPanel-infoBox {
4462 margin: 20px 25px 25px;
4463 width: 25px;
4464 background-image: url("chrome://browser/skin/customizableui/info-icon-customizeTip.png");
4465 background-repeat: no-repeat;
4466}
4467
4468.customization-tipPanel-content {
4469 margin: 25px 0;
4470 font-size: 12px;
4471 line-height: 18px;
4472}
4473
4474.customization-tipPanel-em {
4475 margin: 0;
4476 font-weight: bold;
4477}
4478
4479.customization-tipPanel-contentImage {
4480 margin-top: 25px;
4481 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration.png");
4482 min-width: 300px;
4483 max-width: 300px;
4484 min-height: 190px;
4485 max-height: 190px;
4486 display: -moz-box;
4487}
4488
4489.customization-tipPanel-contentImage:-moz-locale-dir(rtl) {
4490 list-style-image: url("chrome://browser/skin/customizableui/customize-illustration-rtl.png");
4491}
4492
4493.customization-tipPanel-link {
4494 -moz-appearance: none;
4495 background: transparent;
4496 border: none;
4497 box-shadow: none;
4498 color: #3333FF;
4499 margin: 0;
4500 cursor: pointer;
4501}
4502
4503.customization-tipPanel-link > .button-box > .button-text {
4504 margin: 0 !important;
4505}
4506
4507.customization-tipPanel-closeBox > .close-icon {
4508 -moz-appearance: none;
4509 border: 0;
4510 -moz-margin-end: -25px;
4511}
4512
4513#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"],
4514#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4515 list-style-image: url("chrome://browser/skin/customizableui/panelarrow-customizeTip.png");
4516}
4517
4518/* === END customizeTip.inc.css === */
4519
c0f6797e
RK
4520/**
4521 * This next rule is a hack to disable subpixel anti-aliasing on all
4522 * labels during the customize mode transition. Subpixel anti-aliasing
4523 * on Windows with Direct2D layers acceleration is particularly slow to
4524 * paint, so this hack is how we sidestep that performance bottleneck.
4525 */
4526#main-window:-moz-any([customize-entering],[customize-exiting]) label {
4527 transform: perspective(0.01px);
4528}
4529
e20c83c3 4530#main-window[customize-entered] {
43cc2806
RK
4531 background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
4532 background-attachment: fixed;
4533}
4534
5401f433
RK
4535#main-window[customize-entered] #browser-bottombox,
4536#main-window[customize-entered] #customization-container {
43cc2806
RK
4537 border-left: 1px solid #9C9CFF;
4538 border-right: 1px solid #9C9CFF;
4539 background-clip: padding-box;
4540}
4541
5401f433
RK
4542#main-window[customize-entered] #browser-bottombox {
4543 border-bottom: 1px solid #9C9CFF;
4544}
4545
e20c83c3
RK
4546#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="left"] {
4547 margin-right: -2px;
4548}
4549
4550#customization-tipPanel > .panel-arrowcontainer > .panel-arrowbox > .panel-arrow[side="right"] {
4551 margin-left: -2px;
4552}
4553
4554/* End customization mode */
4555
51994fad
RK
4556/* Private browsing indicators */
4557
4558/**
4559 * Currently, we have two places where we put private browsing indicators on
4560 * Windows. When tabsintitlebar is enabled, we draw the indicator in the titlebar.
4561 * When tabsintitlebar is disabled, we draw the indicator at the end of the
4562 * tabstrip. The titlebar indicator is the fiddliest of the bunch, since we
4563 * want the bottom border of the image to line up with the bottom of the window
4564 * caption buttons. That's why there's so much special-casing going on in here.
4565 */
4566.private-browsing-indicator {
4567 display: none;
4568 pointer-events: none;
e20c83c3
RK
4569}
4570
51994fad
RK
4571#private-browsing-indicator-titlebar {
4572 display: block;
4573 position: absolute;
e20c83c3
RK
4574}
4575
51994fad
RK
4576#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
4577 display: block;
e20c83c3
RK
4578}
4579
51994fad
RK
4580#main-window[privatebrowsingmode=temporary]:-moz-any([inFullscreen],:not([tabsintitlebar])) #TabsToolbar > .private-browsing-indicator {
4581 display: -moz-box;
4582}
4583
4584#TabsToolbar > .private-browsing-indicator {
4585 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") no-repeat center -3px;
4586 -moz-margin-start: 4px;
4587 width: 48px;
4588}
4589
4590/* Bug 1008183: We're intentionally using the titlebar asset here for fullscreen
4591 * mode, since the tabstrip "mimics" the titlebar in that case with its own
4592 * min/max/close window buttons.
4593 */
4594#private-browsing-indicator-titlebar > .private-browsing-indicator,
4595#main-window[inFullscreen] #TabsToolbar > .private-browsing-indicator {
4596 background: url("chrome://browser/skin/privatebrowsing-mask-titlebar.png") no-repeat center 0px;
4597 -moz-margin-end: 4px;
43cc2806 4598 width: 40px;
51994fad
RK
4599 height: 20px;
4600 position: relative;
43cc2806
RK
4601}
4602
51994fad
RK
4603/* This one is for Linux */
4604#main-window[privatebrowsingmode=temporary] #private-browsing-indicator {
4605 background: url("chrome://browser/skin/privatebrowsing-mask-tabstrip.png") center no-repeat;
4606 width: 48px;
4607}
4608
4609/* End private browsing indicators */
4610
43cc2806
RK
4611/* === BEGIN UITour.inc.css === */
4612
4613/* UI Tour */
4614
2a8b2b48
RK
4615#UITourHighlightContainer {
4616 -moz-appearance: none;
4617 border: none;
4618 background-color: transparent;
4619 /* This is a buffer to compensate for the movement in the "wobble" effect */
4620 padding: 4px;
4621}
4622
4623#UITourHighlight {
4624 background-image: radial-gradient(50% 100%, rgba(0,132,132,0.4) 50%, rgba(0,132,132,0.6) 100%);
4625 border-radius: 40px;
4626 border: 1px solid #9C9CFF;
4627 /* The box-shadow opacity needs to be < 0.5 so it doesn't appear at 100% opacity
4628 on Linux without an X compositor where opacity is either 0 or 1. */
4629 box-shadow: 0 0 3px 0 rgba(0,0,0,0.49);
43cc2806
RK
4630 min-height: 32px;
4631 min-width: 32px;
1bf116f8
RK
4632}
4633
2a8b2b48
RK
4634#UITourTooltipBody {
4635 -moz-margin-end: 14px;
4636}
4637
4638#UITourTooltipBody > vbox {
4639 padding-top: 4px;
43cc2806
RK
4640}
4641
2a8b2b48
RK
4642#UITourTooltipIconContainer {
4643 -moz-margin-start: -16px;
4644}
4645
4646#UITourTooltipIcon {
4647 width: 48px;
4648 height: 48px;
4649 -moz-margin-start: 28px;
4650 -moz-margin-end: 28px;
4651}
4652
4653#UITourTooltipTitle,
4654#UITourTooltipDescription {
4655 max-width: 20rem;
43cc2806
RK
4656}
4657
4658#UITourTooltipTitle {
2a8b2b48 4659 font-size: 1.45rem;
43cc2806 4660 font-weight: bold;
2a8b2b48
RK
4661 -moz-margin-start: 0;
4662 -moz-margin-end: 0;
4663 margin: 0 0 9px 0;
43cc2806
RK
4664}
4665
4666#UITourTooltipDescription {
2a8b2b48
RK
4667 -moz-margin-start: 0;
4668 -moz-margin-end: 0;
4669 font-size: 1.15rem;
4670 line-height: 1.8rem;
4671 margin-bottom: 0; /* Override global.css */
4672}
4673
4674#UITourTooltipClose {
4675 -moz-appearance: none;
4676 border: none;
4677 background-color: transparent;
4678 min-width: 0;
4679 -moz-margin-start: 4px;
4680 margin-top: -2px;
4681}
4682
4683#UITourTooltipClose > .toolbarbutton-text {
4684 display: none;
4685}
4686
4687#UITourTooltipButtons {
4688 -moz-box-pack: end;
4689 background-color: rgba(0,0,0,.2);
4690 border-top: 1px solid rgba(0,0,0,.4);
4691 margin: 24px -16px -16px;
4692 padding: 2em 15px;
4693}
4694
4695#UITourTooltipButtons > button {
4696 margin: 0 15px;
4697}
4698
4699#UITourTooltipButtons > button:first-child {
4700 -moz-margin-start: 0;
4701}
4702
4703#UITourTooltipButtons > button[image] > .button-box > .button-icon {
4704 width: 16px;
4705 height: 16px;
4706 -moz-margin-end: 5px;
4707}
4708
4709#UITourTooltipButtons > button .button-text {
4710 font-size: 1.15rem;
4711}
4712
4713#UITourTooltipButtons > button:not(.button-link) {
4714 -moz-appearance: none;
4715 background-color: #C09070;
4716 border-radius: 3000px;
4717 border: none;
4718 color: #000000;
4719 padding: 4px 30px;
4720 transition-property: background-color, color;
4721 transition-duration: 150ms;
4722}
4723
4724#UITourTooltipButtons > button:not(.button-link):not(:active):hover {
4725 background-color: #FFCF00;
4726 color: #000000;
4727}
4728
4729#UITourTooltipButtons > button.button-link {
4730 -moz-appearance: none;
4731 background: transparent;
4732 border: none;
4733 box-shadow: none;
4734 color: rgba(0,0,0,0.35);
4735 padding-left: 10px;
4736 padding-right: 10px;
4737}
4738
4739#UITourTooltipButtons > button.button-link:hover {
4740 color: black;
4741}
4742
4743/* The primary button gets the same color as the customize button. */
4744#UITourTooltipButtons > button.button-primary {
4745 background-color: #A06060; /* LCARS default button background color */
4746 color: #000000;
4747 padding-left: 30px;
4748 padding-right: 30px;
4749}
4750
4751#UITourTooltipButtons > button.button-primary:not(:active):hover {
4752 background-color: #FFCF00;
4753 color: #000000;
43cc2806
RK
4754}
4755
4756/* === END UITour.inc.css === */
c0f6797e
RK
4757
4758#UITourTooltipButtons {
4759 margin: 24px -4px -4px;
4760}
fff8097b
RK
4761
4762/* === BEGIN contextmenu.inc.css === */
4763
4764menugroup > .menuitem-iconic[disabled="true"] > .menu-iconic-left {
4765}
4766
4767#context-navigation > .menuitem-iconic {
4768 -moz-box-flex: 1;
4769 -moz-box-pack: center;
4770 -moz-box-align: center;
4771}
4772
4773#context-navigation > .menuitem-iconic[disabled="true"] {
4774 background-color: transparent;
4775}
4776
4777#context-navigation > .menuitem-iconic > .menu-iconic-left {
4778 -moz-appearance: none;
4779}
4780
4781#context-navigation > #context-back > .menu-iconic-left {
4782 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4783 -moz-image-region: rect(0, 54px, 18px, 36px);
4784}
4785
4786#context-navigation > #context-back:not([disabled="true"]):hover > .menu-iconic-left {
4787 -moz-image-region: rect(18px, 54px, 36px, 36px);
4788}
4789
4790#context-navigation > #context-back[disabled="true"] > .menu-iconic-left {
4791 -moz-image-region: rect(36px, 54px, 54px, 36px);
4792}
4793
4794#context-navigation > #context-forward > .menu-iconic-left {
4795 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4796 -moz-image-region: rect(0, 72px, 18px, 54px);
4797}
4798
4799#context-navigation > #context-forward:not([disabled="true"]):hover > .menu-iconic-left {
4800 -moz-image-region: rect(18px, 72px, 36px, 54px);
4801}
4802
4803#context-navigation > #context-forward[disabled="true"] > .menu-iconic-left {
4804 -moz-image-region: rect(36px, 72px, 54px, 54px);
4805}
4806
4807#context-navigation > #context-reload > .menu-iconic-left {
4808 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4809 -moz-image-region: rect(0, 14px, 14px, 0);
4810}
4811
4812#context-navigation > #context-reload:not([disabled="true"]):hover > .menu-iconic-left {
4813 -moz-image-region: rect(14px, 14px, 28px, 0);
4814}
4815
4816#context-navigation > #context-reload[disabled="true"] > .menu-iconic-left {
4817 -moz-image-region: rect(28px, 14px, 42px, 0);
4818}
4819
4820#context-navigation > #context-stop > .menu-iconic-left {
4821 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
4822 -moz-image-region: rect(0, 28px, 14px, 14px);
4823}
4824
4825#context-navigation > #context-stop:not([disabled="true"]):hover > .menu-iconic-left {
4826 -moz-image-region: rect(14px, 28px, 28px, 14px);
4827}
4828
4829#context-navigation > #context-stop[disabled="true"] > .menu-iconic-left {
4830 -moz-image-region: rect(28px, 28px, 42px, 14px);
4831}
4832
4833#context-navigation > #context-bookmarkpage > .menu-iconic-left {
4834 list-style-image: url("chrome://browser/skin/ToolbarFx.png");
4835 -moz-image-region: rect(0, 144px, 18px, 126px);
4836}
4837
4838#context-navigation > #context-bookmarkpage:not([disabled="true"]):hover > .menu-iconic-left {
4839 -moz-image-region: rect(18px, 144px, 36px, 126px);
4840}
4841
4842#context-navigation > #context-bookmarkpage[disabled="true"] > .menu-iconic-left {
4843 -moz-image-region: rect(36px, 144px, 54px, 126px);
4844}
4845
4846#context-back:-moz-locale-dir(rtl),
4847#context-forward:-moz-locale-dir(rtl),
4848#context-reload:-moz-locale-dir(rtl) {
4849 transform: scaleX(-1);
4850}
4851
4852#context-navigation > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
4853 width: 18px;
4854 height: 18px;
4855 margin: 7px;
4856}
4857
4858#context-navigation > #context-reload > .menu-iconic-left > .menu-iconic-icon,
4859#context-navigation > #context-stop > .menu-iconic-left > .menu-iconic-icon {
4860 width: 14px;
4861 height: 14px;
4862 margin: 9px;
4863}
4864
4865/* === END contextmenu.inc.css === */