sync LCARStrek with windows browser theme changes in Firefox 24
[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/");
6
7@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
319c6529
RK
8@namespace html url("http://www.w3.org/1999/xhtml");
9
10toolbar {
11 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar");
12}
acb0e9b8 13
41279e76
RK
14toolbar[type="menubar"][autohide="true"] {
15 -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide");
16}
17
acb0e9b8 18menubar {
319c6529 19 -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar");
acb0e9b8 20}
21
319c6529
RK
22#menubar-items {
23 -moz-box-orient: vertical; /* for flex hack */
acb0e9b8 24}
25
319c6529
RK
26#main-menubar {
27 -moz-box-flex: 1; /* make menu items expand to fill toolbar height */
28}
29
63ada306
RK
30/* ::::: primary toolbar ::::: */
31
32.toolbar-primary > .toolbar-box > .toolbar-holder {
270cbf0c 33 background-color: #A09090;
63ada306
RK
34}
35
36.toolbar-primary > .toolbar-box > .toolbar-startcap,
37.toolbar-primary > .toolbar-box > .toolbar-endcap {
38 background-color: #9C9CFF;
39}
40
41
319c6529
RK
42#navigator-toolbox {
43}
44
9abeb12c
RK
45#navigator-toolbox::after {
46 content: "";
47 display: -moz-box;
48 -moz-box-ordinal-group: 101; /* tabs toolbar is 100 */
49 height: 1px;
50}
51#navigator-toolbox[tabsontop=false]::after,
52#main-window[disablechrome] #navigator-toolbox::after {
53 visibility: collapse;
54}
55
319c6529
RK
56#navigator-toolbox > toolbar:not(:-moz-lwtheme) {
57}
58
d54f5b23 59#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme) {
319c6529
RK
60 /* like menubar */
61 background-color: #6000CF;
62 color: #FF9F00;
63}
d54f5b23 64#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar:not(:-moz-lwtheme):-moz-window-inactive {
319c6529
RK
65 background-color: #8050B0;
66 color: #FF9F00;
67}
2caba1a9
RK
68#main-window[tabsintitlebar]:not([inFullscreen]) #toolbar-menubar[inactive] ~ #TabsToolbar > .tabbrowser-tabs > .tabbrowser-tab {
69 padding-top: 3px;
70}
319c6529
RK
71
72#main-window[tabsintitlebar] #titlebar:-moz-lwtheme {
73 visibility: hidden;
74}
75#main-window[tabsintitlebar] #titlebar-content:-moz-lwtheme {
76 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
77 visibility: visible;
78}
79
676f0091
RK
80#nav-bar[tabsontop="true"],
81#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + toolbar,
82#nav-bar[tabsontop="true"][collapsed="true"]:not([customizing]) + #customToolbars + #PersonalToolbar {
0142a07b 83 /* background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0)); */
319c6529
RK
84}
85
319c6529 86#personal-bookmarks {
38cfeb47 87/* min-height: 24px; */
319c6529
RK
88}
89
90#print-preview-toolbar:not(:-moz-lwtheme) {
91 /* -moz-appearance: toolbox; */
acb0e9b8 92}
93
319c6529
RK
94/* ::::: app menu button ::::: */
95
96#appmenu-button {
acb0e9b8 97 background-color: #FF9F00;
319c6529
RK
98 background-clip: padding-box;
99 border-radius: 0;
100 border: none;
319c6529
RK
101 border-right: 3px solid #000000;
102 color: #000000;
103 font-weight: bold;
5305ef8d
RK
104 padding: 1px 1.5em;
105 margin: 0;
106}
107
108#appmenu-button:-moz-locale-dir(rtl) {
109 border-left: 3px solid #000000;
110 border-right: none;
acb0e9b8 111}
112
319c6529
RK
113#main-window[privatebrowsingmode=temporary] #appmenu-button {
114 background-color: #6000CF;
115 color: #FFCF00;
116}
117
b36fc72e
RK
118#appmenu-button:hover:not(:active):not([open]) {
119}
120
121#main-window[privatebrowsingmode=temporary] #appmenu-button:hover:not(:active):not([open]) {
122}
123
319c6529
RK
124#appmenu-button:hover,
125#appmenu-button:hover:active,
126#appmenu-button[open] {
127 background-color: #FFCF00;
128 color: #000000;
129}
130
131#appmenu-button > .button-box > .button-menu-dropmarker {
db6435b4 132 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
319c6529
RK
133 width: auto;
134 height: auto;
135 padding: 0;
136 margin: 0;
5305ef8d
RK
137 border: none;
138 background-color: transparent;
319c6529
RK
139 -moz-margin-start: .5em;
140}
141
db6435b4
RK
142#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .button-menu-dropmarker {
143 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
144}
145
38cfeb47
RK
146#appmenuPrimaryPane > menuitem,
147#appmenuSecondaryPane > menuitem,
148#appmenuPrimaryPane > menu {
149 padding: 2px;
150}
151
d54f5b23 152.splitmenu-menuitem {
38cfeb47
RK
153 -moz-padding-start: 2px;
154 padding-top: 2px;
155 padding-bottom: 2px;
d54f5b23
RK
156 -moz-margin-end: 1px;
157}
158
ab799a7a 159.splitmenu-menu {
38cfeb47
RK
160 padding-top: 2px;
161 padding-bottom: 2px;
319c6529
RK
162 -moz-box-pack: end;
163}
164
165.appmenu-edit-button {
166}
167
168.appmenu-edit-button[disabled="true"] {
169}
170
171#appmenuPrimaryPane {
172 -moz-border-end: 1px solid #9C9CFF;
173}
174/*
175 #appmenu-popup {
176 }
177 #appmenuPrimaryPane {
178 }
179 #appmenuSecondaryPane {
180 }
181 #appmenuSecondaryPane:-moz-locale-dir(rtl) {
182 }
183
184 #appmenuSecondaryPane menupopup {
185 }
186
187 .appmenu-menuseparator {
188 }
189
190 .appmenu-edit-button:not([disabled]):hover {
191 }
192*/
193#appmenuSecondaryPane-spacer {
194 min-height: 1em;
195}
196
9abeb12c
RK
197#appmenu-editmenu {
198 -moz-box-pack: end;
199}
200
319c6529
RK
201#appmenu_print,
202#appmenu_print_popup,
203.appmenu-edit-button,
9abeb12c
RK
204#appmenu-editmenu-cut,
205#appmenu-editmenu-copy,
206#appmenu-editmenu-paste,
319c6529
RK
207#appmenu-quit {
208 list-style-image: url("appmenu-icons.png");
209}
210
9abeb12c
RK
211#appmenu-cut,
212#appmenu-editmenu-cut {
319c6529 213 -moz-image-region: rect(0 16px 16px 0);
acb0e9b8 214}
215
143c5409
RK
216#appmenu-cut:hover:not([disabled="true"]),
217#appmenu-editmenu-cut:hover:not([disabled="true"]) {
218 -moz-image-region: rect(16px 16px 32px 0);
219}
220
221#appmenu-cut[disabled="true"],
222#appmenu-editmenu-cut[disabled="true"] {
223 -moz-image-region: rect(32px 16px 48px 0);
224}
225
9abeb12c
RK
226#appmenu-copy,
227#appmenu-editmenu-copy {
319c6529
RK
228 -moz-image-region: rect(0 32px 16px 16px);
229}
230
143c5409
RK
231#appmenu-copy:hover:not([disabled="true"]),
232#appmenu-editmenu-copy:hover:not([disabled="true"]) {
233 -moz-image-region: rect(16px 32px 32px 16px);
234}
235
236#appmenu-copy[disabled="true"],
237#appmenu-editmenu-copy[disabled="true"] {
238 -moz-image-region: rect(32px 32px 48px 16px);
239}
240
9abeb12c
RK
241#appmenu-paste,
242#appmenu-editmenu-paste {
319c6529
RK
243 -moz-image-region: rect(0 48px 16px 32px);
244}
245
143c5409
RK
246#appmenu-paste:hover:not([disabled="true"]),
247#appmenu-editmenu-paste:hover:not([disabled="true"]) {
248 -moz-image-region: rect(16px 48px 32px 32px);
249}
250
251#appmenu-paste[disabled="true"],
252#appmenu-editmenu-paste[disabled="true"] {
253 -moz-image-region: rect(32px 48px 48px 32px);
254}
255
319c6529
RK
256#appmenu_print,
257#appmenu_print_popup {
258 -moz-image-region: rect(0 64px 16px 48px);
259}
260
143c5409
RK
261#appmenu_print:hover:not([disabled="true"]),
262#appmenu_print[open="true"],
263#appmenu_print_popup:hover:not([disabled="true"]) {
264 -moz-image-region: rect(16px 64px 32px 48px);
265}
266
267#appmenu-print[disabled="true"],
268#appmenu_print_popup[disabled="true"] {
269 -moz-image-region: rect(32px 64px 48px 48px);
270}
271
319c6529
RK
272#appmenu-quit {
273 -moz-image-region: rect(0 80px 16px 64px);
274}
275
143c5409
RK
276#appmenu-quit:hover {
277 -moz-image-region: rect(16px 80px 32px 64px);
278}
279
319c6529
RK
280#appmenu-edit-label {
281 -moz-appearance: none;
282 background: transparent;
283 font-style: italic;
284}
285
286#appmenu_bookmarks {
287 list-style-image: url("chrome://browser/skin/places/bookmark.png");
288 -moz-image-region: rect(0px 48px 16px 32px);
289}
290
0142a07b
RK
291#appmenu_privateBrowsing,
292#appmenu_newPrivateWindow {
319c6529
RK
293 list-style-image: url("chrome://browser/skin/Privacy-16.png");
294}
295
82b4252f
RK
296@media (min-resolution: 1.25dppx) {
297 #appmenu_privateBrowsing,
298 #appmenu_newPrivateWindow {
299 list-style-image: url("chrome://browser/skin/Privacy-32.png");
300 }
301}
302
319c6529
RK
303#appmenu_addons {
304 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
305}
306
82b4252f
RK
307@media (min-resolution: 1.25dppx) {
308 #appmenu_addons {
309 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
310 }
311}
312
319c6529
RK
313#BMB_bookmarkThisPage,
314#appmenu_bookmarkThisPage {
315 list-style-image: url("chrome://browser/skin/places/bookmark.png");
316 -moz-image-region: rect(0 16px 16px 0);
317}
318
319/* ::::: titlebar ::::: */
320
5305ef8d
RK
321#titlebar {
322 /* like menubar */
323 background-color: #6000CF;
324 color: #FF9F00;
325}
326#titlebar:-moz-window-inactive {
327 background-color: #8050B0;
328 color: #FF9F00;
329}
330
319c6529 331#main-window[sizemode="normal"] > #titlebar {
5305ef8d
RK
332 margin-top: -3px;
333 margin-bottom: 3px;
319c6529
RK
334}
335
336#main-window[sizemode="maximized"] > #titlebar {
5305ef8d 337 margin-top: 4px;
319c6529
RK
338}
339
340#titlebar-buttonbox {
5305ef8d
RK
341 margin-top: 5px;
342 -moz-margin-end: 3px;
319c6529
RK
343}
344
345#main-window[sizemode="maximized"] #titlebar-buttonbox {
346}
347
348.titlebar-placeholder[type="appmenu-button"] {
349 margin-left: 4px;
350}
351
352.titlebar-placeholder[type="caption-buttons"] {
353 margin-left: 10px;
354}
355
356/* titlebar command buttons */
357
358#titlebar-min {
5305ef8d
RK
359 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
360}
361
362#titlebar-min:hover {
363 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
319c6529
RK
364}
365
366#titlebar-max {
5305ef8d
RK
367 list-style-image: url("chrome://browser/skin/win-maximize.gif");
368}
369
370#titlebar-max:hover {
371 list-style-image: url("chrome://browser/skin/win-maximize-hover.gif");
319c6529
RK
372}
373
374#main-window[sizemode="maximized"] #titlebar-max {
5305ef8d
RK
375 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
376}
377
378#main-window[sizemode="maximized"] #titlebar-max:hover {
379 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
319c6529
RK
380}
381
382#titlebar-close {
5305ef8d
RK
383 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
384}
385
386#titlebar-close:hover {
387 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
acb0e9b8 388}
389
390/* ::::: bookmark buttons ::::: */
391
fb1aad97
RK
392/*.bookmark-item:not(#bookmarks-menu-button) > .toolbarbutton-icon */
393.bookmark-item > .toolbarbutton-icon {
acb0e9b8 394 width: 16px;
395 height: 16px;
396}
397
e2734cc7
RK
398#PlacesToolbarItems > .bookmark-item:not([image]):not([label=""]):not([container]) > .toolbarbutton-icon {
399 display: none;
400}
401
acb0e9b8 402/* Prevent [mode="icons"] from hiding the label */
403.bookmark-item > .toolbarbutton-text {
404 display: -moz-box !important;
405}
406
319c6529
RK
407.bookmark-item > .toolbarbutton-menu-dropmarker {
408 display: none;
409}
410
411#wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box {
c5772fdf 412 background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat center;
319c6529
RK
413}
414
415.bookmarks-toolbar-customize {
416 max-width: 15em !important;
8da9da4e 417 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") !important;
319c6529
RK
418}
419
420/* ::::: bookmark menus ::::: */
421
422menu.bookmark-item,
423menuitem.bookmark-item {
424 min-width: 0;
ab799a7a 425 max-width: 32em;
319c6529
RK
426}
427
428.bookmark-item > .menu-iconic-left {
429 margin-top: 0;
430 margin-bottom: 0;
431}
432
433.bookmark-item > .menu-iconic-left > .menu-iconic-icon {
434 -moz-padding-start: 0px;
435}
436
437/* ::::: bookmark items ::::: */
438
439.bookmark-item {
dce90fef 440 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 441 -moz-image-region: auto;
319c6529
RK
442}
443
444.bookmark-item[container] {
445 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 446 -moz-image-region: auto;
319c6529
RK
447}
448
449.bookmark-item[container][open] {
450 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 451 -moz-image-region: auto;
319c6529
RK
452}
453
8da9da4e
RK
454.bookmark-item[container][livemark] {
455 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-folder.png");
319c6529
RK
456 -moz-image-region: auto;
457}
458
459.bookmark-item[container][livemark] .bookmark-item {
8da9da4e 460 list-style-image: url("chrome://communicator/skin/bookmarks/livemark-item.png");
719b06bc 461 -moz-image-region: rect(0px, 16px, 16px, 0px);
319c6529
RK
462}
463
eec397be 464.bookmark-item[container][livemark] .bookmark-item[visited] {
719b06bc 465 -moz-image-region: rect(0px, 32px, 16px, 16px);
eec397be
RK
466}
467
319c6529 468.bookmark-item[container][query] {
8da9da4e 469 list-style-image: url("chrome://communicator/skin/bookmarks/query.png");
319c6529
RK
470 -moz-image-region: auto;
471}
472
473.bookmark-item[query][tagContainer] {
474 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
475 -moz-image-region: auto;
476}
477
478.bookmark-item[query][dayContainer] {
8da9da4e 479 list-style-image: url("chrome://communicator/skin/history/calendar.png");
319c6529
RK
480 -moz-image-region: auto;
481}
482
483.bookmark-item[query][hostContainer] {
484 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
8da9da4e 485 -moz-image-region: auto;
319c6529
RK
486}
487
488.bookmark-item[query][hostContainer][open] {
489 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
8da9da4e 490 -moz-image-region: auto;
319c6529
RK
491}
492
b1234db8
RK
493.bookmark-item[cutting] > .toolbarbutton-icon,
494.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-icon {
495 opacity: 0.5;
496}
497
498.bookmark-item[cutting] > .toolbarbutton-text,
499.bookmark-item[cutting] > .menu-iconic-left > .menu-iconic-text {
500 opacity: 0.7;
501}
502
319c6529
RK
503/* ::::: primary toolbar buttons ::::: */
504
63ada306 505.toolbarbutton-1 {
a736ce46 506 list-style-image: url("chrome://browser/skin/FxToolbar.png");
63ada306
RK
507}
508
509.toolbarbutton-1:not([type="menu-button"]) {
510 -moz-box-orient: vertical;
511}
512
319c6529
RK
513.toolbarbutton-1,
514.toolbarbutton-1 > .toolbarbutton-menubutton-button {
515 min-width: 36px;
516 min-height: 36px;
319c6529
RK
517}
518
ab799a7a
RK
519.toolbarbutton-1:not([type="menu-button"]) {
520 -moz-box-orient: vertical;
319c6529
RK
521}
522
523.toolbarbutton-1,
524.toolbarbutton-1 > .toolbarbutton-menubutton-button,
525.toolbarbutton-1[disabled="true"]:hover:active,
526.toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-menubutton-button {
527 padding: 1px 2px;
528}
529
530.toolbarbutton-1:hover:active,
531.toolbarbutton-1[open="true"],
532.toolbarbutton-1:hover:active > .toolbarbutton-menubutton-button {
533 padding-top: 2px;
534 padding-bottom: 0px;
535 -moz-padding-start: 3px;
536 -moz-padding-end: 1px;
537}
538
319c6529
RK
539/* ::::: small primary toolbar buttons ::::: */
540
9abeb12c
RK
541#nav-bar {
542 /* force iconsize="small" on this toolbar */
543 counter-reset: smallicons;
544}
545
319c6529
RK
546toolbar[mode="text"] .toolbarbutton-1,
547toolbar[mode="icons"] .toolbarbutton-1,
548toolbar[iconsize="small"] .toolbarbutton-1,
549:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1,
550toolbar[mode="text"] .toolbarbutton-menubutton-button,
551toolbar[mode="icons"] .toolbarbutton-menubutton-button,
552toolbar[iconsize="small"] .toolbarbutton-menubutton-button,
553:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-button {
554 min-width: 0px;
555 min-height: 0px;
556}
557
558toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker {
559 padding-top: 4px;
560 padding-bottom: 8px;
561 -moz-padding-start: 1px;
562 -moz-padding-end: 1px;
563}
564
565toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker,
566toolbar[iconsize="small"] .toolbarbutton-menubutton-dropmarker,
567:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker {
568 padding-top: 0px;
569 padding-bottom: 13px;
570 -moz-padding-start: 1px;
571 -moz-padding-end: 1px;
572}
573
574toolbar[mode="text"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
575toolbar[mode="text"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
576 padding-top: 5px;
577 padding-bottom: 7px;
578 -moz-padding-start: 0px;
579 -moz-padding-end: 2px;
580}
581
582toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
583toolbar[mode="icons"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
584toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
585toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker,
586:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
587:-moz-any(#TabsToolbar, #addon-bar) .toolbarbutton-1[type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
588 padding-top: 1px;
589 padding-bottom: 12px;
590 -moz-padding-start: 0px;
591 -moz-padding-end: 2px;
592}
593
594toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker[disabled="true"] {
595 padding-top: 4px !important;
596 padding-bottom: 8px !important;
597 -moz-padding-start: 1px !important;
598 -moz-padding-end: 1px !important;
599}
600
601toolbar[mode="icons"] .toolbarbutton-menubutton-dropmarker[disabled="true"],
602toolbar[iconsize="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
603 padding-top: 0px !important;
604 padding-bottom: 13px !important;
605 -moz-padding-start: 1px !important;
606 -moz-padding-end: 1px !important;
607}
608
609toolbar[mode="icons"] .toolbarbutton-text,
610toolbar[mode="text"] .toolbarbutton-icon {
611 display: none;
612}
613
614toolbar[mode="text"] .toolbarbutton-text {
615 padding: 4px 0;
616}
617
618toolbar[mode="text"] .toolbarbutton-1,
619toolbar[mode="text"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
620 -moz-box-orient: horizontal;
621}
622
623toolbar[mode="full"] .toolbarbutton-1,
624toolbar[mode="full"] .toolbarbutton-1 > .toolbarbutton-menubutton-button {
625 min-width: 30px;
626}
627
d54f5b23 628#navigator-toolbox[iconsize=small] > #nav-bar {
d54f5b23
RK
629}
630
631#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar {
d54f5b23
RK
632}
633
634
319c6529
RK
635/* unified back/forward button */
636
637#back-button {
638 -moz-image-region: rect(0, 18px, 18px, 0);
639 -moz-margin-end: 0;
640}
641
38cfeb47
RK
642#back-button:not([disabled="true"]):hover {
643 -moz-image-region: rect(18px, 18px, 36px, 0);
644}
645
646#back-button[disabled="true"] {
647 -moz-image-region: rect(36px, 18px, 54px, 0);
648}
649
319c6529
RK
650#forward-button {
651 -moz-image-region: rect(0, 36px, 18px, 18px);
652 border-left: none;
653 -moz-margin-start: 0;
654}
655
38cfeb47
RK
656#forward-button:not([disabled="true"]):hover {
657 -moz-image-region: rect(18px, 36px, 36px, 18px);
658}
659
660#forward-button[disabled="true"] {
661 -moz-image-region: rect(36px, 36px, 54px, 18px);
b36fc72e
RK
662}
663
319c6529
RK
664#back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
665#forward-button:-moz-locale-dir(rtl),
666#forward-button:-moz-locale-dir(rtl) > .toolbarbutton-text {
71a617ff 667 transform: scaleX(-1);
319c6529
RK
668}
669
b36fc72e
RK
670#nav-bar #back-button {
671 -moz-margin-end: 0 !important;
672}
673
674#nav-bar #forward-button {
675 border-left-style: none;
676 -moz-margin-start: 0 !important;
677}
678
679#nav-bar #back-button:-moz-locale-dir(ltr) {
319c6529
RK
680 border-top-right-radius: 0;
681 border-bottom-right-radius: 0;
682}
683
b36fc72e
RK
684#nav-bar #back-button:-moz-locale-dir(rtl),
685#nav-bar #forward-button {
319c6529
RK
686 border-top-left-radius: 0;
687 border-bottom-left-radius: 0;
688}
689
676f0091
RK
690window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
691 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
692 #unified-back-forward-button > #back-button {
319c6529
RK
693 border-radius: 10000px;
694 width: 30px;
695 height: 30px;
696 position: relative;
697 z-index: 1;
698 margin-top: -2px;
699 margin-bottom: -2px;
700 border: none;
38cfeb47
RK
701 -moz-image-region: rect(54px, 20px, 74px, 0);
702}
703
676f0091
RK
704window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
705 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
706 #unified-back-forward-button > #back-button:not([disabled="true"]):hover,
707window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
708 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
709 #unified-back-forward-button > #back-button[open="true"] {
38cfeb47
RK
710 -moz-image-region: rect(54px, 40px, 74px, 20px);
711}
712
676f0091
RK
713window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
714 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
715 #unified-back-forward-button > #back-button[disabled="true"] {
38cfeb47 716 -moz-image-region: rect(54px, 60px, 74px, 40px);
319c6529
RK
717}
718
676f0091
RK
719window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
720 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
721 #unified-back-forward-button > #back-button:not([disabled="true"]):not([open="true"]):not(:active):hover {
319c6529
RK
722}
723
676f0091
RK
724window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
725 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
726 #unified-back-forward-button > #back-button:not([disabled="true"]):hover:active,
727window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
728 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
729 #unified-back-forward-button > #back-button[open="true"] {
319c6529
RK
730}
731
9abeb12c
RK
732#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar[currentset*="unified-back-forward-button"],
733#navigator-toolbox[iconsize="large"][mode="icons"] > #nav-bar:not([currentset]) {
319c6529
RK
734/* padding-top: 3px;
735 padding-bottom: 5px; */
736}
737
9abeb12c
RK
738#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar[currentset*="unified-back-forward-button"],
739#navigator-toolbox[iconsize="large"][mode="icons"][tabsontop="true"] > #nav-bar:not([currentset]) {
319c6529
RK
740/* padding-top: 5px; */
741}
742
676f0091
RK
743window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
744 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
745 #unified-back-forward-button > #forward-button {
319c6529 746 /*mask: url(keyhole-forward-mask.svg#mask); XXX: this regresses twinopen */
2a5b7882 747 /*clip-path: url("chrome://browser/content/browser.xul#winstripe-keyhole-forward-clip-path"); */
9abeb12c 748 -moz-margin-start: -6px !important;
319c6529
RK
749 padding-left: 7px;
750 padding-right: 3px;
e8519ae0
RK
751 margin-top: 2px;
752 margin-bottom: 2px;
753}
754
676f0091
RK
755window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
756 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
757 #unified-back-forward-button > #forward-button:-moz-locale-dir(ltr) {
e8519ae0
RK
758 border-top-right-radius: 11px;
759 border-bottom-right-radius: 11px;
760}
761
676f0091
RK
762window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
763 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
764 #unified-back-forward-button > #forward-button:-moz-locale-dir(rtl) {
e8519ae0
RK
765 border-top-left-radius: 11px;
766 border-bottom-left-radius: 11px;
319c6529
RK
767}
768
319c6529
RK
769.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr),
770.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
771 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif") !important;
772}
773
774.unified-nav-back[_moz-menuactive]:-moz-locale-dir(ltr):hover,
775.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(rtl):hover {
776 list-style-image: url("chrome://global/skin/arrow/arrow-left-hover.gif") !important;
319c6529
RK
777}
778
779.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr),
780.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl) {
71bac478
RK
781 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
782}
783
784.unified-nav-forward[_moz-menuactive]:-moz-locale-dir(ltr):hover,
785.unified-nav-back[_moz-menuactive]:-moz-locale-dir(rtl):hover {
786 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif") !important;
319c6529
RK
787}
788
8ad8bf83
RK
789window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
790 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
791 #unified-back-forward-button > #forward-button {
e8519ae0 792/* border-top-right-radius: 0;
8ad8bf83 793 border-bottom-right-radius: 0;
e8519ae0 794 -moz-margin-end: 0; */
8ad8bf83
RK
795}
796
797window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
798 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
799 #unified-back-forward-button:not([switchingtabs]) > #forward-button {
71a617ff 800 transition: opacity 150ms ease-out;
8ad8bf83
RK
801}
802
803window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
804 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
805 #unified-back-forward-button:not(:hover) > #forward-button[disabled] {
806 opacity: 0;
807}
808
e8519ae0
RK
809window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
810 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
811 #unified-back-forward-button:hover > #forward-button[disabled] {
812 background-color: transparent;
813}
814
319c6529
RK
815#stop-button {
816 -moz-image-region: rect(0, 54px, 18px, 36px);
817}
818
143c5409
RK
819#stop-button:not([disabled="true"]):hover {
820 -moz-image-region: rect(18px, 54px, 36px, 36px);
821}
822
823#stop-button[disabled="true"] {
824 -moz-image-region: rect(36px, 54px, 54px, 36px);
825}
826
319c6529
RK
827#reload-button {
828 -moz-image-region: rect(0, 72px, 18px, 54px);
829}
830
143c5409
RK
831#reload-button:not([disabled="true"]):hover {
832 -moz-image-region: rect(18px, 72px, 36px, 54px);
833}
834
835#reload-button[disabled="true"] {
836 -moz-image-region: rect(36px, 72px, 54px, 54px);
837}
838
319c6529 839#home-button.bookmark-item {
a736ce46 840 list-style-image: url("chrome://browser/skin/FxToolbar.png");
319c6529
RK
841}
842#home-button {
843 -moz-image-region: rect(0, 90px, 18px, 72px);
844}
845
143c5409
RK
846#home-button:not([disabled="true"]):hover {
847 -moz-image-region: rect(18px, 90px, 36px, 72px);
848}
849
850#home-button[disabled="true"] {
851 -moz-image-region: rect(36px, 90px, 54px, 72px);
852}
853
319c6529
RK
854#downloads-button {
855 -moz-image-region: rect(0, 108px, 18px, 90px);
856}
857
143c5409
RK
858#downloads-button:not([disabled="true"]):hover {
859 -moz-image-region: rect(18px, 108px, 36px, 90px);
860}
861
862#downloads-button[disabled="true"] {
863 -moz-image-region: rect(36px, 108px, 54px, 90px);
864}
865
36759a51
RK
866#downloads-button > .toolbarbutton-icon {
867 margin: 0;
868}
869
319c6529
RK
870#history-button {
871 -moz-image-region: rect(0, 126px, 18px, 108px);
872}
873
143c5409
RK
874#history-button:not([disabled="true"]):hover {
875 -moz-image-region: rect(18px, 126px, 36px, 108px);
876}
877
878#history-button[disabled="true"] {
879 -moz-image-region: rect(36px, 126px, 54px, 108px);
880}
881
319c6529
RK
882#bookmarks-button,
883#bookmarks-menu-button {
a736ce46 884 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
319c6529
RK
885 -moz-image-region: rect(0, 144px, 18px, 126px);
886}
887
888#bookmarks-menu-button.bookmark-item {
a736ce46 889 /* list-style-image: url("chrome://browser/skin/FxToolbar.png"); */
319c6529
RK
890}
891
892#bookmarks-menu-button.toolbarbutton-1 {
893 -moz-box-orient: horizontal;
894}
895
143c5409
RK
896#bookmarks-button:not([disabled="true"]):hover,
897#bookmarks-menu-button[open="true"],
898#bookmarks-menu-button:not([disabled="true"]):hover {
899 -moz-image-region: rect(18px, 144px, 36px, 126px);
900}
901
902#bookmarks-button[disabled="true"],
903#bookmarks-menu-button[disabled="true"] {
904 -moz-image-region: rect(36px, 144px, 54px, 126px);
905}
906
319c6529
RK
907#print-button {
908 -moz-image-region: rect(0, 162px, 18px, 144px);
909}
910
143c5409
RK
911#print-button:not([disabled="true"]):hover {
912 -moz-image-region: rect(18px, 162px, 36px, 144px);
913}
914
915#print-button[disabled="true"] {
916 -moz-image-region: rect(36px, 162px, 54px, 144px);
917}
918
319c6529
RK
919#new-tab-button {
920 -moz-image-region: rect(0, 180px, 18px, 162px);
921}
922
57fc408c
RK
923#new-tab-button:not([disabled="true"]):hover {
924 -moz-image-region: rect(18px, 180px, 36px, 162px);
143c5409
RK
925}
926
57fc408c
RK
927#new-tab-button[disabled="true"] {
928 -moz-image-region: rect(36px, 180px, 54px, 162px);
143c5409
RK
929}
930
319c6529
RK
931#new-window-button {
932 -moz-image-region: rect(0, 198px, 18px, 180px);
933}
934
143c5409
RK
935#new-window-button:not([disabled="true"]):hover {
936 -moz-image-region: rect(18px, 198px, 36px, 180px);
937}
938
939#new-window-button[disabled="true"] {
940 -moz-image-region: rect(36px, 198px, 54px, 180px);
941}
942
319c6529
RK
943#cut-button {
944 -moz-image-region: rect(0, 216px, 18px, 198px);
945}
946
143c5409
RK
947#cut-button:not([disabled="true"]):hover {
948 -moz-image-region: rect(18px, 216px, 36px, 198px);
949}
950
951#cut-button[disabled="true"] {
952 -moz-image-region: rect(36px, 216px, 54px, 198px);
953}
954
319c6529
RK
955#copy-button {
956 -moz-image-region: rect(0, 234px, 18px, 216px);
957}
958
143c5409
RK
959#copy-button:not([disabled="true"]):hover {
960 -moz-image-region: rect(18px, 234px, 36px, 216px);
961}
962
963#copy-button[disabled="true"] {
964 -moz-image-region: rect(36px, 234px, 54px, 216px);
965}
966
319c6529
RK
967#paste-button {
968 -moz-image-region: rect(0, 252px, 18px, 234px);
969}
970
143c5409
RK
971#paste-button:not([disabled="true"]):hover {
972 -moz-image-region: rect(18px, 252px, 36px, 234px);
973}
974
975#paste-button[disabled="true"] {
976 -moz-image-region: rect(36px, 252px, 54px, 234px);
977}
978
319c6529
RK
979#fullscreen-button {
980 -moz-image-region: rect(0, 270px, 18px, 252px);
981}
982
143c5409
RK
983#fullscreen-button:not([disabled="true"]):hover {
984 -moz-image-region: rect(18px, 270px, 36px, 252px);
985}
986
987#fullscreen-button[disabled="true"] {
988 -moz-image-region: rect(36px, 270px, 54px, 252px);
989}
990
319c6529
RK
991#zoom-out-button {
992 -moz-image-region: rect(0, 288px, 18px, 270px);
993 -moz-margin-end: 0;
994}
995
996#zoom-in-button {
997 -moz-image-region: rect(0, 306px, 18px, 288px);
b36fc72e
RK
998}
999
143c5409
RK
1000#zoom-out-button:not([disabled="true"]):hover {
1001 -moz-image-region: rect(18px, 288px, 36px, 270px);
1002}
1003
1004#zoom-out-button[disabled="true"] {
1005 -moz-image-region: rect(36px, 288px, 54px, 270px);
1006}
1007
1008#zoom-in-button:not([disabled="true"]):hover {
1009 -moz-image-region: rect(18px, 306px, 36px, 288px);
1010}
1011
1012#zoom-in-button[disabled="true"] {
1013 -moz-image-region: rect(36px, 306px, 54px, 288px);
1014}
1015
dce90fef 1016#sync-button:not([status]) {
a736ce46 1017 list-style-image: url("chrome://browser/skin/FxToolbar.png") !important; /* for making the palette work */
319c6529
RK
1018 -moz-image-region: rect(0, 324px, 18px, 306px);
1019}
1020
1021#sync-button[status="active"] {
1022 list-style-image: url("chrome://browser/skin/sync-throbber.png");
1023 -moz-image-region: rect(0, 18px, 18px, 0);
1024}
1025
143c5409
RK
1026#sync-button[disabled="true"] {
1027 -moz-image-region: rect(36px, 324px, 54px, 306px);
1028}
1029
319c6529
RK
1030#feed-button {
1031 -moz-image-region: rect(0, 342px, 18px, 324px);
1032}
1033
143c5409
RK
1034#feed-button[disabled="true"] {
1035 -moz-image-region: rect(36px, 342px, 54px, 324px);
1036}
1037
6adbc9a6
RK
1038#webrtc-status-button {
1039 -moz-image-region: rect(0, 360px, 18px, 342px);
1040}
1041
1042#webrtc-status-button:not([disabled="true"]):hover,
1043#webrtc-status-button[open="true"] {
1044 -moz-image-region: rect(18px, 360px, 36px, 342px);
1045}
1046
1047#webrtc-status-button[disabled="true"] {
1048 -moz-image-region: rect(36px, 360px, 54px, 342px);
1049}
1050
1051/* tabview button & menu item */
1052
1053#tabview-button,
1054#menu_tabview {
1055 list-style-image: url("chrome://browser/skin/tabview/tabview.png");
1056}
1057
1058#tabview-button {
1059 -moz-image-region: rect(0, 90px, 18px, 72px);
1060}
1061
1062#tabview-button[groups="0"] {
1063 -moz-image-region: rect(0, 18px, 18px, 0);
1064}
1065
1066#tabview-button[groups="1"] {
1067 -moz-image-region: rect(0, 36px, 18px, 18px);
1068}
1069
1070#tabview-button[groups="2"] {
1071 -moz-image-region: rect(0, 54px, 18px, 36px);
1072}
1073
1074#tabview-button[groups="3"] {
1075 -moz-image-region: rect(0, 72px, 18px, 54px);
1076}
1077
1078#menu_tabview {
1079 -moz-image-region: rect(1px, 89px, 17px, 73px);
1080}
1081
1082#menu_tabview[groups="0"] {
1083 -moz-image-region: rect(1px, 17px, 17px, 1px);
1084}
1085
1086#menu_tabview[groups="1"] {
1087 -moz-image-region: rect(1px, 35px, 17px, 19px);
1088}
1089
1090#menu_tabview[groups="2"] {
1091 -moz-image-region: rect(1px, 53px, 17px, 37px);
1092}
1093
1094#menu_tabview[groups="3"] {
1095 -moz-image-region: rect(1px, 71px, 17px, 55px);
1096}
1097
319c6529
RK
1098/* ::::: fullscreen window controls ::::: */
1099
8d7ef0d9 1100#window-controls {
ab799a7a
RK
1101 -moz-margin-start: 4px;
1102}
1103
319c6529
RK
1104#minimize-button,
1105#restore-button,
1106#close-button {
1107/* padding: 0; */
1108}
1109
1110#minimize-button {
1111 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
1112}
1113
1114#minimize-button:hover {
1115 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
1116}
1117
1118#restore-button {
1119 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
1120}
1121
1122#restore-button:hover {
1123 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
1124}
1125
1126#close-button {
1127 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
1128}
1129
1130#close-button:hover {
1131 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
1132}
1133
1134/* ::::: Location Bar ::::: */
1135
319c6529
RK
1136#urlbar,
1137.searchbar-textbox {
1138 border-radius: 5px;
1139 margin: 0;
1140 -moz-margin-start: 3px;
1141}
1142
ffce2402
RK
1143#urlbar {
1144 width: 7em;
f0071a71
RK
1145 /* make color as light as possible to deal with dark non-domain parts */
1146 color: #FFBFFF;
ffce2402
RK
1147}
1148
319c6529
RK
1149#urlbar:-moz-lwtheme,
1150.searchbar-textbox:-moz-lwtheme {
1151 /* background-color: rgba(255,255,255,.8);
1152 @navbarTextboxCustomBorder@
1153 color: black; */
1154}
1155
8ad8bf83
RK
1156window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1157 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1158 #unified-back-forward-button + #urlbar-container {
1159 padding-left: 22px;
1160 -moz-margin-start: -22px;
8ad8bf83
RK
1161 position: relative;
1162 pointer-events: none;
1163}
1164
1165window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1166 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1167 #unified-back-forward-button + #urlbar-container > #urlbar {
1168/* -moz-border-start: none;
1169 margin-left: 0; */
8ad8bf83
RK
1170 pointer-events: all;
1171}
1172
1173window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1174 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1175 #unified-back-forward-button:not([switchingtabs]) + #urlbar-container > #urlbar {
71a617ff 1176 transition: margin-left 150ms ease-out;
8ad8bf83
RK
1177}
1178
1179window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1180 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1181 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(ltr) {
1182/* border-top-left-radius: 0;
1183 border-bottom-left-radius: 0; */
8ad8bf83
RK
1184}
1185
1186window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1187 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1188 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
1189/* border-top-right-radius: 0;
1190 border-bottom-right-radius: 0; */
8ad8bf83
RK
1191}
1192
8ad8bf83
RK
1193window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1194 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0
RK
1195 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar {
1196 margin-left: -22px;
8ad8bf83
RK
1197}
1198
1199window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1200 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1201 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar {
8ad8bf83 1202 /* delay the hiding of the forward button when hovered to avoid accidental clicks on the url bar */
71a617ff 1203 transition-delay: 100s;
8ad8bf83
RK
1204}
1205
1206window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1207 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1208 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar {
8ad8bf83 1209 /* when not hovered anymore, trigger a new transition to hide the forward button immediately */
e8519ae0 1210 margin-left: -22.01px;
8ad8bf83
RK
1211}
1212
1213window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1214 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1215 #unified-back-forward-button + #urlbar-container:-moz-locale-dir(rtl),
8ad8bf83
RK
1216window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1217 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1218 #unified-back-forward-button + #urlbar-container > #urlbar:-moz-locale-dir(rtl) {
85cfb236 1219 /* let winstripe-urlbar-back-button-clip-path clip the urlbar's right side for RTL */
71a617ff 1220 transform: scaleX(-1);
8ad8bf83
RK
1221}
1222
a7145e95
RK
1223html|*.urlbar-input:-moz-lwtheme::-moz-placeholder,
1224.searchbar-textbox:-moz-lwtheme > .autocomplete-textbox-container > .textbox-input-box > html|*.textbox-input::-moz-placeholder {
319c6529
RK
1225 color: #E7ADE7;
1226}
1227
1228#urlbar:-moz-lwtheme[focused="true"],
1229.searchbar-textbox:-moz-lwtheme[focused="true"] {
1230/* background-color: white; */
1231}
1232
1233#urlbar-container {
1234 -moz-box-orient: horizontal;
1235 -moz-box-align: stretch;
1236}
1237
9abeb12c
RK
1238.urlbar-textbox-container {
1239 -moz-box-align: stretch;
1240}
1241
a40f6a79
RK
1242.urlbar-input-box {
1243 -moz-margin-start: 0;
fcfb76ce 1244 min-width: 4em;
a40f6a79
RK
1245}
1246
319c6529 1247#urlbar-icons {
319c6529
RK
1248 -moz-box-align: center;
1249}
1250
1251.urlbar-icon {
b8384c33 1252 padding: 0 2px;
ffce2402
RK
1253}
1254
1255.searchbar-engine-button,
1256.search-go-container {
4b686546
RK
1257 padding: 2px;
1258}
1259
1260.search-go-container > .search-go-button {
1261 padding: 0;
319c6529
RK
1262}
1263
ffce2402
RK
1264.urlbar-icon:hover {
1265}
1266
1267.urlbar-icon[open="true"],
1268.urlbar-icon:hover:active {
1269}
1270
319c6529
RK
1271#urlbar-search-splitter {
1272 min-width: 6px;
1273 -moz-margin-start: -3px;
1274 border: none;
1275 background: transparent;
1276}
1277
f0071a71 1278#urlbar-search-splitter + #urlbar-container > #urlbar,
319c6529
RK
1279#urlbar-search-splitter + #search-container > #searchbar > .searchbar-textbox {
1280 -moz-margin-start: 0;
1281}
1282
319c6529 1283#urlbar-display {
319c6529
RK
1284 -moz-border-end: 1px solid #9C9CFF;
1285 -moz-margin-end: 3px;
ab799a7a
RK
1286 margin-top: 0;
1287 margin-bottom: 0;
a40f6a79 1288 -moz-margin-start: 0;
ab799a7a
RK
1289 color: #8050B0;
1290}
1291
319c6529
RK
1292/* identity box */
1293
1294#identity-box {
319c6529 1295 border-radius: 2px;
85cfb236 1296 font-size: .9em;
319c6529
RK
1297}
1298
8ad8bf83 1299#notification-popup-box:not([hidden]) + #identity-box {
5517da5a 1300 -moz-padding-start: 10px !important;
8ad8bf83
RK
1301 border-radius: 0;
1302}
1303
1304window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1305 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1306 #unified-back-forward-button + #urlbar-container > #urlbar > #identity-box {
d15d08bf 1307/* border-radius: 0; */
2a5b7882
RK
1308 -moz-padding-start: 2px;
1309 -moz-padding-end: 2px;
1310 -moz-margin-end: 1px;
8ad8bf83
RK
1311}
1312
1313window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1314 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1315 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
2a5b7882 1316 padding-left: 2px;
71a617ff 1317 transition: padding-left;
8ad8bf83
RK
1318}
1319
1320window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1321 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1322 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
2a5b7882 1323 padding-right: 2px;
71a617ff 1324 transition: padding-right;
8ad8bf83
RK
1325}
1326
1327window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1328 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1329 #unified-back-forward-button[forwarddisabled]:hover:not([switchingtabs]) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box {
8ad8bf83 1330 /* forward button hiding is delayed when hovered */
71a617ff 1331 transition-delay: 100s;
8ad8bf83
RK
1332}
1333
1334window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1335 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1336 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(ltr) {
8ad8bf83 1337 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1338 padding-left: 2.01px;
8ad8bf83
RK
1339}
1340
1341window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
1342 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 1343 #unified-back-forward-button[forwarddisabled]:not(:hover) + #urlbar-container > #urlbar > #notification-popup-box[hidden] + #identity-box:-moz-locale-dir(rtl) {
8ad8bf83 1344 /* when not hovered anymore, trigger a new non-delayed transition to react to the forward button hiding */
2a5b7882 1345 padding-right: 2.01px;
8ad8bf83
RK
1346}
1347
37953ab4 1348#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity {
a40f6a79
RK
1349 color: #008484;
1350 -moz-border-end: 1px solid #008484;
1351 -moz-margin-end: 3px;
319c6529
RK
1352}
1353
37953ab4 1354#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(ltr) {
a40f6a79
RK
1355 border-top-right-radius: 0;
1356 border-bottom-right-radius: 0;
319c6529
RK
1357}
1358
37953ab4 1359#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:-moz-locale-dir(rtl) {
a40f6a79
RK
1360 border-top-left-radius: 0;
1361 border-bottom-left-radius: 0;
319c6529
RK
1362}
1363
a40f6a79
RK
1364#identity-box.verifiedIdentity:not(:-moz-lwtheme) {
1365 background-color: #000000;
319c6529
RK
1366}
1367
1368#identity-box:-moz-focusring {
1369 outline: 1px dotted #008484;
f993773d 1370 outline-offset: -1px;
319c6529
RK
1371}
1372
1373#identity-box.verifiedDomain:-moz-focusring,
1374#identity-box.verifiedIdentity:-moz-focusring {
1375 outline-color: #000000;
1376}
1377
1378#identity-icon-labels {
1379 -moz-margin-start: 1px;
1380 -moz-margin-end: 3px;
319c6529
RK
1381}
1382
1383/* Location bar dropmarker */
1384
38cfeb47 1385.urlbar-history-dropmarker:not(:hover):not([open="true"]) {
319c6529 1386 background-color: transparent;
319c6529
RK
1387}
1388
38cfeb47
RK
1389#urlbar-container[combined="true"] > #urlbar > .urlbar-history-dropmarker {
1390 border: none;
1391 border-radius: 0px;
319c6529
RK
1392}
1393
ffce2402
RK
1394.urlbar-history-dropmarker:hover {
1395}
1396
1397.urlbar-history-dropmarker:hover:active,
1398.urlbar-history-dropmarker[open="true"] {
1399}
1400
319c6529
RK
1401/* page proxy icon */
1402
4d58ff64 1403#page-proxy-favicon {
319c6529
RK
1404 width: 16px;
1405 height: 16px;
a40f6a79
RK
1406 list-style-image: url("chrome://browser/skin/identity-icons-generic.png");
1407 -moz-image-region: rect(0, 16px, 16px, 0);
319c6529
RK
1408}
1409
2a5b7882 1410.verifiedDomain > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1411 list-style-image: url("chrome://browser/skin/identity-icons-https.png");
1412}
1413
2a5b7882 1414.verifiedIdentity > #page-proxy-favicon[pageproxystate="valid"] {
a40f6a79
RK
1415 list-style-image: url("chrome://browser/skin/identity-icons-https-ev.png");
1416}
1417
56ab361a
RK
1418.mixedActiveContent > #page-proxy-favicon[pageproxystate="valid"] {
1419 list-style-image: url("chrome://browser/skin/identity-icons-https-mixed-active.png");
1420}
1421
2a5b7882 1422#identity-box:hover > #page-proxy-favicon {
a40f6a79
RK
1423 -moz-image-region: rect(0, 32px, 16px, 16px);
1424}
1425
2a5b7882
RK
1426#identity-box:hover:active > #page-proxy-favicon,
1427#identity-box[open=true] > #page-proxy-favicon {
a40f6a79 1428 -moz-image-region: rect(0, 48px, 16px, 32px);
acb0e9b8 1429}
1430
2a5b7882
RK
1431#identity-box:hover {
1432 background-color: #FFCF00;
7092015d 1433 color: #000000;
2a5b7882
RK
1434}
1435
1436#identity-box:hover:active,
1437#identity-box[open=true] {
1438 background-color: #FF9F00;
7092015d 1439 color: #000000;
2a5b7882
RK
1440}
1441
387e6560
RK
1442#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover,
1443#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity:hover:active,
1444#urlbar[pageproxystate="valid"] > #identity-box.verifiedIdentity[open=true] {
2a5b7882
RK
1445 background-color: #008484;
1446 color: #000000;
1447}
1448
319c6529 1449#page-proxy-favicon[pageproxystate="invalid"] {
37953ab4 1450 opacity: 0.3;
acb0e9b8 1451}
1452
319c6529
RK
1453/* autocomplete */
1454
319c6529
RK
1455#treecolAutoCompleteImage {
1456 max-width: 36px;
1457}
acb0e9b8 1458
319c6529
RK
1459.ac-result-type-bookmark,
1460.autocomplete-treebody::-moz-tree-image(bookmark, treecolAutoCompleteImage) {
71bac478 1461 list-style-image: url("chrome://browser/skin/places/bookmark.png");
319c6529 1462 -moz-image-region: rect(0px 16px 16px 0px);
c1f7cc84 1463 width: 16px;
319c6529 1464 height: 16px;
acb0e9b8 1465}
1466
319c6529
RK
1467.ac-result-type-keyword,
1468.autocomplete-treebody::-moz-tree-image(keyword, treecolAutoCompleteImage) {
1469 list-style-image: url("chrome://global/skin/icons/Search-glass.png");
1470 -moz-image-region: rect(0px 32px 16px 16px);
acb0e9b8 1471 width: 16px;
1472 height: 16px;
1473}
1474
319c6529
RK
1475.ac-result-type-tag,
1476.autocomplete-treebody::-moz-tree-image(tag, treecolAutoCompleteImage) {
8da9da4e 1477 list-style-image: url("chrome://mozapps/skin/places/tagContainerIcon.png");
c1f7cc84 1478 width: 16px;
319c6529
RK
1479 height: 16px;
1480}
acb0e9b8 1481
319c6529
RK
1482.ac-comment {
1483 font-size: 1.15em;
acb0e9b8 1484}
319c6529
RK
1485
1486.ac-extra > .ac-comment {
1487 font-size: inherit;
acb0e9b8 1488}
319c6529
RK
1489
1490.ac-url-text,
1491.ac-action-text {
1492 color: #9C9CFF;
acb0e9b8 1493}
319c6529
RK
1494
1495richlistitem[type~="action"][actiontype="switchtab"] > .ac-url-box > .ac-action-icon {
1496 list-style-image: url("chrome://browser/skin/actionicon-tab.png");
85cfb236
RK
1497 -moz-image-region: rect(0, 16px, 16px, 0);
1498 padding: 0 3px;
1499}
1500
1501richlistitem[type~="action"][actiontype="switchtab"][selected="true"] > .ac-url-box > .ac-action-icon {
1502 -moz-image-region: rect(16px, 16px, 32px, 0);
acb0e9b8 1503}
1504
319c6529
RK
1505.autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
1506 color: #8050B0;
1507}
acb0e9b8 1508
319c6529
RK
1509.ac-comment[selected="true"],
1510.ac-url-text[selected="true"],
1511.ac-action-text[selected="true"] {
1512 color: inherit !important;
acb0e9b8 1513}
1514
c1f7cc84
RK
1515.autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment),
1516.autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment)
319c6529
RK
1517{
1518 color: #8050B0;
1519 font-size: smaller;
acb0e9b8 1520}
319c6529
RK
1521
1522.autocomplete-treebody::-moz-tree-cell(suggesthint) {
1523 border-top: 1px solid #9C9CFF;
acb0e9b8 1524}
1525
319c6529
RK
1526/* combined go/reload/stop button in location bar */
1527
ffce2402 1528#go-button,
319c6529
RK
1529#urlbar > toolbarbutton {
1530 list-style-image: url("chrome://browser/skin/reload-stop-go.png");
38cfeb47 1531 /* margin: -2px; */
9abeb12c 1532 -moz-margin-start: 0;
ffce2402 1533 padding: 0 2px;
319c6529
RK
1534 background-origin: border-box;
1535 border: none;
9abeb12c
RK
1536 -moz-border-start: 1px solid #9C9CFF;
1537}
1538
ffce2402
RK
1539#go-button {
1540 padding: 0 3px;
1541}
1542
9abeb12c 1543#urlbar:-moz-locale-dir(ltr) > toolbarbutton {
38cfeb47
RK
1544 border-top-left-radius: 0px;
1545 border-bottom-left-radius: 0px;
acb0e9b8 1546}
acb0e9b8 1547
9abeb12c 1548#urlbar:-moz-locale-dir(rtl) > toolbarbutton {
38cfeb47
RK
1549 border-top-right-radius: 0px;
1550 border-bottom-right-radius: 0px;
9abeb12c
RK
1551}
1552
dce90fef
RK
1553#urlbar > toolbarbutton:not([disabled]):active:hover,
1554#urlbar-reload-button:not(:hover) {
1555 -moz-border-start-style: none;
714b11f6 1556 -moz-padding-start: 3px;
dce90fef
RK
1557}
1558
1559#urlbar > toolbarbutton:not([disabled]):active:hover {
acb0e9b8 1560}
1561
319c6529 1562#urlbar-go-button {
ffce2402 1563 -moz-image-region: rect(0, 42px, 14px, 28px);
acb0e9b8 1564}
1565
ffce2402
RK
1566#go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
1567#urlbar-go-button:-moz-locale-dir(rtl) > .toolbarbutton-icon {
71a617ff 1568 transform: scaleX(-1);
ffce2402
RK
1569}
1570
1571#urlbar-go-button:hover,
1572#go-button:hover {
1573 -moz-image-region: rect(14px, 42px, 28px, 28px);
acb0e9b8 1574}
1575
319c6529 1576#urlbar-reload-button {
ffce2402 1577 -moz-image-region: rect(0px, 14px, 14px, 0px);
38cfeb47
RK
1578}
1579
1580#urlbar-reload-button[disabled] {
ffce2402 1581 -moz-image-region: rect(28px, 14px, 42px, 0px);
acb0e9b8 1582}
1583
319c6529 1584#urlbar-reload-button:not([disabled]):hover {
ffce2402 1585 -moz-image-region: rect(14px, 14px, 28px, 0px);
acb0e9b8 1586}
319c6529
RK
1587
1588#urlbar-stop-button {
ffce2402 1589 -moz-image-region: rect(0px, 28px, 14px, 14px);
acb0e9b8 1590}
319c6529
RK
1591
1592#urlbar-stop-button:hover {
ffce2402 1593 -moz-image-region: rect(14px, 28px, 28px, 14px);
acb0e9b8 1594}
1595
319c6529
RK
1596/* popup blocker button */
1597
1598#page-report-button {
1599 list-style-image: url("chrome://browser/skin/urlbar-popup-blocked.png");
1600 -moz-image-region: rect(0, 16px, 16px, 0);
acb0e9b8 1601}
319c6529 1602
71bac478 1603#page-report-button:hover ,
319c6529
RK
1604#page-report-button:hover:active,
1605#page-report-button[open="true"] {
71bac478 1606 -moz-image-region: rect(0, 32px, 16px, 16px);
acb0e9b8 1607}
1608
c4460289
RK
1609/* social share panel */
1610
1611#social-share-panel > iframe {
1612/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc);*/
1613 width: 300px;
1614 height: 150px;
1615}
1616
1617#social-share-button {
1618 list-style-image: url("chrome://browser/skin/social/share-button.png");
1619 -moz-image-region: rect(0, 16px, 16px, 0);
1620}
1621
1622.social-share-toolbar {
1623 border-right: 1px solid #9C9CFF;
1624/* background-color: #000000; */
1625}
1626
1627#social-share-provider-buttons {
1628 padding: 6px;
1629}
1630
1631#social-share-provider-buttons > .share-provider-button {
1632 -moz-appearance: none;
1633 padding: 5px;
1634 margin: 1px;
1635 border: none;
1636 background: none;
1637 border-radius: 2px;
1638}
1639
1640#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]),
1641#social-share-provider-buttons > .share-provider-button:hover,
1642#social-share-provider-buttons > .share-provider-button:active {
1643 padding: 4px;
1644}
1645
1646#social-share-provider-buttons > .share-provider-button[checked="true"]:not([disabled="true"]) {
1647}
1648
1649#social-share-provider-buttons > .share-provider-button > .toolbarbutton-text {
1650 display: none;
1651}
1652#social-share-provider-buttons > .share-provider-button > .toolbarbutton-icon {
1653 width: 16px;
1654 min-height: 16px;
1655 max-height: 16px;
1656}
1657
1658/* fixup corners for share panel */
1659.social-panel > .social-panel-frame {
1660 border-radius: inherit;
1661}
1662
1663#social-share-panel {
1664 max-height: 600px;
1665 min-height: 100px;
1666 max-width: 800px;
1667 min-width: 300px;
1668}
1669
1670.social-share-frame {
1671/* background: linear-gradient(to bottom, #f0f4f7, #fafbfc); */
1672 width: 330px;
1673 height: 150px;
c4460289
RK
1674 /* we resize our panels dynamically, make it look nice */
1675 transition: height 100ms ease-out, width 100ms ease-out;
1676}
1677
e2734cc7
RK
1678.social-share-frame:-moz-locale-dir(ltr) {
1679 border-top-left-radius: 0;
1680 border-bottom-left-radius: 0;
1681 border-top-right-radius: inherit;
1682 border-bottom-right-radius: inherit;
1683}
1684
1685.social-share-frame:-moz-locale-dir(rtl) {
c4460289
RK
1686 border-top-left-radius: inherit;
1687 border-bottom-left-radius: inherit;
e2734cc7
RK
1688 border-top-right-radius: 0;
1689 border-bottom-right-radius: 0;
c4460289
RK
1690}
1691
e2734cc7
RK
1692#social-share-panel > .social-share-toolbar:-moz-locale-dir(ltr) {
1693 border-top-left-radius: inherit;
1694 border-bottom-left-radius: inherit;
1695}
1696
1697#social-share-panel > .social-share-toolbar:-moz-locale-dir(rtl) {
1698 border-top-right-radius: inherit;
1699 border-bottom-right-radius: inherit;
1700}
1701
1702#social-share-provider-buttons:-moz-locale-dir(ltr) {
c4460289
RK
1703 border-top-left-radius: inherit;
1704 border-bottom-left-radius: inherit;
1705}
1706
e2734cc7
RK
1707#social-share-provider-buttons:-moz-locale-dir(rtl) {
1708 border-top-right-radius: inherit;
1709 border-bottom-right-radius: inherit;
1710}
1711
889649fd
RK
1712/* social recommending panel */
1713
a6757852 1714#social-mark-button {
d7cfd768 1715 -moz-image-region: rect(0, 16px, 16px, 0);
889649fd
RK
1716}
1717
319c6529
RK
1718/* star button */
1719
1720#star-button {
71bac478
RK
1721 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png");
1722 -moz-image-region: rect(16px 16px 32px 0px);
acb0e9b8 1723}
319c6529
RK
1724
1725#star-button:hover {
71bac478 1726 -moz-image-region: rect(16px 32px 32px 16px);
acb0e9b8 1727}
319c6529
RK
1728
1729#star-button:hover:active {
71bac478 1730 -moz-image-region: rect(16px 48px 32px 32px);
acb0e9b8 1731}
1732
319c6529 1733#star-button[starred="true"] {
71bac478
RK
1734 -moz-image-region: rect(0px 16px 16px 0px);
1735}
1736
1737#star-button[starred="true"]:hover {
1738 -moz-image-region: rect(0px 32px 16px 16px);
1739}
1740
1741#star-button[starred="true"]:hover:active {
1742 -moz-image-region: rect(0px 48px 16px 32px);
acb0e9b8 1743}
319c6529
RK
1744
1745/* bookmarking panel */
1746#editBookmarkPanelStarIcon {
1747 list-style-image: url("chrome://browser/skin/places/starred48.png");
1748 width: 48px;
1749 height: 48px;
acb0e9b8 1750}
319c6529
RK
1751
1752#editBookmarkPanelStarIcon[unstarred] {
1753 list-style-image: url("chrome://browser/skin/places/unstarred48.png");
acb0e9b8 1754}
1755
319c6529
RK
1756#editBookmarkPanelTitle {
1757 font-size: 130%;
acb0e9b8 1758}
319c6529
RK
1759
1760#editBookmarkPanelHeader,
1761#editBookmarkPanelContent {
1762 margin-bottom: .5em;
acb0e9b8 1763}
319c6529
RK
1764
1765/* Implements editBookmarkPanel resizing on folderTree un-collapse. */
1766#editBMPanel_folderTree {
1767 min-width: 27em;
acb0e9b8 1768}
1769
f993773d 1770.panel-promo-box {
5a3cfc14 1771 margin: 5px -6px -6px;
f0eab82c 1772 padding: 5px;
889649fd 1773 border-top: 1px solid #9C9CFF;
f0eab82c
RK
1774 border-bottom-left-radius: 5px;
1775 border-bottom-right-radius: 5px;
f993773d
RK
1776}
1777
1778.panel-promo-icon {
1779 list-style-image: url("chrome://browser/skin/sync-notification-24.png");
1780 -moz-margin-end: 10px;
1781 vertical-align: middle;
1782}
1783
1784.panel-promo-closebutton {
1785 list-style-image: url("chrome://global/skin/icons/close-button.gif");
f0eab82c
RK
1786 -moz-margin-end: -3px;
1787 margin-top: -3px;
f993773d
RK
1788}
1789
1790.panel-promo-closebutton:hover {
1791 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1792}
1793
1794.panel-promo-closebutton:hover:active {
1795 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
1796}
1797
1798.panel-promo-closebutton > .toolbarbutton-text {
1799 padding: 0;
1800 margin: 0;
1801}
1802
319c6529
RK
1803/* ::::: content area ::::: */
1804
1805#sidebar {
1806 background-color: Window;
acb0e9b8 1807}
319c6529
RK
1808
1809#sidebar-title {
1810 -moz-padding-start: 0px;
acb0e9b8 1811}
319c6529
RK
1812
1813/* ::::: throbber ::::: */
1814
1815#navigator-throbber {
1816 width: 16px;
1817 min-height: 16px;
1818 margin: 0 3px;
acb0e9b8 1819}
1820
319c6529 1821#navigator-throbber[busy="true"] {
95f333af 1822 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
acb0e9b8 1823}
319c6529
RK
1824
1825#navigator-throbber,
1826#wrapper-navigator-throbber > #navigator-throbber {
95f333af 1827 list-style-image: url("chrome://communicator/skin/brand/throbber16-single.png");
acb0e9b8 1828}
319c6529
RK
1829
1830/* Tabstrip */
b36fc72e 1831
319c6529
RK
1832#TabsToolbar {
1833 min-height: 0;
1834 padding: 0;
b36fc72e
RK
1835 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
1836}
1837
1838#TabsToolbar .toolbar-holder {
c1f7cc84 1839 background-color: #000000; /* correct effect of being an actual toolbar */
acb0e9b8 1840}
1841
b36fc72e 1842#main-window[disablechrome] #TabsToolbar,
319c6529 1843#TabsToolbar[tabsontop="false"] {
8b5fc82e 1844 border-bottom: 1px solid #008484;
acb0e9b8 1845}
319c6529 1846
319c6529
RK
1847.tabbrowser-tab,
1848.tabs-newtab-button {
1849 margin-top: 0px;
acb0e9b8 1850}
319c6529 1851
57fc408c
RK
1852.tabbrowser-tab{
1853 padding: 1px 4px 2px;
1854}
1855
1856.tabbrowser-tab:first-of-type {
1857 -moz-margin-start: 2px;
1858}
1859
1860.tabs-newtab-button {
1861 border-radius: 8px 8px 0px 0px;
1862 -moz-margin-start: 0;
1863}
1864
1865.tabs-newtab-button:not(:hover) {
1866 background-color: #C09070;
1867}
1868
319c6529
RK
1869.tabbrowser-tab:hover,
1870.tabs-newtab-button:hover {
acb0e9b8 1871}
319c6529
RK
1872
1873.tabbrowser-tab[selected="true"] {
acb0e9b8 1874}
1875
9abeb12c
RK
1876#main-window[tabsontop=false]:not([disablechrome]) .tabbrowser-tab[selected=true]:not(:-moz-lwtheme) {
1877}
1878
319c6529 1879.tabbrowser-tab:-moz-lwtheme {
acb0e9b8 1880}
319c6529
RK
1881
1882.tabbrowser-tab[selected="true"]:-moz-lwtheme {
acb0e9b8 1883}
319c6529
RK
1884
1885.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]),
1886.tabs-newtab-button:-moz-lwtheme-brighttext {
acb0e9b8 1887}
1888
319c6529
RK
1889.tabbrowser-tab:-moz-lwtheme-brighttext:not([selected="true"]):hover,
1890.tabs-newtab-button:-moz-lwtheme-brighttext:hover {
acb0e9b8 1891}
319c6529
RK
1892
1893.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]),
1894.tabs-newtab-button:-moz-lwtheme-darktext {
acb0e9b8 1895}
319c6529
RK
1896
1897.tabbrowser-tab:-moz-lwtheme-darktext:not([selected="true"]):hover,
1898.tabs-newtab-button:-moz-lwtheme-darktext:hover {
acb0e9b8 1899}
1900
319c6529
RK
1901.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]) {
1902 background-color: #E7ADE7;
613daf44 1903}
319c6529 1904.tabbrowser-tab[pinned][titlechanged]:not([selected="true"]):hover {
dbd844cb 1905 background-color: #3333FF;
319c6529 1906 color: #000000;
613daf44 1907}
319c6529
RK
1908
1909.tab-throbber,
1910.tab-icon-image {
1911 width: 16px;
1912 height: 16px;
dce90fef 1913 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 1914 -moz-image-region: auto;
319c6529 1915 -moz-margin-end: 3px;
613daf44 1916}
1917
319c6529 1918.tab-throbber {
95f333af 1919 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim-connect.png");
613daf44 1920}
319c6529
RK
1921
1922.tab-throbber[progress] {
95f333af 1923 list-style-image: url("chrome://communicator/skin/brand/throbber16-anim.png");
613daf44 1924}
319c6529 1925
319c6529
RK
1926.tab-throbber[pinned],
1927.tab-icon-image[pinned] {
1928 -moz-margin-start: 2px;
1929 -moz-margin-end: 2px;
613daf44 1930}
319c6529
RK
1931
1932/* tabbrowser-tab focus ring */
1933.tabbrowser-tab:focus > .tab-stack {
1934 outline: 1px dotted;
613daf44 1935}
319c6529 1936
8ad8bf83 1937/* Tab DnD indicator */
319c6529
RK
1938.tab-drop-indicator {
1939 list-style-image: url("chrome://browser/skin/tabbrowser/tabDragIndicator.png");
9abeb12c 1940 margin-bottom: -11px;
613daf44 1941}
1942
319c6529
RK
1943/* Tab close button */
1944.tab-close-button {
1945 border: none;
1946 padding: 0px;
57fc408c 1947 margin-top: 1px;
319c6529
RK
1948 list-style-image: url("chrome://global/skin/icons/close-button.gif");
1949}
acb0e9b8 1950
319c6529
RK
1951.tab-close-button:hover,
1952.tab-close-button:hover[selected="true"] {
1953 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1954}
319c6529
RK
1955
1956.tab-close-button:hover:active,
1957.tab-close-button:hover:active[selected="true"] {
1958 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 1959}
319c6529 1960
319c6529
RK
1961/* Tab scrollbox arrow, tabstrip new tab and all-tabs buttons */
1962
319c6529
RK
1963.tabbrowser-arrowscrollbox > .scrollbutton-up,
1964.tabbrowser-arrowscrollbox > .scrollbutton-down {
319c6529
RK
1965 margin: 0;
1966 padding-top: 0;
1967 padding-bottom: 0;
acb0e9b8 1968}
319c6529 1969
319c6529
RK
1970.tabbrowser-arrowscrollbox > .scrollbutton-down[notifybgtab] {
1971 background-color: #008484;
acb0e9b8 1972}
319c6529
RK
1973
1974.tabs-newtab-button > .toolbarbutton-icon {
1975 margin-top: -1px;
1976 margin-bottom: -1px;
acb0e9b8 1977}
319c6529
RK
1978
1979.tabs-newtab-button,
1980#TabsToolbar > #new-tab-button,
1981#TabsToolbar > toolbarpaletteitem > #new-tab-button {
38cfeb47 1982 list-style-image: url("chrome://browser/skin/tabbrowser/newtab.png");
319c6529 1983 -moz-image-region: rect(0, 16px, 18px, 0);
acb0e9b8 1984}
1985
319c6529 1986.tabs-newtab-button {
c1f7cc84
RK
1987 width: 28px;
1988}
1989
1990#TabsToolbar > #new-tab-button {
1991 width: 26px;
acb0e9b8 1992}
319c6529 1993
8b5fc82e 1994.tabs-newtab-button,
38cfeb47
RK
1995.tabs-newtab-button:hover,
1996#TabsToolbar > #new-tab-button:hover {
319c6529 1997 -moz-image-region: rect(0, 32px, 18px, 16px);
acb0e9b8 1998}
319c6529
RK
1999
2000#alltabs-button {
8da9da4e 2001 list-style-image: url("chrome://global/skin/arrow/arrow-down.gif");
acb0e9b8 2002}
2003
f9fc08c7 2004#alltabs-button > .toolbarbutton-menu-dropmarker {
319c6529 2005 display: none;
acb0e9b8 2006}
319c6529 2007
f9fc08c7
RK
2008#alltabs-button:hover,
2009#alltabs-button:hover:active,
2010#alltabs-button[open="true"] {
8da9da4e 2011 list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif");
acb0e9b8 2012}
319c6529
RK
2013
2014/* All tabs menupopup */
2015.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
dce90fef 2016 list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
8da9da4e 2017 -moz-image-region: auto;
acb0e9b8 2018}
2019
319c6529
RK
2020.alltabs-item[selected="true"] {
2021 font-weight: bold;
acb0e9b8 2022}
319c6529
RK
2023
2024.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
2025 list-style-image: url("chrome://global/skin/icons/loading.gif");
acb0e9b8 2026}
319c6529 2027
85cfb236 2028.alltabs-item[tabIsVisible]:not([_moz-menuactive="true"]) {
b1234db8
RK
2029 background-color: #402800;
2030}
2031
319c6529
RK
2032/* Tabstrip close button */
2033.tabs-closebutton {
2034 -moz-box-flex: 1;
2035 margin: 0px;
2036 padding: 2px;
2037 list-style-image: url("chrome://global/skin/icons/close-button.gif");
acb0e9b8 2038}
2039
b36fc72e
RK
2040.tabs-closebutton > .toolbarbutton-icon {
2041}
2042
8da9da4e
RK
2043.tabs-closebutton > .toolbarbutton-text {
2044 display: none;
2045}
2046
319c6529
RK
2047.tabs-closebutton:hover,
2048.tabs-closebutton:hover:active {
2049 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
acb0e9b8 2050}
319c6529
RK
2051
2052toolbarbutton.chevron {
2053 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
acb0e9b8 2054}
319c6529
RK
2055
2056toolbarbutton.chevron:hover {
2057 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
acb0e9b8 2058}
2059
319c6529
RK
2060toolbarbutton.chevron:-moz-locale-dir(rtl) > .toolbarbutton-icon,
2061toolbarbutton.chevron:-moz-locale-dir(rtl):hover > .toolbarbutton-icon {
71a617ff 2062 transform: scaleX(-1);
acb0e9b8 2063}
319c6529
RK
2064
2065toolbarbutton.chevron > .toolbarbutton-text,
2066toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
2067 display: none;
acb0e9b8 2068}
319c6529
RK
2069
2070toolbarbutton.chevron > .toolbarbutton-icon {
2071 margin: 0;
acb0e9b8 2072}
2073
319c6529
RK
2074toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
2075 display: -moz-box; /* display chevron icon in text mode */
acb0e9b8 2076}
319c6529
RK
2077
2078#sidebar-throbber[loading="true"] {
2079 list-style-image: url("chrome://global/skin/icons/loading.gif");
2080 -moz-margin-end: 4px;
acb0e9b8 2081}
319c6529
RK
2082
2083/* Bookmarks toolbar */
2084#PlacesToolbarDropIndicator {
8da9da4e 2085 list-style-image: url("chrome://communicator/skin/bookmarks/toolbarDropMarker.png");
acb0e9b8 2086}
2087
319c6529
RK
2088toolbarbutton.bookmark-item[dragover="true"][open="true"] {
2089 background-color: #008484 !important;
2090 color: #FFCF00 !important;
613daf44 2091}
319c6529
RK
2092
2093/* rules for menupopup drop indicators */
2094.menupopup-drop-indicator-bar {
2095 position: relative;
2096 /* these two margins must together compensate the indicator's height */
2097 margin-top: -1px;
2098 margin-bottom: -1px;
613daf44 2099}
319c6529
RK
2100
2101.menupopup-drop-indicator {
2102 list-style-image: none;
2103 height: 2px;
2104 -moz-margin-end: -4em;
2105 background-color: #008484;
613daf44 2106}
2107
319c6529
RK
2108/* ::::: Identity Indicator Styling ::::: */
2109
2110/* Popup Icons */
2111#identity-popup-icon {
2112 height: 64px;
2113 width: 64px;
2114 padding: 0;
2115 list-style-image: url("chrome://browser/skin/identity.png");
2116 -moz-image-region: rect(0px, 64px, 64px, 0px);
613daf44 2117}
319c6529
RK
2118
2119#identity-popup.verifiedDomain > #identity-popup-container > #identity-popup-icon {
2120 -moz-image-region: rect(64px, 64px, 128px, 0px);
613daf44 2121}
319c6529
RK
2122
2123#identity-popup.verifiedIdentity > #identity-popup-container > #identity-popup-icon {
2124 -moz-image-region: rect(128px, 64px, 192px, 0px);
613daf44 2125}
2126
319c6529
RK
2127/* Popup Body Text */
2128.identity-popup-description {
2129 white-space: pre-wrap;
2130 -moz-padding-start: 15px;
2131 margin: 2px 0 4px;
613daf44 2132}
319c6529
RK
2133
2134.identity-popup-label {
2135 white-space: pre-wrap;
2136 -moz-padding-start: 15px;
2137 margin: 0;
613daf44 2138}
319c6529 2139
5517da5a 2140#identity-popup-content-host,
319c6529
RK
2141#identity-popup-content-box.verifiedIdentity > #identity-popup-content-owner {
2142 font-size: 1.2em;
613daf44 2143}
2144
319c6529
RK
2145#identity-popup-content-host {
2146 margin-top: 3px;
2147 margin-bottom: 5px;
2148 font-weight: bold;
2149 max-width: 300px;
2150}
613daf44 2151
319c6529
RK
2152#identity-popup-content-owner {
2153 margin-top: 4px;
2154 margin-bottom: 0 !important;
2155 font-weight: bold;
2156 max-width: 300px;
2157}
613daf44 2158
319c6529
RK
2159.verifiedDomain > #identity-popup-content-owner {
2160 font-weight: normal;
613daf44 2161}
2162
319c6529
RK
2163#identity-popup-content-verifier {
2164 margin: 4px 0 2px;
613daf44 2165}
2166
319c6529
RK
2167#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption ,
2168#identity-popup-content-box.verifiedDomain > #identity-popup-encryption {
2169 margin-top: 10px;
2170 -moz-margin-start: -24px;
613daf44 2171}
2172
319c6529
RK
2173#identity-popup-content-box.verifiedIdentity > #identity-popup-encryption > vbox > #identity-popup-encryption-icon ,
2174#identity-popup-content-box.verifiedDomain > #identity-popup-encryption > vbox > #identity-popup-encryption-icon {
2175 list-style-image: url("chrome://browser/skin/Secure24.png");
613daf44 2176}
2177
319c6529
RK
2178#identity-popup-more-info-button {
2179 margin-top: 6px;
2180 margin-bottom: 0;
2181 -moz-margin-end: 0;
613daf44 2182}
acb0e9b8 2183
319c6529
RK
2184.popup-notification-icon {
2185 width: 64px;
2186 height: 64px;
2187 -moz-margin-end: 10px;
2188}
acb0e9b8 2189
319c6529
RK
2190.popup-notification-icon[popupid="geolocation"] {
2191 list-style-image: url("chrome://browser/skin/Geolocation-64.png");
acb0e9b8 2192}
2193
319c6529
RK
2194.popup-notification-icon[popupid="xpinstall-disabled"],
2195.popup-notification-icon[popupid="addon-progress"],
2196.popup-notification-icon[popupid="addon-install-cancelled"],
2197.popup-notification-icon[popupid="addon-install-blocked"],
2198.popup-notification-icon[popupid="addon-install-failed"],
a40f6a79 2199.popup-notification-icon[popupid="addon-install-complete"] {
319c6529
RK
2200 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png");
2201 width: 32px;
2202 height: 32px;
acb0e9b8 2203}
319c6529 2204
a40f6a79 2205.popup-notification-icon[popupid="click-to-play-plugins"] {
fcfb76ce 2206 list-style-image: url("chrome://mozapps/skin/plugins/pluginBlocked-64.png");
a40f6a79
RK
2207}
2208
a6757852
RK
2209.popup-notification-icon[popupid="plugins-not-found"] {
2210 list-style-image: url("chrome://browser/skin/pluginInstall-64.png");
2211}
2212
82b4252f
RK
2213.popup-notification-icon[popupid="web-notifications"] {
2214 list-style-image: url("chrome://browser/skin/notification-64.png");
2215}
2216
319c6529
RK
2217.addon-progress-description {
2218 width: 350px;
2219 max-width: 350px;
acb0e9b8 2220}
319c6529
RK
2221
2222.popup-progress-label,
2223.popup-progress-meter {
2224 -moz-margin-start: 0;
2225 -moz-margin-end: 0;
acb0e9b8 2226}
319c6529
RK
2227
2228.popup-progress-cancel {
2229 -moz-appearance: none;
2230 background: transparent;
2231 border: none;
2232 padding: 0;
2233 margin: 0;
2234 min-height: 0;
2235 min-width: 0;
2236 list-style-image: url("chrome://mozapps/skin/downloads/downloadButtons.png");
2237 -moz-image-region: rect(0px, 32px, 16px, 16px);
acb0e9b8 2238}
319c6529
RK
2239
2240.popup-progress-cancel:hover {
2241 -moz-image-region: rect(16px, 32px, 32px, 16px);
acb0e9b8 2242}
2243
319c6529
RK
2244.popup-progress-cancel:active {
2245 -moz-image-region: rect(32px, 32px, 48px, 16px);
2246}
acb0e9b8 2247
319c6529 2248.popup-notification-icon[popupid="indexedDB-permissions-prompt"],
a6757852 2249.popup-notification-icon[popupid="indexedDB-quota-prompt"],
e2734cc7
RK
2250.popup-notification-icon[popupid*="offline-app-requested"],
2251.popup-notification-icon[popupid="offline-app-usage"] {
319c6529 2252 list-style-image: url("chrome://global/skin/icons/alert-question.gif");
acb0e9b8 2253}
2254
319c6529
RK
2255.popup-notification-icon[popupid="password-save"],
2256.popup-notification-icon[popupid="password-change"] {
2257 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png");
acb0e9b8 2258}
2259
8d7ef0d9
RK
2260.popup-notification-icon[popupid="webapps-install"] {
2261 list-style-image: url("chrome://browser/skin/webapps-64.png");
2262}
2263
56ab361a
RK
2264.popup-notification-icon[popupid="mixed-content-blocked"] {
2265 list-style-image: url("chrome://browser/skin/mixed-content-blocked-64.png");
2266}
2267
0142a07b 2268.popup-notification-icon[popupid="webRTC-sharingDevices"],
7bc075b6
RK
2269.popup-notification-icon[popupid="webRTC-shareDevices"] {
2270 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-64.png");
2271}
2272
82b4252f
RK
2273.popup-notification-icon[popupid="pointerLock"] {
2274 list-style-image: url("chrome://browser/skin/pointerLock-64.png");
2275}
2276
319c6529
RK
2277/* Notification icon box */
2278#notification-popup-box {
f993773d
RK
2279 position: relative;
2280 background-color: #000000;
2281 background-clip: padding-box;
2282 padding-left: 3px;
5517da5a 2283 padding-right: 8px;
f0eab82c 2284 border-radius: 3px 0 0 3px;
82b4252f 2285 border-image: url("chrome://browser/skin/urlbar-arrow.png") 0 8 0 0 / 0 8px 0 0;
f993773d 2286 -moz-margin-end: -8px;
5517da5a 2287 border-right-width: 8px;
f993773d
RK
2288}
2289
8ad8bf83
RK
2290window:not([chromehidden~=toolbar]) #navigator-toolbox[iconsize=large][mode=icons] >
2291 :-moz-any(#nav-bar[currentset*="unified-back-forward-button,urlbar-container"],#nav-bar:not([currentset])) >
e8519ae0 2292 #unified-back-forward-button[forwarddisabled] + #urlbar-container > #urlbar > #notification-popup-box {
5517da5a 2293/* padding-left: 5px; */
f993773d
RK
2294}
2295
2296#notification-popup-box:-moz-locale-dir(rtl),
2297.notification-anchor-icon:-moz-locale-dir(rtl) {
71a617ff 2298 transform: scaleX(-1);
319c6529 2299}
acb0e9b8 2300
319c6529 2301.notification-anchor-icon {
acb0e9b8 2302 width: 16px;
2303 height: 16px;
85cfb236 2304 margin: 0 2px;
acb0e9b8 2305}
2306
319c6529 2307.notification-anchor-icon:-moz-focusring {
f0eab82c
RK
2308 outline: 1px dotted #008484;
2309/* outline-offset: -3px; */
acb0e9b8 2310}
2311
e2734cc7 2312.default-notification-icon,
ab799a7a
RK
2313#default-notification-icon {
2314 list-style-image: url("chrome://global/skin/icons/information-16.png");
2315}
2316
e2734cc7 2317.identity-notification-icon,
9585a561
RK
2318#identity-notification-icon {
2319 list-style-image: url("chrome://mozapps/skin/profile/profileicon.png");
2320}
2321
e2734cc7 2322.geo-notification-icon,
319c6529
RK
2323#geo-notification-icon {
2324 list-style-image: url("chrome://browser/skin/Geolocation-16.png");
acb0e9b8 2325}
2326
319c6529
RK
2327#addons-notification-icon {
2328 list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
acb0e9b8 2329}
2330
e2734cc7 2331.indexedDB-notification-icon,
319c6529
RK
2332#indexedDB-notification-icon {
2333 list-style-image: url("chrome://global/skin/icons/question-16.png");
acb0e9b8 2334}
2335
319c6529
RK
2336#password-notification-icon {
2337 list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png");
acb0e9b8 2338}
2339
8d7ef0d9
RK
2340#webapps-notification-icon {
2341 list-style-image: url("chrome://browser/skin/webapps-16.png");
2342}
2343
a40f6a79
RK
2344#plugins-notification-icon {
2345 list-style-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
2346}
2347
990cba4b
RK
2348#blocked-plugins-notification-icon {
2349 list-style-image: url("chrome://mozapps/skin/plugins/notifyPluginBlocked.png");
2350}
2351
a6757852
RK
2352#plugin-install-notification-icon {
2353 list-style-image: url("chrome://browser/skin/pluginInstall-16.png");
2354}
2355
6adbc9a6
RK
2356#notification-popup-box[hidden] {
2357 /* Override display:none to make the pluginBlockedNotification animation work
2358 when showing the notification repeatedly. */
2359 display: -moz-box;
2360 visibility: collapse;
2361}
2362
990cba4b
RK
2363#blocked-plugins-notification-icon[showing] {
2364 animation: pluginBlockedNotification 500ms ease 0s 5 alternate both;
2365}
2366
2367@keyframes pluginBlockedNotification {
2368 from {
2369 opacity: 0;
2370 }
2371 to {
2372 opacity: 1;
2373 }
2374}
2375
e2734cc7 2376.mixed-content-blocked-notification-icon,
56ab361a
RK
2377#mixed-content-blocked-notification-icon {
2378 list-style-image: url("chrome://browser/skin/mixed-content-blocked-16.png");
2379}
2380
e2734cc7 2381.webRTC-shareDevices-notification-icon,
0142a07b 2382#webRTC-shareDevices-notification-icon {
7bc075b6
RK
2383 list-style-image: url("chrome://browser/skin/webRTC-shareDevice-16.png");
2384}
2385
e2734cc7 2386.webRTC-sharingDevices-notification-icon,
6adbc9a6
RK
2387#webRTC-sharingDevices-notification-icon {
2388 list-style-image: url("chrome://browser/skin/webRTC-sharingDevice-16.png");
2389}
2390
e2734cc7 2391.web-notifications-notification-icon,
82b4252f
RK
2392#web-notifications-notification-icon {
2393 list-style-image: url("chrome://browser/skin/notification-16.png");
2394}
2395
2396#pointerLock-notification-icon {
2397 list-style-image: url("chrome://browser/skin/pointerLock-16.png");
2398}
2399#pointerLock-cancel {
2400 margin: 0px;
2401}
2402
319c6529
RK
2403#identity-popup-container {
2404 min-width: 280px;
2405}
acb0e9b8 2406
319c6529 2407#download-monitor {
a736ce46 2408 list-style-image: url("chrome://browser/skin/FxToolbar.png");
319c6529 2409 -moz-image-region: rect(0, 108px, 18px, 90px);
acb0e9b8 2410}
2411
319c6529
RK
2412/* Bookmarks roots menu-items */
2413#appmenu_subscribeToPage:not([disabled]),
2414#appmenu_subscribeToPageMenu,
2415#subscribeToPageMenuitem:not([disabled]),
2416#subscribeToPageMenupopup,
2417#BMB_subscribeToPageMenuitem:not([disabled]),
2418#BMB_subscribeToPageMenupopup {
2419 list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png");
613daf44 2420}
2421
319c6529
RK
2422#bookmarksToolbarFolderMenu,
2423#appmenu_bookmarksToolbar,
2424#BMB_bookmarksToolbar {
8da9da4e 2425 list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png");
319c6529
RK
2426 -moz-image-region: auto;
2427}
acb0e9b8 2428
319c6529
RK
2429#appmenu_unsortedBookmarks,
2430#BMB_unsortedBookmarks {
8da9da4e 2431 list-style-image: url("chrome://communicator/skin/bookmarks/unsortedBookmarks.png");
319c6529 2432 -moz-image-region: auto;
acb0e9b8 2433}
2434
319c6529 2435/* ::::: Keyboard UI Panel ::::: */
acb0e9b8 2436
319c6529
RK
2437.KUI-panel {
2438 color: #FF9F00;
2439 border-style: none;
2440 border-radius: 20px;
acb0e9b8 2441}
2442
319c6529
RK
2443.KUI-panel[level="top"] {
2444 /*background-color: rgba(27%,27%,27%,.65);*/
acb0e9b8 2445}
2446
319c6529
RK
2447/* Ctrl-Tab */
2448
2449#ctrlTab-panel {
2450 padding: 20px 10px 10px;
2451 font-weight: bold;
acb0e9b8 2452}
2453
319c6529
RK
2454.ctrlTab-favicon[src] {
2455 background-color: #000000;
2456 width: 20px;
2457 height: 20px;
2458 padding: 2px;
2459}
acb0e9b8 2460
319c6529 2461.ctrlTab-preview-inner > .tabPreview-canvas {
acb0e9b8 2462}
2463
319c6529
RK
2464.ctrlTab-preview:not(#ctrlTab-showAll) > * > .ctrlTab-preview-inner > .tabPreview-canvas {
2465 margin-bottom: 2px;
acb0e9b8 2466}
2467
319c6529
RK
2468.ctrlTab-preview-inner {
2469 padding-bottom: 10px;
acb0e9b8 2470}
2471
319c6529
RK
2472#ctrlTab-showAll:not(:focus) > * > .ctrlTab-preview-inner {
2473 padding: 10px;
2474 background-color: #000000;
2475 border-radius: .5em;
acb0e9b8 2476}
2477
319c6529
RK
2478.ctrlTab-preview:focus > * > .ctrlTab-preview-inner {
2479 color: white;
2480 background-color: #000000;
2481 text-shadow: none;
2482 padding: 8px;
2483 border: 2px solid #9C9CFF;
2484 border-radius: .5em;
acb0e9b8 2485}
2486
319c6529
RK
2487.ctrlTab-preview:not(#ctrlTab-showAll):focus > * > .ctrlTab-preview-inner {
2488 margin: -10px -10px 0;
acb0e9b8 2489}
2490
319c6529
RK
2491#ctrlTab-showAll {
2492 margin-top: .5em;
acb0e9b8 2493}
2494
b36fc72e
RK
2495/* Add-on bar */
2496
2497#addon-bar {
2498 min-height: 20px;
2499 border-top: 3px solid #000000;
3e6e0e5c 2500 border-bottom-width: 0;
b36fc72e
RK
2501}
2502
2503#addon-bar .toolbar-holder {
2504 background-color: #8050B0;
2505 color: #FFCF00;
2506}
2507
2508#addon-bar .toolbar-holder {
2509 background-color: #8050B0;
2510 color: #FFCF00;
2511}
2512
2513#addon-bar .toolbar-startcap,
2514#addon-bar .toolbar-endcap{
2515 background-color: #6000CF;
2516}
2517
319c6529 2518#status-bar {
b36fc72e 2519 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
319c6529
RK
2520 margin-top: .3em;
2521 border-width: 0;
613daf44 2522}
2523
e0c47e26
RK
2524#addon-bar[customizing] > #status-bar {
2525 opacity: .5;
2526/* background-image: -moz-repeating-linear-gradient(-45deg,
2527 rgba(255,255,255,.3), rgba(255,255,255,.3) 5px,
2528 rgba(0,0,0,.3) 5px, rgba(0,0,0,.3) 10px);*/
2529}
2530
319c6529
RK
2531/* Remove all borders from statusbarpanel children of
2532 the statusbar.
2533#status-bar > statusbarpanel {
2534 border-width: 0;
2535} */
2536
319c6529
RK
2537#addonbar-closebutton {
2538 border: none;
2539 padding: 3px 5px;
2540 list-style-image: url("chrome://global/skin/icons/close-button.gif");
613daf44 2541}
2542
319c6529
RK
2543#addonbar-closebutton:hover,
2544#addonbar-closebutton:hover:active {
2545 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
613daf44 2546}
9abeb12c
RK
2547
2548/* Status panel */
2549
2550.statuspanel-label {
2551 margin: 0;
2552 padding: 2px 4px;
38cfeb47 2553 background: #404000;
9abeb12c
RK
2554 border: 1px none #9C9CFF;
2555 border-top-style: solid;
2556 color: #FF9F00;
2557 text-shadow: none;
2558}
2559
2560.statuspanel-label:-moz-locale-dir(ltr):not([mirror]),
2561.statuspanel-label:-moz-locale-dir(rtl)[mirror] {
2562 border-right-style: solid;
2563 border-top-right-radius: .3em;
2564 margin-right: 1em;
2565}
2566
2567.statuspanel-label:-moz-locale-dir(rtl):not([mirror]),
2568.statuspanel-label:-moz-locale-dir(ltr)[mirror] {
2569 border-left-style: solid;
2570 border-top-left-radius: .3em;
2571 margin-left: 1em;
2572}
3e6e0e5c
RK
2573
2574/* HACK to abolish devily color on main content */
2575
2576#content {
2577 background-color: transparent !important;
2578}
dce90fef
RK
2579
2580/* Highlighter */
2581
0142a07b 2582.highlighter-outline {
fcfb76ce
RK
2583 box-shadow: 0 0 0 1px black;
2584 outline: 1px dashed white;
dce90fef
RK
2585}
2586
0142a07b 2587.highlighter-outline[locked] {
fcfb76ce
RK
2588 box-shadow: 0 0 0 1px rgba(0,0,0,0.3);
2589 outline-color: rgba(255,255,255,0.7);
dce90fef 2590}
4c765db1 2591
0142a07b 2592/* Developer toolbar */
8ad8bf83 2593
37953ab4 2594#developer-toolbar {
8ad8bf83
RK
2595 border-top: 3px solid #000000;
2596 border-bottom: none;
2597}
2598
37953ab4
RK
2599#developer-toolbar .toolbar-holder {
2600 background-color: #8050B0;
2601 color: #FFCF00;
2602}
2603
2604#developer-toolbar .toolbar-holder {
2605 background-color: #8050B0;
2606 color: #FFCF00;
2607}
2608
2609#developer-toolbar .toolbar-startcap,
2610#developer-toolbar .toolbar-endcap{
2611 background-color: #6000CF;
2612}
2613
8ad8bf83
RK
2614/* Highlighter - Node Infobar */
2615
0142a07b 2616.highlighter-nodeinfobar {
a40f6a79
RK
2617 color: #FF9F00;
2618 border: 1px solid rgba(156, 156, 255, .5);
2619 border-radius: 3px;
2620 background-color: #000000;
2621 background-clip: padding-box;
2622}
2623
8ad8bf83
RK
2624/* Highlighter - Node Infobar - text */
2625
0142a07b 2626.highlighter-nodeinfobar-text {
a40f6a79 2627 /* 100% - size of the buttons and margins */
c29b709d 2628 max-width: calc(100% - 2 * (26px + 6px));
a40f6a79
RK
2629 padding-bottom: 1px;
2630}
2631
0142a07b 2632html|*.highlighter-nodeinfobar-tagname {
8ad8bf83
RK
2633 color: #FFCF00;
2634}
2635
0142a07b 2636html|*.highlighter-nodeinfobar-id {
8ad8bf83
RK
2637 color: #9C9CFF;
2638}
2639
0142a07b 2640html|*.highlighter-nodeinfobar-pseudo-classes {
eec397be 2641 color: #FF9F00;
8ad8bf83
RK
2642}
2643
a40f6a79
RK
2644/* Highlighter - Node Infobar - buttons */
2645
2646.highlighter-nodeinfobar-button {
2647 padding: 0;
2648 width: 26px;
2649 min-height: 26px;
2650}
2651
0142a07b 2652.highlighter-nodeinfobar-inspectbutton {
a40f6a79
RK
2653 list-style-image: url("chrome://browser/skin/devtools/inspect-button.png");
2654 -moz-image-region: rect(0px 16px 16px 0px);
2655 -moz-margin-start: 0px;
2656 -moz-margin-end: 2px;
2657}
2658
0142a07b 2659.highlighter-nodeinfobar-inspectbutton:-moz-locale-dir(rtl) {
a40f6a79
RK
2660}
2661
0142a07b
RK
2662.highlighter-nodeinfobar-inspectbutton:hover,
2663.highlighter-nodeinfobar-inspectbutton:hover:active/*,
2664.highlighter-nodeinfobar-container:not([locked]) > .highlighter-nodeinfobar > .highlighter-nodeinfobar-inspectbutton*/ {
a40f6a79
RK
2665 -moz-image-region: rect(0px 32px 16px 16px);
2666}
2667
0142a07b 2668.highlighter-nodeinfobar-menu {
a40f6a79
RK
2669}
2670
0142a07b 2671.highlighter-nodeinfobar-menu:-moz-locale-dir(rtl) {
a40f6a79
RK
2672}
2673
0142a07b 2674.highlighter-nodeinfobar-menu > .toolbarbutton-menu-dropmarker {
a40f6a79
RK
2675 -moz-box-align: center;
2676 -moz-margin-start: -1px;
2677}
2678
2679/* Highlighter - Node Infobar - box & arrow */
2680
8ad8bf83
RK
2681.highlighter-nodeinfobar-arrow {
2682 width: 14px;
2683 height: 14px;
c29b709d 2684 -moz-margin-start: calc(50% - 7px);
71a617ff 2685 transform: rotate(-45deg);
8ad8bf83
RK
2686 border: 1px solid transparent;
2687 background-clip: padding-box;
2688 background-repeat: no-repeat;
2689}
2690
0142a07b 2691.highlighter-nodeinfobar-arrow-top {
8ad8bf83
RK
2692 margin-bottom: -8px;
2693 margin-top: 8px;
2694 border-right-color: rgba(0, 132, 132, .5);
2695 border-top-color: rgba(0, 132, 132, .5);
0142a07b 2696 background-image: linear-gradient(bottom left, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
2697}
2698
0142a07b 2699.highlighter-nodeinfobar-arrow-bottom {
8ad8bf83
RK
2700 margin-top: -8px;
2701 margin-bottom: 8px;
2702 border-left-color: rgba(0, 132, 132, .5);
2703 border-bottom-color: rgba(0, 132, 132, .5);
0142a07b 2704 background-image: linear-gradient(top right, transparent 50%, rgb(0, 132, 132) 50%);
8ad8bf83
RK
2705}
2706
0142a07b
RK
2707.highlighter-nodeinfobar-container[position="top"] > .highlighter-nodeinfobar,
2708.highlighter-nodeinfobar-container[position="overlap"] > .highlighter-nodeinfobar {
8ad8bf83
RK
2709 box-shadow: 0 1px 0 hsla(0, 0%, 100%, .1) inset;
2710}
2711
0142a07b 2712.highlighter-nodeinfobar-container[hide-arrow] > .highlighter-nodeinfobar {
8ad8bf83
RK
2713 margin: 7px 0;
2714}
2715
2716#full-screen-warning-message {
2717 background-color: #000000;
2718 color: #FF9F00;
8ad8bf83
RK
2719 border-radius: 8px;
2720 margin-top: 30px;
2721 padding: 30px 50px;
2722 box-shadow: 0 0 2px #9C9CFF;
2723}
2724
2725#full-screen-warning-container[obscure-browser] {
85cfb236
RK
2726 background-color: rgba(0,0,0,0.3);
2727}
2728
2729.full-screen-description {
2730 font-size: 150%;
2731}
2732
2733#full-screen-domain-text {
2734 font-size: 300%;
8ad8bf83
RK
2735}
2736
85cfb236
RK
2737.full-screen-approval-button,
2738#full-screen-remember-decision {
2739 font-size: 120%;
8ad8bf83
RK
2740}
2741
37953ab4
RK
2742html|*#gcli-tooltip-frame,
2743html|*#gcli-output-frame {
85cfb236 2744 padding: 0;
37953ab4
RK
2745 border-width: 0;
2746 background-color: transparent;
2747}
2748
2749#gcli-output,
2750#gcli-tooltip {
2751 border-width: 0;
2752 background-color: transparent;
2753 margin-bottom: -2px;
85cfb236
RK
2754}
2755
2756.gclitoolbar-input-node,
2757.gclitoolbar-complete-node,
2758.gclitoolbar-prompt {
37953ab4
RK
2759 margin: 1px 3px;
2760 -moz-box-align: center;
2761 padding-top: 0;
2762 padding-bottom: 0;
2763 padding-right: 4px;
2764 background-color: transparent;
2765 border-radius: 3px;
2766 text-shadow: none;
85cfb236
RK
2767}
2768
2769.gclitoolbar-input-node {
37953ab4
RK
2770 padding-left: 20px;
2771}
2772
2773.gclitoolbar-input-node:not([focused="true"]) {
2774 border-color: transparent;
85cfb236
RK
2775}
2776
7bc075b6
RK
2777.gclitoolbar-input-node > .textbox-input-box > html|*.textbox-input::-moz-selection {
2778 background-color: #008484;
2779 color: #000000;
2780 text-shadow: none;
2781}
2782
85cfb236 2783.gclitoolbar-complete-node {
37953ab4 2784 padding-left: 21px;
85cfb236
RK
2785 background-color: transparent;
2786 color: transparent;
85cfb236
RK
2787}
2788
2789.gclitoolbar-prompt {
37953ab4
RK
2790 padding-left: 4px;
2791 padding-bottom: 2px;
85cfb236
RK
2792 font-size: 150%;
2793 font-weight: bold;
37953ab4
RK
2794 color: #E7ADE7;
2795 background-color: #000000;
85cfb236
RK
2796}
2797
37953ab4 2798.gclitoolbar-prompt-label,
85cfb236
RK
2799.gcli-in-incomplete,
2800.gcli-in-error,
2801.gcli-in-ontab,
2802.gcli-in-todo,
2803.gcli-in-closebrace,
2804.gcli-in-param,
2805.gcli-in-valid {
2806 margin: 0;
2807 padding: 0;
2808}
2809
2810.gcli-in-incomplete {
2811 border-bottom: 2px dotted #8050B0;
2812}
2813
2814.gcli-in-error {
2815 border-bottom: 2px dotted #FF0000;
2816}
2817
2818.gcli-in-ontab {
2819 color: #9C9CFF;
2820}
2821
2822.gcli-in-todo {
2823 color: #795900;
2824}
2825
2826.gcli-in-closebrace {
2827 color: #8050B0;
2828}
2829
37953ab4 2830/* Responsive Mode */
85cfb236 2831
7bc075b6
RK
2832.browserContainer[responsivemode] {
2833 background: #221500 url("chrome://browser/skin/devtools/responsive-background.png");
37953ab4
RK
2834 padding: 0 20px 20px 20px;
2835}
2836
7bc075b6 2837.browserStack[responsivemode] {
37953ab4
RK
2838 box-shadow: 0 0 7px #9C9CFF;
2839}
2840
2841.devtools-responsiveui-toolbar {
2842 background: transparent;
2843 margin: 10px 0;
2844 padding: 0;
2845 box-shadow: none;
2846 border-bottom-width: 0;
2847}
2848
2849.devtools-responsiveui-toolbar > menulist,
2850.devtools-responsiveui-toolbar > toolbarbutton {
2851 min-width: 22px;
2852 border-radius: 0;
2853}
2854
2855.devtools-responsiveui-toolbar:-moz-locale-dir(ltr) > *:first-child,
2856.devtools-responsiveui-toolbar:-moz-locale-dir(rtl) > *:last-child {
2857 margin-left: 0;
2858}
2859
2860.devtools-responsiveui-resizebar {
2861 width: 7px;
2862 height: 24px;
2863 cursor: ew-resize;
71a617ff 2864 transform: translate(12px, -12px);
37953ab4
RK
2865 background-image: url("chrome://browser/skin/devtools/responsive-vertical-resizer.png");
2866}
2867
2868.devtools-responsiveui-resizehandle {
2869 width: 16px;
2870 height: 16px;
2871 cursor: se-resize;
71a617ff 2872 transform: translate(12px, 12px);
37953ab4 2873 background-image: url("chrome://browser/skin/devtools/responsive-se-resizer.png");
8d7ef0d9 2874}
889649fd 2875
c29b709d
RK
2876/* Web Console */
2877
2878.web-console-frame {
2879 /* border-bottom: 3px solid #000000; */
2880}
2881
2882.web-console-frame[animated] {
2883 transition: height 100ms;
2884}
2885
889649fd
RK
2886/* Developer Toolbar */
2887
0142a07b
RK
2888#developer-toolbar-toolbox-button {
2889 min-width: 18px;
2890}
2891
2892#developer-toolbar-toolbox-button > .toolbarbutton-text {
2893 display: none;
2894}
2895
6adbc9a6
RK
2896#developer-toolbar-toolbox-button > .toolbarbutton-icon {
2897 -moz-margin-end: 0;
2898}
2899
889649fd
RK
2900.developer-toolbar-button {
2901 min-width: 78px;
2902 min-height: 21px;
2903 margin: 0 1px;
2904 list-style-image: url("chrome://browser/skin/devtools/tools-icons-small.png");
2905}
2906
c29b709d 2907.developer-toolbar-button[open=true],
889649fd
RK
2908.developer-toolbar-button:active:hover,
2909.developer-toolbar-button[checked=true] {
2910}
2911
2912.developer-toolbar-button[checked=true] {
2913}
2914
445863a2
RK
2915#developer-toolbar-toolbox-button {
2916 -moz-image-region: rect(64px, 16px, 80px, 0);
2917}
2918
889649fd
RK
2919/* Error counter */
2920
0142a07b 2921#developer-toolbar-toolbox-button[error-count]:before {
889649fd
RK
2922 color: #000000;
2923 min-width: 16px;
2924 text-shadow: none;
2925 background-color: #FF0000;
2926 border-radius: 1px;
c29b709d 2927 -moz-margin-end: 5px;
c54ac991 2928}
e9c73590 2929
348c0499 2930/* Social toolbar item */
e9c73590 2931
0142a07b
RK
2932#social-provider-button {
2933 -moz-image-region: rect(0, 16px, 16px, 0);
a6757852 2934 list-style-image: url("chrome://browser/skin/social/services-16.png");
0142a07b
RK
2935}
2936
348c0499
RK
2937#social-provider-button > .toolbarbutton-menu-dropmarker {
2938 display: none;
e9c73590
RK
2939}
2940
82b4252f
RK
2941.toolbarbutton-badge-container {
2942 margin: 0;
2943 padding: 0;
2944 position: relative;
e9c73590
RK
2945}
2946
82b4252f 2947#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar .toolbarbutton-1 > .toolbarbutton-badge-container {
ed1a91c6 2948 padding: 2px 2px;
82b4252f
RK
2949}
2950
2951.toolbarbutton-1 > .toolbarbutton-badge-container > .toolbar-icon {
2952 position: absolute;
2953 top: 2px;
2954 right: 2px;
2955}
2956
2957.toolbarbutton-badge-container > .toolbarbutton-icon[label]:not([label=""]) {
2958 -moz-margin-end: 0;
e9c73590
RK
2959}
2960
82b4252f
RK
2961.toolbarbutton-badge[badge=""] {
2962 display: none;
2963}
2964.toolbarbutton-badge[badge]:not([badge=""])::after {
6adbc9a6 2965 /* The |content| property is set in the content stylesheet. */
348c0499
RK
2966 font-size: 9px;
2967 font-weight: bold;
2968 padding: 0 1px;
2969 color: #FF9F00;
2970 background-color: #000000;
2971 border: 1px solid #9C9CFF;
2972 border-radius: 2px;
6adbc9a6 2973 position: absolute;
82b4252f
RK
2974 top: 0;
2975 right: 0;
2976}
2977
2978#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""])::after {
2979 top: 1px;
2980 right: 1px;
e9c73590
RK
2981}
2982
82b4252f
RK
2983.toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
2984 left: 0;
2985 right: auto;
e9c73590
RK
2986}
2987
82b4252f
RK
2988#navigator-toolbox[iconsize=large][mode=icons] > #nav-bar *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-locale-dir(rtl)::after {
2989 left: 1px;
6adbc9a6 2990 right: auto;
348c0499
RK
2991}
2992
2993#social-notification-icon-mentions {
e9c73590 2994 background-color: #000000;
348c0499
RK
2995 border-radius: 3px;
2996 -moz-margin-start: 2px;
e9c73590
RK
2997}
2998
348c0499
RK
2999#social-notification-icon-mentions:hover {
3000 background-color: #FFCF00;
3001}
3002
3003#social-notification-icon-mentions[open="true"] {
3004 background-color: #FF9F00;
e9c73590
RK
3005}
3006
3007#social-sidebar-splitter {
3008 border: 0;
3009}
3010
ed1a91c6
RK
3011.popup-notification-icon[popupid="servicesInstall"] {
3012 list-style-image: url("chrome://browser/skin/social/services-64.png");
3013}
3014#servicesInstall-notification-icon {
3015 list-style-image: url("chrome://browser/skin/social/services-16.png");
3016}
3017#social-undoactivation-button,
3018#servicesInstall-learnmore-link {
3019 -moz-margin-start: 0; /* override default label margin to match description margin */
3020}
3021
3022#socialActivatedNotification .popup-notification-button-container {
3023 margin-left: 6px;
3024}
3025
3026.social-activation-icon {
3027 width: auto;
3028 height: auto;
3029 max-height: 64px;
3030 max-width: 64px;
3031}
3032
3033#social-activation-message {
3034 max-width: 250px;
3035}
3036
3037#social-activation-message > label {
3038 margin: 0;
3039}
3040
e9c73590 3041/* social toolbar provider menu */
990cba4b 3042.social-statusarea-popup {
e9c73590
RK
3043 margin-top: 0;
3044 margin-left: -12px;
3045 margin-right: -12px;
3046}
3047
990cba4b 3048.social-statusarea-user {
e9c73590
RK
3049 border-bottom: 1px solid #9C9CFF;
3050 background-color: #000000;
3051 color: #FF9F00;
3052 position: relative;
348c0499 3053 cursor: pointer;
e9c73590
RK
3054}
3055
990cba4b 3056.social-statusarea-user-portrait {
e9c73590
RK
3057 width: 32px;
3058 height: 32px;
3059 border-radius: 2px;
3060 margin: 10px;
e9c73590
RK
3061}
3062
990cba4b 3063.social-statusarea-loggedInStatus {
e9c73590
RK
3064 background: transparent;
3065 border: none;
b8384c33 3066 color: #3333FF;
e9c73590
RK
3067 min-width: 0;
3068 margin: 0 6px;
348c0499 3069 list-style-image: none;
e9c73590 3070}
90a244b7 3071
990cba4b 3072#social-statusarea-user[_moz-menuactive] > vbox > .social-statusarea-loggedInStatus {
e9c73590
RK
3073 text-decoration: underline;
3074}
3075
348c0499
RK
3076.social-panel > .panel-arrowcontainer > .panel-arrowcontent {
3077 padding: 0;
3078}
3079
348c0499
RK
3080.social-panel-frame {
3081 border-radius: inherit;
3082}
e9c73590
RK
3083
3084.chat-status-icon {
3085 max-height: 16px;
3086 max-width: 16px;
3087 padding: 0;
3088}
3089
3090.chat-toolbarbutton {
3091 -moz-appearance: none;
3092 border: none;
3093 padding: 0;
3094 margin: 0;
3095 background: none;
3096}
3097
3098.chat-toolbarbutton > .toolbarbutton-text {
3099 display: none;
3100}
3101
3102.chat-close-button {
e2734cc7 3103 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
348c0499 3104 -moz-image-region: rect(0, 14px, 14px, 0);
e9c73590
RK
3105}
3106
3107.chat-close-button:hover,
3108.chat-close-button:hover:active {
348c0499 3109 -moz-image-region: rect(14px, 14px, 28px, 0);
e9c73590
RK
3110}
3111
e2734cc7
RK
3112.chat-minimize-button {
3113 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3114 -moz-image-region: rect(0, 28px, 14px, 14px);
3115}
3116
3117.chat-minimize-button:hover:active,
3118.chat-minimize-button:hover {
3119 -moz-image-region: rect(14px, 28px, 28px, 14px);
3120}
3121
3122.chat-swap-button {
3123 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3124 -moz-image-region: rect(0, 42px, 14px, 28px);
3125}
3126
3127.chat-swap-button:hover:active,
3128.chat-swap-button:hover {
3129 -moz-image-region: rect(14px, 42px, 28px, 28px);
3130}
3131
3132chatbar > chatbox > .chat-titlebar > .chat-swap-button {
3133 list-style-image: url('chrome://browser/skin/social/chat-icons.png');
3134 -moz-image-region: rect(0, 56px, 14px, 42px);
3135}
3136
3137chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
3138chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
3139 -moz-image-region: rect(14px, 56px, 28px, 42px);
3140}
3141
e9c73590
RK
3142.chat-title {
3143 font-weight: bold;
3144 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
90a244b7 3145 text-shadow: none;
348c0499 3146 cursor: inherit;
e9c73590
RK
3147}
3148
3149.chat-titlebar {
3150 background-color: #9C9CFF;
3151 color: #000000;
3152 height: 20px;
fcfb76ce 3153 min-height: 16px;
e9c73590
RK
3154 width: 100%;
3155 margin: 0;
3156 padding: 2px;
348c0499 3157 -moz-padding-start: 6px;
e9c73590
RK
3158 border: none;
3159 border-bottom: 1px solid #008484;
348c0499 3160 cursor: pointer;
e9c73590
RK
3161}
3162
e2734cc7
RK
3163.chat-titlebar > .notification-anchor-icon {
3164 margin-left: 2px;
3165 margin-right: 2px;
3166}
3167
e9c73590
RK
3168.chat-titlebar[minimized="true"] {
3169 border-bottom: none;
3170}
3171
348c0499
RK
3172.chat-titlebar[selected] {
3173 background-color: #008484;
3174}
3175
3176.chat-titlebar[activity] {
3177 background-color: #E7ADE7;
3178}
3179
e9c73590
RK
3180.chat-frame {
3181 padding: 0;
3182 margin: 0;
3183 overflow: hidden;
3184}
3185
3186.chatbar-button {
ed1a91c6 3187 list-style-image: url("chrome://browser/skin/social/services-16.png");
e9c73590
RK
3188 background-color: #000000;
3189 border: none;
3190 margin: 0;
3191 padding: 2px;
3192 height: 21px;
3193 width: 21px;
3194 border-top: 1px solid #008484;
3195 -moz-border-end: 1px solid #008484;
3196}
3197
ed1a91c6
RK
3198@media (min-resolution: 2dppx) {
3199 .chatbar-button {
3200 list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
3201 }
3202}
3203
d7cfd768
RK
3204.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
3205 width: auto;
3206 height: auto;
e9c73590
RK
3207 max-height: 16px;
3208 max-width: 16px;
e9c73590
RK
3209}
3210
90a244b7
RK
3211.chatbar-button > .toolbarbutton-icon {
3212 opacity: .6;
3213 -moz-margin-end: 0;
3214}
3215.chatbar-button:hover > .toolbarbutton-icon,
3216.chatbar-button[open="true"] > .toolbarbutton-icon {
3217 opacity: 1;
3218}
3219
a6757852 3220.chatbar-button:hover,
90a244b7 3221.chatbar-button[open="true"] {
e9c73590
RK
3222}
3223
e9c73590
RK
3224.chatbar-button > .toolbarbutton-text,
3225.chatbar-button > .toolbarbutton-menu-dropmarker {
3226 display: none;
3227}
3228
90a244b7 3229.chatbar-button[activity]:not([open="true"]) {
348c0499
RK
3230 background-color: #E7ADE7;
3231}
3232
3233.chatbar-button > menupopup > menuitem[activity] {
3234 font-weight: bold;
3235}
3236
e9c73590
RK
3237.chatbar-innerbox {
3238 background: transparent;
90a244b7 3239 margin: -285px 0 0;
e9c73590
RK
3240 overflow: hidden;
3241}
3242
fcfb76ce
RK
3243chatbar {
3244 -moz-margin-end: 20px;
3245}
3246
e9c73590 3247chatbar > chatbox {
fcfb76ce
RK
3248 height: 285px;
3249 width: 260px;
3250 -moz-margin-start: 4px;
e9c73590
RK
3251 background-color: #000000;
3252 border: 1px solid #9C9CFF;
3253 border-bottom: none;
90a244b7
RK
3254 border-top-left-radius: 2.5px;
3255 border-top-right-radius: 2.5px;
e9c73590
RK
3256}
3257
fcfb76ce
RK
3258chatbox[minimized="true"] {
3259 width: 160px;
e9c73590 3260 height: 20px;
e9c73590 3261}
348c0499 3262
e2734cc7
RK
3263window > chatbox {
3264 -moz-margin-start: 0px;
3265 margin: 0px;
3266 border: none;
3267 padding: 0px;
3268}
3269
348c0499
RK
3270.click-to-play-plugins-notification-content {
3271 margin: -10px;
3272 border-radius: 4px;
3273}
3274
3275.click-to-play-plugins-notification-icon-box {
3276 background: #000000;
56419d62 3277 -moz-border-end: 1px solid #FF9F00;
348c0499
RK
3278 padding-top: 16px;
3279 -moz-padding-end: 16px;
3280 -moz-padding-start: 24px;
56419d62
RK
3281 -moz-margin-start: 4px;
3282 margin-top: 4px;
3283 margin-bottom: 4px;
348c0499
RK
3284}
3285
3286.click-to-play-plugins-notification-icon-box:-moz-locale-dir(ltr) {
3287 border-bottom-left-radius: 4px;
3288 border-top-left-radius: 4px;
3289}
3290
3291.click-to-play-plugins-notification-icon-box:-moz-locale-dir(rtl) {
3292 border-bottom-right-radius: 4px;
3293 border-top-right-radius: 4px;
3294}
3295
3296.click-to-play-plugins-notification-separator {
348c0499
RK
3297}
3298
3299.click-to-play-plugins-notification-description-box {
348c0499
RK
3300 padding-top: 12px;
3301 -moz-padding-end: 11px;
3302 padding-bottom: 9px;
3303 -moz-padding-start: 10px;
3304}
3305
3306.click-to-play-plugins-notification-center-box {
56419d62
RK
3307 border-top: 1px solid #FF9F00;
3308 border-bottom: 1px solid #FF9F00;
348c0499 3309 background-color: #000000;
56419d62 3310 -moz-margin-end: 4px;
348c0499
RK
3311}
3312
3313.click-to-play-plugins-notification-button-container {
348c0499
RK
3314 margin: 0px;
3315 padding: 16px;
3316}
3317
3318.center-item-box {
3319 padding: 12px 16px 0px 16px;
3320}
3321
3322.center-item-box[padbottom="true"] {
3323 padding-bottom: 12px;
3324}
3325
3326.center-item-icon {
3327 background-image: url("chrome://mozapps/skin/plugins/pluginGeneric-16.png");
3328 background-repeat: no-repeat;
3329 height: 16px;
3330 width: 16px;
3331 margin-bottom: 4px;
3332}
3333
3334.center-item-box[warn="true"] {
3335 background-color: #FFCF00;
3336 color: #000000;
3337 padding: 8px 16px 6px 16px;
3338}
3339
3340.center-item-box[padbottom="true"][warn="true"] {
3341 padding-bottom: 4px;
3342}
3343
3344.center-item-box[showseparator="true"] {
3345 border-top: 1px solid #9C9CFF;
3346}
3347
3348.center-item-box[warn="false"] > .center-item-warning {
3349 display: none;
3350}
3351
3352.center-item-warning > .text-link {
3353 color: #6868AA;
3354}
3355
3356.center-item-warning > .text-link[href=""] {
3357 display: none;
3358}
3359
3360.center-item-warning-icon {
3361 background-image: url("chrome://mozapps/skin/extensions/alerticon-info-negative.png");
3362 background-repeat: no-repeat;
3363 width: 16px;
3364 height: 15px;
3365 margin-bottom: 4px;
3366}
3367
3368.center-item-warning-description {
3369 color: #828282;
3370}
3371
3372.center-item-button {
3373 min-width: 0;
3374}
0142a07b
RK
3375
3376#main-window[privatebrowsingmode=temporary] #toolbar-menubar {
3377 background-image: url("chrome://browser/skin/privatebrowsing-dark.png");
3378 background-position: top right;
3379 background-repeat: no-repeat;
3380}
3381
3382#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) {
3383 background-position: top left;
3384}
3385
6adbc9a6 3386#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon {
0142a07b 3387 list-style-image: url("chrome://browser/skin/privatebrowsing-light.png");
6adbc9a6
RK
3388 width: 20px;
3389 height: 16px;
0142a07b 3390}