Bug 327977 ? Password manager overwrites page data for password-only forms. r=gavin
[wine-gecko.git] / toolkit / content / xul.css
bloba4125a313078bfbdadb3ae15106571f7a96c9982
1 /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
2 a particular application should be in that application's style sheet.
3 For example style definitions for navigator can be found in navigator.css
5 THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
6 CHANGES REVIEWED BY enndeakin@sympatico.ca
7 **/
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
10 @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
11 @namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
13 * {
14 -moz-user-focus: ignore;
15 -moz-user-select: -moz-none;
16 display: -moz-box;
19 :root {
20 text-rendering: optimizeLegibility;
23 /* hide the content and destroy the frame */
24 *[hidden="true"] {
25 display: none;
28 /* hide the content, but don't destroy the frames */
29 *[collapsed="true"],
30 *[moz-collapsed="true"] {
31 visibility: collapse;
35 /* ::::::::::
36 :: Rules for 'hiding' portions of the chrome for special
37 :: kinds of windows (not JUST browser windows) with toolbars
38 ::::: */
40 window[chromehidden~="menubar"] .chromeclass-menubar,
41 window[chromehidden~="directories"] .chromeclass-directories,
42 window[chromehidden~="status"] .chromeclass-status,
43 window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
44 window[chromehidden~="location"] .chromeclass-location,
45 window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
46 window[chromehidden~="toolbar"] .chromeclass-toolbar-additional
48 display: none;
51 /* ::::::::::
52 :: Rules for forcing direction for entry and display of URIs
53 :: or URI elements
54 ::::: */
56 .uri-element
58 direction: ltr !important;
61 /****** elements that have no visual representation ******/
63 script, data,
64 xbl|children,
65 commands, commandset, command,
66 broadcasterset, broadcaster, observes,
67 keyset, key, toolbarpalette, toolbarset,
68 template, rule, conditions, action,
69 bindings, binding, content, member, triple,
70 treechildren, treeitem, treeseparator, treerow, treecell {
71 display: none;
74 /********** focus rules **********/
76 button,
77 checkbox,
78 colorpicker[type="button"],
79 datepicker[type="grid"],
80 menulist,
81 radiogroup,
82 tree,
83 browser,
84 editor,
85 iframe {
86 -moz-user-focus: normal;
89 menulist[editable="true"] {
90 -moz-user-focus: ignore;
93 /******** window & page ******/
95 window,
96 page {
97 overflow: -moz-hidden-unscrollable;
98 -moz-box-orient: vertical;
101 /******** box *******/
103 vbox {
104 -moz-box-orient: vertical;
107 bbox {
108 -moz-box-align: baseline;
111 /********** button **********/
113 button {
114 -moz-binding: url("chrome://global/content/bindings/button.xml#button");
117 button[type="repeat"] {
118 -moz-binding: url("chrome://global/content/bindings/button.xml#button-repeat");
121 button[type="menu"] {
122 -moz-binding: url("chrome://global/content/bindings/button.xml#menu");
125 button[type="menu-button"] {
126 -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button");
129 /********** toolbarbutton **********/
131 toolbarbutton {
132 -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#toolbarbutton");
135 toolbarbutton[type="menu"] {
136 -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu");
139 toolbarbutton[type="menu-button"] {
140 -moz-binding: url("chrome://global/content/bindings/toolbarbutton.xml#menu-button");
143 /******** browser, editor, iframe ********/
145 browser,
146 editor,
147 iframe {
148 display: inline;
151 browser {
152 -moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
155 editor {
156 -moz-binding: url("chrome://global/content/bindings/editor.xml#editor");
159 iframe {
160 -moz-binding: url("chrome://global/content/bindings/general.xml#iframe");
163 /********** notifications **********/
165 notificationbox {
166 -moz-binding: url("chrome://global/content/bindings/notification.xml#notificationbox");
167 -moz-box-orient: vertical;
168 overflow-y: hidden;
171 notification {
172 -moz-binding: url("chrome://global/content/bindings/notification.xml#notification");
175 /********** image **********/
177 image {
178 -moz-binding: url("chrome://global/content/bindings/general.xml#image");
181 /********** checkbox **********/
183 checkbox {
184 -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
187 /********** radio **********/
189 radiogroup {
190 -moz-binding: url("chrome://global/content/bindings/radio.xml#radiogroup");
191 -moz-box-orient: vertical;
194 radio {
195 -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
198 /******** groupbox *********/
200 groupbox {
201 -moz-binding: url("chrome://global/content/bindings/groupbox.xml#groupbox");
202 display: -moz-groupbox;
205 caption {
206 -moz-binding: url("chrome://global/content/bindings/groupbox.xml#caption");
209 .groupbox-body {
210 -moz-box-pack: inherit;
211 -moz-box-align: inherit;
212 -moz-box-orient: vertical;
215 /******* toolbar *******/
217 toolbox {
218 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbox");
219 -moz-box-orient: vertical;
222 toolbar {
223 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar");
226 %ifdef XP_MACOSX
227 toolbar[type="menubar"] {
228 min-height: 0 !important;
229 border: 0 !important;
231 %endif
233 toolbarseparator {
234 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
237 toolbarspacer {
238 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
241 toolbarspring {
242 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbardecoration");
243 -moz-box-flex: 1000;
246 toolbarpaletteitem {
247 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem");
250 toolbarpaletteitem[place="palette"] {
251 -moz-box-orient: vertical;
252 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem-palette");
255 /********* menubar ***********/
257 menubar {
258 -moz-binding: url("chrome://global/content/bindings/toolbar.xml#menubar");
261 /********* menu ***********/
263 menubar > menu {
264 -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar");
267 menubar > menu.menu-iconic {
268 -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-menubar-iconic");
271 menu {
272 -moz-binding: url("chrome://global/content/bindings/menu.xml#menu");
275 menu.menu-iconic {
276 -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic");
279 menubar > menu:empty {
280 visibility: collapse;
283 /********* menuitem ***********/
285 menuitem {
286 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem");
289 menuitem.menuitem-iconic {
290 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
293 menuitem[description] {
294 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-desc-noaccel");
297 menuitem[type="checkbox"],
298 menuitem[type="radio"] {
299 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic");
302 menuitem.menuitem-non-iconic {
303 -moz-binding: url("chrome://global/content/bindings/menu.xml#menubutton-item");
306 %ifdef MOZ_WIDGET_GTK2
307 /********* detection of system setting to use icons in menus ***********/
308 menuitem:not([type]):not(:-moz-system-metric(images-in-menus)) > .menu-iconic-left {
309 visibility: hidden;
312 menu:not(:-moz-system-metric(images-in-menus)) > .menu-iconic-left {
313 visibility: hidden;
315 %endif
317 /********* menuseparator ***********/
319 menuseparator {
320 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuseparator");
323 /********* popup & menupopup ***********/
325 /* <popup> is deprecated. Only <menupopup> and <tooltip> are still valid. */
327 popup,
328 menupopup {
329 -moz-binding: url("chrome://global/content/bindings/popup.xml#popup");
330 -moz-box-orient: vertical;
333 panel {
334 -moz-binding: url("chrome://global/content/bindings/popup.xml#panel");
335 -moz-box-orient: vertical;
338 popup,
339 menupopup,
340 panel,
341 tooltip {
342 display: -moz-popup;
343 z-index: 2147483647;
346 tooltip {
347 -moz-binding: url("chrome://global/content/bindings/popup.xml#tooltip");
348 -moz-box-orient: vertical;
349 white-space: pre-wrap;
350 margin-top: 21px;
353 %ifdef XP_MACOSX
354 .statusbar-resizerpanel {
355 display: none;
357 %else
358 window[sizemode="maximized"] statusbarpanel.statusbar-resizerpanel {
359 visibility: collapse;
361 %endif
363 /********** floating popups **********/
366 titlebar {
367 -moz-binding: url("chrome://global/content/bindings/popup.xml#titlebar");
370 resizer[resizerdirection="right"] {
371 -moz-binding: url("chrome://global/content/bindings/popup.xml#ew-resizer");
374 resizer[resizerdirection="bottom"] {
375 -moz-binding: url("chrome://global/content/bindings/popup.xml#ns-resizer");
378 resizer[resizerdirection="bottomright"] {
379 -moz-binding: url("chrome://global/content/bindings/popup.xml#diag-resizer");
382 floatingwindow {
383 -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-normal");
384 -moz-box-orient: vertical;
385 display: none;
386 z-index: 2147483647;
389 floatingwindow[docked="left"] {
390 -moz-binding: url("chrome://global/content/bindings/popup.xml#floater-dock-left");
393 button.popupClose {
394 -moz-binding: url("chrome://global/content/bindings/popup.xml#close-button") !important;
397 /******** grid **********/
399 grid {
400 display: -moz-grid;
403 rows,
404 columns {
405 display: -moz-grid-group;
408 row,
409 column {
410 display: -moz-grid-line;
413 rows {
414 -moz-box-orient: vertical;
417 column {
418 -moz-box-orient: vertical;
421 /******** listbox **********/
423 listbox {
424 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listbox");
427 listhead {
428 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listhead");
431 listrows {
432 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listrows");
435 listitem {
436 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem");
439 listitem[type="checkbox"] {
440 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox");
443 listheader {
444 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listheader");
445 -moz-box-ordinal-group: 2147483646;
448 listcell {
449 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell");
452 listcell[type="checkbox"] {
453 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox");
456 .listitem-iconic {
457 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-iconic");
460 listitem[type="checkbox"].listitem-iconic {
461 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listitem-checkbox-iconic");
464 .listcell-iconic {
465 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-iconic");
468 listcell[type="checkbox"].listcell-iconic {
469 -moz-binding: url("chrome://global/content/bindings/listbox.xml#listcell-checkbox-iconic");
472 listbox {
473 display: -moz-grid;
476 listbox[rows] {
477 height: auto;
480 listcols, listhead, listrows, listboxbody {
481 display: -moz-grid-group;
484 listcol, listitem, listheaditem {
485 display: -moz-grid-line;
488 listbox {
489 -moz-user-focus: normal;
490 -moz-box-orient: vertical;
491 min-width: 0px;
492 min-height: 0px;
493 width: 200px;
494 height: 200px;
497 listhead {
498 -moz-box-orient: vertical;
501 listrows {
502 -moz-box-orient: vertical;
503 -moz-box-flex: 1;
506 listboxbody {
507 -moz-box-orient: vertical;
508 -moz-box-flex: 1;
509 /* Don't permit a horizontal scrollbar. See bug 285449 */
510 overflow-x: hidden !important;
511 overflow-y: auto;
512 min-height: 0px;
515 listcol {
516 -moz-box-orient: vertical;
517 min-width: 16px;
520 listcell {
521 -moz-box-align: center;
524 /******** tree ******/
526 tree {
527 -moz-binding: url("chrome://global/content/bindings/tree.xml#tree");
530 treecols {
531 -moz-binding: url("chrome://global/content/bindings/tree.xml#treecols");
534 treecol {
535 -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol");
536 -moz-box-ordinal-group: 2147483646;
539 treecol.treecol-image {
540 -moz-binding: url("chrome://global/content/bindings/tree.xml#treecol-image");
543 tree > treechildren {
544 display: -moz-box;
545 -moz-binding: url("chrome://global/content/bindings/tree.xml#treebody");
546 -moz-user-select: none;
547 -moz-box-flex: 1;
550 treerows {
551 -moz-binding: url("chrome://global/content/bindings/tree.xml#treerows");
554 treecolpicker {
555 -moz-binding: url("chrome://global/content/bindings/tree.xml#columnpicker");
558 tree {
559 -moz-box-orient: vertical;
560 min-width: 0px;
561 min-height: 0px;
562 width: 10px;
563 height: 10px;
566 tree[hidecolumnpicker="true"] > treecols > treecolpicker {
567 display: none;
570 treecol {
571 min-width: 16px;
574 treecol[hidden="true"] {
575 visibility: collapse;
576 display: -moz-box;
579 .tree-scrollable-columns {
580 /* Yes, Virginia, this makes it scrollable */
581 overflow: hidden;
584 /* ::::: lines connecting cells ::::: */
585 tree:not([treelines="true"]) > treechildren::-moz-tree-line {
586 visibility: hidden;
589 /********** deck & stack *********/
591 deck {
592 display: -moz-deck;
593 -moz-binding: url("chrome://global/content/bindings/general.xml#deck");
596 stack, bulletinboard {
597 display: -moz-stack;
600 /********** tabbox *********/
602 tabbox {
603 -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabbox");
604 -moz-box-orient: vertical;
607 tabs {
608 -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs");
609 -moz-box-orient: horizontal;
613 * XXXben - this looks like something added specifically for tabbrowser.
614 * if it turns out no one uses this that can't easily be evangelized to
615 * use their own roll-your-own binding, then we should get rid of this
616 * to tighten up the toolkit api. This binding made obsolete in Firefox
617 * by 308396.
619 tabs[closebutton="true"] {
620 -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabs-closebutton");
623 tab {
624 -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tab");
625 -moz-box-align: center;
626 -moz-box-pack: center;
629 tabpanels {
630 -moz-binding: url("chrome://global/content/bindings/tabbox.xml#tabpanels");
631 display: -moz-deck;
634 /********** progressmeter **********/
636 progressmeter {
637 -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter");
640 /********** basic rule for anonymous content that needs to pass box properties through
641 ********** to an insertion point parent that holds the real kids **************/
643 .box-inherit {
644 -moz-box-orient: inherit;
645 -moz-box-pack: inherit;
646 -moz-box-align: inherit;
647 -moz-box-direction: inherit;
650 /********** label **********/
652 description {
653 -moz-binding: url("chrome://global/content/bindings/text.xml#text-base");
656 label {
657 -moz-binding: url("chrome://global/content/bindings/text.xml#text-label");
660 label.text-link, label[onclick] {
661 -moz-binding: url("chrome://global/content/bindings/text.xml#text-link");
662 -moz-user-focus: normal;
665 label[control], label.radio-label, label.checkbox-label {
666 -moz-binding: url("chrome://global/content/bindings/text.xml#label-control");
669 html|span.accesskey {
670 text-decoration: underline;
673 /********** textbox **********/
675 textbox {
676 -moz-binding: url("chrome://global/content/bindings/textbox.xml#textbox");
677 -moz-user-select: text;
680 textbox[multiline="true"] {
681 -moz-binding: url("chrome://global/content/bindings/textbox.xml#textarea");
684 html|*.textbox-input {
685 -moz-appearance: none !important;
686 text-align: inherit;
689 html|*.textbox-textarea {
690 -moz-appearance: none !important;
693 .textbox-input-box {
694 -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box");
697 .textbox-input-box[spellcheck="true"] {
698 -moz-binding: url("chrome://global/content/bindings/textbox.xml#input-box-spell");
701 textbox[type="timed"] {
702 -moz-binding: url("chrome://global/content/bindings/textbox.xml#timed-textbox");
705 textbox[type="number"] {
706 -moz-binding: url("chrome://global/content/bindings/numberbox.xml#numberbox");
709 /********** autocomplete textbox **********/
711 /* thunderbird and Nvu don't use the new toolkit's autocomplete widget yet.... */
713 %ifdef MOZ_THUNDERBIRD
714 %define AUTOCOMPLETE_OLD_STYLE
715 %elifdef MOZ_STANDALONE_COMPOSER
716 %define AUTOCOMPLETE_OLD_STYLE
717 %elifdef MOZ_SUITE
718 %define AUTOCOMPLETE_OLD_STYLE
719 %endif
721 %ifdef AUTOCOMPLETE_OLD_STYLE
723 textbox[type="autocomplete"] {
724 -moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete");
727 panel[type="autocomplete"] {
728 -moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-result-popup");
731 .autocomplete-history-popup {
732 -moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-history-popup");
735 .autocomplete-treebody {
736 -moz-binding: url("chrome://global/content/autocomplete.xml#autocomplete-treebody");
739 .autocomplete-history-dropmarker {
740 -moz-binding: url("chrome://global/content/autocomplete.xml#history-dropmarker");
743 %else
745 textbox[type="autocomplete"] {
746 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete");
749 panel[type="autocomplete"] {
750 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-result-popup");
753 panel[type="autocomplete-richlistbox"] {
754 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-rich-result-popup");
757 .autocomplete-tree {
758 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-tree");
759 -moz-user-focus: ignore;
762 .autocomplete-treebody {
763 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treebody");
766 .autocomplete-richlistbox {
767 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistbox");
768 -moz-user-focus: ignore;
769 -moz-appearance: none;
772 .autocomplete-richlistbox > scrollbox {
773 overflow-x: hidden !important;
776 .autocomplete-richlistitem {
777 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-richlistitem");
778 -moz-box-orient: vertical;
779 overflow: -moz-hidden-unscrollable;
782 .autocomplete-treerows {
783 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#autocomplete-treerows");
786 .autocomplete-history-dropmarker {
787 display: none;
790 .autocomplete-history-dropmarker[enablehistory="true"] {
791 display: -moz-box;
792 -moz-binding: url("chrome://global/content/bindings/autocomplete.xml#history-dropmarker");
795 %endif
799 /* the C++ implementation of widgets is too eager to make popups visible.
800 this causes problems (bug 120155 and others), thus this workaround: */
801 popup[type="autocomplete"][hidden="true"] {
802 visibility: hidden;
805 /* The following rule is here to fix bug 96899 (and now 117952).
806 Somehow trees create a situation
807 in which a popupset flows itself as if its popup child is directly within it
808 instead of the placeholder child that should actually be inside the popupset.
809 This is a stopgap measure, and it does not address the real bug. */
810 .autocomplete-result-popupset {
811 max-width: 0px;
812 width: 0 !important;
815 /********** colorpicker **********/
817 colorpicker {
818 -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker");
821 colorpicker[type="button"] {
822 -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpicker-button");
825 .colorpickertile {
826 -moz-binding: url("chrome://global/content/bindings/colorpicker.xml#colorpickertile");
829 /********** menulist **********/
831 menulist {
832 -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist");
835 menulist[editable="true"] {
836 -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-editable");
839 menulist[type="description"] {
840 -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-description");
843 html|*.menulist-editable-input {
844 -moz-appearance: none !important;
845 background: transparent ! important;
848 menulist > menupopup > menuitem {
849 -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic-noaccel");
852 dropmarker {
853 -moz-binding: url("chrome://global/content/bindings/general.xml#dropmarker");
856 /********** splitter **********/
858 splitter {
859 -moz-binding: url("chrome://global/content/bindings/splitter.xml#splitter");
862 grippy {
863 -moz-binding: url("chrome://global/content/bindings/splitter.xml#grippy");
866 .tree-splitter {
867 width: 0px;
868 max-width: 0px;
869 min-width: 0% ! important;
870 min-height: 0% ! important;
871 -moz-box-ordinal-group: 2147483646;
874 /********** scrollbar **********/
876 /* Scrollbars are never flipped even if BiDI kicks in. */
877 scrollbar {
878 direction: ltr;
881 thumb {
882 -moz-binding: url(chrome://global/content/bindings/scrollbar.xml#thumb);
883 display: -moz-box !important;
886 .scale-thumb {
887 -moz-binding: url(chrome://global/content/bindings/scale.xml#scalethumb);
890 scrollbar, scrollbarbutton, scrollcorner, slider, thumb, scale {
891 -moz-user-select: none;
894 scrollcorner {
895 display: -moz-box !important;
898 scrollcorner[hidden="true"] {
899 display: none !important;
902 scrollbar[value="hidden"] {
903 visibility: hidden;
906 scale {
907 -moz-binding: url(chrome://global/content/bindings/scale.xml#scale);
910 .scale-slider {
911 -moz-binding: url(chrome://global/content/bindings/scale.xml#scaleslider);
912 -moz-user-focus: normal;
915 scrollbarbutton[sbattr="scrollbar-up-top"]:not(:-moz-system-metric(scrollbar-start-backward)),
916 scrollbarbutton[sbattr="scrollbar-down-top"]:not(:-moz-system-metric(scrollbar-start-forward)),
917 scrollbarbutton[sbattr="scrollbar-up-bottom"]:not(:-moz-system-metric(scrollbar-end-backward)),
918 scrollbarbutton[sbattr="scrollbar-down-bottom"]:not(:-moz-system-metric(scrollbar-end-forward)) {
919 display: none;
922 thumb[sbattr="scrollbar-thumb"]:-moz-system-metric(scrollbar-thumb-proportional) {
923 -moz-box-flex: 1;
926 /******** scrollbox ********/
928 scrollbox {
929 -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#scrollbox");
930 /* This makes it scrollable! */
931 overflow: hidden;
934 arrowscrollbox {
935 -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox");
938 arrowscrollbox[clicktoscroll="true"] {
939 -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#arrowscrollbox-clicktoscroll");
942 autorepeatbutton {
943 -moz-binding: url("chrome://global/content/bindings/scrollbox.xml#autorepeatbutton");
946 /********** statusbar **********/
948 statusbar
950 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbar");
951 %ifdef XP_MACOSX
952 padding-right: 14px;
953 %endif
956 statusbarpanel {
957 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel");
960 .statusbarpanel-iconic {
961 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic");
964 .statusbarpanel-iconic-text {
965 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-iconic-text");
968 .statusbarpanel-menu-iconic {
969 -moz-binding: url("chrome://global/content/bindings/general.xml#statusbarpanel-menu-iconic");
972 /********** spinbuttons ***********/
974 spinbuttons {
975 -moz-binding: url("chrome://global/content/bindings/spinbuttons.xml#spinbuttons");
978 .spinbuttons-button {
979 -moz-user-focus: ignore;
982 /********** stringbundle **********/
984 stringbundleset {
985 -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundleset");
986 visibility: collapse;
989 stringbundle {
990 -moz-binding: url("chrome://global/content/bindings/stringbundle.xml#stringbundle");
991 visibility: collapse;
994 /********** dialog **********/
996 dialog {
997 -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialog");
998 -moz-box-orient: vertical;
1001 dialogheader {
1002 -moz-binding: url("chrome://global/content/bindings/dialog.xml#dialogheader");
1005 /********* page ************/
1007 page {
1008 -moz-box-orient: vertical;
1011 /********** wizard **********/
1013 wizard {
1014 -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard");
1015 -moz-box-orient: vertical;
1016 width: 40em;
1017 height: 30em;
1020 wizardpage {
1021 -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizardpage");
1022 -moz-box-orient: vertical;
1023 overflow: auto;
1026 .wizard-header {
1027 -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-header");
1030 .wizard-buttons {
1031 -moz-binding: url("chrome://global/content/bindings/wizard.xml#wizard-buttons");
1034 /********** preferences ********/
1036 prefwindow {
1037 -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefwindow");
1038 -moz-box-orient: vertical;
1041 prefpane {
1042 -moz-binding: url("chrome://global/content/bindings/preferences.xml#prefpane");
1043 -moz-box-orient: vertical;
1046 prefwindow > .paneDeckContainer {
1047 overflow: hidden;
1050 prefpane > .content-box {
1051 overflow: hidden;
1054 prefwindow[type="child"] > .paneDeckContainer {
1055 overflow: -moz-hidden-unscrollable;
1058 prefwindow[type="child"] > prefpane > .content-box {
1059 -moz-box-flex: 1;
1060 overflow: -moz-hidden-unscrollable;
1063 preferences {
1064 -moz-binding: url("chrome://global/content/bindings/preferences.xml#preferences");
1065 visibility: collapse;
1068 preference {
1069 -moz-binding: url("chrome://global/content/bindings/preferences.xml#preference");
1070 visibility: collapse;
1073 radio[pane] {
1074 -moz-binding: url("chrome://global/content/bindings/preferences.xml#panebutton") !important;
1075 -moz-box-orient: vertical;
1076 -moz-appearance: none;
1077 -moz-box-align: center;
1080 prefwindow[chromehidden~="toolbar"] .chromeclass-toolbar
1082 display: none;
1085 /********** expander ********/
1087 expander {
1088 -moz-binding: url("chrome://global/content/bindings/expander.xml#expander");
1089 -moz-box-orient: vertical;
1093 /********** Rich Listbox ********/
1095 richlistbox {
1096 -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistbox');
1097 -moz-user-focus: normal;
1098 -moz-appearance: listbox;
1099 -moz-box-orient: vertical;
1102 richlistitem {
1103 -moz-binding: url('chrome://global/content/bindings/richlistbox.xml#richlistitem');
1106 richlistbox > listheader {
1107 -moz-box-ordinal-group: 1;
1110 /********** datepicker and timepicker ********/
1112 datepicker {
1113 -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker');
1116 datepicker[type="popup"] {
1117 -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-popup');
1120 datepicker[type="grid"] {
1121 -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#datepicker-grid');
1124 timepicker {
1125 -moz-binding: url('chrome://global/content/bindings/datetimepicker.xml#timepicker');
1129 /*********** findbar ************/
1130 findbar {
1131 -moz-binding: url('chrome://global/content/bindings/findbar.xml#findbar');