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