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