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