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