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 {