--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+.bookmarkitem\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+ }\r
+\r
+.bookmarkitem[menuactive="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+ }\r
+ \r
+.bookmarkfolder\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+ }\r
+\r
+.bookmarkfolder[menuactive="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+ }\r
+ \r
+.bookmarkfolder[open="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+ } \r
+\r
+.bookmarkfolder[open="true"][menuactive="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+ } \r
+ \r
+ \r
+treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+treeitem[status="new"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark,\r
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark,\r
+treeitem[container="true"][open="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+}\r
+\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark,\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark,\r
+treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark\r
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+}\r
+\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark,\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-bookmark {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif");\r
+}\r
+\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open.gif");\r
+}\r
+\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/iefavorite.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/article.gif");\r
+}\r
+\r
+treeitem > treerow > .treecell-bookmark {\r
+ list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
--- /dev/null
+\r
+\r
+.box-toolbar-group > box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ background-color : #FFFFFF;\r
+ padding : 1px;\r
+ margin : 0px 0px 0px 3px;\r
+ }\r
+ \r
+
\ No newline at end of file
--- /dev/null
+\r
+#navigator-throbber\r
+ {\r
+ list-style-image : url("chrome://global/skin/animthrob_single.gif");\r
+ min-width : 36px;\r
+ min-height : 36px;\r
+ vertical-align : middle;\r
+ padding : 1px;\r
+ margin : 2px 4px 2px 1px;\r
+ border : none;\r
+ cursor : pointer;\r
+ } \r
+\r
+#navigator-throbber[busy="true"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/animthrob.gif");\r
+ }\r
+ \r
+#navigator-throbber:hover:active\r
+ {\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+\r
+#navigator-throbber > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 0px;\r
+ }\r
+\r
+#navigator-throbber:hover > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+#navigator-throbber:hover:active > .button-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+#navigator-throbber > .button-internal-box > .button-text-container\r
+ {\r
+ display : none;\r
+ }
\ No newline at end of file
--- /dev/null
+\r
+/** Standard toolbar buttons\r
+ * class="button-toolbar"\r
+ **/\r
+ .button-toolbar\r
+ {\r
+ border : none;\r
+ margin : 0px;\r
+ -moz-border-radius : 0px;\r
+ color : black;\r
+ padding : 0px;\r
+ font : 3mm arial;\r
+ max-width : 10em;\r
+ }\r
+\r
+ .button-toolbar[toggled="true"]\r
+ {\r
+/* background-color : #EEEEEE; */\r
+ } \r
+ \r
+ .button-toolbar[disabled="true"],\r
+ .button-toolbar[disabled="true"]:hover,\r
+ .button-toolbar[disabled="true"]:hover:active\r
+ {\r
+ color : #9999CC;\r
+ }\r
+\r
+ .button-toolbar > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+ \r
+ .button-toolbar:hover > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+ \r
+ .button-toolbar:hover:active > .button-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 1px 0px 3px;\r
+ }\r
+\r
+ .button-toolbar[disabled="true"]:hover:active > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+\r
+ .button-toolbar:hover:active[home-dragover="true"] > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+ \r
+ .button-toolbar > .button-internal-box > .button-text-container\r
+ {\r
+ padding : 0px;\r
+ margin : 0px;\r
+ }\r
+ \r
+ .button-toolbar > .button-internal-box > .button-text-container > .button-text\r
+ {\r
+ padding : 0px;\r
+ padding-left : 1px;\r
+ margin : 0px;\r
+ }\r
+\r
+/** The largest type of toolbar buttons. In the Seamonkey implementation, \r
+ * these are only used in the navigation toolbar in the navigator package.\r
+ **/\r
+ \r
+ /* outer frame */\r
+ .button-toolbar-1\r
+ {\r
+ background-color : transparent;\r
+ color : #000000;\r
+ min-width : 36px;\r
+ min-height : 36px;\r
+ margin : 0px;\r
+ padding : 0px;\r
+ font-size : smaller;\r
+ border : none; \r
+ }\r
+\r
+/* internal frame */\r
+ .button-toolbar-1[disabled="true"] > .button-internal-box,\r
+ .button-toolbar-1[disabled="true"]:hover > .button-internal-box,\r
+ .button-toolbar-1[disabled="true"]:hover:active > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px;\r
+ }\r
+ \r
+ .button-toolbar-1 > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ vertical-align : middle;\r
+ }\r
+ \r
+ .button-toolbar-1:hover > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ vertical-align : middle;\r
+ }\r
+ \r
+ .button-toolbar-1:hover:active > .button-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ vertical-align : middle;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+ \r
+ .button-toolbar-1 > .button-internal-box > .button-text-container \r
+ {\r
+ display : none;\r
+ text-align : center;\r
+ }\r
+ \r
+/** Styles for the standard 'large' toolbar button, these buttons are used for\r
+ * toolbar buttons that are the most commonly used elements on a toolbar, e.g.\r
+ * 'GetMsg' in Mailnews or 'Send' in Mail/Compose.\r
+ **/\r
+ .button-toolbar-2\r
+ {\r
+ background-color : transparent;\r
+ color : #000000;\r
+ min-width : 32px;\r
+ min-height : 32px;\r
+ margin : 0px;\r
+ padding : 0px;\r
+ font-size : smaller;\r
+ border : none;\r
+ }\r
+ \r
+/* internal frame */\r
+ .button-toolbar-2 > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px; \r
+ vertical-align : middle;\r
+ }\r
+\r
+ .button-toolbar-2:hover > .button-internal-box\r
+ {\r
+ padding : 1px;\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+ .button-toolbar-2:hover:active > .button-internal-box\r
+ {\r
+ padding : 2px 0px 0px 2px;\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+ \r
+ .button-toolbar-2[disabled="true"] > .button-internal-box,\r
+ .button-toolbar-2[disabled="true"]:hover > .button-internal-box,\r
+ .button-toolbar-2[disabled="true"]:hover:active > .button-internal-box\r
+ {\r
+ padding : 1px;\r
+ border : 1px solid transparent;\r
+ }\r
+ \r
+/* text wrapper frame */\r
+ .button-toolbar-2 > .button-internal-box > .button-text-container \r
+ {\r
+ padding-top : 3px;\r
+ text-align : center;\r
+ }\r
+\r
+\r
+/** "Green" buttons, e.g. "Search"\r
+ * class="button-toolbar-3"\r
+ **/ \r
+\r
+ .button-toolbar-3 \r
+ {\r
+ margin : 0px 0px 0px 0px;\r
+ font-weight : bold;\r
+ background-color : #9999CC;\r
+ border : none\r
+ } \r
+\r
+ .button-toolbar-3[disabled="true"],\r
+ .button-toolbar-3[disabled="true"]:hover,\r
+ .button-toolbar-3[disabled="true"]:hover:active \r
+ {\r
+ border : none;\r
+ color : #CCCCCC;\r
+ }\r
+ \r
+ .button-toolbar-3 > .button-internal-box,\r
+ {\r
+ border : 1px outset #9999CC;\r
+ padding : 1px;\r
+ }\r
+ \r
+ .button-toolbar-3:hover:active > .button-internal-box,\r
+ {\r
+ border : 1px inset #9999CC;\r
+ padding : 2px 0px 0px 2px;\r
+ } \r
+\r
+/** Expanding Region Button **/\r
+\r
+/* outer frame */\r
+ button.expander\r
+ {\r
+ border : none;\r
+ padding : none;\r
+/* margin : 1px 5px 3px 1px; */\r
+ background-color : inherit;\r
+ list-style-image : url("chrome://global/skin/closedtwisty.gif");\r
+ }\r
+ \r
+ button[open="true"].expander \r
+ {\r
+ list-style-image : url("chrome://global/skin/opentwisty.gif");\r
+ }\r
+ \r
+/* internal frame */\r
+ button.expander > .button-internal-box\r
+ {\r
+ border : none;\r
+ background-color : inherit;\r
+ padding : none;\r
+ margin : none;\r
+ }\r
+\r
+/* text frame */\r
+ button.expander > .button-internal-box > .button-text-container > .button-text\r
+ {\r
+ color : #0000FF;\r
+ text-decoration : underline;\r
+ }\r
+ \r
+ button.expander:hover > .button-internal-box > .button-text-container > .button-text\r
+ {\r
+ color : #FF0000;\r
+ }\r
+\r
+/** \r
+ * button styles for taskbar, sidebar headers, etc.\r
+ **/\r
+.button-toolbar-4\r
+ {\r
+ color : #CCCCFF;\r
+ background : inherit;\r
+ font : inherit;\r
+ border : none;\r
+ padding : 1px;\r
+ margin : 0px;\r
+ }\r
+\r
+.button-toolbar-4:hover \r
+ {\r
+ text-decoration : none;\r
+ background-color : #9999CC;\r
+ }\r
+\r
+.button-toolbar-4:hover:active \r
+ {\r
+ text-decoration : none;\r
+ color : #000000;\r
+ background-color : #CCCCFF;\r
+ }\r
+ \r
+menubutton.button-toolbar-4\r
+ {\r
+ -moz-binding : url("chrome://global/content/menulistBindings.xml#menubutton-single-right");\r
+ }\r
+\r
+.button-toolbar-4 > .menubutton-internal-box > .menubutton-single-icon\r
+ {\r
+ list-style-image : url(chrome://global/skin/mb-single-arrow.gif);\r
+ margin-left : 4px;\r
+ }\r
+\r
+.button-toolbar-4 > .button-internal-box,\r
+.button-toolbar-4 > .menubutton-internal-box,\r
+.button-toolbar-4:hover:active > .button-internal-box,\r
+.button-toolbar-4 > .button-internal-box:hover:active\r
+ {\r
+ border : none;\r
+ padding : 0px;\r
+ padding-left : 2px;\r
+ }
\ No newline at end of file
--- /dev/null
+/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of\r
+ a particular application should be in that application's style sheet.\r
+ For example style definitions for navigator can be found in navigator.css\r
+\r
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
+ CHANGES REVIEWED BY hyatt@netscape.com.\r
+**/\r
+\r
+@import url(chrome://global/skin/);\r
+\r
+@import url(chrome://communicator/skin/box.css);\r
+@import url(chrome://communicator/skin/toolbar.css);\r
+@import url(chrome://communicator/skin/button.css);\r
+@import url(chrome://communicator/skin/brand.css);\r
+@import url(chrome://communicator/skin/menu.css);\r
+@import url(chrome://communicator/skin/menubutton.css);\r
+@import url(chrome://communicator/skin/splitter.css);\r
+@import url(chrome://communicator/skin/formatting.css);\r
+@import url(chrome://communicator/skin/prefpanels.css);\r
+\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */\r
+\r
+#offline-status[offline="true"]\r
+ {\r
+ list-style-image: url("chrome://communicator/skin/offline.gif");\r
+ }\r
+\r
+#offline-status\r
+ {\r
+ list-style-image: url("chrome://communicator/skin/online.gif");\r
+ }\r
+\r
+.up {\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down {\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}
\ No newline at end of file
--- /dev/null
+/** \r
+ * Small Dialog Header (without icon)\r
+ **/\r
+.box-smallheader \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#smallheader);\r
+ border : 1px inset #CCD0DD;\r
+ margin : 0px 5px 6px 5px;\r
+ }\r
+\r
+.toolbar-primary\r
+ {\r
+ padding : 0px 0px 3px 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+.box-smallheader-left \r
+ {\r
+ font-size : larger;\r
+ font-weight : bold;\r
+ color : #FFFFFF;\r
+ padding-left : 6px;\r
+ }\r
+\r
+.box-smallheader-right \r
+ {\r
+ color : #FFFFFF;\r
+ padding-right : 6px;\r
+ }\r
+\r
+.box-smallheader > .toolbar-primary \r
+ {\r
+ background-color : #666699;\r
+ vertical-align : middle;\r
+ padding-top : 3px;\r
+ }\r
+\r
+/** \r
+ * Large Dialog Header (with icon) \r
+ **/\r
+.box-header \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#largeheader);\r
+ }\r
+\r
+.box-header-header \r
+ {\r
+ padding : 0px 0px 4px 5px;\r
+ min-height : 34px;\r
+ }\r
+\r
+.box-header-text-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+\r
+.box-header-text \r
+ {\r
+ color : white;\r
+ font-size : large;\r
+ font-weight : bold;\r
+ text-decoration : underline;\r
+ }\r
+\r
+.box-header-icon-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+.box-header-circle \r
+ {\r
+ background-color : transparent;\r
+ min-width : 28px;\r
+ margin : 1px 7px 1px 1px;\r
+ height : 28px;\r
+ width : 28px;\r
+ } \r
+\r
+/**\r
+ * Dialog status line (blue) including progress area\r
+ **/\r
+.box-status \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#status);\r
+ }\r
+\r
+.box-status-bg \r
+ {\r
+ padding : 1px 5px 1px 5px;\r
+ min-height : 0px ! important;\r
+ }\r
+\r
+.box-status-text, .box-status-progress\r
+ {\r
+ color : #9999cc ! important;\r
+ }\r
+\r
+ \r
+/** \r
+ * Utility classes for use when combined headers/footers are used\r
+ **/\r
+/* display area framed container */\r
+#contentarea \r
+ {\r
+ border-top : 2px groove #CCD0DD;\r
+ border-bottom : 2px groove #CCD0DD;\r
+ padding : 7px;\r
+ }\r
+\r
+/* top border on status area */\r
+#wizardButtons \r
+ {\r
+ border-bottom : 1px outset #CCD0DD;\r
+ padding-top : 1px;\r
+ padding-bottom : 1px;\r
+ }\r
+\r
+\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the directory listing window.\r
+\r
+*/\r
+\r
+/* Hide twisty for files */\r
+.treecell-indent[type="FILE"] > .tree-cell-twisty \r
+ {\r
+ list-style-image : none;\r
+ }\r
+\r
+.treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-icon.gif");\r
+ } \r
+ \r
+treeitem[selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif");\r
+ }\r
+ \r
+treeitem[container="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif");\r
+ }\r
+treeitem[container="true"][selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif");\r
+ }\r
+treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif");\r
+ }\r
+ \r
+ \r
+/* Show an animated icon when a directory/symlink is loading */\r
+treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty,\r
+treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty\r
+ {\r
+ list-style-image : url("chrome://global/skin/loading.gif");\r
+ }\r
+\r
+/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */\r
+.treecell-filename[type="SYMBOLIC-LINK"] \r
+ {\r
+ color : inherit;\r
+ text-decoration : inherit;\r
+ font-style : italic;\r
+ }\r
+\r
--- /dev/null
+\r
+/* class for text with a 'link' appearance */\r
+.text-link\r
+ {\r
+ color : #666699;\r
+ text-decoration : underline;\r
+ }\r
+ \r
+.text-link:hover\r
+ {\r
+ color : #333366;\r
+ } \r
+ \r
+.text-link:hover:active\r
+ {\r
+ color : #990000;\r
+ }
\ No newline at end of file
--- /dev/null
+box#taskbarMenuBox > menubutton\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up.gif");\r
+ }\r
+\r
+box#taskbarGotoMenuBox > menubutton\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up.gif");\r
+ }\r
--- /dev/null
+\r
+/** Styles applying to items in a button-toolbar-3 style menu\r
+ * menuitem class="button-toolbar-3"\r
+ **/\r
+ .button-toolbar-3 > .menubutton-icon-internal-box\r
+ {\r
+ border : 1px outset #9999CC;\r
+ }\r
+\r
+ .button-toolbar-3[open="true"] > .menubutton-icon-internal-box,\r
+ .button-toolbar-3:hover:active > .menubutton-icon-internal-box\r
+ {\r
+ border : 1px inset #9999CC;\r
+ }\r
+ \r
+ menupopup.button-toolbar-3 \r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ menuitem.button-toolbar-3 \r
+ {\r
+ font-weight : normal;\r
+ }\r
+ \r
+ .button-toolbar-3[menuactive="true"]\r
+ {\r
+ background-color : #666699;\r
+ color : #FFFFFF;\r
+ font-weight : normal;\r
+ } \r
+ \r
+/** menubuttons on generic grey toolbars\r
+ * class="button-toolbar"\r
+ **/ \r
+ .button-toolbar > .menubutton-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+\r
+\r
+ .button-toolbar:hover > .menubutton-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+\r
+ .button-toolbar[open="true"] > .menubutton-internal-box,\r
+ .button-toolbar:hover:active > .menubutton-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 1px 0px 3px;\r
+ }\r
+\r
+/** \r
+ * Navigation bar style menubuttons \r
+ **/\r
+\r
+.menubutton-dual.toolbar\r
+ {\r
+ font-size : smaller;\r
+ }\r
+\r
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box > .button-text-container \r
+ {\r
+ padding-top : 3px;\r
+ text-align : center;\r
+ }\r
+\r
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px;\r
+ }\r
+\r
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px;\r
+ }\r
+\r
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+\r
+\r
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px;\r
+ }\r
+\r
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px;\r
+ }\r
+\r
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px;\r
+ }\r
+\r
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+\r
+\r
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px solid transparent;\r
+ padding : 1px;\r
+ }\r
+\r
+menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+/* padding-bottom : 17px; */\r
+ padding-bottom : 24px; \r
+ }
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="xulBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <binding id="menubutton-dual-foo">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:stack>\r
+ <xul:button class="menubutton-dual-button button-toolbar-1 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:stack>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-dual-blue">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="menubutton-dual-button button-toolbar-1 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-dual-standard">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="menubutton-dual-button button-toolbar-2 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-ubhist" extends="xul:menubutton">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="button-toolbar-3">\r
+ <xul:box class="button-internal-box">\r
+ <xul:image inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:button>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+/********** Fonts ***************/\r
+\r
+#sizeVar, #sizeMono {\r
+ width: 4em;\r
+}\r
+\r
+#mouseWheelMode {\r
+ width: 9em;\r
+}\r
+\r
+/******* SmartBrowsing **********/\r
+\r
+#disabledDomains {\r
+ max-height: 13em;\r
+}\r
--- /dev/null
+\r
+#finishtext {\r
+ margin-top : -20px;\r
+}\r
+\r
+text#ProfileDir {\r
+ font-weight : bold;\r
+ padding-left : 1em;\r
+ margin-top : 0.4em;\r
+}\r
+\r
+box#dirbox > box > titledbutton {\r
+ min-width : 8em;\r
+}\r
+\r
+span#deffoldername {\r
+ margin-left : 2px;\r
+} \r
--- /dev/null
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributors:\r
+ * Ben Goodger <ben@netscape.com>\r
+ * Chris Nelson <chrisn@statecollege.com>\r
+ *\r
+ */\r
+\r
+@import url(chrome://global/skin/global.css);\r
+\r
+window.dialog {\r
+ padding: none;\r
+}\r
+\r
+.dimmed-highcontrast {\r
+ color: #99cccc ! important;\r
+} \r
+\r
+/** icon courtesy of chris nelson, chrisn@statecollege.com **/\r
+treeitem[rowMigrate="no"] > treerow > treecell > .tree-button {\r
+ list-style-image: url("chrome://communicator/skin/profile/migrate.gif");\r
+}\r
+\r
+box[type="largeheader"] > toolbar > .circle {\r
+ list-style-image: url("chrome://communicator/skin/profile/profileicon-large.gif");\r
+ margin-top: 1px;\r
+ margin-bottom: 1px; \r
+ height: 28px;\r
+ width: 28px;\r
+}\r
+\r
+/* profile selection dialog */\r
+html#intro {\r
+ width: 17em;\r
+}\r
+\r
+box#managebuttons > button {\r
+ min-width: 8em;\r
+}\r
+\r
+/* display area */\r
+box#contentarea {\r
+ border-top: 2px groove #CCCCCC;\r
+ border-bottom: 2px groove #CCCCCC;\r
+ padding: 7px;\r
+}\r
+\r
+/* top border on status area */\r
+box#wizardButtons {\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+box.selection {\r
+ margin-top: 4px;\r
+}\r
--- /dev/null
+#dialoginfo {\r
+ width: 36em;\r
+}\r
+\r
+#table-housing {\r
+ background-color: white;\r
+ height: 100%;\r
+}\r
+\r
+#buttons-box {\r
+ margin-left: 1em;\r
+}\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the registry viewer window.\r
+\r
+*/\r
+\r
+@import url(chrome://global/skin);\r
--- /dev/null
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the related links panel\r
+\r
+*/\r
+\r
+treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-indent\r
+{\r
+ list-style-image : url("chrome://global/skin/loading.gif") ! important ;\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+ }\r
+\r
+treeitem[container="true"][selected="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/related/sitemap.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/related/sitemap.gif");\r
+ }\r
+\r
+.treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+ }\r
+\r
+.treecell-indent[selected="true"] \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+ }\r
+\r
+.tree-cell-twisty\r
+ {\r
+ display : none;\r
+ }\r
+ \r
--- /dev/null
+treecol[sortActive="true"] {\r
+ background-color: lightgray;\r
+}\r
+\r
+treeitem[container="true"][open="true"][loading="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/ieFavorite.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");\r
+}\r
+\r
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/article.gif");\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");\r
+}\r
+\r
+treeitem[container="true"] > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");\r
+}\r
+\r
+treeitem > treerow > treecell > titledbutton {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif");\r
+}\r
+\r
+titledbutton#bookmarks {\r
+ list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
--- /dev/null
+/* Default Icon */\r
+\r
+titledbutton[loading="true"] {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+titledbutton.iconic {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif");\r
+}\r
--- /dev/null
+tree[id="searchengines"] {\r
+ width: 300px;\r
+}\r
+\r
+tree[id="searchengines"] > treecol[id="CheckboxColumn"] {\r
+ width: 40px;\r
+}\r
+\r
+treecol[sortActive="true"] {\r
+ background-color: lightgray;\r
+}\r
--- /dev/null
+window {\r
+ margin-top: 2px;\r
+}\r
+\r
+#multi-results-header {\r
+ background-color: #003366; \r
+ color: #CCFFFF; \r
+ font-weight: bold;\r
+ padding: 1px 4px 3px 6px;\r
+ -moz-border-radius: 8px 0px 0px 0px;\r
+}\r
+\r
+#engineTabs {\r
+ /*don't know why its not setting the color*/\r
+ background-color: #666666;\r
+}\r
+\r
+#engineTabs > text {\r
+ margin-top: 5px;\r
+ color: white;\r
+}\r
+\r
+#engineTabs > titledbutton {\r
+ -moz-border-radius: 8px 8px 0px 0px;\r
+ margin-left: 5px;\r
+ margin-right: 5px;\r
+}
\ No newline at end of file
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+.up\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"]\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down\r
+{\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"]\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}\r
+\r
+#add-button\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-right.gif");\r
+ }\r
+ \r
+#remove-button\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-left.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+box.sidebartitle {\r
+ background-color: #505888;\r
+ padding: 2px 3px 3px 3px;\r
+ border: 0px;\r
+ margin: 0px;\r
+ font: 10pt sans-serif;\r
+}\r
+\r
+box.panelbar {\r
+ background-color: #006870;\r
+ padding: 2px 3px 3px 3px;\r
+ border: 0px;\r
+ margin: 0px;\r
+ font: 10pt sans-serif;\r
+}\r
+\r
+box#sidebox {\r
+ width: 100%;\r
+ height: 100%;\r
+}\r
+\r
+titledbutton.sidebartitle:hover { \r
+ border: 0px;\r
+ margin: 1px; \r
+}\r
+\r
+titledbutton.paneltitle { \r
+ horizontal-align: left;\r
+}\r
+\r
+treecol.checkboxColumn {\r
+ width: 30px ! important;\r
+}\r
+\r
+box.spaced { \r
+ padding-top: 5px;\r
+ paddimg-bottom: 2px;\r
+}\r
+\r
+box#engineTabs {\r
+ background-color: #808080;\r
+ border-bottom: 1px solid threedhighlight;\r
+}\r
+\r
+box#engineTabs > titledbutton {\r
+ background-color: #CCCCCC;\r
+ margin-bottom: 0px;\r
+ border-bottom: 1px solid #CCCCCC;\r
+}\r
+\r
+titledbutton#allEngines {\r
+ margin-right: 12px;\r
+}\r
+\r
+titledbutton.engine[loading="true"] {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+titledbutton.iconic {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif") ! important ;\r
+}\r
+\r
+treeitem > treerow.searchresult > treecell > titledbutton {\r
+ cursor: pointer;\r
+}\r
+\r
+treeitem > treerow.searchresult > treecell {\r
+ color: black;\r
+ text-decoration: none;\r
+}\r
+\r
+treeitem > treerow.searchresult > treecell:hover {\r
+ color: blue;\r
+ text-decoration: underline;\r
+}\r
+\r
+treeitem > treerow.searchresult > treecell > titledbutton:active {\r
+ color: red;\r
+ text-decoration: underline;\r
+}\r
+\r
+/*undo regular search tree selection look*/\r
+treeitem[selected="true"] > treerow.searchresult { \r
+ background-color: transparent;\r
+}\r
+\r
+\r
+\r
+.searchpanel-outerbox {\r
+ padding: 8px 4px 4px 4px;\r
+}\r
+\r
+.indented-label {\r
+ padding-left: 8px;\r
+}\r
+\r
+titledbutton.panelbtn {\r
+ margin-left: 1em; \r
+ margin-right: 1em; \r
+}\r
+\r
+#searchengines\r
+ {\r
+ margin-left : 0px;\r
+ margin-right : 0px;\r
+ }\r
+ \r
+
\ No newline at end of file
--- /dev/null
+#security-button \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/unlock.gif");\r
+ }\r
+\r
+#security-button[level="high"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="low"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="broken"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/broken.gif"); \r
+ }\r
+\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the Customize dialog.\r
+\r
+*/\r
+\r
+/* These rules apply appropriate images to the 'reorder' buttons */\r
+.up {\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down {\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}\r
+\r
+.treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+.treecell-panel[selected="true"]\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+}\r
+\r
+.treecell-panel[haslink="true"],\r
+treeitem[container="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+}\r
+treeitem[selected="true"] > treerow > .treecell-panel[haslink="true"],\r
+treeitem[selected="true"][container="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+}\r
+treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+}\r
+\r
+#header {\r
+ list-style-image: url("chrome://communicator/skin/sidebar/sidebar-icon.gif");\r
+}\r
+\r
+.tree-cell-twisty {\r
+ display: none !important;\r
+}\r
+\r
+box#reorder {\r
+ text-align: center;\r
+}\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+ Style rules specific to the Preview dialog.\r
+*/\r
+\r
+iframe#previewframe {\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+ width: 162px;\r
+ height: 300px;\r
+ border: none;\r
+ margin: 0px;\r
+}\r
+\r
+\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Mozilla Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/MPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corp. Portions created by Netscape Communications\r
+ * Corp. are Copyright (C) 1999 Netscape Communications Corp. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): Stephen Lamm <slamm@netscape.com>\r
+ */\r
+ \r
+/*\r
+#sidebar-splitter {\r
+ margin-right: 0px;\r
+ margin-top: 0px;\r
+ padding: 0px;\r
+ border: none;\r
+ min-width: 10px;\r
+ border-left: 1px solid #9999CC;\r
+ border-right: 1px solid #9999CC;\r
+ background-color: #CCD0DD;\r
+ -moz-binding: url("chrome://communicator/skin/sidebar/sidebarSplitterBindings.xml#sidebar-splitter");\r
+}\r
+*/\r
+\r
+/*\r
+#sidebar-status-grippy {\r
+ padding: 2px 2px 2px 0px;\r
+ background-color: #CCD0DD;\r
+ background-image:\r
+ url("chrome://communicator/skin/sidebar/sidebar-open.gif"); \r
+}\r
+#sidebar-status-grippy:hover {\r
+ background-image:\r
+ url("chrome://communicator/skin/sidebar/sidebar-open-hover.gif"); \r
+}\r
+#sidebar-status-grippy[open="true"] {\r
+ background-image:\r
+ url("chrome://communicator/skin/sidebar/sidebar-close.gif"); \r
+}\r
+#sidebar-status-grippy[open="true"]:hover {\r
+ background-image:\r
+ url("chrome://communicator/skin/sidebar/sidebar-close-hover.gif"); \r
+}\r
+*/\r
+\r
+/**/\r
+\r
+#sidebar-box {\r
+ margin-top: 0px;\r
+ border: none;\r
+ border-bottom: 0px solid #CCD0DD;\r
+}\r
+\r
+.text-panel-loading {\r
+ margin: 5px 0px;\r
+}\r
+.image-panel-loading {\r
+ margin: 5px;\r
+ list-style-image: url("chrome://global/skin/loading.gif"); \r
+}\r
+\r
+/*\r
+ * Sidebar and Panel title buttons\r
+ */\r
+.sidebarheader-main {\r
+ color: #CCD0DD;\r
+ background-color: #666699;\r
+ border: 0px !important;\r
+ padding-left: 4px;\r
+}\r
+.sidebarheader-main > .sidebar-header-text {\r
+ font-weight: bold;\r
+ margin: 2px;\r
+}\r
+\r
+#sidebar-panel-picker > .menubutton-internal-box > .menubutton-single-icon\r
+ {\r
+ list-style-image : url(chrome://global/skin/mb-single-arrow-right.gif);\r
+ }\r
+\r
+/**\r
+ * texttab folder lookalike e.g. for sidebar panel headers\r
+ */\r
+ .box-texttab\r
+ {\r
+ -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab");\r
+ background-color : #CCD0DD;\r
+ padding-top : 2px;\r
+ }\r
+\r
+ .box-texttab[selected="true"] \r
+ {\r
+ border-bottom : 1px solid #FFFFFF;\r
+ } \r
+ \r
+ .box-texttab[top-panel="true"]\r
+ {\r
+ background-color : #666699;\r
+ }\r
+ \r
+ .box-texttab[first-panel-after-selected="true"] \r
+ {\r
+ background-color : #FFFFFF;\r
+ }\r
+\r
+ .box-texttab-right-space \r
+ {\r
+ width : 30px;\r
+ border-bottom : 1px solid #000000;\r
+ }\r
+\r
+ .box-texttab[last-panel="true"] > .box-texttab-right-space \r
+ {\r
+ border-bottom : none;\r
+ }\r
+\r
+ .box-texttab[last-panel="true"][selected="true"] > .box-texttab-right-space \r
+ {\r
+ border-bottom : 1px solid #000000;\r
+ } \r
+\r
+ .box-texttab-left\r
+ {\r
+ list-style-image : url("chrome://global/skin/tab-leftedge.gif");\r
+ }\r
+\r
+ .box-texttab-right\r
+ {\r
+ list-style-image : url("chrome://global/skin/tab-rightedge.gif");\r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-left\r
+ {\r
+ list-style-image : url("chrome://global/skin/seltab-leftedge.gif");\r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-right\r
+ {\r
+ list-style-image : url("chrome://global/skin/seltab-rightedge.gif");\r
+ }\r
+\r
+ .box-texttab-text-container\r
+ {\r
+ border-top : 1px solid #000000;\r
+ background-color : #CCD0DD;\r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-text-container\r
+ {\r
+ background-color : #FFFFFF;\r
+ font-weight : bold;\r
+ }\r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="buttonBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="sidebar-panel-header">\r
+ <content>\r
+ <xul:box class="sidebar-panel-header-box" flex="1" autostretch="never" valign="middle">\r
+ <xul:text class="sidebar-panel-header-text" inherits="value,accesskey,crop" crop="right"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="sidebarSplitterBindings.xml"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="sidebar-splitter" extends="xul:splitter">\r
+ <content excludes="observes,template">\r
+ <xul:box autostretch="never" halign="right">\r
+ <xul:image class="sidebar-splitter-topright-cap"/>\r
+ </xul:box>\r
+ <xul:spring flex="1"/>\r
+ <xul:box>\r
+ <children/>\r
+ </xul:box>\r
+ <xul:spring flex="1"/>\r
+ <xul:box autostretch="never" halign="right">\r
+ <xul:image class="sidebar-splitter-bottomright-cap"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+/******* Splitters *******/\r
+\r
+splitter {\r
+ border: none;\r
+ cursor: e-resize;\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+}\r
+\r
+splitter[state="dragging"]\r
+{\r
+ background-color: gray;\r
+}\r
+\r
+grippy {\r
+ margin: 0px;\r
+ border: 1px outset #CCD0DD;\r
+ padding: 0px;\r
+ background-color: #CCCCCC;\r
+ background-image: url("chrome://global/skin/grippy-vertical-before.gif"); \r
+ background-repeat: no-repeat;\r
+ background-position: 50% 50%;\r
+ cursor: pointer;\r
+}\r
+\r
+splitter[state="collapsed"] > grippy\r
+ {\r
+ background-image : url("chrome://global/skin/grippy-vertical-after.gif");\r
+ }\r
+\r
+grippy:hover\r
+ {\r
+ background-color : #99CCFF;\r
+ }\r
+\r
+grippy:hover:active{\r
+ background-color: #99CCFF;\r
+}\r
+\r
+box[orient="vertical"] > splitter > grippy,\r
+window[orient="vertical"] > splitter > grippy {\r
+ /* a horizontal splitter */\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+ width: 120px;\r
+ height:8px;\r
+ }\r
+\r
+box[orient="vertical"] > splitter[state="collapsed"] > grippy\r
+window[orient="vertical"] > splitter[state="collapsed"] > grippy {\r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+ }\r
+\r
+window > splitter > grippy,\r
+box > splitter > grippy {\r
+ /* a vertical splitter */\r
+ width: 8px;\r
+ height: 120px;\r
+}\r
+\r
+box[orient="vertical"] > splitter,\r
+window[orient="vertical"] > splitter,\r
+rows > splitter {\r
+ /* a vertical splitter */\r
+ cursor: n-resize;\r
+}\r
+\r
+/* for backwards compatibility */\r
+box[align="vertical"]>splitter > grippy,\r
+window[align="vertical"]>splitter > grippy {\r
+ /* a horizontal splitter */\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+ width: 120px;\r
+ height: 8px;\r
+}\r
+\r
+box[align="vertical"]>splitter[state="collapsed"] > grippy,\r
+window[align="vertical"]>splitter[state="collapsed"] > grippy {\r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+}\r
+\r
+box[align="vertical"]>splitter,\r
+window[align="vertical"]>splitter {\r
+ /* a vertical splitter */\r
+ cursor: n-resize;\r
+}\r
+\r
+/**\r
+ * gray horizontal splitter for pane views\r
+ */\r
+splitter.gray-horizontal-splitter { \r
+ min-height: 8px;\r
+ background-color: #CCD0DD;\r
+ border: none;\r
+ border-top: 1px solid #9999CC;\r
+ border-bottom: 1px solid #9999CC;\r
+ padding: 0px;\r
+}\r
+\r
+splitter.gray-horizontal-splitter > grippy { \r
+ margin: 0px;\r
+ border: 1px outset #CCD0DD;\r
+ padding: 0px;\r
+ background-color: #CCCCCC;\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+}\r
+\r
+splitter.gray-horizontal-splitter[state="collapsed"] > grippy { \r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+}\r
+\r
+splitter.gray-horizontal-splitter > grippy:hover { \r
+ background-color: #99CCFF;\r
+}\r
+\r
+splitter.gray-horizontal-splitter > grippy:active { \r
+ border: 1px inset #CCD0DD;\r
+ background-color: #99CCFF;\r
+}\r
+\r
+/*\r
+splitter.gray-horizontal-splitter > #begincap { \r
+ min-width: 8px;\r
+ width: 8px;\r
+ background-image: url("chrome://global/skin/gray-bottomleft.gif");\r
+ background-repeat: no-repeat;\r
+ background-position: 0% 100%;\r
+}\r
+\r
+splitter.gray-horizontal-splitter > #endcap { \r
+ min-width: 8px;\r
+ width: 8px;\r
+}\r
+*/
\ No newline at end of file
--- /dev/null
+#mini-nav \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-navigator.gif");\r
+ }\r
+\r
+#mini-mail \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mail.gif");\r
+ }\r
+\r
+#mini-mail[BiffState="NewMail"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mailnew.gif");\r
+ }\r
+\r
+#mini-addr \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-addressbook.gif");\r
+ }\r
+\r
+#mini-comp \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-composer.gif");\r
+ }\r
+\r
+#taskbar\r
+ {\r
+ margin-top : 0px;\r
+ min-height : 18px;\r
+ user-focus : ignore;\r
+ }\r
+\r
+.taskbutton \r
+ {\r
+ margin-right : 1em !important;\r
+ }\r
+\r
+.taskbarspacer \r
+ {\r
+ min-width : 0.3em;\r
+ width : 1em;\r
+ }\r
+\r
+/*\r
+#taskbar > toolbargrippy\r
+ {\r
+ display : none;\r
+ }\r
+*/
\ No newline at end of file
--- /dev/null
+ \r
+/******* ToolBox & ToolBar *******/\r
+\r
+toolbar\r
+ {\r
+ background-color : #CCD0DD;\r
+ border-bottom : 1px solid #9999CC;\r
+ border-right : 1px solid #9999CC;\r
+ }\r
+\r
+toolbargrippy \r
+ { \r
+ background-color : #666699; \r
+ background-image : url("chrome://global/skin/taskbar-tab.gif"); \r
+ background-repeat : no-repeat;\r
+ border : 1px solid #999999;\r
+ width : 10px;\r
+ min-height : 10px;\r
+ } \r
+\r
+toolbar[collapsed="true"]\r
+ {\r
+ min-height : 0px;\r
+ }\r
+\r
+toolbar[collapsed="true"] > toolbargrippy \r
+ {\r
+ width : 30px;\r
+ }\r
+\r
+toolbargrippy:hover \r
+ {\r
+ background-color : #9999CC !important; \r
+ background-image : url("chrome://global/skin/taskbar-tab-hover.gif") !important; \r
+ } \r
+\r
+ \r
+.toolbar-primary \r
+ {\r
+ background-color : #CCD0DD;\r
+ padding : 0px;\r
+ min-height : 40px;\r
+ border : none;\r
+ border-bottom : 1px solid #9999CC;\r
+ border-right : 1px solid #9999CC;\r
+ }\r
+ \r
+.toolbar-primary > toolbargrippy, .toolbar-standard > toolbargrippy\r
+ {\r
+ background-color : #666699; \r
+ background-image : url("chrome://global/skin/taskbar-tab.gif"); \r
+ background-repeat : no-repeat;\r
+ border : 1px solid #999999;\r
+ }\r
+ \r
+.toolbar-standard \r
+ {\r
+ color : white;\r
+ background-color : #666699;\r
+ padding : 0px;\r
+ margin : 0px;\r
+ border : none;\r
+ min-height : 40px;\r
+ }\r
+\r
+toolbarseparator {\r
+ background-color : #666699;\r
+ margin-left : 1px;\r
+ margin-right : 1px;\r
+ margin-top : 4px;\r
+ margin-bottom : 4px;\r
+ width : 1px;\r
+}
\ No newline at end of file
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}\r
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}
\ No newline at end of file
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}\r
--- /dev/null
+@import(chrome://global/skin);\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Don Bragg (dbragg@netscape.com) 12/08/1999\r
+ * Blake Ross (BlakeR1234@aol.com) 6/12/2000\r
+ */\r
+\r
+@import url(chrome://global/skin);\r
+\r
+\r
+div.label {\r
+ margin : 3px;\r
+}\r
+\r
+div#tree-housing {\r
+ height : 3em;\r
+}\r
+\r
+box#mainBox{\r
+ margin : 5px;\r
+}\r
+\r
+box#okcancelBox{\r
+ margin-left : 22em;\r
+ margin-top : 3px;\r
+ margin-bottom : 3px;\r
+}\r
+\r
+\r
+box#treeBox{\r
+ height : 18ex;\r
+ margin : 0em;\r
+}\r
+\r
+box#statusMessages{\r
+ width : 36em;\r
+}\r
+\r
+\r
+/*\r
+div#table-housing {\r
+ height : 100%;\r
+}\r
+*/\r
+\r
+tree#modulesTree {\r
+ background-color : transparent ! important;\r
+ height : 16ex;\r
+ width : 32em;\r
+}\r
+\r
+treecell#moduleName {\r
+ width : 50%\r
+}\r
+\r
+treecell#moduleSource {\r
+ width : 50%;\r
+}\r
+tree > treechildren {\r
+ background-color : window ! important;\r
+}\r
+\r
+tree#modulesTree > treehead > treerow > treecell {\r
+ padding-left : 1px;\r
+ padding-right : 1px;\r
+ border-left : none;\r
+ border-top : none;\r
+ border-right : none;\r
+ background-color : transparent ! important;\r
+ color : windowtext;\r
+}\r
+\r
+spring#verticalSmallSpacer {\r
+ height : 1ex;\r
+}\r
+\r
+spring#verticalLargeSpacer {\r
+ height : 6ex;\r
+}\r
+\r
+spring#verticalMediumSpacer {\r
+ height : 3ex;\r
+}\r
+\r
+spring#horizontalSmallSpacer {\r
+ width : 2em;\r
+}\r
+\r
+spring#horizontalLargeSpacer {\r
+ width : 10em;\r
+}\r
+\r
+.headline {\r
+ font-size : 2em;\r
+ margin : 4px;\r
+ font-weight : bold;\r
+}
\ No newline at end of file
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 2000 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Dan Haddix\r
+ * Brian King\r
+ */\r
+\r
+toolbar#toolbox {\r
+ margin :0px;\r
+ padding: 4px; 0px; 0px; 0px;\r
+}\r
+\r
+toolbar#toolbox button.tool:active {\r
+ margin: 2px 0px 0px 2px;\r
+}\r
+\r
+toolbar#toolbox button.tool[toggled="1"] {\r
+ margin: 2px 0px 0px 2px;\r
+ border: 1px white inset;\r
+}\r
+\r
+toolbar#toolbox button.tool {\r
+ border: 1px solid transparent;\r
+ margin: 1px 1px 1px 1px;\r
+ padding: 2px;\r
+ text-decoration: none;\r
+ color: inherit;\r
+}\r
+\r
+toolbar.toolbox > toolbargrippy {\r
+ visibility: collapse;\r
+}\r
+\r
+#pointerButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_pointerTool.gif");\r
+}\r
+\r
+#rectButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_rectangleTool.gif");\r
+}\r
+\r
+#cirButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_circleTool.gif");\r
+}\r
+\r
+#polyButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_polygonTool.gif");\r
+}\r
+\r
+#cutButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Cut.gif");\r
+}\r
+\r
+#copyButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Copy.gif");\r
+}\r
+\r
+#pasteButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Paste.gif");\r
+}\r
+\r
+#zoomInButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_zoomIn.gif");\r
+}\r
+\r
+#zoomOutButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_zoomOut.gif");\r
+}\r
+\r
+#contrastButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_contrast.gif");\r
+}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 2000 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Dan Haddix\r
+ * Brian King\r
+ */\r
+\r
+.rect {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #0000ff;}\r
+.cir {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #00ff00; -moz-border-radius: 50%;}\r
+.poly {position:absolute; top:0px; left:0px; height:100%; width:100%;}\r
+.point {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#ff0000;}\r
+.pointStart {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#8000ff;}\r
+.handletl {position:absolute; top:-5px; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handletr {position:absolute; top:-5px; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlebl {position:absolute; top:100%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlebr {position:absolute; top:100%; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlel {position:absolute; top:48%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handler {position:absolute; top:48%; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlet {position:absolute; top:-5px; left:48%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handleb {position:absolute; top:100%; left:48%; height:5px; width:5px; background-color:#ff00ff;}\r
+#marquee {position:absolute; top:1px; left:-5px; height:-5px; width:1px; border: 1 dashed #0000ff; z-index:10000; visibility: hidden;}\r
+#bgDiv {position:absolute; top:0px; left:0px; width:1; background:url("chrome://editor/skin/images/Map_checker.gif"); background-color: white; cursor: inherit;}\r
+BODY {background-color:appworkspace; height: 100%;}\r
+HTML {height: 100%;}\r
+IMG {opacity: .99;}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Pete Collins, Ben Goodger\r
+ */\r
+\r
+/*\r
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
+ CHANGES REVIEWED BY cmanske@netscape.com.\r
+*/\r
+/* Most should be moved to global files */\r
+\r
+/* The defaults are WAY to big! */\r
+titledbox {\r
+ margin: 2px 5px; 4px; 5px;\r
+ padding-top: 2px;\r
+ padding-bottom: 4px;\r
+}\r
+\r
+.MinWidth5em {\r
+ min-width: 5em;\r
+}\r
+\r
+.MinWidth10em {\r
+ min-width: 10em;\r
+}\r
+\r
+.MinWidth20em {\r
+ min-width: 20em;\r
+}\r
+\r
+.big-left-margin {\r
+ margin-left: 10px;\r
+}\r
+\r
+.middle {\r
+ vertical-align: middle:\r
+}\r
+\r
+.bold {\r
+ font-weight: bold;\r
+}\r
+\r
+.italic {\r
+ font-style: italic;\r
+}\r
+\r
+.larger {\r
+ font-size: 120%;\r
+}\r
+\r
+\r
+.narrow {\r
+ width: 3em;\r
+}\r
+\r
+.align-right {\r
+ text-align: right;\r
+}\r
+\r
+.wrap {\r
+ width: 1em;\r
+}\r
+/* end of "should be in global.css" */\r
+\r
+.color-well {\r
+ width:20px;\r
+ height: 1em; \r
+ border: 1px inset #CCD0DD;\r
+ /* Background color is set at runtime */\r
+}\r
+\r
+.color-well[default="true"] {\r
+ border: 1px solid transparent;\r
+ background-color: inherit;\r
+}\r
+\r
+.popup-trigger {\r
+ list-style-image: url(chrome://global/skin/scroll-down.gif);\r
+}\r
+\r
+/* temporary -- we need a simple box-based list defined in XBL */\r
+tree.list {\r
+ border: 1px inset #CCD0DD;\r
+ /* same as in menulist.css */\r
+ margin: 1px 5px 2px 5px;\r
+ width: 10em;\r
+ height: 3em;\r
+ /* use rows="#" in XUL to define height */\r
+}\r
+\r
+#ColorPreview {\r
+ border: 1px inset #CCD0DD;\r
+ margin-left: 10px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ min-width: 100px;\r
+ min-height: 50px;\r
+}\r
+\r
+#alignTypeSelect,label#alignLabel {\r
+ margin-left: 5px;\r
+}\r
+\r
+#MoreFewerButton[more="0"] {\r
+ list-style-image: url(chrome://global/skin/scroll-down.gif);\r
+ /* bug 9459 - changing button text doesn't resize width.\r
+ This covers that problem, but we want this size anyway */\r
+ min-width: 10em;\r
+}\r
+\r
+#MoreFewerButton[more="1"] {\r
+ list-style-image: url(chrome://global/skin/scroll-up.gif);\r
+ min-width: 10em;\r
+}\r
+\r
+#PreviousButton {\r
+ list-style-image: url(chrome://global/skin/arrow-left.gif);\r
+}\r
+\r
+#NextButton {\r
+ list-style-image: url(chrome://global/skin/arrow-right.gif);\r
+}\r
+\r
+#PreviousButton[type="row"] {\r
+ list-style-image: url(chrome://global/skin/arrow-up.gif);\r
+}\r
+\r
+#NextButton[type="row"] {\r
+ list-style-image: url(chrome://global/skin/arrow-down.gif);\r
+}\r
+\r
+#MisspelledWord {\r
+ font-weight: bold;\r
+}\r
+\r
+/* For a column of right-aligned text before \r
+ a column of input fields, e.g., InsertTable dialog\r
+*/\r
+.right {\r
+ /* doesn't work yet! must use align="right" in <text> */\r
+ text-align: right;\r
+}\r
+\r
+/* use outset shape for a button look */\r
+.colorpicker {\r
+ border: 1px outset #CCD0DD;\r
+ /* This should be the same as for textfield */\r
+ margin-left: 4px;\r
+ /* For a little extra space between buttons */\r
+ margin-bottom: 2px;\r
+}\r
+\r
+\r
+.colorpicker:active {\r
+ border: 1px inset #CCD0DD;\r
+}\r
+\r
+/* THIS SHOULD BE IN GLOBAL.CSS */\r
+.smallspacer {\r
+ width: 3px;\r
+ height: 3px;\r
+ min-width: 3px;\r
+ min-height: 3px;\r
+}\r
+\r
+.spacer {\r
+ width: 5px;\r
+ height: 5px;\r
+ min-width: 5px;\r
+ min-height: 5px;\r
+}\r
+\r
+.bigspacer {\r
+ width: 10px;\r
+ height: 10px;\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+}\r
+\r
+#img-align-top {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-top.gif");\r
+}\r
+#img-align-middle {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");\r
+}\r
+#img-align-bottom {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");\r
+}\r
+#img-align-right {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-right.gif");\r
+}\r
+#img-align-left {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-left.gif");\r
+}\r
+\r
+/* Rest are from Ben Goodger for Advanced Edit dialog \r
+ These need reviewing and eliminate all but essential attributes */\r
+/* Have made some mods and eliminated some unnecessary portions. \r
+ hope to merge most of the treecell formatting into global as some of \r
+ this "property list" style treecell formatting is used by cookie/signon \r
+ viewers. */\r
+\r
+\r
+#tagLabel {\r
+ font-weight: bold;\r
+}\r
+\r
+/* styles for an attribute tree-table */\r
+tree.AttributesTree {\r
+ min-width : 200px;\r
+ min-height: 200px;\r
+}\r
+\r
+tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {\r
+ padding-left : 0px;\r
+ padding-top : 0px;\r
+ padding-bottom : 0px;\r
+ padding-right : 0px;\r
+ margin-left : 0px;\r
+}\r
+\r
+input.AttributesCell {\r
+ border: none;\r
+ width: 100%;\r
+ background-color: #FFFFFF;\r
+ font-weight: normal;\r
+ border: none;\r
+ outline: none;\r
+ margin: 0px;\r
+ width: 100%;\r
+}\r
+\r
+treecell > input {\r
+ margin: 0px;\r
+ background-color: #E5E5E5 ! important;\r
+}\r
+\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ */\r
+\r
+/* This contains CSS just for editor toolbars */\r
+\r
+#EditorToolbox {\r
+ min-width: 1px;\r
+}\r
+\r
+#FormatToolbar {\r
+ border-bottom: 1px solid #9999CC;\r
+}\r
+\r
+.separator_small { \r
+ width: 1em; \r
+}\r
+\r
+.margin-left-right {\r
+ margin-left: 3px;\r
+ margin-right: 3px;\r
+}\r
+\r
+/* From button.css: */\r
+/* margin: 4px 7px 1px 1px; */\r
+/* We have too many buttons - must be closer! */\r
+\r
+.toolbar, .key-toolbar {\r
+ margin-right: 2px;\r
+}\r
+\r
+.inset-border {\r
+ border: 1px inset CCCCDD;\r
+}\r
+\r
+/* THIS DOESN'T WORK ON <text>! */\r
+.center {\r
+ text-align: center;\r
+}\r
+\r
+/* end of SHOULD GO IN GLOBAL */\r
+\r
+#EditModeToolbar {\r
+ padding: 0px;\r
+ /* Same as "standard" toolbar background */\r
+ border-top: 1px solid #9999CC;\r
+ border-bottom: none;\r
+ margin-bottom: 0px;\r
+ min-width: 1px;\r
+ color: #000000;\r
+ background-color: #CCD0DD;\r
+ overflow: hidden;\r
+}\r
+/*\r
+#EditModeToolbar > toolbargrippy {\r
+ height: 100%;\r
+}\r
+*/\r
+/* BORDERS ARE NOT WORKING! global class="plain" is fighting us! */\r
+/* !important in for now as a workaround to above problem! */\r
+button.edit-mode:hover, button.edit-mode:hover:active,\r
+button.edit-mode {\r
+ -moz-border-radius: 0px 0px 7px 7px;\r
+ padding: 0px 4px 1px 4px;\r
+ margin: 0px;\r
+ color: #CCD0DD;\r
+ background-color: #666699;\r
+ border-top: 1px solid #666699 !important; /* Must be same as background */\r
+ border-bottom: 1px solid #9999CC !important;\r
+ border-left: 1px solid #9999CC !important;\r
+ border-right: 1px solid #9999CC !important;\r
+}\r
+\r
+button.edit-mode > .button-internal-box,\r
+button.edit-mode:hover > .button-internal-box,\r
+button.edit-mode:hover:active > .button-internal-box {\r
+ border: none;\r
+}\r
+\r
+button.edit-mode:hover {\r
+ border: 1px solid #3366FF !important;\r
+}\r
+\r
+button.edit-mode:hover:active {\r
+ padding: 1px 5px 0px 3px;\r
+ border: 1px solid #99CCFF !important;\r
+}\r
+\r
+button.edit-mode[selected="1"] {\r
+ padding: 0px 4px 1px 4px;\r
+ margin: -1px 0px 0px 0px;\r
+/* Not resizing well! - use color instead\r
+ font-weight: bold; \r
+*/\r
+ background-color: #FFFFFF;\r
+ color: #000000;\r
+}\r
+\r
+button.edit-mode[selected="1"]:active,\r
+button.edit-mode[selected="1"]:hover:active {\r
+ padding: 1px 5px 0px 3px;\r
+}\r
+\r
+#NormalModeButton[type="image"] {\r
+ list-style-image:url(chrome://editor/skin/images/editmode-normal.gif); \r
+}\r
+\r
+#TagModeButton[type="image"] {\r
+ list-style-image:url(chrome://editor/skin/images/editmode-tags.gif); \r
+}\r
+#SourceModeButton[type="image"] {\r
+ list-style-image:url(chrome://editor/skin/images/editmode-html.gif); \r
+}\r
+#PreviewModeButton[type="image"] {\r
+ list-style-image:url(chrome://editor/skin/images/editmode-preview.gif); \r
+}\r
+#ToggleEditModeType {\r
+ list-style-image:url(chrome://editor/skin/images/editmode-toggle.gif); \r
+ border: 1px outset #CCD0DD;\r
+}\r
+\r
+#ToggleEditModeType:hover {\r
+ border: 1px solid #99CCFF;\r
+}\r
+\r
+#ToggleEditModeType:hover:active {\r
+ border: 1px inset #99CCFF;\r
+}\r
+\r
+/* Image URLs for all Editor toolbar buttons */\r
+\r
+#boldButton {\r
+ list-style-image:url(chrome://editor/skin/images/bold.gif); \r
+}\r
+\r
+#italicButton {\r
+ list-style-image:url(chrome://editor/skin/images/italic.gif); \r
+}\r
+\r
+#underlineButton {\r
+ list-style-image:url(chrome://editor/skin/images/underline.gif); \r
+}\r
+\r
+#newButton {\r
+ list-style-image:url("chrome://editor/skin/images/newfile.gif");\r
+}\r
+#newButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/newfile_dis.gif");\r
+}\r
+\r
+#openButton {\r
+ list-style-image:url("chrome://editor/skin/images/openfile.gif");\r
+}\r
+#openButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/openfile_dis.gif");\r
+}\r
+\r
+#saveButton {\r
+ list-style-image:url("chrome://editor/skin/images/savefile.gif");\r
+}\r
+#saveButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/savefile_dis.gif");\r
+}\r
+#saveButton[dirty="true"] {\r
+ list-style-image:url(chrome://editor/skin/images/savemod.gif); \r
+}\r
+\r
+#publishButton {\r
+ list-style-image:url("chrome://editor/skin/images/publish.gif");\r
+}\r
+\r
+#previewButton {\r
+ list-style-image:url("chrome://editor/skin/images/preview.gif");\r
+}\r
+#previewButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/preview_dis.gif");\r
+}\r
+\r
+#printButton \r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/print.gif");\r
+ }\r
+#printButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/print_dis.gif");\r
+}\r
+\r
+#findButton {\r
+ list-style-image:url("chrome://editor/skin/images/find.gif");\r
+}\r
+#findButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/find_dis.gif");\r
+}\r
+\r
+#linkButton {\r
+ list-style-image:url("chrome://editor/skin/images/link.gif");\r
+}\r
+#linkButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/link_dis.gif");\r
+}\r
+\r
+#imageButton {\r
+ list-style-image:url("chrome://editor/skin/images/image.gif");\r
+}\r
+#imageButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/image_dis.gif");\r
+}\r
+\r
+#namedAnchorButton {\r
+ list-style-image:url("chrome://editor/skin/images/anchor.gif");\r
+}\r
+#namedAnchorButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/anchor_dis.gif");\r
+}\r
+\r
+#hlineButton {\r
+ list-style-image:url("chrome://editor/skin/images/hline.gif");\r
+}\r
+#hlineButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/hline_dis.gif");\r
+}\r
+\r
+#tableButton {\r
+ list-style-image:url("chrome://editor/skin/images/table.gif");\r
+}\r
+#tableButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/table_dis.gif");\r
+}\r
+\r
+#linkButton-dark {\r
+ list-style-image:url("chrome://editor/skin/images/link.gif");\r
+}\r
+#imageButton-dark {\r
+ list-style-image:url("chrome://editor/skin/images/image.gif");\r
+}\r
+#namedAnchorButton-dark {\r
+ list-style-image:url("chrome://editor/skin/images/anchor.gif");\r
+}\r
+#hlineButton-dark {\r
+ list-style-image:url("chrome://editor/skin/images/hline.gif");\r
+}\r
+#tableButton-dark {\r
+ list-style-image:url("chrome://editor/skin/images/table.gif");\r
+}\r
+#spellingButton {\r
+ list-style-image:url("chrome://editor/skin/images/spell.gif");\r
+}\r
+\r
+#DecreaseFontSizeButton {\r
+ list-style-image:url("chrome://editor/skin/images/dec-font-size.gif");\r
+}\r
+\r
+#IncreaseFontSizeButton {\r
+ list-style-image:url("chrome://editor/skin/images/inc-font-size.gif");\r
+}\r
+\r
+#ulButton {\r
+ list-style-image:url("chrome://editor/skin/images/bullets.gif");\r
+}\r
+#olButton {\r
+ list-style-image:url("chrome://editor/skin/images/numbers.gif");\r
+}\r
+#outdentButton {\r
+ list-style-image:url("chrome://editor/skin/images/outdent.gif");\r
+}\r
+#outdentButton[disabled="true"] {\r
+ list-style-image:url("chrome://editor/skin/images/outdent_dis.gif");\r
+}\r
+\r
+#indentButton {\r
+ list-style-image:url("chrome://editor/skin/images/indent.gif");\r
+}\r
+\r
+#FormatToolbar > button,\r
+#FormatToolbar > button:hover,\r
+#FormatToolbar > button:active,\r
+#FormatToolbar > button[disabled="true"] {\r
+ margin: 0px 3px 0px 0px;\r
+ border: none;\r
+ min-width: 23px;\r
+ min-height: 23px;\r
+}\r
+#FormatToolbar > button > .button-internal-box {\r
+ margin: 0px;\r
+ padding: 1px;\r
+ border: 1px solid transparent;\r
+ text-align: center;\r
+}\r
+#FormatToolbar > button:hover > .button-internal-box {\r
+ border: 1px outset #CCD0DD;\r
+}\r
+#FormatToolbar > button:active > .button-internal-box {\r
+ padding: 2px 0px 0px 2px;\r
+ border: 1px inset #CCD0DD;\r
+}\r
+#FormatToolbar > button[disabled="true"] > .button-internal-box {\r
+ border: 1px solid transparent;\r
+}\r
+\r
+#FormatToolbar > button > .button-internal-box > .button-text-container\r
+ {\r
+ display : none;\r
+ } \r
+\r
+#ParagraphSelect {\r
+ margin-top: 2px;\r
+}\r
+\r
+#AlignPopupButton {\r
+ list-style-image:url("chrome://editor/skin/images/align.gif");\r
+}\r
+\r
+#AlignPopupButton > .button-internal-box {\r
+ border:1px solid transparent;\r
+}\r
+#AlignPopupButton:hover > .button-internal-box {\r
+ border:1px outset #CCD0DD;\r
+}\r
+#AlignPopupButton:active > .button-internal-box,\r
+#AlignPopupButton[open="true"] > .button-internal-box {\r
+ border:1px inset #CCD0DD;\r
+}\r
+\r
+#InsertPopupButton {\r
+ list-style-image:url("chrome://editor/skin/images/object-popup.gif");\r
+}\r
+\r
+#text-align-left,\r
+#align-left-button\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/left.gif");\r
+ } \r
+\r
+#text-align-left[disabled="true"],\r
+#text-align-left[disabled="true"]:hover,\r
+#text-align-left[disabled="true"]:hover:active,\r
+#align-left-button[disabled="true"],\r
+#align-left-button[disabled="true"]:hover,\r
+#align-left-button[disabled="true"]:hover:active,\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/left-disabled.gif");\r
+ } \r
+\r
+#text-align-center,\r
+#align-center-button\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/center.gif");\r
+ } \r
+\r
+#text-align-center[disabled="true"],\r
+#text-align-center[disabled="true"]:hover,\r
+#text-align-center[disabled="true"]:hover:active,\r
+#align-center-button[disabled="true"],\r
+#align-center-button[disabled="true"]:hover,\r
+#align-center-button[disabled="true"]:hover:active\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/center-disabled.gif");\r
+ } \r
+\r
+#text-align-right,\r
+#align-right-button\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/right.gif");\r
+ } \r
+\r
+#text-align-right[disabled="true"],\r
+#text-align-right[disabled="true"]:hover,\r
+#text-align-right[disabled="true"]:hover:active\r
+#align-right-button[disabled="true"],\r
+#align-right-button[disabled="true"]:hover,\r
+#align-right-button[disabled="true"]:hover:active \r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/right-disabled.gif");\r
+ } \r
+\r
+#text-align-justify, #align-justify-button\r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/justify.gif");\r
+ }\r
+\r
+#text-align-justify[disabled="true"],\r
+#text-align-justify[disabled="true"]:hover,\r
+#text-align-justify[disabled="true"]:hover:active\r
+#align-justify-button[disabled="true"],\r
+#align-justify-button[disabled="true"]:hover,\r
+#align-justify-button[disabled="true"]:hover:active \r
+ {\r
+ list-style-image : url("chrome://editor/skin/images/justify-disabled.gif");\r
+ } \r
+\r
+.ColorPickerLabel {\r
+ border: 1px inset white;\r
+ margin: 0px;\r
+ padding: 2px;\r
+ text-align: center;\r
+}\r
+\r
+/* TODO: How to make inset color skinable? */\r
+.color-button {\r
+ border: 1px inset #CCD0DD;\r
+ padding: 0px;\r
+ width: 19px;\r
+ height: 19px;\r
+ margin: 1px;\r
+}\r
+\r
+.color-button:hover {\r
+ border: 1px solid #666699;\r
+}\r
+\r
+#TextColorPopupButton {\r
+ margin: 2px 9px 9px 2px;\r
+ /* TEMP: Set color here. TODO: Set color from page */\r
+ background-color: #AA0000;\r
+}\r
+\r
+#BackColorPopupButton {\r
+ margin: 9px 2px 2px 9px;\r
+ /* TEMP: Set color here. TODO: Set color from page */\r
+ background-color: #FFFF00;\r
+}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
+/* Note: most of our styles are in EditorToolbars.css \r
+ in order to share with all users of editor\r
+*/\r
+\r
+#content-frame { \r
+ min-width: 10px; \r
+ min-height: 10px;\r
+ height: 400px;\r
+} \r
+\r
+.source-editor, .source-editor:focus {\r
+ margin: 0px 5px 5px 0px;\r
+ border: 0px;\r
+ /* Scroll bars are in content, \r
+ so we can't use right and bottom padding! */\r
+ padding: 5px 0px 0px 5px;\r
+}\r
--- /dev/null
+\r
+titledbox\r
+ {\r
+ border : 2px groove #CCD0DD;\r
+ padding : 7px;\r
+ margin : 5px;\r
+ }\r
+\r
+title\r
+ {\r
+ margin-left : 6px;\r
+ padding-right : 40px;\r
+ }\r
+\r
+box.titledbox-title \r
+ {\r
+ padding-left : 5px;\r
+ padding-right : 5px; \r
+ } \r
+\r
+box.titledbox-body\r
+ {\r
+ display : block;\r
+ padding : inherit;\r
+ }\r
+\r
+ \r
+/** box formatting **/\r
+ box[autostretch="never"]\r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+ box[autostretch="never"][valign="top"]\r
+ {\r
+ vertical-align : top;\r
+ }\r
+ \r
+ box[autostretch="never"][valign="bottom"]\r
+ {\r
+ vertical-align : bottom;\r
+ }\r
+ \r
+ box[autostretch="never"][halign="center"] \r
+ {\r
+ text-align : center;\r
+ }\r
+ \r
+ box[autostretch="never"][halign="right"]\r
+ {\r
+ text-align : right;\r
+ }\r
+\r
+ row\r
+ {\r
+ vertical-align : middle;\r
+ }\r
+
\ No newline at end of file
--- /dev/null
+/* NEW WIDGET ANDING: <button> */\r
+\r
+/** Default Button Styles (apply to usage of <button> without \r
+ * any applied class).\r
+ **/\r
+\r
+/* outer frame */\r
+ button \r
+ {\r
+ border : none;\r
+ margin : 1px 5px 2px 5px;\r
+ background-color : #CCD0DD;\r
+ }\r
+ \r
+ button[disabled="true"],\r
+ button[disabled="true"]:hover,\r
+ button[disabled="true"]:hover:active \r
+ {\r
+ border : none;\r
+ color : #999999;\r
+ }\r
+ \r
+/* internal frame */\r
+ button > .button-internal-box \r
+ {\r
+ vertical-align : middle;\r
+ text-align : center;\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px;\r
+ }\r
+ \r
+ button:hover:active > .button-internal-box \r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+ \r
+ button[disabled="true"] > .button-internal-box,\r
+ button[disabled="true"]:hover > .button-internal-box,\r
+ button[disabled="true"]:hover:active > .button-internal-box \r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px;\r
+ }\r
+\r
+/* text wrapping frame (hack because <text> does not support alignment) */\r
+ .button-text-container\r
+ {\r
+ text-align : center;\r
+ vertical-align : middle;\r
+ }\r
+\r
+/* text frame */\r
+ .button-text \r
+ {\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+ \r
+ button[orient="vertical"] > .button-internal-box > .button-text-container > .button-text\r
+ {\r
+ padding : 2px 2px 1px 2px;\r
+ }\r
+ \r
+/** Styles for "DEFAULT" buttons (usually 'OK' or equivalent in dialogs. \r
+ * To activate, set 'default' attribute on button.\r
+ **/\r
+ \r
+/* outer frame */ \r
+ button[default] \r
+ {\r
+ /* XXX this is a HACK until 'orient' is supported in CSS! XXX */\r
+ /* strictly speaking not necessary because default for buttonright is \r
+ * to lay image out horizontally, but leaving here as a reminder to\r
+ * implement this feature */\r
+ -moz-binding : url(chrome://global/content/xulBindings.xml#buttonright);\r
+ font-weight : bold;\r
+ list-style-image : url("chrome://global/skin/return.gif");\r
+ }\r
+ \r
+ button[default][disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/return-disabled.gif");\r
+ }\r
+ \r
+/** Styles for 'dialog' buttons (usually any command button in a dialog)\r
+ * This class gives buttons 10px of padding on each side to increase the\r
+ * strike area and make buttons with small amounts of text (e.g. 'OK') \r
+ * look less silly.\r
+ **/\r
+\r
+/* internal frame */\r
+ .button-dialog > .button-internal-box,\r
+ .button-dialog:hover > .button-internal-box\r
+ {\r
+ padding : 2px 10px 2px 10px;\r
+ }\r
+ \r
+ .button-dialog:hover:hover:active > .button-internal-box \r
+ {\r
+ padding : 3px 9px 1px 11px;\r
+ }\r
+\r
+/** Styles for grey toolbar buttons. These buttons are used in places like\r
+ * editor's formatting toolbar or toolbars wanting a button similar to a command\r
+ * button but without an initial outset frame.\r
+ **/ \r
+ .button-borderless \r
+ {\r
+ border : 1px solid #CCD0DD;\r
+ }\r
+ \r
+ .button-borderless:hover\r
+ {\r
+ border : 1px solid #000000;\r
+ }\r
+ \r
+ .button-borderless > .button-internal-box \r
+ {\r
+ border : 1px solid #CCD0DD;\r
+ }\r
+ \r
+ .button-borderless:hover > .button-internal-box \r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+ \r
+ .button-borderless:hover:active > .button-internal-box \r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+/** plain (raw) buttons, class="plain" **/\r
+\r
+ button.plain, button.plain:hover, button.plain:hover:active,\r
+ button.plain > .button-internal-box, \r
+ button.plain:hover:active > .button-internal-box,\r
+ button.plain > .button-internal-box:hover:active,\r
+ button.plain > .button-internal-box > .button-text-container, \r
+ button.plain > .button-internal-box > .button-text-container:hover:active,\r
+ button.plain > .button-internal-box > .button-text-container > .button-text, \r
+ button.plain > .button-internal-box > .button-text-container > .button.text:hover:active,\r
+ button-plain > .button-internal-box > .button-icon, \r
+ button.plain > .button-internal-box > .button.icon:hover:active\r
+ {\r
+ border : 0px;\r
+ margin : 0px;\r
+ padding : 0px;\r
+ }\r
+\r
+\r
+/** \r
+ * utility class for buttons with associated popup\r
+ **/\r
+.button-popup \r
+ {\r
+ list-style-image : url(chrome://global/skin/taskbar-popup-arrow.gif);\r
+ }\r
+ \r
+ \r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="buttonBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1">\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttonright" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1">\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1" orient="vertical" align="center">\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttonbottom" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1" orient="vertical" align="center">\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+/* stylesheet for XUL <checkbox> element */\r
+\r
+/* default checkbox for dialogs */\r
+\r
+/* outer checkbox frame */\r
+ checkbox \r
+ {\r
+ margin: 3px 5px 3px 5px;\r
+ }\r
+\r
+/* checkmark outer frame */\r
+ checkbox > .internal-box > .checkmark-box \r
+ {\r
+ border: 1px inset #CCD0DD;\r
+ background-color: transparent;\r
+ margin-top: 2px;\r
+ margin-right: 4px;\r
+ padding: 1px; \r
+ }\r
+\r
+ checkbox[disabled="true"] > .internal-box > .checkmark-box,\r
+ checkbox[disabled="true"]:hover > .internal-box > .checkmark-box \r
+ {\r
+ border: 1px inset #CCD0DD;\r
+ }\r
+ \r
+/* checkmark inner frame */\r
+ checkbox > .internal-box > .checkmark-box > .checkbox-check \r
+ {\r
+ width: 8px;\r
+ height: 8px;\r
+ list-style-image: none;\r
+ }\r
+ \r
+ checkbox[checked="true"] > .internal-box > .checkmark-box > .checkbox-check \r
+ {\r
+ list-style-image: url(chrome://global/skin/check-check.gif);\r
+ }\r
+ \r
+ checkbox[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check\r
+ {\r
+ list-style-image: url(chrome://global/skin/check-check-disabled.gif);\r
+ } \r
+\r
+ checkbox > .internal-box > .checkbox-icon \r
+ {\r
+ list-style-image: inherit;\r
+ }\r
+ \r
+/* checkmark label/icon frame */\r
+ checkbox[value] > .internal-box > html\r
+ {\r
+ margin: 0px 0px 0px 4px;\r
+ padding: 1px;\r
+ }\r
+\r
+ checkbox[disabled="true"][value] > .internal-box > html \r
+ {\r
+ color: #999999;\r
+ }\r
+ \r
+ checkbox:focus > .internal-box > html \r
+ {\r
+ border : 1px dotted black;\r
+ padding : 0px;\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="buttonBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="textdisabled" extends="xul:text">\r
+ <content excludes="observes,template">\r
+ <xul:stack>\r
+ <xul:text class="text-bottom" inherits="value,accesskey,crop"/>\r
+ <xul:text class="text-top" inherits="value,accesskey,crop"/>\r
+ </xul:stack>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="toolbargrippy" extends="xul:box">\r
+ <content orient="vertical">\r
+ <xul:box autostretch="never" halign="center">\r
+ <xul:image class="toolbargrippy-twisty"/>\r
+ </xul:box>\r
+ <xul:spring class="toolbargrippy-texture" flex="1"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="radio" extends="chrome://global/content/radioBindings.xml#radio">\r
+ <content excludes="observes">\r
+ <xul:box flex="1" class="radio-internal-box" autostretch="never" valign="middle">\r
+ <xul:box class="radio-checkmark-box-1" autostretch="never" inherits="disabled">\r
+ <xul:box class="radio-checkmark-box-2" autostretch="never" flex="1">\r
+ <xul:image class="radio-check" inherits="checked,disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ <xul:image class="radio-icon" inherits="src,disabled"/>\r
+ <xul:html class="radio-text" inherits="value,accesskey,crop,disabled" flex="1">\r
+ <children/>\r
+ </xul:html>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="checkbox" extends="chrome://global/content/xulBindings.xml#checkbox">\r
+ <content excludes="observes">\r
+ <xul:box flex="1" class="checkbox-internal-box" autostretch="never" valign="middle">\r
+ <xul:box class="checkbox-checkmark-box-1" autostretch="never" inherits="disabled">\r
+ <xul:box class="checkbox-checkmark-box-2" autostretch="never" flex="1">\r
+ <xul:image class="checkbox-check" inherits="checked,disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ <xul:image class="checkbox-icon" inherits="src,disabled"/>\r
+ <xul:html class="checkbox-text" inherits="value,accesskey,crop,disabled" flex="1">\r
+ <children/>\r
+ </xul:html>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="thumb" extends="xul:box">\r
+ <content>\r
+ <xul:box class="thumb-box" autostretch="never" orient="vertical" flex="1">\r
+ <xul:spring flex="1"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="scrollbar">\r
+ <content>\r
+ <xul:scrollbarbutton type="decrement" inherits="align:sborient"/>\r
+ <xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment">\r
+ <xul:thumb inherits="align,src" flex="1"/>\r
+ </xul:slider>\r
+ <xul:scrollbarbutton type="increment" inherits="align:sborient"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="scrollbarbutton">\r
+ <content>\r
+ <xul:box class="scrollbarbutton-box" flex="1">\r
+ <xul:image class="scrollbarbutton-icon" inherits="src"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="slider">\r
+ <content>\r
+ <xul:button class="slider-button"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="grippy">\r
+ <content>\r
+ <xul:box class="grippy-box" flex="1">\r
+ <xul:image class="grippy-image" inherits="src" />\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+box.icon {\r
+ margin: 1em 15px 0px 10px;\r
+}\r
+\r
+box#content {\r
+ margin-top: 1em;\r
+ margin-right: 1em;\r
+}\r
+\r
+box#okCancelButtons {\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+table#editFields {\r
+ margin-top: 1em;\r
+ margin-bottom: 1em;\r
+}\r
+\r
+div[id="info.header"] {\r
+ font-weight: bold;\r
+}
\ No newline at end of file
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is mozilla.org code.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ */\r
+\r
+.error-icon-box {\r
+ background-color: #CCCCCC;\r
+ padding: 5px;\r
+ border-right: 1px solid #999999;\r
+}\r
+\r
+\r
+\r
+.treecell-error {\r
+ border-bottom: 1px solid #000000 !important;\r
+ padding: 0px;\r
+}\r
+\r
+.treecell-error[type="error"] {\r
+ list-style-image: url("chrome://global/skin/error-icon.gif") !important;\r
+}\r
+\r
+.treecell-error[type="warning"] {\r
+ list-style-image: url("chrome://global/skin/alert-icon.gif") !important;\r
+}\r
+\r
+.error-icon {\r
+ list-style-image: inherit !important;\r
+}\r
+\r
--- /dev/null
+/** \r
+ * Small Dialog Header (without icon)\r
+ **/\r
+.box-smallheader \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#smallheader);\r
+ border : 1px inset #CCD0DD;\r
+ margin : 0px 5px 6px 5px;\r
+ }\r
+\r
+.toolbar-primary\r
+ {\r
+ padding : 0px 0px 3px 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+.box-smallheader-left \r
+ {\r
+ font-size : larger;\r
+ font-weight : bold;\r
+ padding-left : 6px;\r
+ }\r
+\r
+.box-smallheader-right \r
+ {\r
+ padding-right : 6px;\r
+ }\r
+\r
+.box-smallheader > .toolbar-primary \r
+ {\r
+ border : 1px solid threeddarkshadow;\r
+ vertical-align : middle;\r
+ padding-top : 3px;\r
+ }\r
+\r
+/** \r
+ * Large Dialog Header (with icon) \r
+ **/\r
+.box-header \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#largeheader);\r
+ }\r
+\r
+.box-header-header \r
+ {\r
+ padding : 0px 0px 4px 5px;\r
+ min-height : 34px;\r
+ }\r
+\r
+.box-header-text-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+\r
+.box-header-text \r
+ {\r
+ color : white;\r
+ font-size : large;\r
+ font-weight : bold;\r
+ text-decoration : underline;\r
+ }\r
+\r
+.box-header-icon-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+.box-header-circle \r
+ {\r
+ background-color : transparent;\r
+ min-width : 28px;\r
+ margin : 1px 7px 1px 1px;\r
+ height : 28px;\r
+ width : 28px;\r
+ } \r
+\r
+/**\r
+ * Dialog status line (blue) including progress area\r
+ **/\r
+.box-status \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#status);\r
+ }\r
+\r
+.box-status-bg \r
+ {\r
+ padding : 1px 5px 1px 5px;\r
+ min-height : 0px ! important;\r
+ }\r
+\r
+.box-status-text, .box-status-progress\r
+ {\r
+ color : #99cccc ! important;\r
+ }\r
+\r
+ \r
+/** \r
+ * Utility classes for use when combined headers/footers are used\r
+ **/\r
+/* display area framed container */\r
+#contentarea \r
+ {\r
+ border-top : 2px groove threedface;\r
+ border-bottom : 2px groove threedface;\r
+ padding : 7px;\r
+ }\r
+\r
+/* top border on status area */\r
+#wizardButtons \r
+ {\r
+ border-bottom : 1px solid threedshadow;\r
+ padding-top : 1px;\r
+ padding-bottom : 1px;\r
+ }\r
+\r
+\r
--- /dev/null
+@import url(chrome://global/skin/global.css);\r
+\r
+treecell.directory {\r
+ list-style-image: url("chrome://global/skin/dir-closed.gif");\r
+}\r
+\r
+treecell.file {\r
+ list-style-image: url("chrome://global/skin/blank.gif");\r
+}\r
+\r
+/*\r
+treeitem.hidden > treerow > treecell > .tree-button {\r
+ color: #CCCCCC;\r
+}\r
+\r
+treeitem.hidden > treerow > treecell > .tree-icon {\r
+ list-style-image: url("chrome://global/skin/blank.gif");\r
+}\r
+*/\r
--- /dev/null
+/* colors */\r
+\r
+.color-dialog\r
+ {\r
+ background-color : #CCD0DD;\r
+ color : #000000;\r
+ }\r
+ \r
+.color-window\r
+ {\r
+ background-color : #FFFFFF;\r
+ color : #000000;\r
+ }\r
+\r
+/* inset areas */\r
+.inset\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ margin : 0px 5px 5px 5px;\r
+ }\r
+ \r
+/* formatting */\r
+.groove-top\r
+ {\r
+ border-top : 2px groove #CCD0DD; \r
+ }\r
+ \r
+.groove-right\r
+ {\r
+ border-right : 2px groove #CCD0DD;\r
+ }\r
+ \r
+.groove-left\r
+ {\r
+ border-left : 2px groove #CCD0DD;\r
+ }\r
+ \r
+.groove-bottom\r
+ {\r
+ border-bottom : 2px groove #CCD0DD;\r
+ }\r
+ \r
+.outset\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ } \r
+ \r
+/** separator rules **/\r
+/* standard separators */\r
+ separator, separator[orient="horizontal"] \r
+ {\r
+ height: 1.5em;\r
+ }\r
+ \r
+ separator[orient="vertical"] \r
+ {\r
+ width: 1.5em;\r
+ }\r
+\r
+/* thinner separators (50% size) */\r
+ separator.thin, separator.thin[orient="horizontal"] \r
+ {\r
+ height: 0.5em;\r
+ }\r
+ \r
+ separator.thin[orient="vertical"] \r
+ {\r
+ width: 0.5em;\r
+ }\r
+\r
+/* groove separators (50% size) */\r
+ separator.groove,\r
+ separator.groove[orient="horizontal"] \r
+ {\r
+ border-top: 2px groove #CCD0DD;\r
+ height: 0px;\r
+ margin-top: 0.4em;\r
+ margin-bottom: 0.4em;\r
+ }\r
+ \r
+ separator.groove[orient="vertical"] \r
+ {\r
+ border-left: 2px groove #CCD0DD;\r
+ margin-left: 0.4em;\r
+ margin-right: 0.4em;\r
+ }\r
+ \r
+/* groove separators (0 padding, for dividing effects) */ \r
+ separator.groove-thin \r
+ {\r
+ border-top: 2px groove #CCD0DD;\r
+ height: 0px;\r
+ }\r
+ \r
+ separator[orient="vertical"].groove-thin \r
+ {\r
+ border-left: 2px groove #CCCCCC;\r
+ }\r
+\r
+/** text formatting rules **/\r
+/* label (with margins) */\r
+ text.label \r
+ {\r
+ margin : 1px 5px 2px 5px;\r
+ }\r
+ \r
+ text[disabled="true"] \r
+ {\r
+ color : #9999CC;\r
+ } \r
+ \r
+ html\r
+ {\r
+ margin : 1px 5px 4px 5px;\r
+ cursor : default;\r
+ }\r
+\r
+ .header \r
+ {\r
+ font-weight : bold;\r
+ }\r
+ \r
+ .indent\r
+ {\r
+ margin-left : 20px;\r
+ }\r
+\r
+ .icon-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ }\r
+ \r
+ .box-padded\r
+ {\r
+ padding : 5px;\r
+ } \r
+ \r
+ .spaced\r
+ {\r
+ margin : 3px 5px 4px 5px;\r
+ }
\ No newline at end of file
--- /dev/null
+/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of\r
+ a particular application should be in that application's style sheet.\r
+ For example style definitions for navigator can be found in navigator.css\r
+\r
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
+ CHANGES REVIEWED BY hyatt@netscape.com.\r
+**/\r
+\r
+/* import the widget style sheets */\r
+\r
+/* all localizable skin settings shall live here */\r
+@import url(chrome://global/locale/intl.css);\r
+\r
+@import url(chrome://global/skin/box.css);\r
+@import url(chrome://global/skin/button.css);\r
+@import url(chrome://global/skin/checkbox.css);\r
+@import url(chrome://global/skin/radio.css);\r
+@import url(chrome://global/skin/tree.css);\r
+@import url(chrome://global/skin/splitter.css);\r
+@import url(chrome://global/skin/radio.css);\r
+@import url(chrome://global/skin/menubutton.css);\r
+@import url(chrome://global/skin/menulist.css);\r
+@import url(chrome://global/skin/menu.css);\r
+@import url(chrome://global/skin/formatting.css);\r
+@import url(chrome://global/skin/textfield.css);\r
+@import url(chrome://global/skin/tabcontrol.css);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); \r
+@namespace html url("http://www.w3.org/1999/xhtml"); \r
+\r
+/**\r
+ * XXX-DEBUG: HTML namespace/titledbutton striping. \r
+ **/ \r
+ html|* \r
+ {\r
+ border : 1px solid green !important;\r
+ }\r
+ \r
+ html|form \r
+ {\r
+ border : none !important;\r
+ }\r
+ \r
+ titledbutton \r
+ {\r
+ border : 1px solid purple !important;\r
+ }\r
+\r
+/** \r
+ * XUL <window> element\r
+ **/\r
+ window \r
+ { \r
+ background-color : #CCD0DD;\r
+ font : 3mm tahoma,arial,helvetica,sans-serif;\r
+ padding : 0px;\r
+ }\r
+ \r
+ window[wait-cursor] \r
+ { \r
+ cursor : wait !important; \r
+ }\r
+ \r
+ window.dialog \r
+ { \r
+ background-color : #CCD0DD;\r
+ padding : 7px 5px 5px 5px;\r
+ }\r
+\r
+/**\r
+ * XUL <box> debugging\r
+ **/\r
+ :-moz-horizontal-box-debug \r
+ {\r
+ border : 2px solid blue;\r
+ border-top-width : 10px;\r
+ padding : 2px;\r
+ margin : 2px;\r
+ color : white;\r
+ }\r
+ \r
+ :-moz-vertical-box-debug \r
+ {\r
+ border : 2px solid red;\r
+ border-left-width : 10px;\r
+ padding : 2px;\r
+ margin : 2px;\r
+ color : white;\r
+ }\r
+\r
+/**\r
+ * Utility icons (used for alert dialogs, etc)\r
+ **/\r
+ .message-icon \r
+ {\r
+ list-style-image : url("chrome://global/skin/message-icon.gif");\r
+ }\r
+\r
+ .alert-icon \r
+ {\r
+ list-style-image : url("chrome://global/skin/alert-icon.gif");\r
+ }\r
+ \r
+ .error-icon \r
+ {\r
+ list-style-image : url("chrome://global/skin/error-icon.gif");\r
+ }\r
+ \r
+ .question-icon \r
+ {\r
+ list-style-image : url("chrome://global/skin/question-icon.gif");\r
+ }\r
+\r
+ statusbarpanel\r
+ {\r
+ padding : 0px 1px 0px 1px;\r
+ }\r
+\r
+ .statusbar-panel-icon\r
+ {\r
+ margin : 0px 2px 0px 0px;\r
+ }\r
+\r
+/**\r
+ * status-bar\r
+ */\r
+ #status-bar \r
+ {\r
+ border-top : 1px solid #9999CC;\r
+ background-color : #CCD0DD;\r
+ user-focus : ignore;\r
+ overflow : hidden\r
+ }\r
+\r
+ .statusbar-left\r
+ {\r
+ width : 8px;\r
+ list-style-image : url("chrome://global/skin/gray-bottomleft.gif");\r
+ background-position : bottom left;\r
+ }\r
+\r
+ .statusbar-right\r
+ {\r
+ width : 8px;\r
+ list-style-image : url("chrome://global/skin/gray-bottomright.gif");\r
+ background-position : bottom right;\r
+ }\r
+\r
+/**\r
+ * html|iframe default sizing \r
+ **/\r
+ html|iframe \r
+ {\r
+ min-width : 10px;\r
+ min-height : 10px;\r
+ width : 100px;\r
+ height : 100px;\r
+ border : none;\r
+ }\r
+\r
+/** \r
+ * XUL <progressmeter> \r
+ **/\r
+ progressmeter[mode="undetermined"] > .progressmeter-internal-box\r
+ {\r
+ background-image : url(chrome://global/skin/progressmeter-busy.gif);\r
+ }\r
+ \r
+ progressmeter[mode="undetermined"] > .progressmeter-internal-box > .progressmeter-stack > .progressmeter-progressbar {\r
+ visibility: collapse;\r
+ }\r
+\r
+ .progress-text \r
+ {\r
+ font-weight : normal !important;\r
+ }\r
+ \r
+ progressmeter \r
+ {\r
+ min-width : 100px;\r
+ margin : 0px 4px 0px 4px;\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+ progressmeter > .progressmeter-internal-box \r
+ {\r
+ border : 1px solid #000000;\r
+ }\r
+\r
+/* progress indicators */\r
+ .progress-bar \r
+ {\r
+ background-color : #6699cc;\r
+ border-right : 1px outset #6699cc;\r
+ }\r
+ \r
+ .progress-remainder \r
+ {\r
+ background-color : #999999;\r
+ }\r
+\r
+ .progressmeter-statusbar \r
+ {\r
+ border : 1px solid #9999CC;\r
+ margin : 1px 4px 1px 4px;\r
+ }\r
+\r
+ .progressmeter-statusbar > .progressmeter-internal-box\r
+ {\r
+ border : none;\r
+ padding : 1px;\r
+ }\r
+ \r
+ .progressmeter-progressbar[statusbar="true"] > .progress-bar\r
+ {\r
+ background-color : #9999CC;\r
+ border-right : none;\r
+ }\r
+ \r
+ .progressmeter-progressbar[statusbar="true"] > .progress-remainder\r
+ {\r
+ background-color : #CCD0DD;\r
+ }\r
+ \r
+/** XUL <scrollbar> element **/\r
+ scrollbar \r
+ { \r
+ user-focus : ignore; \r
+ } \r
+\r
+\r
+/* XUL <colorpicker> pieces */\r
+.colorpickertile \r
+ {\r
+ width : 20px;\r
+ height : 20px;\r
+ margin : 1px;\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+.colorpickertile:hover \r
+ {\r
+ border : 1px solid #FFFFFF;\r
+ }\r
+\r
+.colorpickertile[selected="true"] \r
+ {\r
+ border : 1px solid #000000;\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="globalBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+\r
+ <binding id="status-bar" extends="xul:box">\r
+ <content>\r
+ <xul:box>\r
+ <xul:image class="statusbar-left"/>\r
+ <xul:box autostretch="never" flex="1">\r
+ <children/>\r
+ </xul:box>\r
+ <xul:image class="statusbar-right"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+ \r
+menubar \r
+ {\r
+ background-color : #CCD0DD;\r
+ border-bottom : 1px solid #9999CC;\r
+ border-right : 1px solid #9999CC;\r
+ }\r
+\r
+menubar > toolbargrippy \r
+ {\r
+/* display : none; */\r
+ }\r
+\r
+menu, menuitem \r
+ {\r
+ color : #000000;\r
+ vertical-align : middle;\r
+ }\r
+\r
+menuitem[default="true"]\r
+ {\r
+ font-weight : bold;\r
+ } \r
+ \r
+menu[disabled="true"], menuitem[disabled="true"],\r
+menu[menuactive="true"][disabled="true"],\r
+menuitem[menuactive="true"][disabled="true"]\r
+ {\r
+ color : #999999;\r
+ }\r
+\r
+/* XXX menupopups have to have a color explicitly specified. this is a bug */\r
+menupopup, popup \r
+ {\r
+ background-color : #CCD0DD;\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+menupopup > menu, popup > menu,\r
+menupopup > menuitem, popup > menuitem\r
+ {\r
+ max-width : 250px;\r
+ min-width : 125px;\r
+ margin-left : 0px;\r
+ margin-right : 0px;\r
+ margin-top : 0px;\r
+ margin-bottom : 0px;\r
+ }\r
+\r
+menuseparator \r
+ {\r
+ border : 1px inset #CCD0DD; \r
+ margin : 2px 2px 2px 2px;\r
+ }\r
+\r
+menubar > menu \r
+ {\r
+ border : 1px solid #CCD0DD;\r
+ padding : 2px 0px 2px 3px;\r
+ margin : 0px 2px 1px 0px;\r
+ }\r
+\r
+menupopup > menu, menupopup > menuitem,\r
+popup > menu, popup > menuitem\r
+ {\r
+ padding : 2px;\r
+ }\r
+\r
+menubar > menu[menuactive="true"] \r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+menubar > menu[menuactive="true"][open="true"] \r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+menupopup > menu[menuactive="true"],\r
+menupopup > menuitem[menuactive="true"],\r
+popup > menu[menuactive="true"],\r
+popup > menuitem[menuactive="true"]\r
+ {\r
+ background-color : #336699;\r
+ color : #FFFFFF;\r
+ }\r
+\r
+\r
+/** \r
+ * Atomic sub-parts of standard menus\r
+ **/\r
+.menu-right \r
+ {\r
+ margin : 0px 0px 0px 6px;\r
+ width : 8px;\r
+ text-align : center;\r
+ list-style-image : url("chrome://global/skin/menu-arrow.gif");\r
+ }\r
+\r
+.menu-iconic-left \r
+ {\r
+ color : inherit;\r
+ margin : 0px 2px 0px 0px;\r
+ width : 13px;\r
+ text-align : center;\r
+ list-style-image : inherit;\r
+ }\r
+\r
+.menubar-left \r
+ {\r
+ color : inherit;\r
+ margin : 0px 2px 0px 0px;\r
+ }\r
+\r
+.menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel \r
+ {\r
+ color : inherit;\r
+ margin : 0px 2px 0px 0px;\r
+ }\r
+\r
+.menu-text \r
+ {\r
+ padding-left : 15px;\r
+ font-weight : inherit;\r
+ }\r
+\r
+.menu-accel \r
+ {\r
+ margin-left : 4px;\r
+ padding-right : 14px;\r
+ }\r
+\r
+.menu-iconic-accel \r
+ {\r
+ margin-left : 4px;\r
+ }\r
+\r
+.menubar-text \r
+ {\r
+ color : inherit;\r
+ margin-right : 2px;\r
+ }\r
+\r
+menuitem[checked="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-check.gif");\r
+ }\r
+\r
+menuitem[checked="true"][disabled="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-check-disabled.gif");\r
+ }\r
+\r
+menuitem[checked="true"][menuactive="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-check-hover.gif");\r
+ }\r
+\r
+.menu-right[disabled="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");\r
+ }\r
+\r
+.menu-right[menuactive="true"][disabled="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");\r
+ }\r
+\r
+.menu-right[menuactive="true"] \r
+ {\r
+ list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");\r
+ }\r
+\r
+/** Tooltips (tooltip <popup> element)\r
+ * class="tooltip"\r
+ **/\r
+.tooltip\r
+ {\r
+ background-color : #FFFFCC;\r
+ border : 1px outset #FFFFCC;\r
+ color : #000000;\r
+ font : smaller;\r
+ padding : 3px;\r
+ }\r
+\r
+/*\r
+ * Autorepeatbutton\r
+ */\r
+.autorepeatbutton-up {\r
+ list-style-image: url("chrome://global/skin/scroll-up.gif")\r
+}\r
+\r
+.autorepeatbutton-down {\r
+ list-style-image: url("chrome://global/skin/scroll-down.gif")\r
+}\r
+\r
+autorepeatbutton {\r
+ text-align: center;\r
+ vertical-align: middle;\r
+}\r
+\r
+autorepeatbutton:hover {\r
+ background-color: #336699;\r
+}
\ No newline at end of file
--- /dev/null
+\r
+/* outermost frame */\r
+ menubutton\r
+ {\r
+/* margin : 3px 5px 3px 5px; */\r
+ }\r
+ \r
+ menubutton[disabled="true"] \r
+ {\r
+ color : #999999;\r
+ }\r
+ \r
+ menubutton > .menubutton-internal-box\r
+ {\r
+ border : none;\r
+ padding : 0px;\r
+ vertical-align : middle;\r
+ }\r
+\r
+ .menubutton-single-icon\r
+ {\r
+ margin-right : 3px;\r
+ }\r
+ \r
+/** "Dual Functionality" menubutton\r
+ * Has a popup spawning button and a command invoking button, e.g. back/forward\r
+ * class="menubutton-dual"\r
+ **/ \r
+ \r
+/* inner button */\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button,\r
+ menubutton:hover > .menubutton-internal-box > .menubutton-dual-button,\r
+ menubutton:active > .menubutton-internal-box > .menubutton-dual-button\r
+ {\r
+ border : none;\r
+ margin : 0px;\r
+ -moz-border-radius : 0px;\r
+ }\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ margin : 0px\r
+ }\r
+ \r
+ menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box,\r
+ menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+\r
+/* inner dropmarker */\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 0px 2px 0px 2px;\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+ menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 1px 1px -1px 3px;\r
+ }\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+ border : none;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-disabled.gif");\r
+ }\r
+\r
+ menubutton > menupopup\r
+ {\r
+ min-width : 0px;\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+ \r
+ menubutton > menupopup > .menupopup-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+ \r
+ menubutton > menupopup > menuitem\r
+ {\r
+ padding : 0px 0px 0px 3px;\r
+ }\r
+\r
+/** Icon only menubutton.menubutton-duals\r
+ * class="menubutton.menubutton-dual-icon"\r
+ **/\r
+ .menubutton.menubutton-dual-icon \r
+ {\r
+ border : none;\r
+ background-color : #CCD0DD;\r
+ } \r
+ \r
+ .menubutton.menubutton-dual-icon > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ padding : 1px;\r
+ }\r
+ \r
+ .menubutton.menubutton-dual-icon:hover:active > .menubutton.menubutton-dual-icon-internal-box,\r
+ .menubutton.menubutton-dual-icon[open="true"] > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 2px 0px 0px 2px;\r
+ } \r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="menuButtonToolbarBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <binding id="menubutton-toolbar-top">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="classic-simplebutton" allowevents="true" flex="1"\r
+ inherits="value,src,accesskey,crop,disabled,buttonaction:oncommand" \r
+ onmousedown="this.parentNode.setAttribute('buttondown','true');"\r
+ onmouseup="this.parentNode.removeAttribute('buttondown');"\r
+ onmouseover="this.parentNode.setAttribute('buttonover','true');"\r
+ onmouseout="this.parentNode.removeAttribute('buttonover');"/>\r
+ <xul:box class="classic-dropmarker-box" autostretch="never" valign="middle" inherits="disabled">\r
+ <xul:image class="classic-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template" autostretch="never">\r
+ <xul:image class="classic-simplebutton-icon" inherits="src"/>\r
+ <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">\r
+ <xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template" orient="vertical" autostretch="never" halign="middle">\r
+ <xul:image class="classic-simplebutton-icon" inherits="src"/>\r
+ <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">\r
+ <xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>\r
--- /dev/null
+\r
+/* NEW WIDGET LANDING: <menulist> popup */\r
+\r
+/* outer frame */\r
+ menulist \r
+ {\r
+ padding : 0px;\r
+ border : none;\r
+ background-color : #CCCCCC;\r
+ margin : 1px 5px 2px 5px;\r
+ }\r
+\r
+ menulist[menuactive="true"],\r
+ menulist:hover \r
+ {\r
+ border : none;\r
+ }\r
+\r
+ menulist[open="true"] \r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ menulist[disabled="true"]\r
+ {\r
+ border : none;\r
+ color : #9999CC;\r
+ }\r
+ \r
+/* icon display frame */\r
+ menulist > .menu-icon \r
+ {\r
+ border-left : 1px inset #CCD0DD;\r
+ border-top : 1px inset #CCD0DD;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ padding : 2px 0px 2px 0px;\r
+ } \r
+\r
+ menulist[open="true"] > .menu-icon \r
+ {\r
+ border-left : 1px inset #CCD0DD;\r
+ border-top : 1px inset #CCD0DD;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ padding : 2px 0px 2px 0px;\r
+ }\r
+ \r
+/* text display frame */\r
+ menulist > .menu-text \r
+ {\r
+ padding : 2px 4px 2px 4px;\r
+ border-top : 1px inset #CCD0DD;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ border-right : 1px inset #CCD0DD;\r
+ margin-right : 0px;\r
+ }\r
+ \r
+ menulist[open="true"] > .menu-text \r
+ {\r
+ border-top : 1px inset #CCD0DD;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ border-right : 1px inset #CCD0DD;\r
+ padding : 2px 4px 2px 4px;\r
+ }\r
+\r
+/* drop marker display frame */\r
+ menulist > .menu-dropmarker \r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ border-left : none;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ padding : 2px;\r
+ }\r
+ \r
+ menulist[disabled="true"] > .menu-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-disabled.gif");\r
+ }\r
+\r
+ menulist[open="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ padding : 3px 2px 1px 2px;\r
+ }\r
+\r
+/** rules for EDITABLE menulists (aka 'comboboxes'). \r
+ **/\r
+\r
+/* outer frame */\r
+ menulist[editable="true"] \r
+ {\r
+ padding : 0px;\r
+ }\r
+\r
+/* icon display frame */\r
+ menulist[editable="true"] > .menu-icon \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+ background-color : white;\r
+ padding : 1px;\r
+ border-left : 1px inset #CCD0DD;\r
+ border-top : 1px inset #CCD0DD;\r
+ border-right : none;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ }\r
+\r
+/* text display frame */ \r
+ menulist[editable="true"] > .menu-text \r
+ {\r
+ border-left : none;\r
+ border-top : 1px inset #CCD0DD;\r
+ border-right : 1px inset #CCD0DD;\r
+ border-bottom : 1px inset #CCD0DD;\r
+ margin : 0px 2px 0px 0px;\r
+ }\r
+\r
+/* drop marker display frame */\r
+ menulist[editable="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+ menulist[editable="true"][open="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+/* rules for popups and separators associated with menulists */\r
+ menulist > menupopup \r
+ {\r
+ border : 1px outset #CCD0DDk;\r
+ min-width : 0px;\r
+ padding : 0px;\r
+ }\r
+ \r
+ menulist > menupopup > menuseparator \r
+ {\r
+ border-bottom : 1px inset #CCD0DD; \r
+ }\r
+\r
+ menulist > menupopup > menuitem \r
+ {\r
+ padding : 0px;\r
+ min-width: 0px;\r
+ max-width: auto;\r
+ }\r
+\r
+ menulist > menupopup > menuitem > .menu-left \r
+ {\r
+ width : 13px;\r
+ }\r
+\r
+ menulist > menupopup > menuitem[selected="true"] > .menu-left\r
+ {\r
+ list-style-image : url(chrome://global/skin/menu-check.gif);\r
+ }\r
+ \r
+ menulist > menupopup > menuitem[menuactive="true"][selected="true"] > .menu-left\r
+ {\r
+ list-style-image : url(chrome://global/skin/menu-check-hover.gif);\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="menulistBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+<!-- \r
+ BINDING : menulist\r
+ XUL REPRESENTATION : <menulist>\r
+ -->\r
+ <binding id="menulist" extends="chrome://global/content/menulistBindings.xml#menulist">\r
+ <content excludes="template,observes,menupopup" flex="1">\r
+ <xul:box class="menulist-internal-box" flex="1">\r
+ <xul:box class="menulist-display-box" flex="1" valign="middle" autostretch="never">\r
+ <xul:image class="menulist-icon" inherits="src"/>\r
+ <xul:text class="menulist-text" inherits="value,accesskey,crop" crop="right"/>\r
+ </xul:box>\r
+ <xul:box class="menulist-dropmarker-box-1" valign="middle" inherits="open">\r
+ <xul:box class="menulist-dropmarker-box-2" flex="1" autostretch="never" valign="middle" inherits="open">\r
+ <xul:image class="menulist-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menulistpopup">\r
+ <content>\r
+ <xul:box class="menulistpopup-internal-box" orient="vertical" flex="1" style="overflow: auto">\r
+ <children/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+/* stylesheet for XUL <radio> element */\r
+\r
+/* default radio for dialogs */\r
+/* outer frame */\r
+ radio \r
+ {\r
+ margin: 3px 5px 3px 5px;\r
+ }\r
+\r
+\r
+/* checkmark outer frame */\r
+ radio > .internal-box > .checkmark-box \r
+ {\r
+ -moz-border-radius: 50%;\r
+ margin-top: 2px;\r
+ }\r
+\r
+/* checkmark inner frame */\r
+ radio > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 2px outset #CCD0DD;\r
+ width: 12px;\r
+ height: 12px;\r
+ padding: 1px;\r
+ -moz-border-radius: 50%;\r
+ }\r
+\r
+ /* ensure that no list-style-image is inherited in from the Outside */\r
+ .checkmark-box\r
+ {\r
+ list-style-image: none;\r
+ }\r
+ \r
+\r
+ radio[checked="true"] > .internal-box > .checkmark-box > image \r
+ {\r
+ list-style-image: url(chrome://global/skin/check-radio.gif);\r
+ }\r
+ \r
+ radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > image\r
+ {\r
+ list-style-image: url(chrome://global/skin/check-radio-disabled.gif);\r
+ }\r
+\r
+ radio:hover:active > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 2px inset #CCD0DD;\r
+ }\r
+\r
+ radio[disabled="true"] > .internal-box > .checkmark-box > image,\r
+ radio[disabled="true"]:active > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 2px outset #CCD0DD;\r
+ }\r
+\r
+/* text/icon frames */\r
+ radio[value] > .internal-box > html,\r
+ radio.iconic > .internal-box > .icon \r
+ {\r
+ margin: 0px 0px 0px 4px;\r
+ padding: 1px;\r
+ }\r
+\r
+ radio.iconic > .internal-box > html \r
+ {\r
+ margin-left: 4px;\r
+ }\r
+ \r
+ radio[disabled="true"][value] > .internal-box > html \r
+ {\r
+ color: #999999;\r
+ }\r
+ \r
+ radio:focus > .internal-box > html\r
+ { \r
+ border : 1px dotted black;\r
+ padding : 0px;\r
+ }\r
+ \r
+
\ No newline at end of file
--- /dev/null
+@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */\r
+\r
+/********* XP Scrollbar *********/\r
+\r
+scrollbar {\r
+ -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar");\r
+}\r
+\r
+/********* XP Scrollbar *********/\r
+\r
+thumb {\r
+ -moz-binding: url(chrome://global/content/xulBindings.xml#thumb);\r
+ background-color: #CCCCCC;\r
+ border: 1px outset #CCCCCC;\r
+ list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif")\r
+}\r
+\r
+thumb[disabled="true"] {\r
+ list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");\r
+}\r
+\r
+thumb[align="vertical"] {\r
+ list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif")\r
+}\r
+\r
+scrollbarbutton {\r
+ vertical-align: bottom;\r
+ cursor: default;\r
+\r
+ border: 1px outset white;\r
+ background-color: #CCCCCC;\r
+ color:black; \r
+\r
+ padding: 1px;\r
+}\r
+\r
+scrollbarbutton:active {\r
+ border-style: inset;\r
+\r
+ padding-left: 2px;\r
+ padding-right: 0px;\r
+ padding-top: 2px;\r
+ padding-bottom: 0px;\r
+}\r
+\r
+scrollbarbutton[type="decrement"] {\r
+ list-style-image: url("chrome://global/skin/scroll-left.gif")\r
+}\r
+\r
+scrollbarbutton[type="decrement"][disabled="true"] {\r
+ list-style-image: url("chrome://global/skin/scroll-left-disabled.gif") \r
+}\r
+\r
+scrollbarbutton[type="increment"] {\r
+ list-style-image: url("chrome://global/skin/scroll-right.gif")\r
+}\r
+\r
+\r
+scrollbarbutton[type="increment"][disabled="true"] {\r
+ list-style-image: url("chrome://global/skin/scroll-right-disabled.gif") \r
+}\r
+\r
+\r
+scrollbar[align="vertical"] scrollbarbutton[type="decrement"] {\r
+ list-style-image: url("chrome://global/skin/scroll-up.gif")\r
+}\r
+\r
+scrollbar[align="vertical"] scrollbarbutton[type="decrement"][disabled="true"] {\r
+ list-style-image: url("chrome://global/skin/scroll-up-disabled.gif") \r
+}\r
+\r
+scrollbar[align="vertical"] scrollbarbutton[type="increment"] {\r
+ list-style-image: url("chrome://global/skin/scroll-down.gif")\r
+}\r
+\r
+scrollbar[align="vertical"] scrollbarbutton[type="increment"][disabled="true"] {\r
+ list-style-image: url("chrome://global/skin/scroll-down-disabled.gif") \r
+}\r
+\r
+slider[align="vertical"] thumb:active {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+slider {\r
+ background-color: #999999;\r
+}\r
--- /dev/null
+/******* Splitters *******/\r
+\r
+splitter \r
+ {\r
+ cursor : e-resize;\r
+ background-color : #CCD0DD;\r
+ vertical-align : middle;\r
+ text-align : center;\r
+ padding : 0px;\r
+ }\r
+\r
+splitter[state="dragging"]\r
+ {\r
+ background-color : #999999;\r
+ }\r
+\r
+grippy\r
+ {\r
+ margin : 0px;\r
+ border : 1px outset #CCD0DD;\r
+ padding : 0px;\r
+ list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");\r
+ cursor : pointer;\r
+ }\r
+\r
+splitter[state="collapsed"] > grippy\r
+ {\r
+ list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");\r
+ }\r
+\r
+grippy:hover\r
+ {\r
+ background-color : #99CCFF;\r
+ }\r
+\r
+grippy:hover:active\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ }\r
+\r
+/* vertical splitters */\r
+ window > splitter, box > splitter \r
+ {\r
+ width : 8px;\r
+ border-left : 1px solid #9999CC;\r
+ border-right : 1px solid #9999CC;\r
+ }\r
+ \r
+/* horizontal splitters */ \r
+ /* XXX we should comment out the 'align' support to force people to migrate \r
+ to 'orient' */\r
+ rows > splitter,\r
+ window[orient="vertical"] > splitter,\r
+ box[orient="vertical"] > splitter,\r
+ window[align="vertical"] > splitter,\r
+ box[align="vertical"] > splitter\r
+ {\r
+ cursor : n-resize;\r
+ border-top : 1px solid #9999CC;\r
+ border-right : 1px solid #9999CC;\r
+ }\r
+\r
+ rows > splitter > grippy,\r
+ window[orient="vertical"] > splitter grippy,\r
+ box[orient="vertical"] > splitter grippy,\r
+ window[align="vertical"] > splitter grippy,\r
+ box[align="vertical"] > splitter grippy\r
+ {\r
+ list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+tabcontrol {\r
+ margin: 1px 5px 2px 5px;\r
+}\r
+\r
+/********** Tab widget *********/\r
+tab { \r
+ border-top: 1px solid white;\r
+ border-bottom: 1px solid #666699;\r
+ border-left: 1px solid white;\r
+ border-right: 1px solid #666699;\r
+ color: black; \r
+ padding: 3px 5px 3px 5px;\r
+}\r
+\r
+/* when a tab is selected this is how it should look */\r
+tab[selected="true"] {\r
+ font-weight: bold;\r
+}\r
+\r
+tab:hover { \r
+ color: #003366;\r
+ text-decoration: underline;\r
+}\r
+\r
+tab:hover:active { \r
+ border-top: 1px solid #666699;\r
+ border-bottom: 1px solid white;\r
+ border-left: 1px solid #666699;\r
+ border-right: 1px solid white;\r
+ text-decoration: none;\r
+}\r
+\r
+tabbox {\r
+ padding: 0px 2px 0px 2px;\r
+}\r
+\r
+ /* top tabs */\r
+tabcontrol[align="vertical"] tabbox[align="horizontal"] tab { \r
+ border-bottom: none;\r
+ -moz-border-radius: 8px 8px 0px 0px;\r
+ padding-bottom: 1px;\r
+ margin: 1px 2px 1px 2px;\r
+}\r
+\r
+ /* bottom tabs */\r
+tabcontrol[align="vertical"] tabpanel + tabbox[align="horizontal"] tab { \r
+ border-top: none;\r
+ border-bottom: 1px solid #666699;\r
+ border-left: 1px solid white;\r
+ border-right: 1px solid #666699;\r
+ -moz-border-radius: 0px 0px 8px 8px;\r
+ padding: 1px 5px 3px 5px;\r
+ margin: 1px 2px 1px 2px;\r
+}\r
+\r
+ /* left tabs */\r
+tabcontrol[align="horizontal"] tabbox[align="vertical"] tab { \r
+ border-right: none;\r
+ -moz-border-radius: 8px 0px 0px 8px;\r
+ padding-right: 1px;\r
+ margin: 2px 1px 2px 1px;\r
+}\r
+\r
+ /* right tabs */\r
+tabcontrol[align="horizontal"] tabpanel + tabbox[align="vertical"] tab { \r
+ border-top: 1px solid white;\r
+ border-bottom: 1px solid #666699;\r
+ border-left: none;\r
+ border-right: 1px solid #666699;\r
+ -moz-border-radius: 0px 8px 8px 0px;\r
+ padding: 3px 5px 1px 5px;\r
+ margin: 2px 1px 2px 1px;\r
+}\r
+\r
+tabcontrol { \r
+ border: none; \r
+}\r
+\r
+/* border on bottom only, no padding (used in search) */\r
+tabpanel.light {\r
+ border: none;\r
+ border-bottom: 1px outset #CCD0DD;\r
+ padding: 0px;\r
+}\r
+\r
+tabpanel {\r
+ border-top: 1px solid white;\r
+ border-bottom: 1px solid #666699;\r
+ border-left: 1px solid white;\r
+ border-right: 1px solid #666699;\r
+ padding: 5px;\r
+}\r
+\r
--- /dev/null
+#mini-nav \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-navigator.gif");\r
+ }\r
+\r
+#mini-mail \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mail.gif");\r
+ }\r
+\r
+#mini-addr \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-addressbook.gif");\r
+ }\r
+\r
+#mini-comp \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-composer.gif");\r
+ }\r
+\r
+#taskbar \r
+ {\r
+ min-height : 1em;\r
+ user-focus : ignore;\r
+ }\r
+\r
+.taskbutton \r
+ {\r
+ margin-right : 1em !important;\r
+ }\r
+\r
+.taskbarspacer \r
+ {\r
+ min-width : 0.3em;\r
+ width : 1em;\r
+ }\r
+\r
+/*\r
+#taskbar > toolbargrippy\r
+ {\r
+ display : none;\r
+ }\r
+*/
\ No newline at end of file
--- /dev/null
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+/** generic text fields (in dialogs)\r
+ **/\r
+ \r
+/* outer frame */\r
+ textfield\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ font : inherit;\r
+ color : #000000;\r
+ padding : 0px;\r
+ margin : 1px 3px 2px 4px;\r
+ background-color : #FFFFFF;\r
+ cursor : text;\r
+ }\r
+ \r
+ textfield[readonly="true"]\r
+ {\r
+ background-color : #CCCCCC;\r
+ }\r
+ \r
+ textfield[focused="true"]\r
+ {\r
+ border : 2px solid #6699cc;\r
+ margin : 0px 2px 1px 3px;\r
+ }\r
+ \r
+ textfield[focused="true"][readonly="true"]\r
+ {\r
+ border : 1px inset #CCCCCC;\r
+ margin : 1px 3px 2px 4px;\r
+ }\r
+\r
+/* internal frame */\r
+ .textfield-internal-box \r
+ {\r
+ margin : 0px;\r
+ padding : 1px 2px 1px 2px;\r
+ cursor : text;\r
+ border : none;\r
+ background-color : inherit;\r
+ color : inherit;\r
+ }\r
+ \r
+ textfield[disabled="true"] > .textfield-internal-box\r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .textarea-internal-box\r
+ {\r
+ padding : 0px 0px 0px 2px;\r
+ }\r
+ \r
+/* internal text widget */\r
+ .textfield-input, .textfield-textarea\r
+ {\r
+ border : none !important;\r
+ margin : 0px;\r
+ font : inherit;\r
+ background-color : inherit;\r
+ }\r
+\r
+ textfield[disabled="true"] \r
+ {\r
+ cursor : default ! important;\r
+ } \r
+ \r
+/** plain atomic textfields, class="plain" **/\r
+ textfield.plain, \r
+ textfield.plain > .textfield-internal-box, \r
+ textfield.plain > .textarea-internal-box\r
+ {\r
+ padding : 0px !important;\r
+ margin : 0px !important;\r
+ border : none !important;\r
+ }\r
+\r
+ .scrollfield\r
+ {\r
+ border : none !important;\r
+ margin : 0px;\r
+ margin-top : 1px; \r
+ padding : 0px !important;\r
+ background : inherit;\r
+ } \r
+ \r
+ .scrollfield > .textfield-internal-box\r
+ {\r
+ border : none !important;\r
+ margin : 0px !important;\r
+ padding : 0px !important;\r
+ }\r
+ \r
+ \r
+
\ No newline at end of file
--- /dev/null
+\r
+toolbox\r
+ {\r
+ background-color : #CCD0DD;\r
+ }\r
+ \r
+toolbar\r
+ {\r
+ background-color : #CCD0DD;\r
+ border : 1px outset #CCD0DD;\r
+ }\r
+\r
+toolbargrippy\r
+ {\r
+ background-color : #666699;\r
+ border : 1px solid #999999;\r
+ }\r
+ \r
+toolbar[collapsed="true"] > toolbargrippy\r
+ {\r
+ width : 30px;\r
+ }\r
+ \r
+toolbarseparator \r
+ { \r
+ width : 2em; \r
+ }\r
+
\ No newline at end of file
--- /dev/null
+\r
+/******** Tree widget **********/\r
+\r
+/** basic tree ****************************************************\r
+ * basic tree widget for use in main windows where no decoration\r
+ * is required.\r
+ **/\r
+tree {\r
+ background-color: white;\r
+ border: none;\r
+ border-spacing: 0px;\r
+}\r
+\r
+/** class="inset" *************************************************\r
+ * this is the tree class used by dialogs to create treeviews with \r
+ * inset borders, and default dialog spacing.\r
+ **/\r
+tree.inset {\r
+ border-top: 1px solid #666699;\r
+ border-bottom: 1px solid white;\r
+ border-left: 1px solid #666699;\r
+ border-right: 1px solid white;\r
+ margin: 1px 5px 2px 5px;\r
+}\r
+\r
+treeitem[selected="true"] > treerow { \r
+ color: white;\r
+ background-color: #336699;\r
+}\r
+\r
+treecell { \r
+ white-space: nowrap;\r
+ vertical-align: middle;\r
+ padding: 1px 0px 1px 2px;\r
+} \r
+\r
+.treecell-header { \r
+ background-color: #CCD0DD; \r
+ color: black;\r
+ border-right: 1px solid white;\r
+ vertical-align: middle;\r
+ padding: 0px 0px 0px 5px;\r
+} \r
+\r
+.treecell-inset-header {\r
+ background-color: #CCD0DD; \r
+ border-top: 1px solid white;\r
+ border-bottom: 1px solid #666699;\r
+ border-left: 1px solid white;\r
+ border-right: 1px solid #666699;\r
+}\r
+\r
+tree.inset > treehead > treerow > treecell.sortable:active {\r
+ border-top: 1px solid #666699;\r
+ border-bottom: 1px solid white;\r
+ border-left: 1px solid #666699;\r
+ border-right: 1px solid white;\r
+}\r
+\r
+/** class="propertylist" ******************************************\r
+ * class for cells in grid-formatted property lists.\r
+ **/\r
+treecell.propertylist {\r
+ padding-left: 5px;\r
+ border-right: 1px solid #CCD0DD;\r
+ border-bottom: 1px solid #CCD0DD;\r
+}\r
+\r
+.tree-cell-primary-icon {\r
+ list-style-image: inherit;\r
+ padding-right: 2px;\r
+}\r
+\r
+.tree-cell-icon {\r
+ list-style-image: inherit;\r
+ padding-right: 2px;\r
+}\r
+\r
+.treecell-indent > .tree-cell-primary-icon {\r
+ padding-left: 14px;\r
+ }\r
+\r
+treeitem[container="true"] > treerow > .treecell-indent > .tree-cell-primary-icon {\r
+ padding-left: 0px;\r
+}\r
+\r
+.tree-cell-twisty {\r
+ list-style-image: url("chrome://global/skin/closedtwisty.gif");\r
+ user-focus:ignore;\r
+ padding-right: 2px;\r
+}\r
+\r
+treeitem[selected="true"] > treerow > treecell > .tree-cell-twisty {\r
+ list-style-image: url("chrome://global/skin/closedtwisty-selected.gif");\r
+}\r
+\r
+.tree-cell-twisty:hover {\r
+ text-decoration: none;\r
+}\r
+\r
+.tree-cell-twisty:active {\r
+ text-decoration: none;\r
+}\r
+\r
+.tree-cell-twisty[disabled="true"] {\r
+ list-style-image: none;\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {\r
+ list-style-image: url("chrome://global/skin/opentwisty.gif");\r
+}\r
+\r
+treeitem[selected="true"][container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {\r
+ list-style-image: url("chrome://global/skin/opentwisty-selected.gif");\r
+}\r
+\r
+\r
+/* tree header with sort direction indicators */\r
+.sortDirectionIndicator[sortDirection="ascending"] > .tree-header-sortdirection {\r
+ list-style-image: url("chrome://global/skin/sortAscending.gif");\r
+ margin-right: 3px;\r
+}\r
+\r
+.sortDirectionIndicator[sortDirection="descending"] > .tree-header-sortdirection {\r
+ list-style-image: url("chrome://global/skin/sortDescending.gif");\r
+ margin-right: 3px;\r
+}\r
+\r
+treecol[sortDirection="true"],\r
+treecol[sortActive="true"]\r
+ {\r
+ background-color : #DFDFDF;\r
+ }\r
+\r
+.treecell-popup-icon\r
+ {\r
+ list-style-image : url("chrome://global/skin/columnselect.gif");\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="treeBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="treecell-header">\r
+ <content excludes="observes">\r
+ <xul:box class="treecell-header-box" flex="1" autostretch="never" valign="middle">\r
+ <xul:image class="tree-header-image" inherits="src"/>\r
+ <xul:text class="tree-header-text" inherits="crop,value" flex="1" crop="right"/>\r
+ <xul:image class="tree-header-sortdirection"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+#wiz-back-button {\r
+ list-style-image : url("chrome://global/skin/scroll-left.gif");\r
+}\r
+#wiz-back-button[disabled] {\r
+ list-style-image : url("chrome://global/skin/scroll-left-disabled.gif");\r
+}\r
+#wiz-next-button {\r
+ list-style-image : url("chrome://global/skin/scroll-right.gif");\r
+}\r
+#wiz-next-button[disabled] {\r
+ list-style-image : url("chrome://global/skin/scroll-right-disabled.gif");\r
+}\r
+\r
+box#wizardButtons {\r
+ margin-top : 3px;\r
+}\r
+\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"\r
+ xmlns:chrome="http://www.mozilla.org/rdf/chrome#">\r
+\r
+ <!-- List all the skins being supplied by this theme -->\r
+ <RDF:Seq about="urn:mozilla:skin:root">\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3" />\r
+ </RDF:Seq>\r
+\r
+ <!-- Information -->\r
+ <RDF:Description about="urn:mozilla:skin:EarlyBlue/0.3"\r
+ chrome:displayName="EarlyBlue"\r
+ chrome:email="KaiRo@KaiRo.at"\r
+ chrome:website="http://www.kairo.at/download/"\r
+ chrome:description="This theme re-introduces a UI design idea based on early Mozilla milestones. Get more info at http://www.kairo.at/download/"\r
+ chrome:author="Robert Kaiser"\r
+ chrome:name="EarlyBlue/0.3"\r
+ chrome:image="http://www.kairo.at/download/preview/EarlyBlue03.png">\r
+ <chrome:packages>\r
+ <RDF:Seq about="urn:mozilla:skin:EarlyBlue/0.3:packages">\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3:communicator"/>\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3:editor"/>\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3:global"/>\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3:messenger"/>\r
+ <RDF:li resource="urn:mozilla:skin:EarlyBlue/0.3:navigator"/>\r
+ </RDF:Seq>\r
+ </chrome:packages>\r
+ </RDF:Description>\r
+</RDF:RDF>\r
--- /dev/null
+\r
+div.pageTitle {\r
+ font: bolder large;\r
+}\r
+\r
--- /dev/null
+/*\r
+The contents of this file are subject to the Netscape Public\r
+License Version 1.1 (the "License"); you may not use this file\r
+except in compliance with the License. You may obtain a copy of\r
+the License at http://www.mozilla.org/NPL/\r
+\r
+Software distributed under the License is distributed on an "AS\r
+IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+implied. See the License for the specific language governing\r
+rights and limitations under the License.\r
+\r
+The Original Code is Mozilla Communicator client code, released\r
+March 31, 1998.\r
+\r
+The Initial Developer of the Original Code is Netscape\r
+Communications Corporation. Portions created by Netscape are\r
+ Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+Rights Reserved.\r
+*/\r
+ \r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+ \r
+/* CardView styles - used in the Card View Pane*/\r
+\r
+#CardViewBox {\r
+/* overflow: auto;*/\r
+ background-color: #CCD0DD;\r
+ min-width: 150px;\r
+ user-focus: ignore;\r
+}\r
+\r
+#CardViewInnerBox {\r
+ margin-top: 2px;\r
+ margin-bottom: 2px;\r
+ padding-left: 8px;\r
+ padding-right: 8px;\r
+}\r
+\r
+#CardTitle {\r
+ font-size: 150%;\r
+ font-weight: bold;\r
+ border-bottom: 2px solid black;\r
+ min-width: 120px;\r
+ margin: 0px;\r
+}\r
+ \r
+.cardViewGroup {\r
+ margin-top: 8px;\r
+ padding-bottom: 5px;\r
+ min-width: 50px;\r
+}\r
+\r
+[class="CardViewHeading"] {\r
+ padding: 1px;\r
+ padding-left: 5px;\r
+ margin: 0px 0px 1px 0px;\r
+ background-color: #9999CC;\r
+ color: white;\r
+ font-weight: bold;\r
+ min-width: 30px;\r
+}\r
+\r
+[class="CardViewText"] {\r
+ padding-left: 20px;\r
+ padding-right: 2px;\r
+ min-width: 30px;\r
+ margin: 0px;\r
+}\r
+\r
+html|a[class="CardViewText"] {\r
+ padding-left: 20px;\r
+ padding-right: 2px;\r
+ min-width: 30px;\r
+}\r
+\r
+\r
+/* CardEdit styles - used in the Card Edit Dialog */\r
+\r
+[class="CardEditWidth"] {\r
+ width: 25em;\r
+}\r
+\r
+[class="CardEditLabel"] {\r
+ padding: 0px;\r
+ margin-top: 3px;\r
+}\r
+\r
+[class="alignBoxWithFieldset"] {\r
+ margin-left: 6px;\r
+ margin-right: 5px;\r
+}\r
+\r
+.stateZipSpacer { width: 3em; }\r
+\r
+\r
+/* Custom Trees */\r
+\r
+tree { \r
+ border-left: 1px solid transparent;\r
+}\r
+\r
+#headRow > treecell {\r
+ background-color: #CCD0DD;\r
+ border: 1px outset #CCD0DD;\r
+}\r
+\r
+treeitem[selected="true"] > treerow { \r
+/* color: black;\r
+ background-color: #CCD0DD; */\r
+}\r
+\r
+tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon {\r
+ list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");\r
+}\r
+\r
+tree[class="abResults"] treeitem > treerow > treecell.cardicon {\r
+ list-style-image: url("chrome://messenger/skin/addressbook/person.gif");\r
+ height: 14px;\r
+ min-height: 14px;\r
+}\r
+\r
+\r
+/* Address Book specific style */\r
+\r
+#results_box {\r
+ border-left: 8px solid #CCD0DD;\r
+}\r
+ \r
+[hide] {\r
+ visibility: collapse;\r
+}\r
+\r
+#button-newcard {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");\r
+}\r
+\r
+#button-newcard[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif");\r
+}\r
+\r
+#button-newlist {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif");\r
+}\r
+\r
+#button-newlist[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif");\r
+}\r
+\r
+#button-editcard {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/edit.gif");\r
+}\r
+\r
+#button-editcard[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif");\r
+}\r
+\r
+#button-newmessage {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif");\r
+}\r
+\r
+#button-newmessage[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif");\r
+}\r
+\r
+#button-delete {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important;\r
+}\r
+\r
+#button-delete[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;\r
+}\r
+\r
+#button-stop {\r
+ list-style-image:url("chrome://global/skin/stop.gif");\r
+}\r
+\r
+#button-stop[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/stop_dis.gif");\r
+}\r
+\r
+#button-search {\r
+ list-style-image:url("chrome://global/skin/search.gif");\r
+}\r
+\r
+#button-search[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/search_dis.gif");\r
+}\r
+\r
+#searchlabel {\r
+ padding: 0px;\r
+ padding-left: 5px;\r
+ padding-bottom:2px;\r
+ white-space: nowrap;\r
+ font-size: smaller;\r
+ min-width: 20px;\r
+}\r
+\r
+#searchtext {\r
+ min-width: 20px;\r
+ padding: 0px;\r
+}\r
+\r
+treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { \r
+ \r
+ list-style-image: none !important; \r
+ \r
+} \r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Pete Collins, Ben Goodger\r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+treecell.importsampledata {\r
+ padding-left: 10px;\r
+ border-left: 3px solid #CCCCCC;\r
+}\r
+\r
+#fieldList-box {\r
+ border: 1px inset white;\r
+ width:32em;\r
+ height:300px;\r
+ margin: 1.5em 3em 1.5em 3em;\r
+}\r
--- /dev/null
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+/* basic mail folders */\r
+.tree-cell-folderpane-icon\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-closed.gif");\r
+}\r
+\r
+treeitem.folderTreeItem[open="true"] > treerow > .tree-cell-folderpane-icon\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-open.gif");\r
+}\r
+\r
+/* special folder */\r
+.tree-cell-folderpane-icon[SpecialFolder="Inbox"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[SpecialFolder="Trash"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-open.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
+}\r
+\r
+\r
+/* differentiate new messages on inbox/folders from biff on the server */\r
+.tree-cell-folderpane-icon[NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-closed.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-cell-folderpane-icon[SpecialFolder="Inbox"][NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-open.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+\r
+/* IMAP folders */\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"][IsSecure="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-remote.gif");\r
+}\r
+\r
+/* Local servers */\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="none"] \r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-local.gif");\r
+}\r
+\r
+\r
+/* News folders */\r
+.tree-cell-folderpane-icon[ServerType="nntp"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"][IsSecure="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-news-lock.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"] \r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-news.gif");\r
+}\r
+\r
+\r
+/*All Servers*/\r
+.tree-folder-row[IsServer="true"]\r
+{\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-folder-row[HasUnreadMessages="true"]\r
+{\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-folder-row[NoSelect="true"]\r
+{\r
+ color: gray;\r
+ font-style: italic;\r
+}\r
+\r
+#folder-panel {\r
+ min-width: 10px;\r
+}\r
+\r
+treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { \r
+ \r
+ list-style-image: none !important; \r
+ \r
+}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * \r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+#import-type-radio-box {\r
+ padding-top: 1em;\r
+}\r
+\r
+#import-module-list-box {\r
+ padding: 1em 3em 2em 3em;\r
+}\r
+\r
+#import-module-tree-box {\r
+ height: 8em;\r
+ width: 20em;\r
+ border: 1px inset white;\r
+ margin-top: .5em;\r
+}\r
+\r
+#description {\r
+ margin: 1.5em 0px 0px 0px;\r
+ padding: 0px 2px 0px 2px;\r
+ height: 4em;\r
+ width: 20em;\r
+ background-color:white;\r
+ border:1px inset white;\r
+}\r
+\r
+#progressStatus {\r
+ margin: 1em 0px 0px 0px;\r
+}\r
+\r
+#progressMeter {\r
+ margin: 1em 2em 2em 1em; \r
+ width: 26em;\r
+}\r
+\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="mailBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <!-- Message Pane Widgets -->\r
+ <binding id="mail-emailaddress" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box inherits="orient" autostretch="never" flex="1">\r
+ <xul:box orient="vertical" autostretch="never" flex="1">\r
+ <xul:text class="emailDisplayButton" context="emailAddressPopup" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="emailDisplayImage" inherits="src"/>\r
+ </xul:box>\r
+ </content>\r
+ \r
+ <interface> \r
+ <method name="setTextAttribute">\r
+ <argument name="attributeName"/>\r
+ <argument name="attributeValue"/>\r
+ <body>\r
+ <![CDATA[ \r
+ var textNode = document.getAnonymousNodes(this)[0].firstChild.firstChild;\r
+ textNode.setAttribute(attributeName, attributeValue);\r
+ ]]>\r
+ </body>\r
+ </method>\r
+\r
+ <method name="getTextAttribute">\r
+ <argument name="attributeName"/>\r
+ <argument name="attributeValue"/>\r
+ <body>\r
+ <![CDATA[ \r
+ var textNode = document.getAnonymousNodes(this)[0].firstChild.firstChild;\r
+ return textNode.getAttribute(attributeName, attributeValue);\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+\r
+ <binding id="search-menulist-abstract" extends="xul:box">\r
+ <content>\r
+ <xul:menulist inherits="flex" oncommand="this.parentNode.onSelect(event)">\r
+ <xul:menupopup/>\r
+ </xul:menulist>\r
+ </content>\r
+\r
+ <interface>\r
+ <property readonly="true" name="validityManager">\r
+ <![CDATA[\r
+ Components.classes['mozilla.mail.search.validityManager.1'].getService(Components.interfaces.nsIMsgSearchValidityManager);\r
+ ]]>\r
+ </property>\r
+ <property name="searchScope" onget="return this.internalScope;">\r
+ <!-- scope ID - retrieve the table -->\r
+ <setter>\r
+ <![CDATA[\r
+ // if scope isn't changing this is a noop\r
+ if (this.internalScope == val) return;\r
+\r
+ this.internalScope = val;\r
+ this.refreshList();\r
+ var targets = this.targets;\r
+ if (targets) {\r
+ for (var i=0; i< targets.length; i++) {\r
+ targets[i].searchScope = val;\r
+ }\r
+ }\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+\r
+ <property name="validityTable" readonly="true" onget="return this.validityManager.getTable(this.searchScope)"/>\r
+\r
+ <property name="valueStrings" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var strings = new Array;\r
+ var ids = this.valueIds;\r
+ var bundle = this.stringBundle;\r
+ for (var i=0; i<ids.length; i++)\r
+ strings[i] = this.stringBundle.GetStringFromID(ids[i]);\r
+ return strings;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ <property name="targets" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var forAttrs = this.getAttribute("for");\r
+ if (!forAttrs) return null;\r
+ var targetIds = forAttrs.split(",");\r
+ if (targetIds.length == 0) return null;\r
+\r
+ var targets = new Array;\r
+ var j=0;\r
+ for (var i=0; i<targetIds.length;i++) {\r
+ var target = document.getElementById(targetIds[i]);\r
+ if (target) targets[j++] = target;\r
+ }\r
+ return targets;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+\r
+ <!-- value forwards to the internal menulist's "data" attribute -->\r
+ <property name="value" onget="return document.getAnonymousNodes(this)[0].selectedItem.getAttribute('data');">\r
+ <setter>\r
+ <![CDATA[\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+ var dataItems = menulist.getElementsByAttribute("data", val);\r
+ if (dataItems.length > 0)\r
+ menulist.selectedItem = dataItems[0];\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="refreshList">\r
+ <body>\r
+ <![CDATA[\r
+ var menuItemIds = this.valueIds;\r
+ var menuItemStrings = this.valueStrings;\r
+\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+ var popup = menulist.firstChild;\r
+\r
+ // save our old "data" so we can restore it later\r
+ var oldData = menulist.data;\r
+\r
+ // remove the old popup children\r
+ while (popup.hasChildNodes())\r
+ popup.removeChild(popup.lastChild);\r
+\r
+ var newSelection;\r
+ for (var i=0; i<menuItemIds.length; i++) {\r
+ // create the menuitem\r
+ var menuitem = document.createElement("menuitem");\r
+ menuitem.setAttribute("value", menuItemStrings[i]);\r
+ menuitem.setAttribute("data", menuItemIds[i]);\r
+ popup.appendChild(menuitem);\r
+\r
+ // try to restore the selection\r
+ if (!newSelection || oldData == menuItemIds[i].toString()) {\r
+ newSelection = menuitem;\r
+ }\r
+ }\r
+\r
+ // now restore the selection\r
+ menulist.selectedItem = newSelection\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <method name="onSelect">\r
+ <argument name="event"/>\r
+ <body>\r
+ <![CDATA[\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+\r
+ // notify targets\r
+ var targets = this.targets;\r
+ if (targets) {\r
+ for (var i=0; i< targets.length; i++) {\r
+ targets[i].parentValue = menulist.data;\r
+ }\r
+ }\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchattribute - Subject, Sender, To, CC, etc. -->\r
+ <binding id="searchattribute"\r
+ extends="chrome://messenger/skin/mailWidgets.xml#search-menulist-abstract">\r
+ <interface>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search-attributes.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="valueIds" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var length = new Object;\r
+ return this.validityTable.getAvailableAttributes(length);\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchoperator - Contains, Is Less than, etc -->\r
+ <binding id="searchoperator"\r
+ extends="chrome://messenger/skin/mailWidgets.xml#search-menulist-abstract">\r
+ <interface>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search-operators.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="valueIds" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var length = new Object;\r
+ return this.validityTable.getAvailableOperators(this.searchAttribute,length);\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ <property name="parentValue">\r
+ <setter>\r
+ <![CDATA[\r
+ if (this.searchAttribute == val) return;\r
+ this.searchAttribute = val;\r
+ this.refreshList();\r
+ ]]>\r
+ </setter>\r
+ <getter>\r
+ <![CDATA[\r
+ return this.searchAttribute;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchvalue - a widget which dynamically changes it's user interface\r
+ depending on what type of data it's supposed to be showing\r
+ currently handles arbitrary text entry, and menulists for priority and\r
+ status\r
+ -->\r
+ <binding id="searchvalue" extends="xul:deck">\r
+ <!-- yeah yeah, this stuff needs to be localized. I'm working on it! -->\r
+ <content>\r
+ <xul:textfield flex="1" />\r
+ <xul:menulist flex="1" >\r
+ <xul:menupopup>\r
+ <xul:menuitem value="Lowest"/>\r
+ <xul:menuitem value="Low"/>\r
+ <xul:menuitem value="Normal"/>\r
+ <xul:menuitem value="High"/>\r
+ <xul:menuitem value="Highest"/>\r
+ </xul:menupopup>\r
+ </xul:menulist>\r
+ <xul:menulist flex="1" >\r
+ <xul:menupopup>\r
+ <xul:menuitem value="read"/>\r
+ <xul:menuitem value="replied"/>\r
+ </xul:menupopup>\r
+ </xul:menulist>\r
+ </content>\r
+ <interface>\r
+ <!-- parentValue forwards to the attribute -->\r
+ <property name="parentValue" onset="this.searchAttribute=val;"\r
+ onget="return this.searchAttribute;"/>\r
+ <property name="searchAttribute" onget="return this.internalAttribute;">\r
+ <setter>\r
+ <![CDATA[\r
+ // noop if we're not changing it\r
+ if (this.internalAttribute == val) return;\r
+ this.internalAttribute = val;\r
+ // we inherit from a deck, so just use it's index attribute\r
+ // to hide/show widgets\r
+ if (val == Components.interfaces.nsMsgSearchAttrib.Priority)\r
+ this.setAttribute("index", "1");\r
+ else if (val == Components.interfaces.nsMsgSearchAttrib.MsgStatus)\r
+ this.setAttribute("index", "2");\r
+ else\r
+ this.setAttribute("index", "0");\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <property name="value" onget="return this.internalValue;">\r
+ <setter>\r
+ <![CDATA[\r
+ // val is a nsIMsgSearchValue object\r
+ this.internalValue = val;\r
+ var attrib = val.attrib;\r
+ this.searchAttribute = attrib;\r
+ if (attrib == Components.interfaces.nsMsgSearchAttrib.Priority)\r
+ document.getAnonymousNodes(this)[1].data=val.priority;\r
+ else if (attrib == Components.interfaces.nsMsgSearchAttrib.MsgStatus)\r
+ document.getAnonymousNodes(this)[2].data=val.status;\r
+ else\r
+ document.getAnonymousNodes(this)[0].value = val.str;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="save">\r
+ <body>\r
+ <![CDATA[\r
+ var searchValue = this.value;\r
+ var searchAttribute = this.searchAttribute;\r
+ var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;\r
+\r
+ searchValue.attrib = searchAttribute;\r
+ if (searchAttribute == nsMsgSearchAttrib.Priority)\r
+ searchValue.priority = document.getAnonymousNodes(this)[1].selectedItem.data;\r
+ else if (searchAttribute == nsMsgSearchAttrib.MsgStatus)\r
+ searchValue.status = document.getAnonymousNodes(this)[2].selectedItem.data;\r
+ else\r
+ searchValue.str = document.getAnonymousNodes(this)[0].value;\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <method name="saveTo">\r
+ <argument name="searchValue"/>\r
+ <body>\r
+ <![CDATA[\r
+ this.internalValue = searchValue;\r
+ this.save();\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+ <binding id="searchterm" extends="xul:box">\r
+ <interface>\r
+ <!-- the actual nsIMsgSearchTerm object -->\r
+ <property name="searchTerm" onget="return this.internalSearchTerm">\r
+ <setter>\r
+ <![CDATA[\r
+ this.internalSearchTerm = val;\r
+\r
+ var term = val;\r
+ // val is a nsIMsgSearchTerm\r
+ var searchAttribute=this.searchattribute;\r
+ var searchOperator=this.searchoperator;\r
+ var searchValue=this.searchvalue;\r
+\r
+ // now reflect all attributes of the searchterm into the widgets\r
+ if (searchAttribute) searchAttribute.value = term.attrib;\r
+ if (searchOperator) searchOperator.value = val.op;\r
+ if (searchValue) searchValue.value = term.value;\r
+\r
+ this.booleanAnd = val.booleanAnd;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ \r
+ <property name="searchScope">\r
+ <getter>\r
+ <![CDATA[\r
+ var searchAttribute = this.searchattribute;\r
+ if (searchAttribute)\r
+ return searchAttribute.searchScope;\r
+ return undefined;\r
+ ]]>\r
+ </getter>\r
+ <setter>\r
+ <![CDATA[\r
+ var searchAttribute = this.searchattribute;\r
+ if (searchAttribute) searchAttribute.searchScope=val;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <!-- the three tags that make up a term - to use, set the\r
+ attribute in the XUL to the ID of the term.\r
+ -->\r
+ <property name="searchattribute" \r
+ onget="return document.getElementById(this.getAttribute('searchattribute'));"\r
+ onset="this.setAttribute('searchattribute',val.id)"/>\r
+\r
+ <property name="searchoperator" \r
+ onget="return document.getElementById(this.getAttribute('searchoperator'));"\r
+ onset="this.setAttribute('searchoperator',val.id)"/>\r
+\r
+ <property name="searchvalue" \r
+ onget="return document.getElementById(this.getAttribute('searchvalue'));"\r
+ onset="this.setAttribute('searchvalue',val.id)"/>\r
+ <property name="booleanNodes">\r
+ <![CDATA[\r
+ null;\r
+ ]]>\r
+ </property>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="booleanAnd" onget="return this.internalBooleanAnd">\r
+ <setter>\r
+ <![CDATA[\r
+ // whenever you set this, all nodes in booleanNodes\r
+ // are updated to reflect the string\r
+\r
+ if (this.internalBooleanAnd == val) return;\r
+ this.internalBooleanAnd = val;\r
+\r
+ var booleanNodes = this.booleanNodes;\r
+ if (!booleanNodes) return;\r
+\r
+ var stringBundle = this.stringBundle;\r
+ var andString = val ? "And" : "Or";\r
+ for (var i=0; i<booleanNodes.length; i++) {\r
+ try { \r
+ var staticString =\r
+ stringBundle.GetStringFromName("search" + andString + i);\r
+ if (staticString && staticString.length>0)\r
+ booleanNodes[i].setAttribute("value", staticString);\r
+ } catch (ex) { /* no error, means string not found */}\r
+ }\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="save">\r
+ <body>\r
+ <![CDATA[\r
+ var searchTerm = this.searchTerm;\r
+ searchTerm.attrib = this.searchattribute.value;\r
+ searchTerm.op = this.searchoperator.value;\r
+ if (this.searchvalue.value)\r
+ this.searchvalue.save();\r
+ else\r
+ this.searchvalue.saveTo(searchTerm.value);\r
+ searchTerm.value = this.searchvalue.value;\r
+ searchTerm.booleanAnd = this.booleanAnd;\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <!-- if you have a search term element with no search term -->\r
+ <method name="saveTo">\r
+ <argument name="searchTerm"/>\r
+ <body>\r
+ <![CDATA[\r
+ this.internalSearchTerm = searchTerm;\r
+ this.save();\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+</bindings>\r
--- /dev/null
+/* \r
+ * These are the style attributes for the XUL display.\r
+ */\r
+window { overflow: auto; }\r
+mailheader { display: block; }\r
+mailattachcount { display: none; }\r
+\r
+box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+\r
+headerdisplayname { font-weight: bold; white-space: pre; }\r
+header { text-align: left; }\r
+\r
+menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }\r
+menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }\r
+\r
+/* \r
+ * For printing/HTML display...\r
+ */\r
+table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; }\r
+\r
+body {\r
+ background-color: white;\r
+}\r
+\r
+\r
+\r
+.text-flowed tt {\r
+ font-family: inherit;\r
+}\r
+.text-flowed blockquote {\r
+ margin: 0em 0em;\r
+ border-color: black;\r
+}\r
+\r
+/* Anyhow, the <div class=txt-sig> doesn't inherit whitespace setting from\r
+ its parent pre, but from its ancestor .text-plain. */\r
+.text-plain {\r
+ white-space: -moz-pre-wrap;\r
+}\r
+.text-plain[wrap=false] {\r
+ white-space: pre;\r
+}\r
+.text-plain pre {\r
+ font-family: inherit;\r
+ white-space: inherit;\r
+ margin: inherit;\r
+}\r
+/* That's how it should really be\r
+.text-plain pre {\r
+ font-family: inherit;\r
+ margin: inherit;\r
+}\r
+.text-plain[wrap=false] pre {\r
+ white-space: pre;\r
+}\r
+*/\r
+.text-plain[graphical-quote=false] blockquote {\r
+ padding-left: inherit;\r
+ border-left: inherit;\r
+ margin: 0em 0em;\r
+}\r
+.text-plain[graphical-quote=true] blockquote {\r
+ margin: 0em 0em;\r
+ border-width: medium;\r
+ border-color: black;\r
+}\r
+.text-plain[graphical-quote=true] .txt-citetags {\r
+ display: none;\r
+}\r
+\r
+.txt-sig, .signature {\r
+ color: gray;\r
+}\r
+.txt-sig > a, .signature > a {\r
+ color: 7777FF /* light blue */;\r
+}\r
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+[hide] {\r
+Â display: none;\r
+} \r
+\r
+spring.spacer {\r
+ width: 5px;\r
+ height: 5px;\r
+}\r
+\r
+box.cleanborder {\r
+ margin: 10px;\r
+ padding: 10px;\r
+ border: 2px groove white;\r
+ width: 100%;\r
+}\r
+\r
+box.padded {\r
+ margin: 10px;\r
+ width: 100%;\r
+}\r
+\r
+iframe {\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+ width: 100px;\r
+ height: 100px;\r
+}\r
+\r
+/**\r
+ * boxes\r
+ */\r
+#results_box {\r
+ border-left: 8px solid #CCCCCC;\r
+ min-width: 10px;\r
+}\r
+\r
+\r
+ \r
+/**\r
+ * toolbar button images\r
+ */\r
+\r
+#button-getmsg {\r
+ list-style-image:url("chrome://messenger/skin/getmsg.gif");\r
+}\r
+\r
+#button-getmsg[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/getmsg_dis.gif");\r
+}\r
+\r
+#button-newmsg {\r
+ list-style-image:url("chrome://messenger/skin/newmsg.gif");\r
+}\r
+\r
+#button-newmsg[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/newmsg_dis.gif");\r
+}\r
+\r
+#button-reply {\r
+ list-style-image:url("chrome://messenger/skin/reply.gif");\r
+}\r
+\r
+#button-reply[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/reply_dis.gif");\r
+}\r
+\r
+#button-replyall {\r
+ list-style-image:url("chrome://messenger/skin/replyall.gif");\r
+}\r
+\r
+#button-replyall[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/replyall_dis.gif");\r
+}\r
+\r
+#button-forward {\r
+ list-style-image:url("chrome://messenger/skin/forward.gif");\r
+}\r
+\r
+#button-forward[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/forward_dis.gif");\r
+}\r
+\r
+#button-file {\r
+ list-style-image:url("chrome://messenger/skin/file.gif");\r
+}\r
+\r
+#button-file[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/file_dis.gif");\r
+}\r
+\r
+#FileButtonMenu > button {\r
+ border: 1px solid transparent;\r
+}\r
+\r
+#FileButtonMenu:hover > button {\r
+ border: 1px outset #CCD0DD;\r
+}\r
+\r
+#FileButtonMenu[disabled="true"] > button,\r
+#FileButtonMenu[disabled="true"]:hover > button {\r
+ border: 1px solid transparent;\r
+}\r
+\r
+#FileButtonMenu[open="true"] > button {\r
+ border: 1px inset #CCD0DD;\r
+}\r
+\r
+#button-next {\r
+ list-style-image:url("chrome://messenger/skin/next.gif");\r
+}\r
+\r
+#button-next[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/next_dis.gif");\r
+}\r
+\r
+#button-delete {\r
+ list-style-image:url("chrome://messenger/skin/trash.gif");\r
+}\r
+\r
+#button-delete[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/trash_dis.gif");\r
+}\r
+\r
+#button-print \r
+ {\r
+ list-style-image : url("chrome://global/skin/print.gif");\r
+ }\r
+\r
+#button-print[disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/print_dis.gif");\r
+ }\r
+\r
+#button-stop {\r
+ list-style-image:url("chrome://global/skin/stop.gif");\r
+}\r
+\r
+#button-stop[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/stop_dis.gif");\r
+}\r
+\r
+\r
+.folderMenuItem > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-closed.gif");\r
+}\r
+\r
+\r
+.folderMenuItem[open="true"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-open.gif");\r
+}\r
+\r
+/* special folder */\r
+.folderMenuItem[SpecialFolder="Inbox"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
+}\r
+\r
+.folderMenuItem[SpecialFolder="Inbox"][open="true"] > .menu-left\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
+}\r
+\r
+.folderMenuItem[SpecialFolder="Trash"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
+}\r
+\r
+.folderMenuItem[SpecialFolder="Trash"][open="true"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
+}\r
+\r
+.folderMenuItem[IsServer="true"] > .menu-left\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
+}\r
+\r
+.folderMenuItem[IsServer="true"][open="true"] > .menu-left\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
+}\r
+\r
+/* IMAP folders */\r
+\r
+.folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");\r
+}\r
+\r
+/* Local Servers */\r
+.folderMenuItem[IsServer="true"][ServerType="none"] > .menu-left\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-local.gif");\r
+}\r
+\r
+/* News folders */\r
+.folderMenuItem[ServerType="nntp"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");\r
+}\r
+\r
+.folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/server-news-lock.gif");\r
+}\r
+\r
+.folderMenuItem[IsServer="true"][ServerType="nntp"] > .menu-left {\r
+ list-style-image: url("chrome://messenger/skin/server-news.gif");\r
+}\r
+\r
+\r
+menu.push {\r
+ border: 1px outset white;\r
+ padding: 2px;\r
+ margin: 2px;\r
+ text-align: center;\r
+ background-color:inherit;\r
+ background-image: inherit;\r
+}\r
+\r
+menu.push:hover {\r
+ border: 1px outset white;\r
+ color:#003366;\r
+ text-decoration:underline;\r
+ padding: 2px;\r
+}\r
+\r
+menu.push:hover:-moz-outline {\r
+ border : 1px solid black;\r
+ color:#003366;\r
+ padding: 2px;\r
+}\r
+\r
+menu.push:active {\r
+ text-decoration:none;\r
+ border: 1px inset;\r
+ padding-left: 3px;\r
+ padding-right: 1px;\r
+ padding-top: 3px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+menu.push[toggled="1"] {\r
+ border: 1px white inset;\r
+ padding-left: 3px;\r
+ padding-right: 1px;\r
+ padding-top: 3px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+menu.push[toggled="2"] {\r
+ background-color: lightgray;\r
+ border: 1px solid gray;\r
+}\r
+\r
+menu.push:active:-moz-outline {\r
+ border : 1px solid black;\r
+}\r
+\r
+menu.push[disabled="true"] {\r
+ background-color:inherit;\r
+ background-image: inherit;\r
+ border : 1px solid #999999;\r
+ color: #999999;\r
+ text-decoration: none;\r
+}\r
+\r
+menu.push[disabled="true"]:hover {\r
+ background-color:inherit;\r
+ background-image: inherit;\r
+ border : 1px solid #999999;\r
+ color: #999999;\r
+ text-decoration: none;\r
+}\r
+\r
+menu.push[disabled="true"]:active {\r
+ background-color:inherit;\r
+ background-image: inherit;\r
+ border : 1px solid #999999;\r
+ color: #999999;\r
+ text-decoration: none;\r
+}\r
+\r
+/**\r
+ * Make sure the min height is small so we can \r
+ * resize the pane vertically -EDV\r
+ */\r
+box#messagepanebox\r
+{\r
+ min-height: 10px;\r
+ height: 0px;\r
+}\r
+\r
+\r
+/**\r
+ * this belongs in the mail filter window\r
+ */\r
+\r
+.enabledcol {\r
+ list-style-image: url("chrome://messenger/skin/readmail.gif");\r
+}\r
+\r
+.enabledcol[value="true"] {\r
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
+}\r
+\r
+searchattribute {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute);\r
+}\r
+\r
+searchoperator {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator);\r
+}\r
+\r
+searchvalue {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue);\r
+}\r
+\r
+searchterm {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm);\r
+}\r
--- /dev/null
+@import url(chrome://messenger/skin/messenger.css);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */\r
+\r
+spring.spacer {\r
+ width: 5px;\r
+ height: 5px;\r
+}\r
+\r
+box.cleanborder {\r
+ margin: 10px;\r
+ padding: 10px;\r
+ border: 2px groove white;\r
+ width: 100%;\r
+}\r
+\r
+box.padded {\r
+ margin: 10px;\r
+ width: 100%;\r
+}\r
+\r
+\r
+/* addressing widget */\r
+\r
+tree[class="addressingWidget"] treeitem > treerow > treecell > box > image {\r
+ vertical-align: middle;\r
+ padding:2px;\r
+ border:none;\r
+ list-style-image: url("chrome://messenger/skin/addressbook/person.gif");\r
+ user-focus: ignore;\r
+}\r
+\r
+textfield.addressingWidget[autocomplete="true"] {\r
+ border : 2px solid #FFFFFF;\r
+ margin : 1px;\r
+}\r
+\r
+textfield.addressingWidget[autocomplete="true"][focused="true"]\r
+{\r
+ border : 2px solid #6699cc;\r
+ margin : 1px;\r
+}\r
+\r
+textfield.addressingWidget[autocomplete="true"] > box\r
+{\r
+ border : none;\r
+}\r
+\r
+#button-send {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/send.gif");\r
+}\r
+\r
+#button-send[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/send_dis.gif");\r
+}\r
+\r
+#button-address {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/address.gif");\r
+}\r
+\r
+#button-address[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/address_dis.gif");\r
+}\r
+\r
+#button-attach {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/attach.gif");\r
+}\r
+\r
+#button-attach[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/attach_dis.gif");\r
+}\r
+\r
+#button-quote {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/quote.gif");\r
+}\r
+\r
+#button-quote[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/quote_dis.gif");\r
+}\r
+\r
+#button-spelling {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/spelling.gif");\r
+}\r
+\r
+#button-spelling[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/spelling_dis.gif");\r
+}\r
+\r
+#button-save {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/save.gif");\r
+}\r
+\r
+#button-save[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/messengercompose/save_dis.gif");\r
+}\r
+\r
+#button-stop {\r
+ list-style-image:url("chrome://global/skin/stop.gif");\r
+}\r
+\r
+#button-stop[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/stop_dis.gif");\r
+}\r
+\r
+/* hack because of bad skinnability and hardcoded borders */\r
+toolbar#MsgHeadersToolbar > box > box > box {\r
+ border: 0px !important;\r
+}\r
+\r
+/* hack because of bad skinnability and hardcoded borders */\r
+tree#addressingWidgetTree {\r
+ border: 1px inset #CCD0DD !important;\r
+}\r
+\r
+box#addressingWidget {\r
+ user-focus: normal;\r
+}\r
+\r
+tree#attachmentBucket {\r
+ user-focus: normal;\r
+ border: 1px inset #CCD0DD;\r
+}\r
+\r
+#msgSubject {\r
+ user-focus: normal;\r
+}\r
+\r
+#msgIdentity {\r
+ user-focus: normal;\r
+}\r
+\r
+button#statusText > .button-internal-box {\r
+ border: 0px;\r
+}
\ No newline at end of file
--- /dev/null
+/*\r
+The contents of this file are subject to the Netscape Public\r
+License Version 1.1 (the "License"); you may not use this file\r
+except in compliance with the License. You may obtain a copy of\r
+the License at http://www.mozilla.org/NPL/\r
+\r
+Software distributed under the License is distributed on an "AS\r
+IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+implied. See the License for the specific language governing\r
+rights and limitations under the License.\r
+\r
+The Original Code is Mozilla Communicator client code, released\r
+March 31, 1998.\r
+\r
+The Initial Developer of the Original Code is Netscape\r
+Communications Corporation. Portions created by Netscape are\r
+ Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+Rights Reserved.\r
+*/\r
+\r
+\r
+/* These are the style attributes we are applying to the message header\r
+ * view overlay which shows the message headers for a selected message.\r
+ * some of this stuff originated from mailheaders.css\r
+ */\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+mail-emailaddress {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress);\r
+ display: inline;\r
+}\r
+\r
+[hide] {\r
+ visibility: collapse;\r
+}\r
+\r
+spring.buttonTopSpacer { height: .3em; }\r
+spring.buttonSpacer { width: .5em; }\r
+box.headerBox { overflow: hidden; min-width:50px;}\r
+box.header-part1 { background-color: #EEEEEE; border: none; }\r
+box.header-part2 { background-color: #CCCCCC; border: none; }\r
+box.header-part3 { background-color: #CCCCCC; border: none; }\r
+\r
+#addToAddressBookButton {\r
+ list-style-image:url("chrome://messenger/skin/addtoab.gif");\r
+ min-height: 20px;\r
+ margin: 0px;\r
+}\r
+\r
+#attachmentButton {\r
+ list-style-image:url("chrome://messenger/skin/attach.gif");\r
+ min-height: 20px;\r
+ margin: 0px;\r
+}\r
+\r
+image.emailDisplayImage\r
+{\r
+ align: right;\r
+ display: inline;\r
+}\r
+\r
+text.emailSeparator {\r
+ display: inline;\r
+}\r
+\r
+text.emailDisplayButton {\r
+ color: blue;\r
+ text-decoration: underline;\r
+ cursor: pointer;\r
+ max-height: 15px;\r
+ display: inline;\r
+}\r
+\r
+image.showMoreAddressesButton {\r
+ list-style-image:url("chrome://messenger/skin/more.gif");\r
+ display: inline;\r
+}\r
+\r
+image.showFewerAddressesButton {\r
+ list-style-image:url("chrome://messenger/skin/less.gif");\r
+ display: inline;\r
+}\r
+\r
+html.headerValue { white-space: normal; min-width: 50px; }\r
+html.subjectvalue {font-weight: bold;}\r
+\r
+text.headerdisplayname { font-weight: bold; margin-right: .5em; margin-left: .5em; min-height: 18px }\r
+text.headerValue { white-space: normal; min-width: 50px; }\r
--- /dev/null
+\r
+#classic\r
+ {\r
+ list-style-image : url("chrome://messenger/skin/winclassic.gif");\r
+ }\r
+\r
+#wide\r
+ {\r
+ list-style-image : url("chrome://messenger/skin/winwide.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+.subscribedcol {\r
+ list-style-image: url("chrome://messenger/skin/dot.gif");\r
+}\r
+\r
+.subscribedcol[value="true"] {\r
+ list-style-image: url("chrome://messenger/skin/check.gif");\r
+} \r
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+.tree-thread-row.unread-true {\r
+ font-weight: bold;\r
+}\r
+\r
+.prioritycol-highest\r
+{\r
+ color:red;\r
+}\r
+\r
+.prioritycol-high\r
+{\r
+ color: rgb(128, 0, 0);\r
+}\r
+\r
+.prioritycol-lowest\r
+{\r
+ color: rgb(170, 170, 170);\r
+}\r
+\r
+.prioritycol-low\r
+{\r
+ color: rgb(85, 85, 85);\r
+}\r
+\r
+.tree-cell-threadpane-icon {\r
+ list-style-image: url("chrome://messenger/skin/message-mail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.tree-cell-threadpane-icon.status-new {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-new.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-news {\r
+ list-style-image: url("chrome://messenger/skin/message-news.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-news.status-new {\r
+ list-style-image: url("chrome://messenger/skin/message-news-new.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-mail.has-attachment-true {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.is-imap-deleted-true {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");\r
+}\r
+\r
+.unreadcol-false {\r
+ list-style-image: url("chrome://messenger/skin/readmail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.unreadcol-true {\r
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
+}\r
+\r
+.flagcol-unflagged {\r
+ list-style-image: url("chrome://messenger/skin/readmail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.flagcol-flagged {\r
+ list-style-image: url("chrome://messenger/skin/flaggedmail.gif");\r
+}\r
+\r
+treeitem > treerow > .threadcol-thread{\r
+ list-style-image: url("chrome://messenger/skin/thread-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .threadcol-thread{\r
+ list-style-image: url("chrome://messenger/skin/thread-open.gif");\r
+}\r
+\r
+treeitem > treerow > .threadcol-threadWithUnread{\r
+ list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .threadcol-threadWithUnread{\r
+ list-style-image: url("chrome://messenger/skin/thread-new-open.gif");\r
+}\r
+\r
+.threadColumnHeader[currentView="threaded"] > .tree-header-image\r
+ {\r
+ list-style-image: url("chrome://messenger/skin/threadcol.gif");\r
+ }\r
+\r
+.threadColumnHeader[currentView="unthreaded"] > .tree-header-image\r
+ {\r
+ list-style-image: url("chrome://messenger/skin/unthreadcol.gif");\r
+ }\r
+\r
+.readColumnHeader > .tree-header-image\r
+ {\r
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
+ }\r
+\r
+.flagColumnHeader > .tree-header-image\r
+ {\r
+ list-style-image: url("chrome://messenger/skin/flaggedmail.gif");\r
+ }\r
+\r
+treeitem[empty="true"] > treerow > .tree-cell-threadpane-icon > .tree-cell-twisty \r
+ {\r
+ visibility : hidden;\r
+ } \r
+\r
+#threadTree \r
+ {\r
+ border-top : none;\r
+ }
\ No newline at end of file
--- /dev/null
+/* -*- Mode: CSS; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+div.title {\r
+ font-weight: bold;\r
+}\r
+\r
+div.subtitle {\r
+ font-weight: bold;\r
+}\r
--- /dev/null
+#security-button \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/unlock.gif");\r
+ }\r
+\r
+#security-button[level="high"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="low"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="broken"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/broken.gif"); \r
+ }
\ No newline at end of file
--- /dev/null
+/** Contains style definitions for the navigator application \r
+ **/\r
+\r
+@import url(chrome://communicator/skin/);\r
+@import url(chrome://communicator/skin/bookmarks/bookmarks.css);\r
+@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
+\r
+#sidebar-parent \r
+ {\r
+ margin-right : 2px;\r
+ }\r
+\r
+/*\r
+ * Rules for 'hiding' portions of the chrome for special\r
+ * kinds of browser windows.\r
+ */\r
+window[chromehidden~="menubar"] .chromeclass-menubar {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="toolbar"] .chromeclass-toolbar {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="location"] .chromeclass-location {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="directories"] .chromeclass-directories {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="status"] .chromeclass-status {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="extrachrome"] .chromeclass-extrachrome {\r
+ display: none;\r
+}\r
+\r
+/*\r
+ * Images for the main buttons\r
+ */\r
+.menubutton-dual-button > .button-internal-box > .button-text-container \r
+ {\r
+ display : none;\r
+ }\r
+\r
+.menubutton-dual-button\r
+ {\r
+ min-width : 32px;\r
+ min-height : 32px;\r
+ }\r
+\r
+#back-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/back.gif");\r
+ margin : 0px;\r
+ }\r
+\r
+#back-button[disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/back_dis.gif");\r
+ }\r
+\r
+#forward-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/forward.gif");\r
+ margin : 0px;\r
+ }\r
+\r
+#forward-button[disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/forward_dis.gif");\r
+ }\r
+\r
+#stop-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/stop.gif");\r
+ } \r
+\r
+\r
+#stop-button[disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/stop_dis.gif");\r
+ }\r
+\r
+#reload-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/reload.gif");\r
+ }\r
+\r
+/*all the urlbar stuff*/\r
+#page-proxy-button \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); \r
+ cursor : grab;\r
+ margin-right : 3px;\r
+ margin-left : 2px;\r
+ } \r
+\r
+#ubhist-keyword-popup \r
+ {\r
+ margin : 0px 1px 0px 0px;\r
+ width : 10px; \r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ } \r
+\r
+#ubhist\r
+ {\r
+ background-color : #9999CC;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ padding : 0px 0px 0px 0px;\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+\r
+#ubhist > .menubutton-icon-internal-box\r
+ {\r
+ border : 1px outset #CCD0DD;\r
+ } \r
+\r
+#ubhist:hover:active > .menubutton-icon-internal-box,\r
+#ubhist[open="true"] > .menubutton-icon-internal-box\r
+ {\r
+ border : 1px inset #CCD0DD;\r
+ } \r
+\r
+\r
+#action-popup \r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ margin : 0px; \r
+/* -moz-border-radius : 4px; */\r
+ }\r
+\r
+#content-frame \r
+ {\r
+ min-width : 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+#statusbar-icon \r
+ {\r
+ width : 100px;\r
+ }\r
+\r
+#statusbar-display\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/document.gif"):\r
+ }\r
+ \r
+#statusbar-display[error="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/document-error.gif");\r
+ } \r
+ \r
+#nav-bar-inner\r
+ {\r
+ padding-left : 0px;\r
+ padding-top : 10px;\r
+ padding-bottom : 10px;\r
+ }\r
+\r
+ \r
+#search-button\r
+ {\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+ \r
+#go-button\r
+ {\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+ \r
+#homebutton\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/home.gif");\r
+ }\r
+\r
+.menuitem-iconic\r
+ {\r
+ padding : 2px;\r
+ }\r
+\r
+#print-button \r
+ {\r
+ list-style-image : url("chrome://global/skin/print.gif");\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+\r
+#print-button > .menubutton-dual-button\r
+ {\r
+ padding : 0px;\r
+ }
\ No newline at end of file
--- /dev/null
+.title {\r
+ font-weight: bold;\r
+ margin-bottom: 1em;\r
+ font-size: larger;\r
+}\r
+tree {\r
+ height: 100px;\r
+ margin-bottom: 1em;\r
+}\r
+treerow {\r
+ background-color: #ebebcc;\r
+}\r
+treecell { border-left: 1px solid #ccccDD; border-top: 1px solid #ccccDD; }\r
+\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-
+ *
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+/* This is debugging code related to bug 60095 ...
+.iframe-panel { border: 1px solid red; padding: 0px; }
+.iframe-panel window { border: 1px solid blue; padding: 0px; }
+.iframe-panel box { border: 1px solid yellow; padding: 0px; }
+.iframe-panel tree { border: 1px solid green; padding: 0px; }
+*/
+
+.bookmarkitem
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+ }
+
+.bookmarkitem[menuactive="true"]
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");
+ }
+
+.bookmarkfolder
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
+ }
+
+.bookmarkfolder[menuactive="true"]
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
+ }
+
+.bookmarkfolder[open="true"]
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+ }
+
+.bookmarkfolder[open="true"][menuactive="true"]
+ {
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
+ }
+
+
+treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
+}
+
+treeitem[status="new"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark,
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark,
+treeitem[container="true"][open="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
+}
+
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"] > treerow > .treecell-bookmark,
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"] > treerow > .treecell-bookmark,
+treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+}
+
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > .treecell-bookmark,
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#IEFavoriteFolder"][open="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");
+}
+
+treeitem[container="true"][open="true"] > treerow > .treecell-bookmark {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif");
+}
+
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed-sel.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open.gif");
+}
+
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open-sel.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/iefavorite.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
+treeitem[selected="true"][type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > .treecell-bookmark
+{
+ list-style-image: url("chrome://communicator/skin/bookmarks/article.gif");
+}
+
+treeitem > treerow > .treecell-bookmark {
+ list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
--- /dev/null
+\r
+\r
+.box-toolbar-group > box\r
+ {\r
+ -moz-border-radius : 5px 0px 0px 5px;\r
+ border : 1px solid #9C9CFF;\r
+ background-color : #000000;\r
+ padding : 1px;\r
+ margin : 0px 0px 0px 3px;\r
+ }\r
+ \r
+
\ No newline at end of file
--- /dev/null
+\r
+#navigator-throbber\r
+ {\r
+ list-style-image : url("chrome://global/skin/animthrob_single.gif");\r
+ min-width : 36px;\r
+ min-height : 36px;\r
+ vertical-align : middle;\r
+ padding : 1px;\r
+ margin : 2px 4px 2px 1px;\r
+ border : none;\r
+ cursor : pointer;\r
+ } \r
+\r
+#navigator-throbber[busy="true"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/animthrob.gif");\r
+ }\r
+ \r
+#navigator-throbber:hover:active\r
+ {\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+\r
+#navigator-throbber > .button-internal-box\r
+ {\r
+ padding : 0px;\r
+ }\r
+\r
+#navigator-throbber > .button-internal-box > .button-text-container\r
+ {\r
+ display : none;\r
+ }
\ No newline at end of file
--- /dev/null
+
+/** Standard toolbar buttons
+ * class="button-toolbar"
+ **/
+ .button-toolbar
+ {
+ border : none;
+ margin : 0px 1px 0px 1px;
+ padding : 0px;
+/* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
+ max-width : 10em;
+ min-height : 16px;
+ }
+
+ .button-toolbar[toggled="true"]
+ {
+ background-color : #008484;
+ }
+
+ .button-toolbar[disabled="true"],
+ .button-toolbar[disabled="true"]:hover,
+ .button-toolbar[disabled="true"]:hover:active
+ {
+ color : #8050B0;
+ }
+
+ .button-toolbar > .button-internal-box
+ {
+ border : none;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar:hover > .button-internal-box
+ {
+ border : none;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar:hover:active > .button-internal-box
+ {
+ border : none;
+ padding : 2px 1px 0px 3px;
+ }
+
+ .button-toolbar[disabled="true"]:hover:active > .button-internal-box
+ {
+ border : none;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar:hover:active[home-dragover="true"] > .button-internal-box
+ {
+ border : none;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar > .button-internal-box > .button-text-container
+ {
+ padding : 0px;
+ margin : 0px;
+ }
+
+ .button-toolbar > .button-internal-box > .button-text-container > .button-text
+ {
+ padding : 0px;
+ padding-left : 1px;
+ margin : 0px;
+ }
+
+/** The largest type of toolbar buttons. In the Seamonkey implementation,
+ * these are only used in the navigation toolbar in the navigator package.
+ **/
+
+ /* outer frame */
+ .button-toolbar-1
+ {
+/* background-color : transparent;
+ color : #000000; */
+ min-width : 36px;
+ min-height : 36px;
+ margin : 0px 1px 0px 1px;
+ padding : 0px;
+ font-size : smaller;
+ border : none;
+ }
+
+/* internal frame */
+ .button-toolbar-1[disabled="true"] > .button-internal-box,
+ .button-toolbar-1[disabled="true"]:hover > .button-internal-box,
+ .button-toolbar-1[disabled="true"]:hover:active > .button-internal-box
+ {
+ border : none;
+ padding : 1px;
+ }
+
+ .button-toolbar-1 > .button-internal-box
+ {
+ border : none;
+ vertical-align : middle;
+ }
+
+ .button-toolbar-1:hover > .button-internal-box
+ {
+ border : none;
+ vertical-align : middle;
+ }
+
+ .button-toolbar-1:hover:active > .button-internal-box
+ {
+ border : none;
+ vertical-align : middle;
+ padding : 2px 0px 0px 2px;
+ }
+
+ .button-toolbar-1 > .button-internal-box > .button-text-container
+ {
+ display : none;
+ text-align : center;
+ }
+
+/** Styles for the standard 'large' toolbar button, these buttons are used for
+ * toolbar buttons that are the most commonly used elements on a toolbar, e.g.
+ * 'GetMsg' in Mailnews or 'Send' in Mail/Compose.
+ **/
+ .button-toolbar-2
+ {
+/* background-color : transparent;
+ color : #000000; */
+ min-width : 32px;
+ min-height : 32px;
+ margin : 0px 1px 0px 1px;
+ padding : 0px;
+ font-size : smaller;
+ border : none;
+ }
+
+/* internal frame */
+ .button-toolbar-2 > .button-internal-box
+ {
+ border : none;
+ padding : 1px;
+ vertical-align : middle;
+ }
+
+ .button-toolbar-2:hover > .button-internal-box
+ {
+ padding : 1px;
+ border : none;
+ }
+
+ .button-toolbar-2:hover:active > .button-internal-box
+ {
+ padding : 2px 0px 0px 2px;
+ border : none;
+ }
+
+ .button-toolbar-2[disabled="true"] > .button-internal-box,
+ .button-toolbar-2[disabled="true"]:hover > .button-internal-box,
+ .button-toolbar-2[disabled="true"]:hover:active > .button-internal-box
+ {
+ padding : 1px;
+ border : none;
+ }
+
+/* text wrapper frame */
+ .button-toolbar-2 > .button-internal-box > .button-text-container
+ {
+ padding-top : 3px;
+ text-align : center;
+ }
+
+
+/** "Green" buttons, e.g. "Search"
+ * class="button-toolbar-3"
+ **/
+ .button-toolbar-3
+ {
+ margin : 0px 1px 0px 1px;
+ font-weight : bold;
+/* background-color : #9999CC; */
+ border : none
+ }
+
+ .button-toolbar-3[disabled="true"],
+ .button-toolbar-3[disabled="true"]:hover,
+ .button-toolbar-3[disabled="true"]:hover:active
+ {
+ border : none;
+/* color : #CCCCCC; */
+ }
+
+ .button-toolbar-3 > .button-internal-box,
+ {
+ border : none;
+ padding : 1px;
+ }
+
+ .button-toolbar-3:hover:active > .button-internal-box,
+ {
+ border : none;
+ padding : 2px 0px 0px 2px;
+ }
+
+/** Expanding Region Button **/
+
+/* outer frame */
+ button.expander
+ {
+ border : none;
+ padding : none;
+/* margin : 1px 5px 3px 1px; */
+ background-color : inherit;
+ list-style-image : url("chrome://global/skin/closedtwisty.gif");
+ }
+
+ button[open="true"].expander
+ {
+ list-style-image : url("chrome://global/skin/opentwisty.gif");
+ }
+
+/* internal frame */
+ button.expander > .button-internal-box
+ {
+ border : none;
+ background-color : inherit;
+ padding : none;
+ margin : none;
+ }
+
+/* text frame */
+ button.expander > .button-internal-box > .button-text-container > .button-text
+ {
+ color : #0000FF;
+ text-decoration : underline;
+ }
+
+ button.expander:hover > .button-internal-box > .button-text-container > .button-text
+ {
+ color : #FF0000;
+ }
+
+/**
+ * button styles for taskbar, sidebar headers, etc.
+ **/
+.button-toolbar-4
+ {
+ font : inherit;
+ border : none;
+ padding : 1px;
+ margin : 0px;
+ }
+
+.button-toolbar-4:hover
+ {
+ text-decoration : none;
+ }
+
+.button-toolbar-4:hover:active
+ {
+ text-decoration : none;
+ padding : 2px 0px 0px 2px;
+ }
+
+menubutton.button-toolbar-4
+ {
+ -moz-binding : url("chrome://global/content/menulistBindings.xml#menubutton-single-right");
+ padding : 0px;
+ }
+
+.button-toolbar-4 > .menubutton-internal-box > .menubutton-single-icon
+ {
+ list-style-image : url(chrome://global/skin/mb-single-arrow.gif);
+ margin-left : 4px;
+ }
+
+.button-toolbar-4:hover > .menubutton-internal-box > .menubutton-single-icon,
+.button-toolbar-4[open="true"] > .menubutton-internal-box > .menubutton-single-icon
+ {
+ list-style-image : url(chrome://global/skin/mb-single-arrow-hover.gif);
+ }
+
+.button-toolbar-4 > .button-internal-box,
+.button-toolbar-4:hover:active > .button-internal-box,
+.button-toolbar-4 > .menubutton-internal-box
+ {
+ border : none;
+ padding : 0px;
+ padding-left : 2px;
+ }
+
+
--- /dev/null
+/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of\r
+ a particular application should be in that application's style sheet.\r
+ For example style definitions for navigator can be found in navigator.css\r
+\r
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
+ CHANGES REVIEWED BY hyatt@netscape.com.\r
+**/\r
+\r
+@import url(chrome://global/skin/);\r
+\r
+@import url(chrome://communicator/skin/box.css);\r
+@import url(chrome://communicator/skin/toolbar.css);\r
+@import url(chrome://communicator/skin/button.css);\r
+@import url(chrome://communicator/skin/brand.css);\r
+@import url(chrome://communicator/skin/menu.css);\r
+@import url(chrome://communicator/skin/menubutton.css);\r
+@import url(chrome://communicator/skin/splitter.css);\r
+@import url(chrome://communicator/skin/formatting.css);\r
+@import url(chrome://communicator/skin/prefpanels.css);\r
+\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */\r
+\r
+#offline-status[offline="true"]\r
+ {\r
+ list-style-image: url("chrome://communicator/skin/offline.gif");\r
+ }\r
+\r
+#offline-status\r
+ {\r
+ list-style-image: url("chrome://communicator/skin/online.gif");\r
+ }\r
+\r
+.up {\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down {\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}
\ No newline at end of file
--- /dev/null
+/** \r
+ * Small Dialog Header (without icon)\r
+ **/\r
+.box-smallheader \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#smallheader);\r
+ -moz-border-radius : 3px;\r
+ border : 1px solid #9C9CFF;\r
+ margin : 0px 5px 6px 5px;\r
+ }\r
+\r
+.toolbar-primary\r
+ {\r
+ padding : 0px 0px 3px 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+.box-smallheader-left \r
+ {\r
+ font-size : larger;\r
+ font-weight : bold;\r
+ color : #9C9CFF;\r
+ padding-left : 6px;\r
+ }\r
+\r
+.box-smallheader-right \r
+ {\r
+ color : #FF9F00;\r
+ padding-right : 6px;\r
+ }\r
+\r
+.box-smallheader > .toolbar-primary \r
+ {\r
+ background-color : #000000;\r
+ vertical-align : middle;\r
+ padding-top : 3px;\r
+ }\r
+\r
+/** \r
+ * Large Dialog Header (with icon) \r
+ **/\r
+.box-header \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#largeheader);\r
+ }\r
+\r
+.box-header-header \r
+ {\r
+ padding : 0px 0px 4px 5px;\r
+ min-height : 34px;\r
+ }\r
+\r
+.box-header-text-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+\r
+.box-header-text \r
+ {\r
+ color : #FF9F00;\r
+ font-size : large;\r
+ font-weight : bold;\r
+ text-decoration : underline;\r
+ }\r
+\r
+.box-header-icon-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+.box-header-circle \r
+ {\r
+ background-color : transparent;\r
+ min-width : 28px;\r
+ margin : 1px 7px 1px 1px;\r
+ height : 28px;\r
+ width : 28px;\r
+ } \r
+\r
+/**\r
+ * Dialog status line (blue) including progress area\r
+ **/\r
+.box-status \r
+ {\r
+ -moz-binding : url(chrome://communicator/content/dialogBindings.xml#status);\r
+ }\r
+\r
+.box-status-bg \r
+ {\r
+ padding : 1px 5px 1px 5px;\r
+ min-height : 0px ! important;\r
+ }\r
+\r
+.box-status-text, .box-status-progress\r
+ {\r
+ color : #9999cc ! important;\r
+ }\r
+\r
+ \r
+/** \r
+ * Utility classes for use when combined headers/footers are used\r
+ **/\r
+/* display area framed container */\r
+#contentarea \r
+ {\r
+ border-top : 2px groove #9C9CFF;\r
+ border-bottom : 2px groove #9C9CFF;\r
+ padding : 7px;\r
+ }\r
+\r
+/* top border on status area */\r
+#wizardButtons \r
+ {\r
+ border-bottom : 1px solid #FF9F00;\r
+ padding-top : 1px;\r
+ padding-bottom : 1px;\r
+ }\r
+\r
+\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the directory listing window.\r
+\r
+*/\r
+\r
+/* Hide twisty for files */\r
+.treecell-indent[type="FILE"] > .tree-cell-twisty \r
+ {\r
+ list-style-image : none;\r
+ }\r
+\r
+.treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-icon.gif");\r
+ } \r
+ \r
+treeitem[selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-icon-sel.gif");\r
+ }\r
+ \r
+treeitem[container="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-closed.gif");\r
+ }\r
+treeitem[container="true"][selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-closed-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-open.gif");\r
+ }\r
+treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-filename\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/directory/file-folder-open-sel.gif");\r
+ }\r
+ \r
+ \r
+/* Show an animated icon when a directory/symlink is loading */\r
+treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > .treecell-filename > .tree-cell-twisty,\r
+treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-cell-twisty\r
+ {\r
+ list-style-image : url("chrome://global/skin/loading.gif");\r
+ }\r
+\r
+/* Italicize a symbolic link and make it look like a link (it can be a dir or link) */\r
+.treecell-filename[type="SYMBOLIC-LINK"] \r
+ {\r
+ color : inherit;\r
+ text-decoration : inherit;\r
+ font-style : italic;\r
+ }\r
+\r
--- /dev/null
+\r
+/* class for text with a 'link' appearance */\r
+.text-link\r
+ {\r
+ color : #666699;\r
+ text-decoration : underline;\r
+ }\r
+ \r
+.text-link:hover\r
+ {\r
+ color : #333366;\r
+ } \r
+ \r
+.text-link:hover:active\r
+ {\r
+ color : #990000;\r
+ }
\ No newline at end of file
--- /dev/null
+box#taskbarMenuBox > menubutton\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up.gif");\r
+ }\r
+\r
+box#taskbarMenuBox > menubutton:hover\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up-hover.gif");\r
+ }\r
+\r
+box#taskbarGotoMenuBox > menubutton\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up.gif");\r
+ }\r
+\r
+box#taskbarGotoMenuBox > menubutton:hover\r
+ {\r
+ list-style-image : url("chrome://global/skin/statusbar-arrow-up-hover.gif");\r
+ }\r
--- /dev/null
+
+/** Styles applying to items in a button-toolbar-3 style menu
+ * menuitem class="button-toolbar-3"
+ **/
+ .button-toolbar-3 > .menubutton-icon-internal-box
+ {
+ border : none;
+ }
+
+ .button-toolbar-3[open="true"] > .menubutton-icon-internal-box,
+ .button-toolbar-3:hover:active > .menubutton-icon-internal-box
+ {
+ border : none;
+ }
+
+ menuitem.button-toolbar-3
+ {
+ font-weight : normal;
+ }
+
+ .button-toolbar-3[menuactive="true"]
+ {
+ font-weight : normal;
+ }
+
+/** menubuttons on generic grey toolbars
+ * class="button-toolbar"
+ **/
+ .button-toolbar > .menubutton-internal-box
+ {
+ -moz-border-radius : 3px;
+ padding : 1px 2px 1px 2px;
+ }
+
+
+ .button-toolbar:hover > .menubutton-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar:hover:active > .menubutton-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 2px 1px 0px 3px;
+ }
+
+ .button-toolbar[open="true"] > .menubutton-internal-box
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ padding : 2px 1px 0px 3px;
+ }
+
+/** menubuttons on taskbar
+ * class="button-toolbar-4"
+ **/
+ .button-toolbar-4
+ {
+ border : none;
+ }
+
+ .button-toolbar-4 > .menubutton-internal-box
+ {
+ -moz-border-radius : 3px;
+ border : none;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar-4:hover > .menubutton-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 1px 2px 1px 2px;
+ }
+
+ .button-toolbar-4:hover:active > .menubutton-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 2px 1px 0px 3px;
+ }
+
+ .button-toolbar-4[open="true"] > .menubutton-internal-box
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ padding : 2px 1px 0px 3px;
+ }
+
+/**
+ * Navigation bar style menubuttons
+ **/
+
+.menubutton-dual.toolbar
+ {
+ font-size : smaller;
+ }
+
+.menubutton-dual.toolbar:hover > .menubutton-internal-box,
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box
+ {
+ -moz-border-radius : 3px;
+ background-color : #FFCF00;
+ color : #000000;
+ }
+
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ }
+
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box,
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box,
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box
+ {
+ -moz-border-radius : 3px;
+ background-color : #000000;
+ color : #8050B0;
+ }
+
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button,
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button,
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button
+ {
+ -moz-border-radius : 3px 0px 0px 3px;
+ }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box > .button-text-container
+ {
+ padding-top : 3px;
+ text-align : center;
+ }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box
+ {
+ padding : 1px;
+ border : none;
+ -moz-border-radius : 3px 0px 0px 3px;
+ }
+
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover > .button-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 1px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 2px 0px 0px 2px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ padding : 2px 0px 0px 2px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box
+ {
+ background-color : #000000;
+ color : #8050B0;
+ padding : 1px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+ {
+ -moz-border-radius : 0px 3px 3px 0px;
+ padding : 1px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 1px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ padding : 2px 0px 0px 2px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ padding : 2px 0px 0px 2px;
+ border : none;
+ }
+
+.menubutton-dual.toolbar[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box,
+.menubutton-dual.toolbar[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box,
+.menubutton-dual.toolbar[disabled="true"][open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box
+ {
+ background-color : #000000;
+ color : #8050B0;
+ padding : 1px;
+ border : none;
+ }
+
+menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker
+ {
+/* padding-bottom : 17px; */
+ padding-bottom : 24px;
+ }
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="xulBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <binding id="menubutton-dual-foo">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:stack>\r
+ <xul:button class="menubutton-dual-button button-toolbar-1 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:stack>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-dual-blue">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="menubutton-dual-button button-toolbar-1 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-dual-standard">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="menubutton-dual-button button-toolbar-2 top" allowevents="true" \r
+ inherits="buttontooltiptext:tooltiptext,buttonaction:oncommand,src,value,crop,accesskey,disabled"/>\r
+ <xul:box class="menubutton-dual-dropmarker-box" autostretch="never" valign="top" flex="1">\r
+ <xul:image class="menubutton-dual-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menubutton-ubhist" extends="xul:menubutton">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="button-toolbar-3">\r
+ <xul:box class="button-internal-box">\r
+ <xul:image inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:button>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+/********** Fonts ***************/\r
+\r
+#sizeVar, #sizeMono {\r
+ width: 4em;\r
+}\r
+\r
+#mouseWheelMode {\r
+ width: 9em;\r
+}\r
+\r
+/******* SmartBrowsing **********/\r
+\r
+#disabledDomains {\r
+ max-height: 13em;\r
+}\r
--- /dev/null
+\r
+#finishtext {\r
+ margin-top : -20px;\r
+}\r
+\r
+text#ProfileDir {\r
+ font-weight : bold;\r
+ padding-left : 1em;\r
+ margin-top : 0.4em;\r
+}\r
+\r
+box#dirbox > box > titledbutton {\r
+ min-width : 8em;\r
+}\r
+\r
+span#deffoldername {\r
+ margin-left : 2px;\r
+} \r
--- /dev/null
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributors:\r
+ * Ben Goodger <ben@netscape.com>\r
+ * Chris Nelson <chrisn@statecollege.com>\r
+ *\r
+ */\r
+\r
+@import url(chrome://global/skin/global.css);\r
+\r
+window.dialog {\r
+ padding: none;\r
+}\r
+\r
+.dimmed-highcontrast {\r
+ color: #99cccc ! important;\r
+} \r
+\r
+/** icon courtesy of chris nelson, chrisn@statecollege.com **/\r
+treeitem[rowMigrate="no"] > treerow > treecell > .tree-button {\r
+ list-style-image: url("chrome://communicator/skin/profile/migrate.gif");\r
+}\r
+\r
+box[type="largeheader"] > toolbar > .circle {\r
+ list-style-image: url("chrome://communicator/skin/profile/profileicon-large.gif");\r
+ margin-top: 1px;\r
+ margin-bottom: 1px; \r
+ height: 28px;\r
+ width: 28px;\r
+}\r
+\r
+/* profile selection dialog */\r
+html#intro {\r
+ width: 17em;\r
+}\r
+\r
+box#managebuttons > button {\r
+ min-width: 8em;\r
+}\r
+\r
+/* display area */\r
+box#contentarea {\r
+ -moz-border-radius: 5px;\r
+ border-top: 2px groove #9C9CFF;\r
+ border-bottom: 2px groove #9C9CFF;\r
+ padding: 7px;\r
+}\r
+\r
+/* top border on status area */\r
+box#wizardButtons {\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+box.selection {\r
+ margin-top: 4px;\r
+}\r
--- /dev/null
+#dialoginfo {\r
+ width: 36em;\r
+}\r
+\r
+#table-housing {\r
+ background-color: white;\r
+ height: 100%;\r
+}\r
+\r
+#buttons-box {\r
+ margin-left: 1em;\r
+}\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the registry viewer window.\r
+\r
+*/\r
+\r
+@import url(chrome://global/skin);\r
--- /dev/null
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the related links panel\r
+\r
+*/\r
+\r
+treeitem[container="true"][open="true"][loading="true"] > treerow > .treecell-indent\r
+{\r
+ list-style-image : url("chrome://global/skin/loading.gif") ! important ;\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"][selected="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+ }\r
+\r
+treeitem[container="true"][selected="true"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+ }\r
+\r
+treeitem[container="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/related/sitemap.gif");\r
+ }\r
+\r
+treeitem[container="true"][open="true"][id="NC:SiteMapRoot"] > treerow > .treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/related/sitemap.gif");\r
+ }\r
+\r
+.treecell-indent \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+ }\r
+\r
+.treecell-indent[selected="true"] \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+ }\r
+\r
+.tree-cell-twisty\r
+ {\r
+ display : none;\r
+ }\r
+ \r
--- /dev/null
+treecol[sortActive="true"] {
+ background-color: #008484;
+}
+
+treeitem[container="true"][open="true"][loading="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-closed.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/personal-folder-open.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/ieFavorite.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");
+}
+
+treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/article.gif");
+}
+
+treeitem[container="true"][open="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-open.gif");
+}
+
+treeitem[container="true"] > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/folder-closed.gif");
+}
+
+treeitem > treerow > treecell > titledbutton {
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif");
+}
+
+titledbutton#bookmarks {
+ list-style-image:url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
+}
+
--- /dev/null
+/* Default Icon */\r
+\r
+titledbutton[loading="true"] {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;\r
+}\r
+\r
+titledbutton.iconic {\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif");\r
+}\r
--- /dev/null
+tree[id="searchengines"] {\r
+ width: 300px;\r
+}\r
+\r
+tree[id="searchengines"] > treecol[id="CheckboxColumn"] {\r
+ width: 40px;\r
+}\r
+\r
+treecol[sortActive="true"] {\r
+ background-color: #008484;\r
+}\r
--- /dev/null
+window {
+ margin-top: 2px;
+}
+
+#multi-results-header {
+ background-color: #9C9CFF;
+ color: #000000;
+ font-weight: bold;
+ padding: 1px 4px 3px 6px;
+ -moz-border-radius: 8px 0px 0px 0px;
+}
+
+#engineTabs {
+ /*don't know why its not setting the color*/
+ background-color: #9C9CFF;
+}
+
+#engineTabs > text {
+ margin-top: 5px;
+ color: black;
+}
+
+#engineTabs > titledbutton {
+ -moz-border-radius: 8px 8px 0px 0px;
+ margin-left: 5px;
+ margin-right: 5px;
+}
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+.up\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"]\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down\r
+{\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"]\r
+{\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}\r
+\r
+#add-button\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-right.gif");\r
+ }\r
+ \r
+#remove-button\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-left.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+box.sidebartitle {
+ background-color: #FF9F00;
+ padding: 2px 3px 3px 3px;
+ border: 0px;
+ margin: 0px;
+ font: 10pt sans-serif;
+}
+
+box.panelbar {
+ background-color: #9C9CFF;
+ padding: 2px 3px 3px 3px;
+ border: 0px;
+ margin: 0px;
+ font: 10pt sans-serif;
+}
+
+box#sidebox {
+ width: 100%;
+ height: 100%;
+}
+
+titledbutton.sidebartitle:hover {
+ border: 0px;
+ margin: 1px;
+}
+
+titledbutton.paneltitle {
+ horizontal-align: left;
+}
+
+treecol.checkboxColumn {
+ width: 30px ! important;
+}
+
+box.spaced {
+ padding-top: 5px;
+ paddimg-bottom: 2px;
+}
+
+box#engineTabs {
+ background-color: #808080;
+ border-bottom: 1px solid threedhighlight;
+}
+
+box#engineTabs > titledbutton {
+ background-color: #CCCCCC;
+ margin-bottom: 0px;
+ border-bottom: 1px solid #CCCCCC;
+}
+
+titledbutton#allEngines {
+ margin-right: 12px;
+}
+
+titledbutton.engine[loading="true"] {
+ list-style-image: url("chrome://communicator/skin/bookmarks/loading.gif") ! important ;
+}
+
+titledbutton.iconic {
+ list-style-image: url("chrome://communicator/skin/bookmarks/document.gif") ! important ;
+}
+
+treeitem > treerow.searchresult > treecell > titledbutton {
+ cursor: pointer;
+}
+
+treeitem > treerow.searchresult > treecell {
+ color: #FF9F00;
+ text-decoration: none;
+}
+
+treeitem > treerow.searchresult > treecell:hover {
+ color: #FFCF00;
+ text-decoration: underline;
+}
+
+treeitem > treerow.searchresult > treecell > titledbutton:active {
+ color: red;
+ text-decoration: underline;
+}
+
+/*undo regular search tree selection look*/
+treeitem[selected="true"] > treerow.searchresult {
+ background-color: transparent;
+}
+
+
+
+.searchpanel-outerbox {
+ padding: 4px 0px 0px 0px;
+}
+
+.indented-label {
+ padding-left: 8px;
+}
+
+titledbutton.panelbtn {
+ margin-left: 1em;
+ margin-right: 1em;
+}
+
+#searchengines
+ {
+ margin-left : 0px;
+ margin-right : 0px;
+ }
+
+
--- /dev/null
+#security-button \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/unlock.gif");\r
+ }\r
+\r
+#security-button[level="high"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="low"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="broken"] \r
+ {\r
+ list-style-image:url("chrome://communicator/skin/broken.gif"); \r
+ }\r
+\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+\r
+ Style rules specific to the Customize dialog.\r
+\r
+*/\r
+\r
+/* These rules apply appropriate images to the 'reorder' buttons */\r
+.up {\r
+ list-style-image:url("chrome://global/skin/scroll-up.gif");\r
+ min-width: 0px;\r
+}\r
+\r
+.up[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-up-disabled.gif");\r
+}\r
+\r
+.down {\r
+ min-width: 0px;\r
+ list-style-image:url("chrome://global/skin/scroll-down.gif");\r
+}\r
+\r
+.down[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/scroll-down-disabled.gif");\r
+}\r
+\r
+.treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+}\r
+\r
+.treecell-panel[selected="true"]\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item-sel.gif");\r
+}\r
+\r
+.treecell-panel[haslink="true"],\r
+treeitem[container="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");\r
+}\r
+treeitem[selected="true"] > treerow > .treecell-panel[haslink="true"],\r
+treeitem[selected="true"][container="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed-sel.gif");\r
+}\r
+\r
+treeitem[container="true"][open="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");\r
+}\r
+treeitem[selected="true"][container="true"][open="true"] > treerow > .treecell-panel\r
+{\r
+ list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open-sel.gif");\r
+}\r
+\r
+#header {\r
+ list-style-image: url("chrome://communicator/skin/sidebar/sidebar-icon.gif");\r
+}\r
+\r
+.tree-cell-twisty {\r
+ display: none !important;\r
+}\r
+\r
+box#reorder {\r
+ text-align: center;\r
+}\r
--- /dev/null
+/* -*- Mode: C; c-basic-offset: 2 -*-\r
+ *\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ *\r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ *\r
+ * The Original Code is mozilla.org code.\r
+ *\r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ *\r
+ * Contributor(s): \r
+ */\r
+\r
+/*\r
+ Style rules specific to the Preview dialog.\r
+*/\r
+\r
+iframe#previewframe {\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+ width: 162px;\r
+ height: 300px;\r
+ border: none;\r
+ margin: 0px;\r
+}\r
+\r
+\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Mozilla Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/MPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corp. Portions created by Netscape Communications\r
+ * Corp. are Copyright (C) 1999 Netscape Communications Corp. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): Stephen Lamm <slamm@netscape.com>\r
+ */\r
+ \r
+/**/\r
+\r
+#sidebar-panels-splitter[state="collapsed"] {\r
+ margin-bottom: 0px;\r
+}\r
+\r
+#sidebar-splitter {\r
+ -moz-border-radius: 0px 5px 5px 0px;\r
+ margin: 0px 3px 3px 0px;\r
+}\r
+\r
+#sidebar-box {\r
+ margin: 0px 3px 3px 0px;\r
+ border: none;\r
+}\r
+\r
+.text-panel-loading {\r
+ margin: 5px 0px;\r
+}\r
+\r
+.image-panel-loading {\r
+ margin: 5px;\r
+ list-style-image: url("chrome://global/skin/loading.gif"); \r
+}\r
+\r
+/*\r
+ * Sidebar and Panel title buttons\r
+ */\r
+\r
+.sidebarheader-main {\r
+ color: #FF9F00;\r
+ background-color: #6000CF;\r
+ border: none;\r
+ padding-left: 4px;\r
+ vertical-align: middle;\r
+}\r
+\r
+.sidebar-header-text {\r
+ font-weight: bold;\r
+ margin: 3px;\r
+}\r
+\r
+#sidebar-panel-picker\r
+ {\r
+ margin-right: 5px;\r
+ }\r
+\r
+#sidebar-panel-picker > .menubutton-internal-box\r
+ {\r
+ padding-top: 5px;\r
+ padding-bottom: 3px;\r
+ }\r
+\r
+#sidebar-panel-picker > .menubutton-internal-box > .menubutton-single-icon\r
+ {\r
+ list-style-image : url(chrome://global/skin/mb-single-arrow-right.gif);\r
+ }\r
+\r
+#sidebar-panel-picker:hover > .menubutton-internal-box > .menubutton-single-icon,\r
+#sidebar-panel-picker[open="true"] > .menubutton-internal-box > .menubutton-single-icon\r
+ {\r
+ list-style-image : url(chrome://global/skin/mb-single-arrow-right-hover.gif);\r
+ }\r
+\r
+/**\r
+ * texttab folder lookalike e.g. for sidebar panel headers\r
+ */\r
+ .box-texttab\r
+ {\r
+ -moz-binding : url("chrome://communicator/content/sidebar/sidebarBindings.xml#texttab");\r
+ -moz-border-radius : 5px;\r
+ border-top : 3px solid black;\r
+ }\r
+\r
+ .box-texttab[selected="true"]\r
+ {\r
+ border-bottom : 3px solid black;\r
+ }\r
+\r
+/*\r
+ .box-texttab[top-panel="true"]\r
+ {\r
+ background-color : #FF9F00;\r
+ }\r
+ \r
+ .box-texttab[first-panel-after-selected="true"] \r
+ {\r
+ background-color : #FF9F00;\r
+ }\r
+*/\r
+\r
+ .box-texttab-right-space \r
+ {\r
+ -moz-border-radius : 5px;\r
+/* width : 30px;\r
+ border-bottom : 1px solid #000000; */\r
+ }\r
+\r
+/*\r
+ .box-texttab[last-panel="true"] > .box-texttab-right-space \r
+ {\r
+ border-bottom : none;\r
+ }\r
+\r
+ .box-texttab[last-panel="true"][selected="true"] > .box-texttab-right-space \r
+ {\r
+ border-bottom : 1px solid #000000;\r
+ } \r
+*/\r
+\r
+/*\r
+ .box-texttab-left\r
+ {\r
+ list-style-image : url("chrome://global/skin/tab-leftedge.gif"); \r
+ }\r
+\r
+ .box-texttab-right\r
+ {\r
+ list-style-image : url("chrome://global/skin/tab-rightedge.gif"); \r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-left\r
+ {\r
+ list-style-image : url("chrome://global/skin/seltab-leftedge.gif");\r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-right\r
+ {\r
+ list-style-image : url("chrome://global/skin/seltab-rightedge.gif");\r
+ }\r
+*/\r
+\r
+ .box-texttab-text-container > .box-texttab-text\r
+ {\r
+ -moz-border-radius : 5px;\r
+ background-color : #FF9F00;\r
+ padding : 5px 3px 3px 3px;\r
+ color : #000000;\r
+ }\r
+\r
+ .box-texttab:hover > .box-texttab-text-container > .box-texttab-text,\r
+ .box-texttab > .box-texttab-text-container:hover > .box-texttab-text,\r
+ .box-texttab > .box-texttab-text-container > .box-texttab-text:hover\r
+ {\r
+ background-color : #FFCF00;\r
+ color : #000000;\r
+ }\r
+\r
+ .box-texttab[selected="true"] > .box-texttab-text-container > .box-texttab-text\r
+ {\r
+ background-color : #008484;\r
+ color : #FFCF00;\r
+ font-weight : bold;\r
+ }\r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="sidebarBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="sidebar-panel-header">\r
+ <content>\r
+ <xul:box class="sidebar-panel-header-box" flex="1" autostretch="never" valign="middle">\r
+ <xul:text class="sidebar-panel-header-text" inherits="value,accesskey,crop" crop="right"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="sidebarSplitterBindings.xml"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="sidebar-splitter" extends="xul:splitter">\r
+ <content excludes="observes,template">\r
+ <xul:box autostretch="never" class="sidebar-splitter-cap-container">\r
+ <xul:image class="sidebar-splitter-top-cap"/>\r
+ </xul:box>\r
+ <xul:spring flex="1"/>\r
+ <xul:box>\r
+ <children/>\r
+ </xul:box>\r
+ <xul:spring flex="1"/>\r
+ <xul:box autostretch="never" class="sidebar-splitter-cap-container">\r
+ <xul:image class="sidebar-splitter-bottom-cap"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+/******* Splitters *******/\r
+\r
+splitter {\r
+ border: none;\r
+ cursor: e-resize;\r
+ min-width: 8px;\r
+ min-height: 8px;\r
+ margin: 0px 3px 0px 3px;\r
+}\r
+\r
+splitter[state="dragging"]\r
+{\r
+ background-color: gray;\r
+}\r
+\r
+grippy {\r
+ margin: 0px;\r
+ padding: 0px;\r
+ background-image: url("chrome://global/skin/grippy-vertical-before.gif"); \r
+ background-repeat: no-repeat;\r
+ background-position: 50% 50%;\r
+ cursor: pointer;\r
+}\r
+\r
+splitter[state="collapsed"] > grippy\r
+ {\r
+ background-image : url("chrome://global/skin/grippy-vertical-after.gif");\r
+ }\r
+\r
+box[orient="vertical"] > splitter > grippy,\r
+window[orient="vertical"] > splitter > grippy {\r
+ /* a horizontal splitter */\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+ border: none;\r
+ border-right: 3px solid black;\r
+ border-left: 3px solid black;\r
+ width: 120px;\r
+ height:8px;\r
+ }\r
+\r
+box[orient="vertical"] > splitter[state="collapsed"] > grippy,\r
+window[orient="vertical"] > splitter[state="collapsed"] > grippy {\r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+ }\r
+\r
+window > splitter > grippy,\r
+box > splitter > grippy {\r
+ /* a vertical splitter */\r
+ width: 8px;\r
+ height: 120px;\r
+ border-top: 3px solid black;\r
+ border-bottom: 3px solid black;\r
+}\r
+\r
+box[orient="vertical"] > splitter,\r
+window[orient="vertical"] > splitter,\r
+rows > splitter {\r
+ /* a horizontal splitter */\r
+ cursor: n-resize;\r
+ border: none;\r
+ margin: 3px 0px 3px 0px;\r
+}\r
+\r
+/* for backwards compatibility */\r
+box[align="vertical"]>splitter > grippy,\r
+window[align="vertical"]>splitter > grippy {\r
+ /* a horizontal splitter */\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+ border: none;\r
+ border-right: 3px solid black;\r
+ border-left: 3px solid black;\r
+ width: 120px;\r
+ height: 8px;\r
+}\r
+\r
+box[align="vertical"]>splitter[state="collapsed"] > grippy,\r
+window[align="vertical"]>splitter[state="collapsed"] > grippy {\r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+}\r
+\r
+box[align="vertical"]>splitter,\r
+window[align="vertical"]>splitter {\r
+ /* a horizontal splitter */\r
+ cursor: n-resize;\r
+ border: none;\r
+ margin: 3px 0px 3px 0px;\r
+}\r
+\r
+/**\r
+ * gray horizontal splitter for pane views\r
+ */\r
+splitter.gray-horizontal-splitter { \r
+ min-height: 8px;\r
+ border: none;\r
+ margin: 3px 0px 3px 0px;\r
+ padding: 0px;\r
+}\r
+\r
+splitter.gray-horizontal-splitter > grippy { \r
+ margin: 0px;\r
+ border: none;\r
+ border-right: 3px solid black;\r
+ border-left: 3px solid black;\r
+ padding: 0px;\r
+ background-image: url("chrome://global/skin/grippy-horizontal-after.gif"); \r
+}\r
+\r
+splitter.gray-horizontal-splitter[state="collapsed"] > grippy { \r
+ background-image: url("chrome://global/skin/grippy-horizontal-before.gif"); \r
+}\r
+\r
+/*\r
+splitter.gray-horizontal-splitter > #begincap { \r
+ min-width: 8px;\r
+ width: 8px;\r
+ background-image: url("chrome://global/skin/gray-bottomleft.gif");\r
+ background-repeat: no-repeat;\r
+ background-position: 0% 100%;\r
+}\r
+\r
+splitter.gray-horizontal-splitter > #endcap { \r
+ min-width: 8px;\r
+ width: 8px;\r
+}\r
+*/
\ No newline at end of file
--- /dev/null
+#mini-nav \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-navigator.gif");\r
+ }\r
+\r
+#mini-mail \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mail.gif");\r
+ }\r
+\r
+#mini-mail[BiffState="NewMail"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mailnew.gif");\r
+ }\r
+\r
+#mini-addr \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-addressbook.gif");\r
+ }\r
+\r
+#mini-comp \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-composer.gif");\r
+ }\r
+\r
+#taskbar\r
+ {\r
+ margin-top : 0px;\r
+ padding-left : 10px;\r
+ min-height : 18px;\r
+ -moz-user-focus : ignore;\r
+ }\r
+\r
+.taskbutton \r
+ {\r
+ margin-right : 1em !important;\r
+ }\r
+\r
+.taskbarspacer \r
+ {\r
+ min-width : 0.3em;\r
+ width : 1em;\r
+ }\r
+\r
+/*\r
+#taskbar > toolbargrippy\r
+ {\r
+ display : none;\r
+ }\r
+*/
\ No newline at end of file
--- /dev/null
+
+/******* ToolBox & ToolBar *******/
+
+toolbar
+ {
+ background-color : #000000;
+ border-bottom : 3px solid #000000;
+ min-width : 1px; // DON'T DELETE. Removes disappearance of scrollbars in content pane when window is made smaller.
+ // Talk to evaughan@netscape.com for details.
+ }
+
+toolbar > .toolbar-holder
+ {
+ padding-right : 18px;
+ background-color : #9C9CFF;
+ background-image : url("chrome://global/skin/toolbar-endcap.gif");
+ background-repeat : no-repeat;
+ background-position : right;
+
+/* THE FOLLOWING LINES ARE NOT WORKING THOUGH THEY SHOULD! BUG 24998 !!! */
+/* -moz-border-radius : 0px 10px 10px 0px;
+ background-image : url("chrome://global/skin/toolbar-bg.gif");
+ background-repeat : repeat-y;
+ background-position : right;
+*/
+ }
+
+toolbargrippy
+ {
+ -moz-border-radius : 8px 0px 0px 8px;
+ background-color : #FF9F00;
+/* background-image : url("chrome://global/skin/taskbar-tab.gif"); */
+ background-repeat : no-repeat;
+ border : none;
+ border-right : 3px solid black;
+ width : 15px;
+ min-height : 16px;
+ }
+
+toolbar[collapsed="true"]
+ {
+ min-height : 0px;
+ }
+
+/* toolbox > box > box > toolbargrippy */
+
+toolbox > .collapsed-tray-holder > .collapsed-tray > toolbargrippy
+ {
+ width : 30px;
+ -moz-border-radius : 5px 0px 0px 5px;
+ margin-bottom : 3px;
+ min-height : 10px;
+ max-height : 10px;
+ }
+
+/* Does NOT work!!! (see above lines) */
+
+menubar[collapsed="true"] > toolbargrippy,
+toolbar[collapsed="true"] > toolbargrippy
+ {
+ width : 30px;
+ -moz-border-radius : 5px;
+ min-height : 10px;
+ }
+
+toolbargrippy:hover
+ {
+ background-color : #FFCF00 !important;
+/* background-image : url("chrome://global/skin/taskbar-tab-hover.gif") !important; */
+ }
+
+
+.toolbar-primary
+ {
+ -moz-border-radius : 0px 10px 10px 0px;
+ padding : 0px;
+ min-height : 40px;
+/* border : none; */
+ border-bottom : 3px solid #000000;
+ }
+
+.toolbar-primary > .toolbar-holder
+ {
+ padding-right : 18px;
+ background-color : #FF9F00;
+ background-image : url("chrome://global/skin/navbar-endcap.gif");
+ background-repeat : no-repeat;
+ background-position : right;
+
+/* THE FOLLOWING LINES ARE NOT WORKING THOUGH THEY SHOULD! BUG??? #??? */
+/* -moz-border-radius : 0px 10px 10px 0px;
+ background-image : url("chrome://global/skin/navbar-bg.gif");
+ background-repeat : repeat-y;
+ background-position : right;
+*/
+ }
+
+.toolbar-primary > toolbargrippy
+ {
+ background-color : #9C9CFF;
+/* background-image : url("chrome://global/skin/taskbar-tab.gif");
+ background-repeat : no-repeat; */
+ }
+
+.toolbar-standard
+ {
+ -moz-border-radius : 8px;
+ color : #000000;
+ background-color : #8050B0;
+ padding : 0px;
+ margin : 0px;
+ border : none;
+ min-height : 40px;
+ }
+
+toolbarseparator {
+ background-color : #000000;
+ margin-left : 1px;
+ margin-right : 1px;
+ margin-top : 4px;
+ margin-bottom : 4px;
+ width : 1px;
+}
+
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}\r
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}
\ No newline at end of file
--- /dev/null
+window {\r
+ background-color: #CCCCCC;\r
+}\r
+\r
+box.tabpanel {\r
+ border: 1px outset #CCCCCC;\r
+ padding: 10px;\r
+}\r
+\r
+tab {\r
+ padding-left: 10px;\r
+ padding-right: 10px;\r
+}\r
+\r
+treehead > treerow > treecell {\r
+ border: 1px outset #CCCCCC;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ background-color: #CCCCCC;\r
+ color: #000000;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding-left: 10px;\r
+ padding-top: 1px;\r
+ padding-bottom: 1px;\r
+}\r
+\r
+treechildren > treeitem > treerow > treecell.fieldcell {\r
+ border-right: 1px solid #CCCCCC;\r
+ border-bottom: 1px solid #CCCCCC;\r
+ color: inherit;\r
+ padding: 0px;\r
+ margin: 0px;\r
+}\r
+\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: #336699;\r
+ color: white;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= false] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree#infotree treechildren > treeitem > treerow [selectedrow ~= true] {\r
+ background-color: white;\r
+ color: black;\r
+}\r
+\r
+tree {\r
+ border: 1px inset #CCCCCC;\r
+}\r
+\r
+a {\r
+ color: #0000FF;\r
+ text-decoration: underline;\r
+}\r
+\r
+a:hover {\r
+ color: #FF0000;\r
+ text-decoration: underline;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow=true] > treecell > a:link {\r
+ color: #FFFFFF;\r
+}\r
+\r
+tree treechildren > treeitem > treerow[selectedrow ~= true] > treecell > a:hover {\r
+ color: #FFFFFF;\r
+}\r
+\r
+input.dispcell {\r
+ border: none;\r
+ background-color: #CCCCCC;\r
+ height: 12px;\r
+ font-family: tahoma;\r
+ font-size: 10px;\r
+}\r
--- /dev/null
+@import(chrome://global/skin);\r
--- /dev/null
+/*
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is Mozilla Communicator client code.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ * Don Bragg (dbragg@netscape.com) 12/08/1999
+ * Blake Ross (BlakeR1234@aol.com) 6/12/2000
+ */
+
+@import url(chrome://global/skin);
+
+
+div.label {
+ margin : 3px;
+}
+
+div#tree-housing {
+ height : 3em;
+}
+
+box#mainBox{
+ margin : 5px;
+}
+
+box#okcancelBox{
+ margin-left : 22em;
+ margin-top : 3px;
+ margin-bottom : 3px;
+}
+
+
+box#treeBox{
+ height : 18ex;
+ margin : 0em;
+}
+
+box#statusMessages{
+ width : 36em;
+}
+
+
+/*
+div#table-housing {
+ height : 100%;
+}
+*/
+
+tree#modulesTree {
+ background-color : transparent ! important;
+ height : 16ex;
+ width : 32em;
+/* margin-left : 5px;
+ margin-right : 3px; */
+ border : 1px solid #FFCF00;
+ -moz-border-radius : 5px;
+}
+
+treecell#moduleName {
+ width : 50%
+}
+
+treecell#moduleSource {
+ width : 50%;
+}
+tree > treechildren {
+/* background-color : window ! important; */
+}
+
+tree#modulesTree > treehead > treerow > treecell {
+ padding-left : 1px;
+ padding-right : 1px;
+ border-left : none;
+ border-top : none;
+ border-right : none;
+ background-color : transparent ! important;
+ color : windowtext;
+}
+
+spring#verticalSmallSpacer {
+ height : 1ex;
+}
+
+spring#verticalLargeSpacer {
+ height : 6ex;
+}
+
+spring#verticalMediumSpacer {
+ height : 3ex;
+}
+
+spring#horizontalSmallSpacer {
+ width : 1em;
+}
+
+spring#horizontalLargeSpacer {
+ width : 10em;
+}
+
+.headline {
+ font-size : 2em;
+ margin : 4px;
+ font-weight : bold;
+}
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 2000 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Dan Haddix\r
+ * Brian King\r
+ */\r
+\r
+toolbar#toolbox {\r
+ margin :0px;\r
+ padding: 4px; 0px; 0px; 0px;\r
+}\r
+\r
+toolbar#toolbox button.tool:active {\r
+ margin: 2px 0px 0px 2px;\r
+}\r
+\r
+toolbar#toolbox button.tool[toggled="1"] {\r
+ margin: 2px 0px 0px 2px;\r
+ border: 1px white inset;\r
+}\r
+\r
+toolbar#toolbox button.tool {\r
+ border: 1px solid transparent;\r
+ margin: 1px 1px 1px 1px;\r
+ padding: 2px;\r
+ text-decoration: none;\r
+ color: inherit;\r
+}\r
+\r
+toolbar.toolbox > toolbargrippy {\r
+ visibility: collapse;\r
+}\r
+\r
+#pointerButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_pointerTool.gif");\r
+}\r
+\r
+#rectButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_rectangleTool.gif");\r
+}\r
+\r
+#cirButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_circleTool.gif");\r
+}\r
+\r
+#polyButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_polygonTool.gif");\r
+}\r
+\r
+#cutButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Cut.gif");\r
+}\r
+\r
+#copyButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Copy.gif");\r
+}\r
+\r
+#pasteButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_Paste.gif");\r
+}\r
+\r
+#zoomInButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_zoomIn.gif");\r
+}\r
+\r
+#zoomOutButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_zoomOut.gif");\r
+}\r
+\r
+#contrastButton {\r
+ list-style-image:url("chrome://editor/skin/images/Map_contrast.gif");\r
+}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 2000 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Dan Haddix\r
+ * Brian King\r
+ */\r
+\r
+.rect {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #0000ff;}\r
+.cir {position:absolute; top:1px; left:1px; height:1px; width:1px; border: 1 solid #00ff00; -moz-border-radius: 50%;}\r
+.poly {position:absolute; top:0px; left:0px; height:100%; width:100%;}\r
+.point {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#ff0000;}\r
+.pointStart {position:absolute; top:1px; left:1px; height:3px; width:3px; background-color:#8000ff;}\r
+.handletl {position:absolute; top:-5px; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handletr {position:absolute; top:-5px; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlebl {position:absolute; top:100%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlebr {position:absolute; top:100%; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlel {position:absolute; top:48%; left:-5px; height:5px; width:5px; background-color:#ff00ff;}\r
+.handler {position:absolute; top:48%; left:100%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handlet {position:absolute; top:-5px; left:48%; height:5px; width:5px; background-color:#ff00ff;}\r
+.handleb {position:absolute; top:100%; left:48%; height:5px; width:5px; background-color:#ff00ff;}\r
+#marquee {position:absolute; top:1px; left:-5px; height:-5px; width:1px; border: 1 dashed #0000ff; z-index:10000; visibility: hidden;}\r
+#bgDiv {position:absolute; top:0px; left:0px; width:1; background:url("chrome://editor/skin/images/Map_checker.gif"); background-color: white; cursor: inherit;}\r
+BODY {background-color:appworkspace; height: 100%;}\r
+HTML {height: 100%;}\r
+IMG {opacity: .99;}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Pete Collins, Ben Goodger\r
+ */\r
+\r
+/*\r
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR\r
+ CHANGES REVIEWED BY cmanske@netscape.com.\r
+*/\r
+/* Most should be moved to global files */\r
+\r
+/* The defaults are WAY to big! */\r
+titledbox {\r
+ margin: 2px 5px; 4px; 5px;\r
+ padding-top: 2px;\r
+ padding-bottom: 4px;\r
+}\r
+\r
+.MinWidth5em {\r
+ min-width: 5em;\r
+}\r
+\r
+.MinWidth10em {\r
+ min-width: 10em;\r
+}\r
+\r
+.MinWidth20em {\r
+ min-width: 20em;\r
+}\r
+\r
+.big-left-margin {\r
+ margin-left: 10px;\r
+}\r
+\r
+.middle {\r
+ vertical-align: middle:\r
+}\r
+\r
+.bold {\r
+ font-weight: bold;\r
+}\r
+\r
+.italic {\r
+ font-style: italic;\r
+}\r
+\r
+.larger {\r
+ font-size: 120%;\r
+}\r
+\r
+\r
+.narrow {\r
+ width: 3em;\r
+}\r
+\r
+.align-right {\r
+ text-align: right;\r
+}\r
+\r
+.wrap {\r
+ width: 1em;\r
+}\r
+/* end of "should be in global.css" */\r
+\r
+.color-well {\r
+ width:20px;\r
+ height: 1em; \r
+ border: 1px inset #CCCCDD;\r
+ /* Background color is set at runtime */\r
+}\r
+\r
+.color-well[default="true"] {\r
+ border: 1px solid transparent;\r
+ background-color: inherit;\r
+}\r
+\r
+.popup-trigger {\r
+ list-style-image: url(chrome://global/skin/scroll-down.gif);\r
+}\r
+\r
+/* temporary -- we need a simple box-based list defined in XBL */\r
+tree.list {\r
+ border: 1px inset #CCCCDD;\r
+ /* same as in menulist.css */\r
+ margin: 1px 5px 2px 5px;\r
+ width: 10em;\r
+ height: 3em;\r
+ /* use rows="#" in XUL to define height */\r
+}\r
+\r
+#ColorPreview {\r
+ border: 1px inset #CCCCDD;\r
+ margin-left: 10px;\r
+ padding-left: 5px;\r
+ padding-right: 5px;\r
+ min-width: 100px;\r
+ min-height: 50px;\r
+}\r
+\r
+#alignTypeSelect,label#alignLabel {\r
+ margin-left: 5px;\r
+}\r
+\r
+#MoreFewerButton[more="0"] {\r
+ list-style-image: url(chrome://global/skin/scroll-down.gif);\r
+ /* bug 9459 - changing button text doesn't resize width.\r
+ This covers that problem, but we want this size anyway */\r
+ min-width: 10em;\r
+}\r
+\r
+#MoreFewerButton[more="1"] {\r
+ list-style-image: url(chrome://global/skin/scroll-up.gif);\r
+ min-width: 10em;\r
+}\r
+\r
+#PreviousButton {\r
+ list-style-image: url(chrome://global/skin/arrow-left.gif);\r
+}\r
+\r
+#NextButton {\r
+ list-style-image: url(chrome://global/skin/arrow-right.gif);\r
+}\r
+\r
+#PreviousButton[type="row"] {\r
+ list-style-image: url(chrome://global/skin/arrow-up.gif);\r
+}\r
+\r
+#NextButton[type="row"] {\r
+ list-style-image: url(chrome://global/skin/arrow-down.gif);\r
+}\r
+\r
+#MisspelledWord {\r
+ font-weight: bold;\r
+}\r
+\r
+/* For a column of right-aligned text before \r
+ a column of input fields, e.g., InsertTable dialog\r
+*/\r
+.right {\r
+ /* doesn't work yet! must use align="right" in <text> */\r
+ text-align: right;\r
+}\r
+\r
+/* use outset shape for a button look */\r
+.colorpicker {\r
+ border: 1px outset #CCCCDD;\r
+ /* This should be the same as for textfield */\r
+ margin-left: 4px;\r
+ /* For a little extra space between buttons */\r
+ margin-bottom: 2px;\r
+}\r
+\r
+\r
+.colorpicker:active {\r
+ border: 1px inset #CCCCDD;\r
+}\r
+\r
+/* THIS SHOULD BE IN GLOBAL.CSS */\r
+.smallspacer {\r
+ width: 3px;\r
+ height: 3px;\r
+ min-width: 3px;\r
+ min-height: 3px;\r
+}\r
+\r
+.spacer {\r
+ width: 5px;\r
+ height: 5px;\r
+ min-width: 5px;\r
+ min-height: 5px;\r
+}\r
+\r
+.bigspacer {\r
+ width: 10px;\r
+ height: 10px;\r
+ min-width: 10px;\r
+ min-height: 10px;\r
+}\r
+\r
+#img-align-top {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-top.gif");\r
+}\r
+#img-align-middle {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");\r
+}\r
+#img-align-bottom {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");\r
+}\r
+#img-align-right {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-right.gif");\r
+}\r
+#img-align-left {\r
+ list-style-image:url("chrome://editor/skin/images/img-align-left.gif");\r
+}\r
+\r
+/* Rest are from Ben Goodger for Advanced Edit dialog \r
+ These need reviewing and eliminate all but essential attributes */\r
+/* Have made some mods and eliminated some unnecessary portions. \r
+ hope to merge most of the treecell formatting into global as some of \r
+ this "property list" style treecell formatting is used by cookie/signon \r
+ viewers. */\r
+\r
+\r
+#tagLabel {\r
+ font-weight: bold;\r
+}\r
+\r
+/* styles for an attribute tree-table */\r
+tree.AttributesTree {\r
+ min-width : 200px;\r
+ min-height: 200px;\r
+}\r
+\r
+tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {\r
+ padding-left : 0px;\r
+ padding-top : 0px;\r
+ padding-bottom : 0px;\r
+ padding-right : 0px;\r
+ margin-left : 0px;\r
+}\r
+\r
+input.AttributesCell {\r
+ border: none;\r
+ width: 100%;\r
+ background-color: #FFFFFF;\r
+ font-weight: normal;\r
+ border: none;\r
+ outline: none;\r
+ margin: 0px;\r
+ width: 100%;\r
+}\r
+\r
+treecell > input {\r
+ margin: 0px;\r
+ background-color: #E5E5E5 ! important;\r
+}\r
+\r
--- /dev/null
+/*
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All
+ * Rights Reserved.
+ *
+ * Contributor(s):
+ */
+
+/* This contains CSS just for editor toolbars */
+
+#EditorToolbox {
+ min-width: 1px;
+}
+
+#FormatToolbar > .toolbar-holder {
+ background-image: url(chrome://editor/skin/images/format-toolbar-endcap.gif);
+}
+
+.separator_small {
+ width: 1em;
+}
+
+.margin-left-right {
+ margin-left: 3px;
+ margin-right: 3px;
+}
+
+/* From button.css: */
+/* margin: 4px 7px 1px 1px; */
+/* We have too many buttons - must be closer! */
+
+.toolbar, .key-toolbar {
+ margin-right: 2px;
+}
+
+.inset-border {
+ border: 1px inset FF9F00;
+}
+
+/* THIS DOESN'T WORK ON <text>! */
+.center {
+ text-align: center;
+}
+
+/* end of SHOULD GO IN GLOBAL */
+
+#EditModeToolbar {
+ padding: 0px;
+ /* Same as "standard" toolbar background */
+ border-top: 1px solid #9C9CFF;
+ min-width: 1px;
+ overflow: hidden;
+}
+
+/* BORDERS ARE NOT WORKING! global class="plain" is fighting us! */
+/* !important in for now as a workaround to above problem! */
+tab.edit-mode:hover, button.edit-mode:hover:active,
+tab.edit-mode {
+ -moz-border-radius: 0px 0px 7px 7px ;
+ padding: 0px 4px 1px 4px;
+ margin: 0px;
+ border-top: 0px solid black !important; /* Must be same as background */
+ border-bottom: 1px solid #9C9CFF !important;
+ border-left: 1px solid #9C9CFF !important;
+ border-right: 1px solid #9C9CFF !important;
+}
+
+tab.edit-mode > .button-internal-box,
+tab.edit-mode:hover > .button-internal-box,
+tab.edit-mode:hover:active > .button-internal-box {
+ border: none;
+}
+
+tab.edit-mode:hover {
+/* border: 1px solid #3366FF !important; */
+}
+
+tab.edit-mode:hover:active {
+ padding: 1px 5px 0px 3px;
+/* border: 1px solid #99CCFF !important; */
+}
+
+/* selected="1" is from old times when edit-mode was a <button> - still left in xul */
+
+tab.edit-mode[selected="1"],
+tab.edit-mode[selected="true"] {
+ padding: 0px 4px 1px 4px;
+ margin: -1px 0px 0px 0px;
+/* Not resizing well! - use color instead
+ font-weight: bold;
+*/
+ background-color: #008484;
+ color: #000000;
+}
+
+tab.edit-mode[selected="1"]:active,
+tab.edit-mode[selected="1"]:hover:active,
+tab.edit-mode[selected="true"]:active,
+tab.edit-mode[selected="true"]:hover:active {
+ padding: 1px 5px 0px 3px;
+}
+
+#NormalModeButton[type="image"] {
+ list-style-image:url(chrome://editor/skin/images/editmode-normal.gif);
+}
+
+#TagModeButton[type="image"] {
+ list-style-image:url(chrome://editor/skin/images/editmode-tags.gif);
+}
+
+#SourceModeButton[type="image"] {
+ list-style-image:url(chrome://editor/skin/images/editmode-html.gif);
+}
+
+#PreviewModeButton[type="image"] {
+ list-style-image:url(chrome://editor/skin/images/editmode-preview.gif);
+}
+
+#ToggleEditModeType {
+ list-style-image:url(chrome://editor/skin/images/editmode-toggle.gif);
+ border: 1px outset #CCCCDD;
+}
+
+#ToggleEditModeType:hover {
+ border: 1px solid #99CCFF;
+}
+
+#ToggleEditModeType:hover:active {
+ border: 1px inset #99CCFF;
+}
+
+/* Image URLs for all Editor toolbar buttons */
+
+#boldButton {
+ list-style-image:url(chrome://editor/skin/images/bold.gif);
+}
+
+#boldButton:hover {
+ list-style-image:url(chrome://editor/skin/images/bold-hover.gif);
+}
+
+#italicButton {
+ list-style-image:url(chrome://editor/skin/images/italic.gif);
+}
+
+#italicButton:hover {
+ list-style-image:url(chrome://editor/skin/images/italic-hover.gif);
+}
+
+#underlineButton {
+ list-style-image:url(chrome://editor/skin/images/underline.gif);
+}
+
+#underlineButton:hover {
+ list-style-image:url(chrome://editor/skin/images/underline-hover.gif);
+}
+
+#newButton {
+ list-style-image:url("chrome://editor/skin/images/newfile.gif");
+}
+
+#newButton:hover {
+ list-style-image:url("chrome://editor/skin/images/newfile-hover.gif");
+}
+
+#newButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/newfile_dis.gif");
+}
+
+#openButton {
+ list-style-image:url("chrome://editor/skin/images/openfile.gif");
+}
+
+#openButton:hover {
+ list-style-image:url("chrome://editor/skin/images/openfile-hover.gif");
+}
+
+#openButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/openfile_dis.gif");
+}
+
+#saveButton {
+ list-style-image:url("chrome://editor/skin/images/savefile.gif");
+}
+
+#saveButton:hover {
+ list-style-image:url("chrome://editor/skin/images/savefile-hover.gif");
+}
+
+#saveButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/savefile_dis.gif");
+}
+
+#saveButton[dirty="true"] {
+ list-style-image:url(chrome://editor/skin/images/savemod.gif);
+}
+
+#saveButton[dirty="true"]:hover {
+ list-style-image:url(chrome://editor/skin/images/savemod-hover.gif);
+}
+
+#publishButton {
+ list-style-image:url("chrome://editor/skin/images/publish.gif");
+}
+
+#previewButton {
+ list-style-image:url("chrome://editor/skin/images/preview.gif");
+}
+
+#previewButton:hover {
+ list-style-image:url("chrome://editor/skin/images/preview-hover.gif");
+}
+
+#previewButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/preview_dis.gif");
+}
+
+#printButton {
+ list-style-image:url("chrome://editor/skin/images/print.gif");
+}
+
+#printButton:hover,
+#printButton > .menubutton-internal-box > button:hover {
+ list-style-image:url("chrome://editor/skin/images/print-hover.gif");
+}
+
+#printButton[disabled="true"],
+#printButton[disabled="true"]:hover,
+#printButton[disabled="true"] > .menubutton-internal-box > button:hover {
+ list-style-image:url("chrome://editor/skin/images/print_dis.gif");
+}
+
+#findButton {
+ list-style-image:url("chrome://editor/skin/images/find.gif");
+}
+
+#findButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/find_dis.gif");
+}
+
+#linkButton {
+ list-style-image:url("chrome://editor/skin/images/link.gif");
+}
+
+#linkButton:hover {
+ list-style-image:url("chrome://editor/skin/images/link-hover.gif");
+}
+
+#linkButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/link_dis.gif");
+}
+
+#imageButton {
+ list-style-image:url("chrome://editor/skin/images/image.gif");
+}
+
+#imageButton:hover {
+ list-style-image:url("chrome://editor/skin/images/image-hover.gif");
+}
+
+#imageButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/image_dis.gif");
+}
+
+#namedAnchorButton {
+ list-style-image:url("chrome://editor/skin/images/anchor.gif");
+}
+
+#namedAnchorButton:hover {
+ list-style-image:url("chrome://editor/skin/images/anchor-hover.gif");
+}
+
+#namedAnchorButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/anchor_dis.gif");
+}
+
+#hlineButton {
+ list-style-image:url("chrome://editor/skin/images/hline.gif");
+}
+
+#hlineButton:hover {
+ list-style-image:url("chrome://editor/skin/images/hline-hover.gif");
+}
+
+#hlineButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/hline_dis.gif");
+}
+
+#tableButton {
+ list-style-image:url("chrome://editor/skin/images/table.gif");
+}
+
+#tableButton:hover {
+ list-style-image:url("chrome://editor/skin/images/table-hover.gif");
+}
+
+#tableButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/table_dis.gif");
+}
+
+#linkButton-dark {
+ list-style-image:url("chrome://editor/skin/images/link.gif");
+}
+#imageButton-dark {
+ list-style-image:url("chrome://editor/skin/images/image.gif");
+}
+#namedAnchorButton-dark {
+ list-style-image:url("chrome://editor/skin/images/anchor.gif");
+}
+#hlineButton-dark {
+ list-style-image:url("chrome://editor/skin/images/hline.gif");
+}
+#tableButton-dark {
+ list-style-image:url("chrome://editor/skin/images/table.gif");
+}
+#spellingButton {
+ list-style-image:url("chrome://editor/skin/images/spell.gif");
+}
+
+#DecreaseFontSizeButton {
+ list-style-image:url("chrome://editor/skin/images/dec-font-size.gif");
+}
+
+#DecreaseFontSizeButton:hover {
+ list-style-image:url("chrome://editor/skin/images/dec-font-size-hover.gif");
+}
+
+#IncreaseFontSizeButton {
+ list-style-image:url("chrome://editor/skin/images/inc-font-size.gif");
+}
+
+#IncreaseFontSizeButton:hover {
+ list-style-image:url("chrome://editor/skin/images/inc-font-size-hover.gif");
+}
+
+#ulButton {
+ list-style-image:url("chrome://editor/skin/images/bullets.gif");
+}
+
+#ulButton:hover {
+ list-style-image:url("chrome://editor/skin/images/bullets-hover.gif");
+}
+
+#olButton {
+ list-style-image:url("chrome://editor/skin/images/numbers.gif");
+}
+
+#olButton:hover {
+ list-style-image:url("chrome://editor/skin/images/numbers-hover.gif");
+}
+
+#outdentButton {
+ list-style-image:url("chrome://editor/skin/images/outdent.gif");
+}
+
+#outdentButton:hover {
+ list-style-image:url("chrome://editor/skin/images/outdent-hover.gif");
+}
+
+#outdentButton[disabled="true"] {
+ list-style-image:url("chrome://editor/skin/images/outdent_dis.gif");
+}
+
+#indentButton {
+ list-style-image:url("chrome://editor/skin/images/indent.gif");
+}
+
+#indentButton:hover {
+ list-style-image:url("chrome://editor/skin/images/indent-hover.gif");
+}
+
+#FormatToolbar > button,
+#FormatToolbar > button:hover,
+#FormatToolbar > button:active,
+#FormatToolbar > button[disabled="true"] {
+ min-width: 23px;
+ min-height: 23px;
+}
+
+#FormatToolbar > button > .button-internal-box {
+ margin: 0px;
+ padding: 1px;
+ text-align: center;
+}
+
+#FormatToolbar > button:active > .button-internal-box {
+ padding: 2px 0px 0px 2px;
+}
+
+#FormatToolbar > button > .button-internal-box > .button-text-container
+ {
+ display : none;
+ }
+
+#ParagraphSelect {
+ margin-top: 2px;
+}
+
+#AlignPopupButton {
+ list-style-image:url("chrome://editor/skin/images/align.gif");
+}
+
+#AlignPopupButton:hover {
+ list-style-image:url("chrome://editor/skin/images/align-hover.gif");
+}
+
+#AlignPopupButton > .button-internal-box {
+ border:1px solid transparent;
+}
+#AlignPopupButton:hover > .button-internal-box {
+ border:1px outset #CCCCDD;
+}
+#AlignPopupButton:active > .button-internal-box,
+#AlignPopupButton[open="true"] > .button-internal-box {
+ border:1px inset #CCCCDD;
+}
+
+#InsertPopupButton {
+ list-style-image:url("chrome://editor/skin/images/object-popup.gif");
+}
+
+#text-align-left,
+#align-left-button
+ {
+ list-style-image : url("chrome://editor/skin/images/left.gif");
+ }
+
+#text-align-left:hover,
+#align-left-button:hover
+ {
+ list-style-image : url("chrome://editor/skin/images/left-hover.gif");
+ }
+
+#text-align-left[disabled="true"],
+#text-align-left[disabled="true"]:hover,
+#text-align-left[disabled="true"]:hover:active,
+#align-left-button[disabled="true"],
+#align-left-button[disabled="true"]:hover,
+#align-left-button[disabled="true"]:hover:active,
+ {
+ list-style-image : url("chrome://editor/skin/images/left-disabled.gif");
+ }
+
+#text-align-center,
+#align-center-button
+ {
+ list-style-image : url("chrome://editor/skin/images/center.gif");
+ }
+
+#text-align-center:hover,
+#align-center-button:hover
+ {
+ list-style-image : url("chrome://editor/skin/images/center-hover.gif");
+ }
+
+#text-align-center[disabled="true"],
+#text-align-center[disabled="true"]:hover,
+#text-align-center[disabled="true"]:hover:active,
+#align-center-button[disabled="true"],
+#align-center-button[disabled="true"]:hover,
+#align-center-button[disabled="true"]:hover:active
+ {
+ list-style-image : url("chrome://editor/skin/images/center-disabled.gif");
+ }
+
+#text-align-right,
+#align-right-button
+ {
+ list-style-image : url("chrome://editor/skin/images/right.gif");
+ }
+
+#text-align-right:hover,
+#align-right-button:hover
+ {
+ list-style-image : url("chrome://editor/skin/images/right-hover.gif");
+ }
+
+#text-align-right[disabled="true"],
+#text-align-right[disabled="true"]:hover,
+#text-align-right[disabled="true"]:hover:active
+#align-right-button[disabled="true"],
+#align-right-button[disabled="true"]:hover,
+#align-right-button[disabled="true"]:hover:active
+ {
+ list-style-image : url("chrome://editor/skin/images/right-disabled.gif");
+ }
+
+#text-align-justify,
+#align-justify-button
+ {
+ list-style-image : url("chrome://editor/skin/images/justify.gif");
+ }
+
+#text-align-justify:hover,
+#align-justify-button:hover
+ {
+ list-style-image : url("chrome://editor/skin/images/justify-hover.gif");
+ }
+
+#text-align-justify[disabled="true"],
+#text-align-justify[disabled="true"]:hover,
+#text-align-justify[disabled="true"]:hover:active
+#align-justify-button[disabled="true"],
+#align-justify-button[disabled="true"]:hover,
+#align-justify-button[disabled="true"]:hover:active
+ {
+ list-style-image : url("chrome://editor/skin/images/justify-disabled.gif");
+ }
+
+.ColorPickerLabel {
+ border: 1px inset white;
+ margin: 0px;
+ padding: 2px;
+ text-align: center;
+}
+
+/* TODO: How to make inset color skinable? */
+.color-button {
+ border: 1px inset #FF9F00;
+ padding: 0px;
+ width: 15px;
+ height: 15px;
+ margin: 1px;
+}
+
+.color-button:hover {
+ border: 1px solid #FFCF00;
+}
+
+#ColorButtons {
+ margin-right: 5px;
+}
+
+#TextColorButton {
+ margin: 1px 7px 7px 1px;
+ /* TEMP: Set color here. TODO: Set color from page */
+ background-color: #AA0000;
+}
+
+#BackgroundColorButton {
+ margin: 7px 1px 1px 7px;
+ /* TEMP: Set color here. TODO: Set color from page */
+ background-color: #FFFF00;
+}
+
+
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
+/* Note: most of our styles are in EditorToolbars.css \r
+ in order to share with all users of editor\r
+*/\r
+\r
+#content-frame { \r
+ min-width: 10px; \r
+ min-height: 10px;\r
+ height: 400px;\r
+} \r
+\r
+.source-editor, .source-editor:focus {\r
+ margin: 0px 5px 5px 0px;\r
+ border: 0px;\r
+ /* Scroll bars are in content, \r
+ so we can't use right and bottom padding! */\r
+ padding: 5px 0px 0px 5px;\r
+}\r
--- /dev/null
+\r
+titledbox\r
+ {\r
+ -moz-border-radius : 5px;\r
+ border : 2px groove #9C9CFF;\r
+ padding : 7px;\r
+ margin : 5px;\r
+ }\r
+\r
+title\r
+ {\r
+ margin-left : 6px;\r
+ padding-right : 40px;\r
+ }\r
+\r
+box.titledbox-title \r
+ {\r
+ padding-left : 5px;\r
+ padding-right : 5px; \r
+ } \r
+\r
+box.titledbox-body\r
+ {\r
+ display : block;\r
+ padding : inherit;\r
+ }\r
+\r
+ \r
+/** box formatting **/\r
+ box[autostretch="never"]\r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+ box[autostretch="never"][valign="top"]\r
+ {\r
+ vertical-align : top;\r
+ }\r
+ \r
+ box[autostretch="never"][valign="bottom"]\r
+ {\r
+ vertical-align : bottom;\r
+ }\r
+ \r
+ box[autostretch="never"][halign="center"] \r
+ {\r
+ text-align : center;\r
+ }\r
+ \r
+ box[autostretch="never"][halign="right"]\r
+ {\r
+ text-align : right;\r
+ }\r
+\r
+ row\r
+ {\r
+ vertical-align : middle;\r
+ }\r
+
\ No newline at end of file
--- /dev/null
+/* NEW WIDGET ANDING: <button> */\r
+\r
+/** Default Button Styles (apply to usage of <button> without \r
+ * any applied class).\r
+ **/\r
+\r
+/* outer frame */\r
+ button \r
+ {\r
+ -moz-border-radius : 3px;\r
+ border : none;\r
+ margin : 1px 5px 2px 5px;\r
+ background-color : #000000;\r
+ color : #FFCF00;\r
+ }\r
+ \r
+ button:hover,\r
+ button:hover:active \r
+ {\r
+ border : none;\r
+ background-color : #FFCF00;\r
+ color : #000000;\r
+ }\r
+ \r
+ button[disabled="true"],\r
+ button[disabled="true"]:hover,\r
+ button[disabled="true"]:hover:active \r
+ {\r
+ border : none;\r
+ background-color : #000000;\r
+ color : #8050B0;\r
+ }\r
+ \r
+/* internal frame */\r
+ button > .button-internal-box \r
+ {\r
+ -moz-border-radius : 3px;\r
+ vertical-align : middle;\r
+ text-align : center;\r
+ border : none;\r
+ padding : 1px;\r
+ }\r
+ \r
+ button:hover:active > .button-internal-box \r
+ {\r
+ border : none;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+ \r
+ button[disabled="true"] > .button-internal-box,\r
+ button[disabled="true"]:hover > .button-internal-box,\r
+ button[disabled="true"]:hover:active > .button-internal-box \r
+ {\r
+ border : none;\r
+ padding : 1px;\r
+ }\r
+\r
+/* text wrapping frame (hack because <text> does not support alignment) */\r
+ .button-text-container\r
+ {\r
+ text-align : center;\r
+ vertical-align : middle;\r
+ }\r
+\r
+/* text frame */\r
+ .button-text \r
+ {\r
+ padding : 1px 2px 1px 2px;\r
+ }\r
+ \r
+ button[orient="vertical"] > .button-internal-box > .button-text-container > .button-text\r
+ {\r
+ padding : 2px 2px 1px 2px;\r
+ }\r
+ \r
+/** Styles for "DEFAULT" buttons (usually 'OK' or equivalent in dialogs. \r
+ * To activate, set 'default' attribute on button.\r
+ **/\r
+ \r
+/* outer frame */ \r
+ button[default] \r
+ {\r
+ /* XXX this is a HACK until 'orient' is supported in CSS! XXX */\r
+ /* strictly speaking not necessary because default for buttonright is \r
+ * to lay image out horizontally, but leaving here as a reminder to\r
+ * implement this feature */\r
+ -moz-binding : url(chrome://global/content/xulBindings.xml#buttonright);\r
+ font-weight : bold;\r
+ list-style-image : url("chrome://global/skin/return.gif");\r
+ }\r
+ \r
+ button[default]:hover\r
+ {\r
+ list-style-image : url("chrome://global/skin/return-hover.gif");\r
+ }\r
+\r
+ button[default][disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://global/skin/return-disabled.gif");\r
+ }\r
+ \r
+/** Styles for 'dialog' buttons (usually any command button in a dialog)\r
+ * This class gives buttons 10px of padding on each side to increase the\r
+ * strike area and make buttons with small amounts of text (e.g. 'OK') \r
+ * look less silly.\r
+ **/\r
+\r
+/* internal frame */\r
+ .button-dialog > .button-internal-box,\r
+ .button-dialog:hover > .button-internal-box\r
+ {\r
+ padding : 2px 10px 2px 10px;\r
+ }\r
+ \r
+ .button-dialog:hover:hover:active > .button-internal-box \r
+ {\r
+ padding : 3px 9px 1px 11px;\r
+ }\r
+\r
+/** Styles for grey toolbar buttons. These buttons are used in places like\r
+ * editor's formatting toolbar or toolbars wanting a button similar to a command\r
+ * button but without an initial outset frame.\r
+ **/ \r
+ .button-borderless \r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .button-borderless:hover\r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .button-borderless > .button-internal-box \r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .button-borderless:hover > .button-internal-box \r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .button-borderless:hover:active > .button-internal-box \r
+ {\r
+ border : none;\r
+ }\r
+\r
+/** plain (raw) buttons, class="plain" **/\r
+\r
+ button.plain, button.plain:hover, button.plain:hover:active,\r
+ button.plain > .button-internal-box, \r
+ button.plain:hover:active > .button-internal-box,\r
+ button.plain > .button-internal-box:hover:active,\r
+ button.plain > .button-internal-box > .button-text-container, \r
+ button.plain > .button-internal-box > .button-text-container:hover:active,\r
+ button.plain > .button-internal-box > .button-text-container > .button-text, \r
+ button.plain > .button-internal-box > .button-text-container > .button.text:hover:active,\r
+ button-plain > .button-internal-box > .button-icon, \r
+ button.plain > .button-internal-box > .button.icon:hover:active\r
+ {\r
+ border : 0px;\r
+ margin : 0px;\r
+ padding : 0px;\r
+ }\r
+\r
+\r
+/** \r
+ * utility class for buttons with associated popup\r
+ **/\r
+.button-popup \r
+ {\r
+ list-style-image : url(chrome://global/skin/taskbar-popup-arrow.gif);\r
+ }\r
+ \r
+ \r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="buttonBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1">\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttonright" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1">\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1" orient="vertical" align="center">\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttonbottom" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box class="button-box-1" autostretch="never" flex="1">\r
+ <xul:box class="button-box-2" autostretch="never" flex="1" orient="vertical" align="center">\r
+ <xul:box class="button-box-text" flex="1" autostretch="never">\r
+ <xul:text class="button-text" inherits="disabled,value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="button-icon" inherits="src"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+/* stylesheet for XUL <checkbox> element */\r
+\r
+/* default checkbox for dialogs */\r
+\r
+/* outer checkbox frame */\r
+ checkbox \r
+ {\r
+ margin: 3px 5px 3px 5px;\r
+ }\r
+\r
+/* checkmark outer frame */\r
+ checkbox > .internal-box > .checkmark-box \r
+ {\r
+ -moz-border-radius: 2px;\r
+ border: 1px solid #FF9F00;\r
+ background-color: #000000;\r
+ margin-top: 2px;\r
+ margin-right: 4px;\r
+ padding: 1px; \r
+ }\r
+\r
+ checkbox:hover > .internal-box > .checkmark-box \r
+ {\r
+ border: 1px solid #FFCF00;\r
+ }\r
+\r
+ checkbox[disabled="true"] > .internal-box > .checkmark-box,\r
+ checkbox[disabled="true"]:hover > .internal-box > .checkmark-box \r
+ {\r
+ border: 1px inset #8050B0;\r
+ }\r
+ \r
+/* checkmark inner frame */\r
+ checkbox > .internal-box > .checkmark-box > .checkbox-check \r
+ {\r
+ width: 8px;\r
+ height: 8px;\r
+ list-style-image: none;\r
+ }\r
+ \r
+ checkbox[checked="true"] > .internal-box > .checkmark-box > .checkbox-check \r
+ {\r
+ list-style-image: url(chrome://global/skin/check-check.gif);\r
+ }\r
+ \r
+ checkbox[checked="true"][disabled="true"] > .internal-box > .checkmark-box > .checkbox-check\r
+ {\r
+ list-style-image: url(chrome://global/skin/check-check-disabled.gif);\r
+ } \r
+\r
+ checkbox > .internal-box > .checkbox-icon \r
+ {\r
+ list-style-image: inherit;\r
+ }\r
+ \r
+/* checkmark label/icon frame */\r
+ checkbox[value] > .internal-box > html\r
+ {\r
+ margin: 0px 0px 0px 4px;\r
+ padding: 1px;\r
+ color: #FF9F00;\r
+ }\r
+\r
+ checkbox[disabled="true"][value] > .internal-box > html \r
+ {\r
+ color: #8050B0;\r
+ }\r
+ \r
+ checkbox:focus > .internal-box > html \r
+ {\r
+ border : 1px dotted black;\r
+ padding : 0px;\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="buttonBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="textdisabled" extends="xul:text">\r
+ <content excludes="observes,template">\r
+ <xul:stack>\r
+ <xul:text class="text-bottom" inherits="value,accesskey,crop"/>\r
+ <xul:text class="text-top" inherits="value,accesskey,crop"/>\r
+ </xul:stack>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="toolbargrippy" extends="xul:box">\r
+ <content orient="vertical">\r
+ <xul:box autostretch="never" halign="center">\r
+ <xul:image class="toolbargrippy-twisty"/>\r
+ </xul:box>\r
+ <xul:spring class="toolbargrippy-texture" flex="1"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="radio" extends="chrome://global/content/radioBindings.xml#radio">\r
+ <content excludes="observes">\r
+ <xul:box flex="1" class="radio-internal-box" autostretch="never" valign="middle">\r
+ <xul:box class="radio-checkmark-box-1" autostretch="never" inherits="disabled">\r
+ <xul:box class="radio-checkmark-box-2" autostretch="never" flex="1">\r
+ <xul:image class="radio-check" inherits="checked,disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ <xul:image class="radio-icon" inherits="src,disabled"/>\r
+ <xul:html class="radio-text" inherits="value,accesskey,crop,disabled" flex="1">\r
+ <children/>\r
+ </xul:html>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="checkbox" extends="chrome://global/content/xulBindings.xml#checkbox">\r
+ <content excludes="observes">\r
+ <xul:box flex="1" class="checkbox-internal-box" autostretch="never" valign="middle">\r
+ <xul:box class="checkbox-checkmark-box-1" autostretch="never" inherits="disabled">\r
+ <xul:box class="checkbox-checkmark-box-2" autostretch="never" flex="1">\r
+ <xul:image class="checkbox-check" inherits="checked,disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ <xul:image class="checkbox-icon" inherits="src,disabled"/>\r
+ <xul:html class="checkbox-text" inherits="value,accesskey,crop,disabled" flex="1">\r
+ <children/>\r
+ </xul:html>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="thumb" extends="xul:box">\r
+ <content>\r
+ <xul:box class="thumb-box" autostretch="never" orient="vertical" flex="1">\r
+ <xul:spring flex="1"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="scrollbar">\r
+ <content>\r
+ <xul:scrollbarbutton type="decrement" inherits="align:sborient"/>\r
+ <xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment">\r
+ <xul:thumb inherits="align,src" flex="1"/>\r
+ </xul:slider>\r
+ <xul:scrollbarbutton type="increment" inherits="align:sborient"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="scrollbarbutton">\r
+ <content>\r
+ <xul:box class="scrollbarbutton-box" flex="1">\r
+ <xul:image class="scrollbarbutton-icon" inherits="src"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="slider">\r
+ <content>\r
+ <xul:button class="slider-button"/>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="grippy">\r
+ <content>\r
+ <xul:box class="grippy-box" flex="1">\r
+ <xul:image class="grippy-image" inherits="src" />\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+box.icon {\r
+ margin: 1em 15px 0px 10px;\r
+}\r
+\r
+box#content {\r
+ margin-top: 1em;\r
+ margin-right: 1em;\r
+}\r
+\r
+box#okCancelButtons {\r
+ margin-bottom: 0.5em;\r
+}\r
+\r
+table#editFields {\r
+ margin-top: 1em;\r
+ margin-bottom: 1em;\r
+}\r
+\r
+div[id="info.header"] {\r
+ font-weight: bold;\r
+}
\ No newline at end of file
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is mozilla.org code.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ */\r
+\r
+.error-icon-box {\r
+ background-color: #CCCCCC;\r
+ padding: 5px;\r
+ border-right: 1px solid #999999;\r
+}\r
+\r
+\r
+\r
+.treecell-error {\r
+ border-bottom: 1px solid #000000 !important;\r
+ padding: 0px;\r
+}\r
+\r
+.treecell-error[type="error"] {\r
+ list-style-image: url("chrome://global/skin/error-icon.gif") !important;\r
+}\r
+\r
+.treecell-error[type="warning"] {\r
+ list-style-image: url("chrome://global/skin/alert-icon.gif") !important;\r
+}\r
+\r
+.error-icon {\r
+ list-style-image: inherit !important;\r
+}\r
+\r
--- /dev/null
+/** \r
+ * Small Dialog Header (without icon)\r
+ **/\r
+.box-smallheader \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#smallheader);\r
+ border : 1px solid #FFCF00;\r
+ margin : 0px 5px 6px 5px;\r
+ }\r
+\r
+.toolbar-primary\r
+ {\r
+ padding : 0px 0px 3px 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+.box-smallheader-left \r
+ {\r
+ font-size : larger;\r
+ font-weight : bold;\r
+ padding-left : 6px;\r
+ }\r
+\r
+.box-smallheader-right \r
+ {\r
+ padding-right : 6px;\r
+ }\r
+\r
+.box-smallheader > .toolbar-primary \r
+ {\r
+ border : 0px solid threeddarkshadow;\r
+ vertical-align : middle;\r
+ padding-top : 3px;\r
+ }\r
+\r
+/** \r
+ * Large Dialog Header (with icon) \r
+ **/\r
+.box-header \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#largeheader);\r
+ }\r
+\r
+.box-header-header \r
+ {\r
+ padding : 0px 0px 4px 5px;\r
+ min-height : 34px;\r
+ }\r
+\r
+.box-header-text-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+\r
+.box-header-text \r
+ {\r
+ color : white;\r
+ font-size : large;\r
+ font-weight : bold;\r
+ text-decoration : underline;\r
+ }\r
+\r
+.box-header-icon-box \r
+ {\r
+ vertical-align : middle;\r
+ }\r
+ \r
+.box-header-circle \r
+ {\r
+ background-color : transparent;\r
+ min-width : 28px;\r
+ margin : 1px 7px 1px 1px;\r
+ height : 28px;\r
+ width : 28px;\r
+ } \r
+\r
+/**\r
+ * Dialog status line (blue) including progress area\r
+ **/\r
+.box-status \r
+ {\r
+ -moz-binding : url(chrome://global/content/dialogBindings.xml#status);\r
+ }\r
+\r
+.box-status-bg \r
+ {\r
+ padding : 1px 5px 1px 5px;\r
+ min-height : 0px ! important;\r
+ }\r
+\r
+.box-status-text, .box-status-progress\r
+ {\r
+ color : #FF9F00 ! important;\r
+ }\r
+\r
+ \r
+/** \r
+ * Utility classes for use when combined headers/footers are used\r
+ **/\r
+/* display area framed container */\r
+#contentarea \r
+ {\r
+ border-top : 2px groove threedface;\r
+ border-bottom : 2px groove threedface;\r
+ padding : 7px;\r
+ }\r
+\r
+/* top border on status area */\r
+#wizardButtons \r
+ {\r
+ border-bottom : 1px solid threedshadow;\r
+ padding-top : 1px;\r
+ padding-bottom : 1px;\r
+ }\r
+\r
+\r
--- /dev/null
+@import url(chrome://global/skin/global.css);\r
+\r
+treecell.directory {\r
+ list-style-image: url("chrome://global/skin/dir-closed.gif");\r
+}\r
+\r
+treecell.file {\r
+ list-style-image: url("chrome://global/skin/blank.gif");\r
+}\r
+\r
+/*\r
+treeitem.hidden > treerow > treecell > .tree-button {\r
+ color: #CCCCCC;\r
+}\r
+\r
+treeitem.hidden > treerow > treecell > .tree-icon {\r
+ list-style-image: url("chrome://global/skin/blank.gif");\r
+}\r
+*/\r
--- /dev/null
+/* colors */\r
+\r
+.color-dialog\r
+ {\r
+ background-color : #000000;\r
+ color : #FF9F00;\r
+ }\r
+ \r
+.color-window\r
+ {\r
+ background-color : #000000;\r
+ color : #FF9F00;\r
+ }\r
+\r
+/* inset areas */\r
+.inset\r
+ {\r
+/* border : 1px inset #FF9F00; */\r
+ margin : 0px 5px 5px 5px;\r
+ }\r
+ \r
+/* formatting */\r
+.groove-top\r
+ {\r
+ border-top : 2px groove #FF9F00;\r
+ }\r
+ \r
+.groove-right\r
+ {\r
+ border-right : 2px groove #FF9F00;\r
+ }\r
+ \r
+.groove-left\r
+ {\r
+ border-left : 2px groove #FF9F00;\r
+ }\r
+ \r
+.groove-bottom\r
+ {\r
+ border-bottom : 2px groove #FF9F00;\r
+ }\r
+ \r
+.outset\r
+ {\r
+/* border : 1px outset #FF9F00; */\r
+ } \r
+ \r
+/** separator rules **/\r
+/* standard separators */\r
+ separator, separator[orient="horizontal"] \r
+ {\r
+ height: 1.5em;\r
+ }\r
+ \r
+ separator[orient="vertical"] \r
+ {\r
+ width: 1.5em;\r
+ }\r
+\r
+/* thinner separators (50% size) */\r
+ separator.thin, separator.thin[orient="horizontal"] \r
+ {\r
+ height: 0.5em;\r
+ }\r
+ \r
+ separator.thin[orient="vertical"] \r
+ {\r
+ width: 0.5em;\r
+ }\r
+\r
+/* groove separators (50% size) */\r
+ separator.groove,\r
+ separator.groove[orient="horizontal"] \r
+ {\r
+ border-top: 2px groove #FF9F00;\r
+ height: 0px;\r
+ margin-top: 0.4em;\r
+ margin-bottom: 0.4em;\r
+ }\r
+ \r
+ separator.groove[orient="vertical"] \r
+ {\r
+ border-left: 2px groove #FF9F00;\r
+ margin-left: 0.4em;\r
+ margin-right: 0.4em;\r
+ }\r
+ \r
+/* groove separators (0 padding, for dividing effects) */ \r
+ separator.groove-thin \r
+ {\r
+ border-top: 2px groove #FF9F00;\r
+ height: 0px;\r
+ }\r
+ \r
+ separator[orient="vertical"].groove-thin \r
+ {\r
+ border-left: 2px groove #FF9F00;\r
+ }\r
+\r
+/** text formatting rules **/\r
+/* label (with margins) */\r
+ text.label \r
+ {\r
+ margin : 1px 5px 2px 5px;\r
+ }\r
+ \r
+ text[disabled="true"] \r
+ {\r
+ color : #8050B0;\r
+ } \r
+ \r
+ html\r
+ {\r
+ margin : 1px 5px 4px 5px;\r
+ cursor : default;\r
+ }\r
+\r
+ .header \r
+ {\r
+ font-weight : bold;\r
+ }\r
+ \r
+ .indent\r
+ {\r
+ margin-left : 20px;\r
+ }\r
+\r
+ .icon-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ }\r
+ \r
+ .box-padded\r
+ {\r
+ padding : 5px;\r
+ } \r
+ \r
+ .spaced\r
+ {\r
+ margin : 3px 5px 4px 5px;\r
+ }
\ No newline at end of file
--- /dev/null
+/** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of
+ a particular application should be in that application's style sheet.
+ For example style definitions for navigator can be found in navigator.css
+
+ THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
+ CHANGES REVIEWED BY hyatt@netscape.com.
+**/
+
+/* import the widget style sheets */
+
+/* all localizable skin settings shall live here */
+@import url(chrome://global/locale/intl.css);
+
+@import url(chrome://global/skin/box.css);
+@import url(chrome://global/skin/button.css);
+@import url(chrome://global/skin/checkbox.css);
+@import url(chrome://global/skin/radio.css);
+@import url(chrome://global/skin/tree.css);
+@import url(chrome://global/skin/splitter.css);
+@import url(chrome://global/skin/radio.css);
+@import url(chrome://global/skin/menubutton.css);
+@import url(chrome://global/skin/menulist.css);
+@import url(chrome://global/skin/menu.css);
+@import url(chrome://global/skin/formatting.css);
+@import url(chrome://global/skin/textfield.css);
+@import url(chrome://global/skin/tabcontrol.css);
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
+@namespace html url("http://www.w3.org/1999/xhtml");
+
+/**
+ * XXX-DEBUG: HTML namespace/titledbutton striping.
+ **/
+ html|*
+ {
+ border : 1px solid green !important;
+ }
+
+ html|form
+ {
+ border : none !important;
+ }
+
+ titledbutton
+ {
+ border : 1px solid purple !important;
+ }
+
+/**
+ * XUL <window> element
+ **/
+ window
+ {
+ background-color : #000000;
+/* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */
+ font : 3mm helvetica,arial,tahoma,sans-serif;
+ color : #FF9F00;
+ padding : 3px;
+ }
+
+ window[wait-cursor]
+ {
+ cursor : wait !important;
+ }
+
+ window.dialog
+ {
+ background-color : #000000;
+ padding : 7px 5px 5px 5px;
+ }
+
+/**
+ * XUL <box> debugging
+ **/
+ :-moz-horizontal-box-debug
+ {
+ border : 2px solid blue;
+ border-top-width : 10px;
+ padding : 2px;
+ margin : 2px;
+ color : white;
+ }
+
+ :-moz-vertical-box-debug
+ {
+ border : 2px solid red;
+ border-left-width : 10px;
+ padding : 2px;
+ margin : 2px;
+ color : white;
+ }
+
+/**
+ * Utility icons (used for alert dialogs, etc)
+ **/
+ .message-icon
+ {
+ list-style-image : url("chrome://global/skin/message-icon.gif");
+ }
+
+ .alert-icon
+ {
+ list-style-image : url("chrome://global/skin/alert-icon.gif");
+ }
+
+ .error-icon
+ {
+ list-style-image : url("chrome://global/skin/error-icon.gif");
+ }
+
+ .question-icon
+ {
+ list-style-image : url("chrome://global/skin/question-icon.gif");
+ }
+
+ statusbarpanel
+ {
+ padding : 0px 1px 0px 1px;
+ vertical-align : middle;
+ }
+
+ .statusbar-panel-icon
+ {
+ margin : 0px 2px 0px 0px;
+ }
+
+/**
+ * status-bar
+ */
+ #status-bar
+ {
+ border-top : 1px solid #9999CC;
+ background-color : #000000;
+ -moz-user-focus : ignore;
+ overflow : hidden
+ }
+
+ .statusbar-left
+ {
+ width : 8px;
+ list-style-image : url("chrome://global/skin/gray-bottomleft.gif");
+ background-position : bottom left;
+ }
+
+ .statusbar-right
+ {
+ width : 8px;
+ list-style-image : url("chrome://global/skin/gray-bottomright.gif");
+ background-position : bottom right;
+ }
+
+/**
+ * html|iframe default sizing
+ **/
+ html|iframe
+ {
+ min-width : 10px;
+ min-height : 10px;
+ width : 100px;
+ height : 100px;
+ border : none;
+ }
+
+/**
+ * XUL <progressmeter>
+ **/
+ progressmeter[mode="undetermined"] > .progressmeter-internal-box
+ {
+ background-image : url(chrome://global/skin/progressmeter-busy.gif);
+ }
+
+ progressmeter[mode="undetermined"] > .progressmeter-internal-box > .progressmeter-stack > .progressmeter-progressbar {
+ visibility: collapse;
+ }
+
+ .progress-text
+ {
+ font-weight : normal !important;
+ }
+
+ progressmeter
+ {
+ min-width : 100px;
+ margin : 0px 4px 0px 4px;
+ border : 1px solid #FF9F00;
+ }
+
+ progressmeter > .progressmeter-internal-box
+ {
+ border : none;
+ padding : 1px;
+/* border : 1px solid #000000; */
+ }
+
+/* progress indicators */
+ .progress-bar
+ {
+ background-color : #FFCF00;
+ }
+
+ .progress-remainder
+ {
+ background-color : #000000;
+ }
+
+ .progressmeter-statusbar
+ {
+ border : 1px solid #FF9F00;
+ margin : 1px 4px 1px 4px;
+ }
+
+ .progressmeter-statusbar > .progressmeter-internal-box
+ {
+ border : none;
+ padding : 1px;
+ }
+
+ .progressmeter-progressbar[statusbar="true"] > .progress-bar
+ {
+ background-color : #FFCF00;
+ border-right : none;
+ }
+
+ .progressmeter-progressbar[statusbar="true"] > .progress-remainder
+ {
+ background-color : #000000;
+ }
+
+/** XUL <scrollbar> element **/
+ scrollbar
+ {
+ -moz-user-focus : ignore;
+ }
+
+
+/* XUL <colorpicker> pieces */
+.colorpickertile
+ {
+ width : 20px;
+ height : 20px;
+ margin : 1px;
+ border : 1px solid #FFCF00;
+ }
+
+.colorpickertile:hover
+ {
+ border : 1px solid #FF9F00;
+ }
+
+.colorpickertile[selected="true"]
+ {
+ border : 1px solid #FFCF00;
+ }
+
+
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="globalBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+\r
+ <binding id="status-bar" extends="xul:box">\r
+ <content>\r
+ <xul:box>\r
+ <xul:image class="statusbar-left"/>\r
+ <xul:box autostretch="never" flex="1">\r
+ <children/>\r
+ </xul:box>\r
+ <xul:image class="statusbar-right"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+</bindings>
\ No newline at end of file
--- /dev/null
+
+menubar
+ {
+ border-bottom : 3px solid #000000;
+ }
+
+menubar > .toolbar-holder
+ {
+ /* max-height is only important as long as we need to workaround bug 24998... */
+ max-height : 17px;
+ padding-right : 18px;
+ background-color : #6000CF;
+ background-image : url("chrome://global/skin/menubar-endcap.gif");
+ background-repeat : no-repeat;
+ background-position : right;
+
+/* THE FOLLOWING LINES ARE NOT WORKING THOUGH THEY SHOULD! BUG 24998 */
+/* -moz-border-radius : 0px 10px 10px 0px;
+ background-image : url("chrome://global/skin/toolbar-bg.gif");
+ background-repeat : repeat-y;
+ background-position : right;
+*/
+ }
+
+menubar > toolbargrippy
+ {
+/* display : none; */
+ }
+
+menu, menuitem
+ {
+ background-color : #000000;
+ color : #FF9F00;
+ vertical-align : middle;
+ }
+
+menuitem[default="true"]
+ {
+ font-weight : bold;
+ }
+
+menu[disabled="true"], menuitem[disabled="true"],
+menu[menuactive="true"][disabled="true"],
+menuitem[menuactive="true"][disabled="true"]
+ {
+ color : #8050B0;
+ }
+
+/* XXX menupopups have to have a color explicitly specified. this is a bug */
+menupopup, popup
+ {
+ background-color : #000000;
+ color : #FF9F00;
+ border : 1px solid #FF9F00;
+ }
+
+menupopup > menu, popup > menu,
+menupopup > menuitem, popup > menuitem
+ {
+ max-width : 250px;
+ min-width : 125px;
+ margin-left : 0px;
+ margin-right : 0px;
+ margin-top : 0px;
+ margin-bottom : 0px;
+ }
+
+menuseparator
+ {
+ border : 1px solid #9C9CFF;
+ margin : 2px 2px 2px 2px;
+ }
+
+menubar > menu
+ {
+ -moz-border-radius : 0px;
+ border : 1px solid transparent;
+ padding : 2px 0px 2px 3px;
+ margin : 0px 2px 0px 2px;
+ }
+
+menupopup > menu, menupopup > menuitem,
+popup > menu, popup > menuitem
+ {
+ -moz-border-radius : 0px;
+ padding : 2px;
+ }
+
+menubar > menu[menuactive="true"]
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ border : 1px solid transparent;
+ }
+
+menubar > menu[menuactive="true"][open="true"]
+ {
+ background-color : #FF9F00;
+ color : #000000;
+ border : 1px solid transparent;
+ }
+
+menupopup > menu[menuactive="true"],
+menupopup > menuitem[menuactive="true"],
+popup > menu[menuactive="true"],
+popup > menuitem[menuactive="true"]
+ {
+ background-color : #FFCF00;
+ color : #000000;
+ }
+
+/**
+ * Atomic sub-parts of standard menus
+ **/
+.menu-right
+ {
+ margin : 0px 0px 0px 6px;
+ width : 8px;
+ text-align : center;
+ list-style-image : url("chrome://global/skin/menu-arrow.gif");
+ }
+
+.menu-right[disabled="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
+ }
+
+.menu-right[menuactive="true"][disabled="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-arrow-disabled.gif");
+ }
+
+.menu-right[menuactive="true"],
+.menu-right[menuactive="true"][open="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-arrow-hover.gif");
+ }
+
+.menu-iconic-left
+ {
+ color : inherit;
+ margin : 0px 2px 0px 0px;
+ width : 13px;
+ text-align : center;
+ list-style-image : inherit;
+ }
+
+.menubar-left
+ {
+ color : inherit;
+ margin : 0px 2px 0px 0px;
+ }
+
+.menu-iconic-text, .menu-iconic-accel, .menu-text, .menu-accel
+ {
+ color : inherit;
+ margin : 0px 2px 0px 0px;
+ }
+
+.menu-text
+ {
+ padding-left : 15px;
+ font-weight : inherit;
+ }
+
+.menu-accel
+ {
+ margin-left : 4px;
+ padding-right : 14px;
+ }
+
+.menu-iconic-accel
+ {
+ margin-left : 4px;
+ }
+
+.menubar-text
+ {
+ color : inherit;
+ margin-right : 2px;
+ }
+
+menuitem[checked="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-check.gif");
+ }
+
+menuitem[checked="true"][disabled="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-check-disabled.gif");
+ }
+
+menuitem[checked="true"][menuactive="true"]
+ {
+ list-style-image : url("chrome://global/skin/menu-check-hover.gif");
+ }
+
+/** Tooltips (tooltip <popup> element)
+ * class="tooltip"
+ **/
+.tooltip
+ {
+ -moz-border-radius : 3px;
+ background-color : #9C9CFF;
+ border : 1px solid #FFCF00;
+ color : #000000;
+ font : smaller;
+ padding : 3px;
+ }
+
+/*
+ * Autorepeatbutton
+ */
+.autorepeatbutton-up {
+ list-style-image: url("chrome://global/skin/scroll-up.gif")
+}
+
+.autorepeatbutton-down {
+ list-style-image: url("chrome://global/skin/scroll-down.gif")
+}
+
+autorepeatbutton {
+ text-align: center;
+ vertical-align: middle;
+}
+
+autorepeatbutton:hover {
+ background-color: #FFCF00;
+}
--- /dev/null
+\r
+/* outermost frame */\r
+ menubutton\r
+ {\r
+ margin : 0px 1px 0px 1px;\r
+ -moz-border-radius : 3px;\r
+ background-color : #000000;\r
+ color : #E7ADE7;\r
+ border : none;\r
+ }\r
+ \r
+ menubutton[disabled="true"] \r
+ {\r
+ color : #8050B0;\r
+ }\r
+ \r
+ menubutton > .menubutton-internal-box\r
+ {\r
+ border : none;\r
+ padding : 0px;\r
+ vertical-align : middle;\r
+ }\r
+\r
+ .menubutton-single-icon\r
+ {\r
+ margin-right : 3px;\r
+ }\r
+ \r
+/** "Dual Functionality" menubutton\r
+ * Has a popup spawning button and a command invoking button, e.g. back/forward\r
+ * class="menubutton-dual"\r
+ **/ \r
+ \r
+/* inner button */\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button,\r
+ menubutton:hover > .menubutton-internal-box > .menubutton-dual-button,\r
+ menubutton:active > .menubutton-internal-box > .menubutton-dual-button\r
+ {\r
+ border : none;\r
+ margin : 0px;\r
+ -moz-border-radius : 3px;\r
+ }\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px solid #9C9CFF;\r
+ margin : 0px\r
+ }\r
+ \r
+ menubutton > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box,\r
+ menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px solid #FF9F00;\r
+ }\r
+ \r
+ menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px solid #FFCF00;\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box,\r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active > .button-internal-box,\r
+ menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-button > .button-internal-box\r
+ {\r
+ border : 1px solid #8050B0;\r
+ }\r
+\r
+/* inner dropmarker */\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ -moz-border-radius : 3px;\r
+ border : 1px solid #9C9CFF;\r
+ padding : 0px 2px 0px 2px;\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box,\r
+ menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px solid #8050B0;\r
+ }\r
+\r
+ menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px solid #FF9F00;\r
+ }\r
+\r
+ menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box\r
+ {\r
+ border : 1px solid #FFCF00;\r
+ padding : 1px 1px -1px 3px;\r
+ }\r
+\r
+ menubutton > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+ border : none;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ }\r
+ \r
+ menubutton[disabled="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker,\r
+ menubutton[disabled="true"]:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker,\r
+ menubutton[disabled="true"]:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-disabled.gif");\r
+ }\r
+\r
+ menubutton:hover > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker,\r
+ menubutton:hover:active > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker,\r
+ menubutton[open="true"] > .menubutton-internal-box > .menubutton-dual-dropmarker-box > .menubutton-dropmarker\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-hover.gif");\r
+ }\r
+\r
+/** Icon only menubutton.menubutton-duals\r
+ * class="menubutton.menubutton-dual-icon"\r
+ **/\r
+ .menubutton.menubutton-dual-icon \r
+ {\r
+ border : none;\r
+ background-color : #000000;\r
+ } \r
+ \r
+ .menubutton.menubutton-dual-icon > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ border : none;\r
+ padding : 1px;\r
+ }\r
+ \r
+ .menubutton.menubutton-dual-icon:hover > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ background-color : #FFCF00;\r
+ border : none;\r
+ padding : 1px;\r
+ } \r
+\r
+ .menubutton.menubutton-dual-icon:hover:active > .menubutton.menubutton-dual-icon-internal-box,\r
+ .menubutton.menubutton-dual-icon[open="true"] > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ background-color : #FF9F00;\r
+ border : none;\r
+ padding : 2px 0px 0px 2px;\r
+ } \r
+\r
+ .menubutton.menubutton-dual-icon[disabled="true"] > .menubutton.menubutton-dual-icon-internal-box,\r
+ .menubutton.menubutton-dual-icon[disabled="true"]:hover:active > .menubutton.menubutton-dual-icon-internal-box,\r
+ .menubutton.menubutton-dual-icon[disabled="true"][open="true"] > .menubutton.menubutton-dual-icon-internal-box\r
+ {\r
+ background-color : #FFCF00;\r
+ border : none;\r
+ padding : 2px 0px 0px 2px;\r
+ }\r
+\r
+/** Icon only menubuttons\r
+ * class="menubutton.menubutton-icon"\r
+ **/\r
+ .menubutton-icon \r
+ {\r
+ border : none;\r
+ background-color : #000000;\r
+ } \r
+ \r
+ .menubutton-icon > .menubutton-icon-internal-box\r
+ {\r
+ padding : 1px;\r
+ }\r
+ \r
+ .menubutton-icon:hover > .menubutton-icon-internal-box\r
+ {\r
+ background-color : #FFCF00;\r
+ padding : 1px;\r
+ } \r
+\r
+ .menubutton-icon:hover:active > .menubutton-icon-internal-box,\r
+ .menubutton-icon[open="true"] > .menubutton-icon-internal-box\r
+ {\r
+ background-color : #FF9F00;\r
+ padding : 2px 0px 0px 2px;\r
+ } \r
+\r
+ .menubutton-icon[disabled="true"] > .menubutton-icon-internal-box,\r
+ .menubutton-icon[disabled="true"]:hover:active > .menubutton-icon-internal-box,\r
+ .menubutton-icon[disabled="true"][open="true"] > .menubutton-icon-internal-box\r
+ {\r
+ background-color : #FFCF00;\r
+ padding : 2px 0px 0px 2px;\r
+ } \r
+
\ No newline at end of file
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="menuButtonToolbarBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <binding id="menubutton-toolbar-top">\r
+ <content excludes="observes,template,menupopup">\r
+ <xul:button class="classic-simplebutton" allowevents="true" flex="1"\r
+ inherits="value,src,accesskey,crop,disabled,buttonaction:oncommand" \r
+ onmousedown="this.parentNode.setAttribute('buttondown','true');"\r
+ onmouseup="this.parentNode.removeAttribute('buttondown');"\r
+ onmouseover="this.parentNode.setAttribute('buttonover','true');"\r
+ onmouseout="this.parentNode.removeAttribute('buttonover');"/>\r
+ <xul:box class="classic-dropmarker-box" autostretch="never" valign="middle" inherits="disabled">\r
+ <xul:image class="classic-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+ <binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template" autostretch="never">\r
+ <xul:image class="classic-simplebutton-icon" inherits="src"/>\r
+ <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">\r
+ <xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template" orient="vertical" autostretch="never" halign="middle">\r
+ <xul:image class="classic-simplebutton-icon" inherits="src"/>\r
+ <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1">\r
+ <xul:text class="classic-simplebutton-text" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>\r
--- /dev/null
+\r
+/* NEW WIDGET LANDING: <menulist> popup */\r
+\r
+/* outer frame */\r
+ menulist \r
+ {\r
+ -moz-border-radius : 3px;\r
+ padding : 0px;\r
+ border : none;\r
+ background-color : #000000;\r
+ color : #E7ADE7;\r
+ margin : 1px 5px 2px 5px;\r
+ }\r
+\r
+ menulist[menuactive="true"],\r
+ menulist:hover \r
+ {\r
+ background-color : #FFCF00;\r
+ color : #000000;\r
+ border : none;\r
+ }\r
+\r
+ menulist[open="true"] \r
+ {\r
+ background-color : #FF9F00;\r
+ color : #000000;\r
+ border : none;\r
+ }\r
+ \r
+ menulist[disabled="true"]\r
+ {\r
+ border : none;\r
+ color : #8050B0;\r
+ }\r
+ \r
+/* icon display frame */\r
+ menulist > .menu-icon \r
+ {\r
+ -moz-border-radius : 3px 0px 0px 3px;\r
+ border-left : 1px solid #9C9CFF;\r
+ border-top : 1px solid #9C9CFF;\r
+ border-bottom : 1px solid #9C9CFF;\r
+ padding : 2px 0px 2px 0px;\r
+ } \r
+\r
+ menulist[open="true"] > .menu-icon \r
+ {\r
+ border-left : 1px solid #FFCF00;\r
+ border-top : 1px solid #FFCF00;\r
+ border-bottom : 1px solid #FFCF00;\r
+ padding : 2px 0px 2px 0px;\r
+ }\r
+ \r
+ menulist[disabled="true"] > .menu-icon \r
+ {\r
+ border-left : 1px solid #8050B0;\r
+ border-top : 1px solid #8050B0;\r
+ border-bottom : 1px solid #8050B0;\r
+ }\r
+ \r
+/* text display frame */\r
+ menulist > .menu-text \r
+ {\r
+ padding : 2px 4px 2px 4px;\r
+ border-top : 1px solid #9C9CFF;\r
+ border-bottom : 1px solid #9C9CFF;\r
+ border-right : 1px solid #9C9CFF;\r
+ margin-right : 0px;\r
+ }\r
+ \r
+ menulist[open="true"] > .menu-text \r
+ {\r
+ border-top : 1px solid #FFCF00;\r
+ border-bottom : 1px solid #FFCF00;\r
+ border-right : 1px solid #FFCF00;\r
+ padding : 2px 4px 2px 4px;\r
+ }\r
+\r
+ menulist[disabled="true"] > .menu-text \r
+ {\r
+ border-top : 1px solid #8050B0;\r
+ border-bottom : 1px solid #8050B0;\r
+ border-right : 1px solid #8050B0;\r
+ padding : 2px 4px 2px 4px;\r
+ }\r
+\r
+/* drop marker display frame */\r
+ menulist > .menu-dropmarker \r
+ {\r
+ -moz-border-radius : 0px 3px 3px 0px;\r
+ border : 1px solid #9C9CFF;\r
+ border-left : none;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif");\r
+ padding : 2px;\r
+ }\r
+ \r
+ menulist:hover > .menu-dropmarker, \r
+ menulist[open="true"] > .menu-dropmarker \r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-hover.gif");\r
+ }\r
+ \r
+ menulist[disabled="true"] > .menu-dropmarker\r
+ {\r
+ border : 1px solid #8050B0;\r
+ list-style-image : url("chrome://global/skin/scroll-down-disabled.gif");\r
+ }\r
+\r
+ menulist[open="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px solid #FFCF00;\r
+ padding : 3px 2px 1px 2px;\r
+ }\r
+\r
+/** rules for EDITABLE menulists (aka 'comboboxes'). \r
+ **/\r
+\r
+/* outer frame */\r
+ menulist[editable="true"] \r
+ {\r
+ padding : 0px;\r
+ }\r
+\r
+/* icon display frame */\r
+ menulist[editable="true"] > .menu-icon \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif");\r
+ background-color : white;\r
+ padding : 1px;\r
+ border-left : 1px solid #9C9CFF;\r
+ border-top : 1px solid #9C9CFF;\r
+ border-right : none;\r
+ border-bottom : 1px solid #9C9CFF;\r
+ }\r
+\r
+/* text display frame */ \r
+ menulist[editable="true"] > .menu-text \r
+ {\r
+ border-left : none;\r
+ border-top : 1px solid #9C9CFF;\r
+ border-right : 1px solid #9C9CFF;\r
+ border-bottom : 1px solid #9C9CFF;\r
+ margin : 0px 2px 0px 0px;\r
+ }\r
+\r
+/* drop marker display frame */\r
+ menulist[editable="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px solid #9C9CFF;\r
+ }\r
+\r
+ menulist[editable="true"][open="true"] > .menu-dropmarker \r
+ {\r
+ border : 1px solid #FFCF00;\r
+ }\r
+\r
+/* rules for popups and separators associated with menulists */\r
+/*\r
+ menulist > menupopup \r
+ {\r
+ border : 1px solid #FF9F00;\r
+ min-width : 0px;\r
+ padding : 0px;\r
+ }\r
+ \r
+ menulist > menupopup > menuseparator \r
+ {\r
+ border-bottom : 1px solid #FF9F00;\r
+ }\r
+*/\r
+ menulist > menupopup > menuitem \r
+ {\r
+ padding : 0px;\r
+ min-width: 0px;\r
+ max-width: auto;\r
+ }\r
+\r
+ menulist > menupopup > menuitem > .menu-left \r
+ {\r
+ width : 13px;\r
+ }\r
+\r
+ menulist > menupopup > menuitem[selected="true"] > .menu-left\r
+ {\r
+ list-style-image : url(chrome://global/skin/menu-check.gif);\r
+ }\r
+ \r
+ menulist > menupopup > menuitem[menuactive="true"][selected="true"] > .menu-left\r
+ {\r
+ list-style-image : url(chrome://global/skin/menu-check-hover.gif);\r
+ }\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="menulistBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+<!-- \r
+ BINDING : menulist\r
+ XUL REPRESENTATION : <menulist>\r
+ -->\r
+ <binding id="menulist" extends="chrome://global/content/menulistBindings.xml#menulist">\r
+ <content excludes="template,observes,menupopup" flex="1">\r
+ <xul:box class="menulist-internal-box" flex="1">\r
+ <xul:box class="menulist-display-box" flex="1" valign="middle" autostretch="never">\r
+ <xul:image class="menulist-icon" inherits="src"/>\r
+ <xul:text class="menulist-text" inherits="value,accesskey,crop" crop="right"/>\r
+ </xul:box>\r
+ <xul:box class="menulist-dropmarker-box-1" valign="middle" inherits="open">\r
+ <xul:box class="menulist-dropmarker-box-2" flex="1" autostretch="never" valign="middle" inherits="open">\r
+ <xul:image class="menulist-dropmarker" inherits="disabled"/>\r
+ </xul:box>\r
+ </xul:box>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="menulistpopup">\r
+ <content>\r
+ <xul:box class="menulistpopup-internal-box" orient="vertical" flex="1" style="overflow: auto">\r
+ <children/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+/* stylesheet for XUL <radio> element */\r
+\r
+/* default radio for dialogs */\r
+/* outer frame */\r
+ radio \r
+ {\r
+ margin: 3px 5px 3px 5px;\r
+ }\r
+\r
+\r
+/* checkmark outer frame */\r
+ radio > .internal-box > .checkmark-box \r
+ {\r
+ -moz-border-radius: 50%;\r
+ margin-top: 2px;\r
+ }\r
+\r
+/* checkmark inner frame */\r
+ radio > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 1px solid #FF9F00;\r
+ width: 10px;\r
+ height: 10px;\r
+ padding: 1px;\r
+ -moz-border-radius: 50%;\r
+ }\r
+\r
+ /* ensure that no list-style-image is inherited in from the Outside */\r
+ .checkmark-box\r
+ {\r
+ list-style-image: none;\r
+ }\r
+ \r
+\r
+ radio[checked="true"] > .internal-box > .checkmark-box > image \r
+ {\r
+ list-style-image: url(chrome://global/skin/check-radio.gif);\r
+ }\r
+ \r
+ radio:hover > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 1px solid #FFCF00;\r
+ }\r
+ \r
+ radio[checked="true"][disabled="true"] > .internal-box > .checkmark-box > image,\r
+ radio[disabled="true"]:hover > .internal-box > .checkmark-box > image\r
+ {\r
+ list-style-image: url(chrome://global/skin/check-radio-disabled.gif);\r
+ }\r
+\r
+ radio:hover:active > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 2px inset #CCCCDD;\r
+ }\r
+\r
+ radio[disabled="true"] > .internal-box > .checkmark-box > image,\r
+ radio[disabled="true"]:active > .internal-box > .checkmark-box > image \r
+ {\r
+ border: 1px solid #8050B0;\r
+ }\r
+\r
+/* text/icon frames */\r
+ radio[value] > .internal-box > html,\r
+ radio.iconic > .internal-box > .icon \r
+ {\r
+ color: #FF9F00;\r
+ margin: 0px 0px 0px 4px;\r
+ padding: 1px;\r
+ }\r
+\r
+ radio.iconic > .internal-box > html \r
+ {\r
+ margin-left: 4px;\r
+ }\r
+ \r
+ radio[disabled="true"][value] > .internal-box > html \r
+ {\r
+ color: #8050B0;\r
+ }\r
+ \r
+ radio:focus > .internal-box > html\r
+ { \r
+ border : 1px dotted #FFCF00;\r
+ padding : 0px;\r
+ }\r
+ \r
+
\ No newline at end of file
--- /dev/null
+@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); /* set default namespace to XUL */
+
+/********* XP Scrollbar *********/
+
+scrollbar {
+ -moz-binding: url("chrome://global/content/xulBindings.xml#scrollbar");
+ background-color: black;
+}
+
+/********* XP Scrollbar *********/
+
+thumb {
+ -moz-binding: url(chrome://global/content/xulBindings.xml#thumb);
+ background-color: #9C9CFF;
+ padding: 1px;
+ list-style-image: url("chrome://global/skin/scroll-thumb-horiz.gif");
+}
+
+thumb[disabled="true"] {
+ list-style-image: url("chrome://global/skin/scroll-thumb-horiz-disabled.gif");
+}
+
+thumb[align="vertical"] {
+ list-style-image: url("chrome://global/skin/scroll-thumb-vert.gif");
+}
+
+scrollbarbutton {
+ vertical-align: bottom;
+ cursor: default;
+
+/* border: 1px outset white; */
+ color:black;
+
+ padding: 1px;
+}
+
+scrollbarbutton:active {
+/* border-style: inset; */
+
+ padding-left: 2px;
+ padding-right: 0px;
+ padding-top: 2px;
+ padding-bottom: 0px;
+}
+
+scrollbarbutton[type="decrement"] {
+ list-style-image: url("chrome://global/skin/scroll-left-hover.gif");
+ background-image: url("chrome://global/skin/scrollbtn-left.gif");
+ margin: 0px;
+ margin-right: 3px;
+}
+
+scrollbarbutton[type="decrement"][disabled="true"] {
+ list-style-image: url("chrome://global/skin/scroll-left-disabled.gif") ;
+}
+
+scrollbarbutton[type="increment"] {
+ list-style-image: url("chrome://global/skin/scroll-right-hover.gif");
+ background-image: url("chrome://global/skin/scrollbtn-right.gif");
+ margin: 0px;
+ margin-left: 3px;
+}
+
+
+scrollbarbutton[type="increment"][disabled="true"] {
+ list-style-image: url("chrome://global/skin/scroll-right-disabled.gif") ;
+}
+
+
+scrollbar[align="vertical"] scrollbarbutton[type="decrement"] {
+ list-style-image: url("chrome://global/skin/scroll-up-hover.gif");
+ background-image: url("chrome://global/skin/scrollbtn-up.gif");
+ margin: 0px;
+ margin-bottom: 3px;
+}
+
+scrollbar[align="vertical"] scrollbarbutton[type="decrement"][disabled="true"] {
+ list-style-image: url("chrome://global/skin/scroll-up-disabled.gif");
+}
+
+scrollbar[align="vertical"] scrollbarbutton[type="increment"] {
+ list-style-image: url("chrome://global/skin/scroll-down-hover.gif");
+ background-image: url("chrome://global/skin/scrollbtn-down.gif");
+ margin: 0px;
+ margin-top: 3px;
+}
+
+scrollbar[align="vertical"] scrollbarbutton[type="increment"][disabled="true"] {
+ list-style-image: url("chrome://global/skin/scroll-down-disabled.gif");
+}
+
+slider[align="vertical"] thumb:active {
+ background-color: #FFCF00;
+}
+
+slider {
+ background-color: #000000;
+}
+
+
--- /dev/null
+/******* Splitters *******/\r
+\r
+splitter \r
+ {\r
+ cursor : e-resize;\r
+ background-color : #9C9CFF;\r
+ vertical-align : middle;\r
+ text-align : center;\r
+ padding : 0px;\r
+ border : none;\r
+ border-top : 3px solid black;\r
+ border-bottom : 3px solid black;\r
+ }\r
+\r
+splitter[state="dragging"]\r
+ {\r
+ background-color : #FFCF00;\r
+ }\r
+\r
+grippy\r
+ {\r
+ margin : 0px;\r
+ border : none;\r
+ border-top : 3px solid black;\r
+ border-bottom : 3px solid black;\r
+ padding : 0px;\r
+ list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");\r
+ cursor : pointer;\r
+ }\r
+\r
+splitter[state="collapsed"] > grippy\r
+ {\r
+ list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");\r
+ }\r
+\r
+grippy:hover\r
+ {\r
+ background-color : #FFCF00;\r
+ }\r
+\r
+grippy:hover:active\r
+ {\r
+ border : none;\r
+ }\r
+\r
+/* vertical splitters */\r
+ window > splitter, box > splitter \r
+ {\r
+ width : 6px;\r
+ border-left : 0px solid black;\r
+ border-right : 0px solid black;\r
+ }\r
+ \r
+/* horizontal splitters */ \r
+ /* XXX we should comment out the 'align' support to force people to migrate \r
+ to 'orient' */\r
+ rows > splitter,\r
+ window[orient="vertical"] > splitter,\r
+ box[orient="vertical"] > splitter,\r
+ window[align="vertical"] > splitter,\r
+ box[align="vertical"] > splitter\r
+ {\r
+ cursor : n-resize;\r
+ border-top : 0px solid black;\r
+ border-bottom : 0px solid black;\r
+ }\r
+\r
+ rows > splitter > grippy,\r
+ window[orient="vertical"] > splitter > grippy,\r
+ box[orient="vertical"] > splitter > grippy,\r
+ window[align="vertical"] > splitter > grippy,\r
+ box[align="vertical"] > splitter > grippy\r
+ {\r
+ list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");\r
+ }\r
+\r
+ rows > splitter[state="collapsed"] > grippy,\r
+ window[orient="vertical"] > splitter[state="collapsed"] > grippy,\r
+ box[orient="vertical"] > splitter[state="collapsed"] > grippy,\r
+ window[align="vertical"] > splitter[state="collapsed"] > grippy,\r
+ box[align="vertical"] > splitter[state="collapsed"] > grippy\r
+ {\r
+ list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+tabcontrol {
+ margin: 1px 5px 2px 5px;
+}
+
+/********** Tab widget *********/
+tab {
+ -moz-border-radius: 3px 3px 0px 0px;
+ border: 1px solid #9C9CFF;
+ color: #FF9F00;
+ padding: 3px 5px 3px 5px;
+}
+
+/* when a tab is selected this is how it should look */
+tab[selected="true"] {
+ font-weight: bold;
+ background-color: #008484;
+}
+
+tab:hover {
+ background-color: #FFCF00;
+ color: #000000;
+ text-decoration: underline;
+}
+
+tab:hover:active {
+ text-decoration: none;
+}
+
+tabbox {
+ padding: 0px 2px 0px 2px;
+}
+
+ /* top tabs */
+tabcontrol[align="vertical"] tabbox[align="horizontal"] tab {
+ border-bottom: none;
+ -moz-border-radius: 8px 8px 0px 0px;
+ padding-bottom: 1px;
+ margin: 1px 2px 1px 2px;
+}
+
+ /* bottom tabs */
+tabcontrol[align="vertical"] tabpanel + tabbox[align="horizontal"] tab {
+ border-top: none;
+ border-bottom: 1px solid #9C9CFF;
+ border-left: 1px solid #9C9CFF;
+ border-right: 1px solid #9C9CFF;
+ -moz-border-radius: 0px 0px 8px 8px;
+ padding: 1px 5px 3px 5px;
+ margin: 1px 2px 1px 2px;
+}
+
+ /* left tabs */
+tabcontrol[align="horizontal"] tabbox[align="vertical"] tab {
+ border-right: none;
+ -moz-border-radius: 8px 0px 0px 8px;
+ padding-right: 1px;
+ margin: 2px 1px 2px 1px;
+}
+
+ /* right tabs */
+tabcontrol[align="horizontal"] tabpanel + tabbox[align="vertical"] tab {
+ border-top: 1px solid #9C9CFF;
+ border-bottom: 1px solid #9C9CFF;
+ border-left: none;
+ border-right: 1px solid #9C9CFF;
+ -moz-border-radius: 0px 8px 8px 0px;
+ padding: 3px 5px 1px 5px;
+ margin: 2px 1px 2px 1px;
+}
+
+tabcontrol {
+ border: none;
+}
+
+/* border on bottom only, no padding (used in search) */
+tabpanel.light {
+ border: none;
+ border-bottom: 1px solid #9C9CFF;
+ padding: 0px;
+}
+
+tabpanel {
+ -moz-border-radius: 5px;
+ border: 1px solid #9C9CFF;
+ padding: 5px;
+}
+
+
--- /dev/null
+#mini-nav \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-navigator.gif");\r
+ }\r
+\r
+#mini-mail \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-mail.gif");\r
+ }\r
+\r
+#mini-addr \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-addressbook.gif");\r
+ }\r
+\r
+#mini-comp \r
+ {\r
+ list-style-image : url("chrome://global/skin/taskbar-composer.gif");\r
+ }\r
+\r
+#taskbar \r
+ {\r
+ min-height : 1em;\r
+ -moz-user-focus : ignore;\r
+ }\r
+\r
+.taskbutton \r
+ {\r
+ margin-right : 1em !important;\r
+ }\r
+\r
+.taskbarspacer \r
+ {\r
+ min-width : 0.3em;\r
+ width : 1em;\r
+ }\r
+\r
+/*\r
+#taskbar > toolbargrippy\r
+ {\r
+ display : none;\r
+ }\r
+*/
\ No newline at end of file
--- /dev/null
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+/** generic text fields (in dialogs)\r
+ **/\r
+ \r
+/* outer frame */\r
+ textfield\r
+ {\r
+ -moz-border-radius : 3px;\r
+ border : 1px solid #9C9CFF;\r
+ font : inherit;\r
+ color : #E7ADE7;\r
+ padding : 0px;\r
+ margin : 1px 3px 2px 4px;\r
+ background-color : #000000;\r
+ cursor : text;\r
+ }\r
+ \r
+ textfield[readonly="true"]\r
+ {\r
+ border : 1px solid #8050B0;\r
+ color : #8050B0;\r
+ }\r
+ \r
+ textfield[focused="true"]\r
+ {\r
+ border : 2px solid #FFCF00;\r
+ margin : 0px 2px 1px 3px;\r
+ }\r
+ \r
+ textfield[focused="true"][readonly="true"]\r
+ {\r
+ border : 1px solid #8050B0;\r
+ margin : 1px 3px 2px 4px;\r
+ }\r
+\r
+/* internal frame */\r
+ .textfield-internal-box \r
+ {\r
+ -moz-border-radius : 3px;\r
+ margin : 0px;\r
+ padding : 1px 2px 1px 2px;\r
+ cursor : text;\r
+ border : none;\r
+ background-color : inherit;\r
+ color : inherit;\r
+ }\r
+ \r
+ textfield[disabled="true"] > .textfield-internal-box\r
+ {\r
+ border : none;\r
+ }\r
+ \r
+ .textarea-internal-box\r
+ {\r
+ padding : 0px 0px 0px 2px;\r
+ }\r
+ \r
+/* internal text widget */\r
+ .textfield-input, .textfield-textarea\r
+ {\r
+ color : inherit;\r
+ border : none !important;\r
+ margin : 0px;\r
+ font : inherit;\r
+ background-color : inherit;\r
+ }\r
+\r
+ textfield[disabled="true"] \r
+ {\r
+ cursor : default ! important;\r
+ } \r
+ \r
+/** plain atomic textfields, class="plain" **/\r
+ textfield.plain, \r
+ textfield.plain > .textfield-internal-box, \r
+ textfield.plain > .textarea-internal-box\r
+ {\r
+ padding : 0px !important;\r
+ margin : 0px !important;\r
+ border : none !important;\r
+ }\r
+\r
+ .scrollfield\r
+ {\r
+ border : none !important;\r
+ margin : 0px;\r
+ margin-top : 1px; \r
+ padding : 0px !important;\r
+ background : inherit;\r
+ } \r
+ \r
+ .scrollfield > .textfield-internal-box\r
+ {\r
+ border : none !important;\r
+ margin : 0px !important;\r
+ padding : 0px !important;\r
+ }\r
+ \r
+ \r
+
\ No newline at end of file
--- /dev/null
+\r
+toolbox\r
+ {\r
+ background-color : #000000;\r
+ }\r
+ \r
+toolbar\r
+ {\r
+ background-color : #FF9F00;\r
+ border : 1px solid #9C9CFF;\r
+ }\r
+\r
+toolbargrippy\r
+ {\r
+ background-color : #000000;\r
+ border : none;\r
+ }\r
+ \r
+toolbar[collapsed="true"] > toolbargrippy\r
+ {\r
+ width : 30px;\r
+ }\r
+ \r
+toolbarseparator \r
+ { \r
+ width : 2em; \r
+ }\r
+
\ No newline at end of file
--- /dev/null
+
+/******** Tree widget **********/
+
+/** basic tree ****************************************************
+ * basic tree widget for use in main windows where no decoration
+ * is required.
+ **/
+tree {
+ background-color: #000000;
+ border: none;
+ border-spacing: 0px;
+}
+
+/** class="inset" *************************************************
+ * this is the tree class used by dialogs to create treeviews with
+ * inset borders, and default dialog spacing.
+ **/
+tree.inset {
+ -moz-border-radius: 5px;
+ border: 1px solid #9C9CFF;
+ margin: 1px 5px 2px 5px;
+}
+
+treeitem[selected="true"] > treerow {
+/* color: #000000; */
+ background-color: #008484;
+}
+
+treecell {
+ white-space: nowrap;
+ vertical-align: middle;
+ padding: 1px 0px 1px 2px;
+}
+
+.treecell-header {
+ background-color: #9C9CFF;
+ color: black;
+ vertical-align: middle;
+ padding: 0px 0px 0px 5px;
+ border-right: 1px solid black;
+}
+
+.treecell-header-image
+ {
+ background-color: #9C9CFF;
+ color: black;
+ vertical-align: middle;
+ border-right: 1px solid black;
+ }
+
+.treecell-inset-header {
+ background-color: #9C9CFF;
+ border-right: 1px solid black;
+}
+
+tree.inset > treehead > treerow > treecell.sortable:active {
+ border-right: 1px solid black;
+}
+
+/** class="propertylist" ******************************************
+ * class for cells in grid-formatted property lists.
+ **/
+treecell.propertylist {
+ padding-left: 5px;
+ border-right: 1px solid #9C9CFF;
+ border-bottom: 1px solid #9C9CFF;
+}
+
+.tree-cell-primary-icon {
+ list-style-image: inherit;
+ padding-right: 2px;
+}
+
+.tree-cell-icon {
+ list-style-image: inherit;
+ padding-right: 2px;
+}
+
+.treecell-indent > .tree-cell-primary-icon {
+ padding-left: 14px;
+ }
+
+treeitem[container="true"] > treerow > .treecell-indent > .tree-cell-primary-icon {
+ padding-left: 0px;
+}
+
+.tree-cell-twisty {
+ list-style-image: url("chrome://global/skin/closedtwisty.gif");
+ -moz-user-focus:ignore;
+ padding-right: 2px;
+}
+
+treeitem[selected="true"] > treerow > treecell > .tree-cell-twisty {
+ list-style-image: url("chrome://global/skin/closedtwisty-selected.gif");
+}
+
+.tree-cell-twisty:hover {
+ text-decoration: none;
+}
+
+.tree-cell-twisty:active {
+ text-decoration: none;
+}
+
+.tree-cell-twisty[disabled="true"] {
+ list-style-image: none;
+}
+
+treeitem[container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {
+ list-style-image: url("chrome://global/skin/opentwisty.gif");
+}
+
+treeitem[selected="true"][container="true"][open="true"] > treerow > treecell > .tree-cell-twisty {
+ list-style-image: url("chrome://global/skin/opentwisty-selected.gif");
+}
+
+
+/* tree header with sort direction indicators */
+.sortDirectionIndicator[sortDirection="ascending"] > .tree-header-sortdirection {
+ list-style-image: url("chrome://global/skin/sortAscending.gif");
+ margin-right: 3px;
+}
+
+.sortDirectionIndicator[sortDirection="descending"] > .tree-header-sortdirection {
+ list-style-image: url("chrome://global/skin/sortDescending.gif");
+ margin-right: 3px;
+}
+
+treecol[sortDirection="true"],
+treecol[sortActive="true"]
+ {
+ background-color : #008484;
+ }
+
+.treecell-popup-icon
+ {
+ list-style-image : url("chrome://global/skin/columnselect.gif");
+ }
+
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="treeBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:html="http://www.w3.org/1999/xhtml"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+\r
+ <binding id="treecell-header">\r
+ <content>\r
+ <xul:box class="treecell-header-box" flex="1" autostretch="never" valign="middle">\r
+ <xul:image class="tree-header-image" inherits="src"/>\r
+ <xul:text class="tree-header-text" inherits="crop,value" flex="1" crop="right"/>\r
+ <xul:image class="tree-header-sortdirection"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+\r
+ <binding id="treecell-header-image">\r
+ <content>\r
+ <xul:box class="treecell-header-image-box" flex="1" autostretch="never" valign="middle">\r
+ <xul:image class="tree-header-image" inherits="src"/>\r
+ </xul:box>\r
+ </content>\r
+ </binding>\r
+ \r
+</bindings>
\ No newline at end of file
--- /dev/null
+#wiz-back-button {\r
+ list-style-image : url("chrome://global/skin/scroll-left.gif");\r
+}\r
+#wiz-back-button[disabled] {\r
+ list-style-image : url("chrome://global/skin/scroll-left-disabled.gif");\r
+}\r
+#wiz-next-button {\r
+ list-style-image : url("chrome://global/skin/scroll-right.gif");\r
+}\r
+#wiz-next-button[disabled] {\r
+ list-style-image : url("chrome://global/skin/scroll-right-disabled.gif");\r
+}\r
+\r
+box#wizardButtons {\r
+ margin-top : 3px;\r
+}\r
+\r
--- /dev/null
+<?xml version="1.0"?>
+
+<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
+
+ <!-- List all the skins being supplied by this theme -->
+ <RDF:Seq about="urn:mozilla:skin:root">
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2" />
+ </RDF:Seq>
+
+ <!-- Information -->
+ <RDF:Description about="urn:mozilla:skin:LCARStrek/0.2"
+ chrome:displayName="LCARStrek"
+ chrome:email="KaiRo@KaiRo.at"
+ chrome:website="http://www.kairo.at/download/"
+ chrome:description="For all Trekkies: A theme based on LCARS computer design. Get more info at http://www.kairo.at/download/"
+ chrome:author="Robert Kaiser"
+ chrome:name="LCARStrek/0.2"
+ chrome:image="resource:///chrome/skins/LCARStrek/global/skin/preview.png">
+ <chrome:packages>
+ <RDF:Seq about="urn:mozilla:skin:LCARStrek/0.2:packages">
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2:communicator"/>
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2:editor"/>
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2:global"/>
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2:messenger"/>
+ <RDF:li resource="urn:mozilla:skin:LCARStrek/0.2:navigator"/>
+ </RDF:Seq>
+ </chrome:packages>
+ </RDF:Description>
+</RDF:RDF>
+
+
--- /dev/null
+\r
+div.pageTitle {\r
+ font: bolder large;\r
+}\r
+\r
--- /dev/null
+/*\r
+The contents of this file are subject to the Netscape Public\r
+License Version 1.1 (the "License"); you may not use this file\r
+except in compliance with the License. You may obtain a copy of\r
+the License at http://www.mozilla.org/NPL/\r
+\r
+Software distributed under the License is distributed on an "AS\r
+IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+implied. See the License for the specific language governing\r
+rights and limitations under the License.\r
+\r
+The Original Code is Mozilla Communicator client code, released\r
+March 31, 1998.\r
+\r
+The Initial Developer of the Original Code is Netscape\r
+Communications Corporation. Portions created by Netscape are\r
+ Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+Rights Reserved.\r
+*/\r
+ \r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+ \r
+/* CardView styles - used in the Card View Pane*/\r
+\r
+#CardViewBox {\r
+/* overflow: auto;*/\r
+ background-color: #000000;\r
+ min-width: 150px;\r
+ -moz-user-focus: ignore;\r
+}\r
+\r
+#CardViewInnerBox {\r
+ margin-top: 2px;\r
+ margin-bottom: 2px;\r
+ padding-left: 8px;\r
+ padding-right: 8px;\r
+}\r
+\r
+#CardTitle {\r
+ font-size: 150%;\r
+ font-weight: bold;\r
+ border-bottom: 2px solid #6000CF;\r
+ min-width: 120px;\r
+ margin: 0px;\r
+}\r
+ \r
+.cardViewGroup {\r
+ margin-top: 8px;\r
+ padding-bottom: 5px;\r
+ min-width: 50px;\r
+}\r
+\r
+[class="CardViewHeading"] {\r
+ padding: 1px;\r
+ padding-left: 5px;\r
+ margin: 0px 0px 1px 0px;\r
+ background-color: #008484;\r
+ color: #000000;\r
+ font-weight: bold;\r
+ min-width: 30px;\r
+}\r
+\r
+[class="CardViewText"] {\r
+ padding-left: 20px;\r
+ padding-right: 2px;\r
+ min-width: 30px;\r
+ margin: 0px;\r
+}\r
+\r
+html|a[class="CardViewText"] {\r
+ padding-left: 20px;\r
+ padding-right: 2px;\r
+ min-width: 30px;\r
+}\r
+\r
+\r
+/* CardEdit styles - used in the Card Edit Dialog */\r
+\r
+[class="CardEditWidth"] {\r
+ width: 25em;\r
+}\r
+\r
+[class="CardEditLabel"] {\r
+ padding: 0px;\r
+ margin-top: 3px;\r
+}\r
+\r
+[class="alignBoxWithFieldset"] {\r
+ margin-left: 6px;\r
+ margin-right: 5px;\r
+}\r
+\r
+.stateZipSpacer { width: 3em; }\r
+\r
+\r
+/* Custom Trees */\r
+\r
+tree { \r
+ border-left: 1px solid transparent;\r
+}\r
+\r
+#headRow > treecell {\r
+ background-color: #9C9CFF;\r
+ border-right: 1px solid black;\r
+}\r
+\r
+treeitem[selected="true"] > treerow { \r
+/* color: black;\r
+ background-color: #CCCCDD; */\r
+}\r
+\r
+tree[class="abDirectory"] treeitem > treerow > treecell > .tree-icon {\r
+ list-style-image: url("chrome://messenger/skin/addressbook/myaddrbk.gif");\r
+}\r
+\r
+tree[class="abResults"] treeitem > treerow > treecell.cardicon {\r
+ list-style-image: url("chrome://messenger/skin/addressbook/person.gif");\r
+ height: 14px;\r
+ min-height: 14px;\r
+}\r
+\r
+\r
+/* Address Book specific style */\r
+\r
+#results_box {\r
+ border-left: 8px solid #CCCCDD;\r
+}\r
+ \r
+[hide] {\r
+ visibility: collapse;\r
+}\r
+\r
+#button-newcard {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif");\r
+}\r
+\r
+#button-newcard[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif");\r
+}\r
+\r
+#button-newlist {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif");\r
+}\r
+\r
+#button-newlist[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif");\r
+}\r
+\r
+#button-editcard {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/edit.gif");\r
+}\r
+\r
+#button-editcard[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif");\r
+}\r
+\r
+#button-newmessage {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif");\r
+}\r
+\r
+#button-newmessage[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif");\r
+}\r
+\r
+#button-delete {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important;\r
+}\r
+\r
+#button-delete[disabled="true"] {\r
+ list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important;\r
+}\r
+\r
+#button-stop {\r
+ list-style-image:url("chrome://global/skin/stop.gif");\r
+}\r
+\r
+#button-stop[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/stop_dis.gif");\r
+}\r
+\r
+#button-search {\r
+ list-style-image:url("chrome://global/skin/search.gif");\r
+}\r
+\r
+#button-search[disabled="true"] {\r
+ list-style-image:url("chrome://global/skin/search_dis.gif");\r
+}\r
+\r
+#searchlabel {\r
+ padding: 0px;\r
+ padding-left: 5px;\r
+ padding-bottom:2px;\r
+ white-space: nowrap;\r
+ font-size: smaller;\r
+ min-width: 20px;\r
+}\r
+\r
+#searchtext {\r
+ min-width: 20px;\r
+ padding: 0px;\r
+}\r
+\r
+treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { \r
+ \r
+ list-style-image: none !important; \r
+ \r
+} \r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * Pete Collins, Ben Goodger\r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+treecell.importsampledata {\r
+ padding-left: 10px;\r
+ border-left: 3px solid #CCCCCC;\r
+}\r
+\r
+#fieldList-box {\r
+ border: 1px inset white;\r
+ width:32em;\r
+ height:300px;\r
+ margin: 1.5em 3em 1.5em 3em;\r
+}\r
--- /dev/null
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+/* basic mail folders */\r
+.tree-cell-folderpane-icon\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-closed.gif");\r
+}\r
+\r
+treeitem.folderTreeItem[open="true"] > treerow > .tree-cell-folderpane-icon\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-open.gif");\r
+}\r
+\r
+/* special folder */\r
+.tree-cell-folderpane-icon[SpecialFolder="Inbox"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[SpecialFolder="Trash"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[BiffState="NewMail"][IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-open.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");\r
+}\r
+\r
+\r
+/* differentiate new messages on inbox/folders from biff on the server */\r
+.tree-cell-folderpane-icon[NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-closed.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-cell-folderpane-icon[SpecialFolder="Inbox"][NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-inbox-new.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+treeitem[open="true"] > treerow > .tree-cell-folderpane-icon[NewMessages="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-new-open.gif");\r
+ font-weight: bold;\r
+}\r
+\r
+\r
+/* IMAP folders */\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"][IsSecure="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="imap"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-remote.gif");\r
+}\r
+\r
+/* Local servers */\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="none"] \r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-local.gif");\r
+}\r
+\r
+\r
+/* News folders */\r
+.tree-cell-folderpane-icon[ServerType="nntp"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"][IsSecure="true"]\r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-news-lock.gif");\r
+}\r
+\r
+.tree-cell-folderpane-icon[IsServer="true"][ServerType="nntp"] \r
+{\r
+ list-style-image: url("chrome://messenger/skin/server-news.gif");\r
+}\r
+\r
+\r
+/*All Servers*/\r
+.tree-folder-row[IsServer="true"]\r
+{\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-folder-row[HasUnreadMessages="true"]\r
+{\r
+ font-weight: bold;\r
+}\r
+\r
+.tree-folder-row[NoSelect="true"]\r
+{\r
+ color: gray;\r
+ font-style: italic;\r
+}\r
+\r
+#folder-panel {\r
+ min-width: 10px;\r
+}\r
+\r
+treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty { \r
+ \r
+ list-style-image: none !important; \r
+ \r
+}\r
--- /dev/null
+/* \r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ * \r
+ * Contributor(s): \r
+ * \r
+ */\r
+\r
+@import url(chrome://communicator/skin/);\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+#import-type-radio-box {\r
+ padding-top: 1em;\r
+}\r
+\r
+#import-module-list-box {\r
+ padding: 1em 3em 2em 3em;\r
+}\r
+\r
+#import-module-tree-box {\r
+ height: 8em;\r
+ width: 20em;\r
+ border: 1px inset white;\r
+ margin-top: .5em;\r
+}\r
+\r
+#description {\r
+ margin: 1.5em 0px 0px 0px;\r
+ padding: 0px 2px 0px 2px;\r
+ height: 4em;\r
+ width: 20em;\r
+ background-color:white;\r
+ border:1px inset white;\r
+}\r
+\r
+#progressStatus {\r
+ margin: 1em 0px 0px 0px;\r
+}\r
+\r
+#progressMeter {\r
+ margin: 1em 2em 2em 1em; \r
+ width: 26em;\r
+}\r
+\r
--- /dev/null
+<?xml version="1.0"?>\r
+\r
+<bindings id="mailBindings"\r
+ xmlns="http://www.mozilla.org/xbl"\r
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">\r
+ \r
+ <!-- Message Pane Widgets -->\r
+ <binding id="mail-emailaddress" extends="chrome://global/content/xulBindings.xml#basetext">\r
+ <content excludes="observes,template">\r
+ <xul:box inherits="orient" autostretch="never" flex="1">\r
+ <xul:box orient="vertical" autostretch="never" flex="1">\r
+ <xul:text class="emailDisplayButton" context="emailAddressPopup" inherits="value,accesskey,crop"/>\r
+ </xul:box>\r
+ <xul:image class="emailDisplayImage" inherits="src"/>\r
+ </xul:box>\r
+ </content>\r
+ \r
+ <interface> \r
+ <method name="setTextAttribute">\r
+ <argument name="attributeName"/>\r
+ <argument name="attributeValue"/>\r
+ <body>\r
+ <![CDATA[ \r
+ var textNode = document.getAnonymousNodes(this)[0].firstChild.firstChild;\r
+ textNode.setAttribute(attributeName, attributeValue);\r
+ ]]>\r
+ </body>\r
+ </method>\r
+\r
+ <method name="getTextAttribute">\r
+ <argument name="attributeName"/>\r
+ <argument name="attributeValue"/>\r
+ <body>\r
+ <![CDATA[ \r
+ var textNode = document.getAnonymousNodes(this)[0].firstChild.firstChild;\r
+ return textNode.getAttribute(attributeName, attributeValue);\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+\r
+ <binding id="search-menulist-abstract" extends="xul:box">\r
+ <content>\r
+ <xul:menulist inherits="flex" oncommand="this.parentNode.onSelect(event)">\r
+ <xul:menupopup/>\r
+ </xul:menulist>\r
+ </content>\r
+\r
+ <interface>\r
+ <property readonly="true" name="validityManager">\r
+ <![CDATA[\r
+ Components.classes['mozilla.mail.search.validityManager.1'].getService(Components.interfaces.nsIMsgSearchValidityManager);\r
+ ]]>\r
+ </property>\r
+ <property name="searchScope" onget="return this.internalScope;">\r
+ <!-- scope ID - retrieve the table -->\r
+ <setter>\r
+ <![CDATA[\r
+ // if scope isn't changing this is a noop\r
+ if (this.internalScope == val) return;\r
+\r
+ this.internalScope = val;\r
+ this.refreshList();\r
+ var targets = this.targets;\r
+ if (targets) {\r
+ for (var i=0; i< targets.length; i++) {\r
+ targets[i].searchScope = val;\r
+ }\r
+ }\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+\r
+ <property name="validityTable" readonly="true" onget="return this.validityManager.getTable(this.searchScope)"/>\r
+\r
+ <property name="valueStrings" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var strings = new Array;\r
+ var ids = this.valueIds;\r
+ var bundle = this.stringBundle;\r
+ for (var i=0; i<ids.length; i++)\r
+ strings[i] = this.stringBundle.GetStringFromID(ids[i]);\r
+ return strings;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ <property name="targets" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var forAttrs = this.getAttribute("for");\r
+ if (!forAttrs) return null;\r
+ var targetIds = forAttrs.split(",");\r
+ if (targetIds.length == 0) return null;\r
+\r
+ var targets = new Array;\r
+ var j=0;\r
+ for (var i=0; i<targetIds.length;i++) {\r
+ var target = document.getElementById(targetIds[i]);\r
+ if (target) targets[j++] = target;\r
+ }\r
+ return targets;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+\r
+ <!-- value forwards to the internal menulist's "data" attribute -->\r
+ <property name="value" onget="return document.getAnonymousNodes(this)[0].selectedItem.getAttribute('data');">\r
+ <setter>\r
+ <![CDATA[\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+ var dataItems = menulist.getElementsByAttribute("data", val);\r
+ if (dataItems.length > 0)\r
+ menulist.selectedItem = dataItems[0];\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="refreshList">\r
+ <body>\r
+ <![CDATA[\r
+ var menuItemIds = this.valueIds;\r
+ var menuItemStrings = this.valueStrings;\r
+\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+ var popup = menulist.firstChild;\r
+\r
+ // save our old "data" so we can restore it later\r
+ var oldData = menulist.data;\r
+\r
+ // remove the old popup children\r
+ while (popup.hasChildNodes())\r
+ popup.removeChild(popup.lastChild);\r
+\r
+ var newSelection;\r
+ for (var i=0; i<menuItemIds.length; i++) {\r
+ // create the menuitem\r
+ var menuitem = document.createElement("menuitem");\r
+ menuitem.setAttribute("value", menuItemStrings[i]);\r
+ menuitem.setAttribute("data", menuItemIds[i]);\r
+ popup.appendChild(menuitem);\r
+\r
+ // try to restore the selection\r
+ if (!newSelection || oldData == menuItemIds[i].toString()) {\r
+ newSelection = menuitem;\r
+ }\r
+ }\r
+\r
+ // now restore the selection\r
+ menulist.selectedItem = newSelection\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <method name="onSelect">\r
+ <argument name="event"/>\r
+ <body>\r
+ <![CDATA[\r
+ var menulist = document.getAnonymousNodes(this)[0];\r
+\r
+ // notify targets\r
+ var targets = this.targets;\r
+ if (targets) {\r
+ for (var i=0; i< targets.length; i++) {\r
+ targets[i].parentValue = menulist.data;\r
+ }\r
+ }\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchattribute - Subject, Sender, To, CC, etc. -->\r
+ <binding id="searchattribute"\r
+ extends="chrome://messenger/skin/mailWidgets.xml#search-menulist-abstract">\r
+ <interface>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search-attributes.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="valueIds" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var length = new Object;\r
+ return this.validityTable.getAvailableAttributes(length);\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchoperator - Contains, Is Less than, etc -->\r
+ <binding id="searchoperator"\r
+ extends="chrome://messenger/skin/mailWidgets.xml#search-menulist-abstract">\r
+ <interface>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search-operators.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="valueIds" readonly="true">\r
+ <getter>\r
+ <![CDATA[\r
+ var length = new Object;\r
+ return this.validityTable.getAvailableOperators(this.searchAttribute,length);\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ <property name="parentValue">\r
+ <setter>\r
+ <![CDATA[\r
+ if (this.searchAttribute == val) return;\r
+ this.searchAttribute = val;\r
+ this.refreshList();\r
+ ]]>\r
+ </setter>\r
+ <getter>\r
+ <![CDATA[\r
+ return this.searchAttribute;\r
+ ]]>\r
+ </getter>\r
+ </property>\r
+ </interface>\r
+ </binding>\r
+\r
+ <!-- searchvalue - a widget which dynamically changes it's user interface\r
+ depending on what type of data it's supposed to be showing\r
+ currently handles arbitrary text entry, and menulists for priority and\r
+ status\r
+ -->\r
+ <binding id="searchvalue" extends="xul:deck">\r
+ <!-- yeah yeah, this stuff needs to be localized. I'm working on it! -->\r
+ <content>\r
+ <xul:textfield flex="1" />\r
+ <xul:menulist flex="1" >\r
+ <xul:menupopup>\r
+ <xul:menuitem value="Lowest"/>\r
+ <xul:menuitem value="Low"/>\r
+ <xul:menuitem value="Normal"/>\r
+ <xul:menuitem value="High"/>\r
+ <xul:menuitem value="Highest"/>\r
+ </xul:menupopup>\r
+ </xul:menulist>\r
+ <xul:menulist flex="1" >\r
+ <xul:menupopup>\r
+ <xul:menuitem value="read"/>\r
+ <xul:menuitem value="replied"/>\r
+ </xul:menupopup>\r
+ </xul:menulist>\r
+ </content>\r
+ <interface>\r
+ <!-- parentValue forwards to the attribute -->\r
+ <property name="parentValue" onset="this.searchAttribute=val;"\r
+ onget="return this.searchAttribute;"/>\r
+ <property name="searchAttribute" onget="return this.internalAttribute;">\r
+ <setter>\r
+ <![CDATA[\r
+ // noop if we're not changing it\r
+ if (this.internalAttribute == val) return;\r
+ this.internalAttribute = val;\r
+ // we inherit from a deck, so just use it's index attribute\r
+ // to hide/show widgets\r
+ if (val == Components.interfaces.nsMsgSearchAttrib.Priority)\r
+ this.setAttribute("index", "1");\r
+ else if (val == Components.interfaces.nsMsgSearchAttrib.MsgStatus)\r
+ this.setAttribute("index", "2");\r
+ else\r
+ this.setAttribute("index", "0");\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <property name="value" onget="return this.internalValue;">\r
+ <setter>\r
+ <![CDATA[\r
+ // val is a nsIMsgSearchValue object\r
+ this.internalValue = val;\r
+ var attrib = val.attrib;\r
+ this.searchAttribute = attrib;\r
+ if (attrib == Components.interfaces.nsMsgSearchAttrib.Priority)\r
+ document.getAnonymousNodes(this)[1].data=val.priority;\r
+ else if (attrib == Components.interfaces.nsMsgSearchAttrib.MsgStatus)\r
+ document.getAnonymousNodes(this)[2].data=val.status;\r
+ else\r
+ document.getAnonymousNodes(this)[0].value = val.str;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="save">\r
+ <body>\r
+ <![CDATA[\r
+ var searchValue = this.value;\r
+ var searchAttribute = this.searchAttribute;\r
+ var nsMsgSearchAttrib = Components.interfaces.nsMsgSearchAttrib;\r
+\r
+ searchValue.attrib = searchAttribute;\r
+ if (searchAttribute == nsMsgSearchAttrib.Priority)\r
+ searchValue.priority = document.getAnonymousNodes(this)[1].selectedItem.data;\r
+ else if (searchAttribute == nsMsgSearchAttrib.MsgStatus)\r
+ searchValue.status = document.getAnonymousNodes(this)[2].selectedItem.data;\r
+ else\r
+ searchValue.str = document.getAnonymousNodes(this)[0].value;\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <method name="saveTo">\r
+ <argument name="searchValue"/>\r
+ <body>\r
+ <![CDATA[\r
+ this.internalValue = searchValue;\r
+ this.save();\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+ <binding id="searchterm" extends="xul:box">\r
+ <interface>\r
+ <!-- the actual nsIMsgSearchTerm object -->\r
+ <property name="searchTerm" onget="return this.internalSearchTerm">\r
+ <setter>\r
+ <![CDATA[\r
+ this.internalSearchTerm = val;\r
+\r
+ var term = val;\r
+ // val is a nsIMsgSearchTerm\r
+ var searchAttribute=this.searchattribute;\r
+ var searchOperator=this.searchoperator;\r
+ var searchValue=this.searchvalue;\r
+\r
+ // now reflect all attributes of the searchterm into the widgets\r
+ if (searchAttribute) searchAttribute.value = term.attrib;\r
+ if (searchOperator) searchOperator.value = val.op;\r
+ if (searchValue) searchValue.value = term.value;\r
+\r
+ this.booleanAnd = val.booleanAnd;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ \r
+ <property name="searchScope">\r
+ <getter>\r
+ <![CDATA[\r
+ var searchAttribute = this.searchattribute;\r
+ if (searchAttribute)\r
+ return searchAttribute.searchScope;\r
+ return undefined;\r
+ ]]>\r
+ </getter>\r
+ <setter>\r
+ <![CDATA[\r
+ var searchAttribute = this.searchattribute;\r
+ if (searchAttribute) searchAttribute.searchScope=val;\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <!-- the three tags that make up a term - to use, set the\r
+ attribute in the XUL to the ID of the term.\r
+ -->\r
+ <property name="searchattribute" \r
+ onget="return document.getElementById(this.getAttribute('searchattribute'));"\r
+ onset="this.setAttribute('searchattribute',val.id)"/>\r
+\r
+ <property name="searchoperator" \r
+ onget="return document.getElementById(this.getAttribute('searchoperator'));"\r
+ onset="this.setAttribute('searchoperator',val.id)"/>\r
+\r
+ <property name="searchvalue" \r
+ onget="return document.getElementById(this.getAttribute('searchvalue'));"\r
+ onset="this.setAttribute('searchvalue',val.id)"/>\r
+ <property name="booleanNodes">\r
+ <![CDATA[\r
+ null;\r
+ ]]>\r
+ </property>\r
+ <property name="stringBundle">\r
+ <![CDATA[\r
+ srGetStrBundle("chrome://messenger/locale/search.properties");\r
+ ]]>\r
+ </property>\r
+ <property name="booleanAnd" onget="return this.internalBooleanAnd">\r
+ <setter>\r
+ <![CDATA[\r
+ // whenever you set this, all nodes in booleanNodes\r
+ // are updated to reflect the string\r
+\r
+ if (this.internalBooleanAnd == val) return;\r
+ this.internalBooleanAnd = val;\r
+\r
+ var booleanNodes = this.booleanNodes;\r
+ if (!booleanNodes) return;\r
+\r
+ var stringBundle = this.stringBundle;\r
+ var andString = val ? "And" : "Or";\r
+ for (var i=0; i<booleanNodes.length; i++) {\r
+ try { \r
+ var staticString =\r
+ stringBundle.GetStringFromName("search" + andString + i);\r
+ if (staticString && staticString.length>0)\r
+ booleanNodes[i].setAttribute("value", staticString);\r
+ } catch (ex) { /* no error, means string not found */}\r
+ }\r
+ ]]>\r
+ </setter>\r
+ </property>\r
+ <method name="save">\r
+ <body>\r
+ <![CDATA[\r
+ var searchTerm = this.searchTerm;\r
+ searchTerm.attrib = this.searchattribute.value;\r
+ searchTerm.op = this.searchoperator.value;\r
+ if (this.searchvalue.value)\r
+ this.searchvalue.save();\r
+ else\r
+ this.searchvalue.saveTo(searchTerm.value);\r
+ searchTerm.value = this.searchvalue.value;\r
+ searchTerm.booleanAnd = this.booleanAnd;\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ <!-- if you have a search term element with no search term -->\r
+ <method name="saveTo">\r
+ <argument name="searchTerm"/>\r
+ <body>\r
+ <![CDATA[\r
+ this.internalSearchTerm = searchTerm;\r
+ this.save();\r
+ ]]>\r
+ </body>\r
+ </method>\r
+ </interface>\r
+ </binding>\r
+</bindings>\r
--- /dev/null
+/* \r
+ * These are the style attributes for the XUL display.\r
+ */\r
+window { overflow: auto; }\r
+mailheader { display: block; }\r
+mailattachcount { display: none; }\r
+\r
+box[name=header-attachment] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+box[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+box[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+box[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+box[name=header-seamonkey] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+\r
+headerdisplayname { font-weight: bold; white-space: pre; }\r
+header { text-align: left; }\r
+\r
+menubar[name=attachment-menubar] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }\r
+menu[name=attachment-menu] { background-color: #EFEFEF; border: 0px solid #EFEFEF; }\r
+\r
+/* \r
+ * For printing/HTML display...\r
+ */\r
+table[name=header-part1] { background-color: #EFEFEF; border: 0px solid #EFEFEF; border-left-width: 4px; }\r
+table[name=header-part2] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+table[name=header-part3] { background-color: #DEDEDE; border: 0px solid #DEDEDE; border-left-width: 4px; }\r
+div.headerdisplayname { font-weight: bold; white-space: pre; display: inline; }\r
+\r
+body {\r
+ background-color: white;\r
+}\r
+\r
+\r
+\r
+.text-flowed tt {\r
+ font-family: inherit;\r
+}\r
+.text-flowed blockquote {\r
+ margin: 0em 0em;\r
+ border-color: black;\r
+}\r
+\r
+/* Anyhow, the <div class=txt-sig> doesn't inherit whitespace setting from\r
+ its parent pre, but from its ancestor .text-plain. */\r
+.text-plain {\r
+ white-space: -moz-pre-wrap;\r
+}\r
+.text-plain[wrap=false] {\r
+ white-space: pre;\r
+}\r
+.text-plain pre {\r
+ font-family: inherit;\r
+ white-space: inherit;\r
+ margin: inherit;\r
+}\r
+/* That's how it should really be\r
+.text-plain pre {\r
+ font-family: inherit;\r
+ margin: inherit;\r
+}\r
+.text-plain[wrap=false] pre {\r
+ white-space: pre;\r
+}\r
+*/\r
+.text-plain[graphical-quote=false] blockquote {\r
+ padding-left: inherit;\r
+ border-left: inherit;\r
+ margin: 0em 0em;\r
+}\r
+.text-plain[graphical-quote=true] blockquote {\r
+ margin: 0em 0em;\r
+ border-width: medium;\r
+ border-color: black;\r
+}\r
+.text-plain[graphical-quote=true] .txt-citetags {\r
+ display: none;\r
+}\r
+\r
+.txt-sig, .signature {\r
+ color: gray;\r
+}\r
+.txt-sig > a, .signature > a {\r
+ color: 7777FF /* light blue */;\r
+}\r
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * The contents of this file are subject to the Netscape Public
+ * License Version 1.1 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.mozilla.org/NPL/
+ *
+ * Software distributed under the License is distributed on an "AS
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ * implied. See the License for the specific language governing
+ * rights and limitations under the License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is Netscape
+ * Communications Corporation. Portions created by Netscape are
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All
+ * Rights Reserved.
+ */
+
+@import url(chrome://communicator/skin/);
+@import url(chrome://communicator/skin/sidebar/sidebar.css);
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */
+
+[hide] {
+Â display: none;
+}
+
+spring.spacer {
+ width: 5px;
+ height: 5px;
+}
+
+box.cleanborder {
+ margin: 10px;
+ padding: 10px;
+ border: 2px groove white;
+ width: 100%;
+}
+
+box.padded {
+ margin: 10px;
+ width: 100%;
+}
+
+iframe {
+ min-width: 10px;
+ min-height: 10px;
+ width: 100px;
+ height: 100px;
+}
+
+/**
+ * boxes
+ */
+#results_box {
+ border-left: 8px solid #CCCCCC;
+ min-width: 10px;
+}
+
+
+
+/**
+ * toolbar button images
+ */
+
+#button-getmsg {
+ list-style-image:url("chrome://messenger/skin/getmsg.gif");
+}
+
+#button-getmsg:hover {
+ list-style-image:url("chrome://messenger/skin/getmsg-hover.gif");
+}
+
+#button-getmsg[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/getmsg_dis.gif");
+}
+
+#button-newmsg {
+ list-style-image:url("chrome://messenger/skin/newmsg.gif");
+}
+
+#button-newmsg:hover {
+ list-style-image:url("chrome://messenger/skin/newmsg-hover.gif");
+}
+
+#button-newmsg[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/newmsg_dis.gif");
+}
+
+#button-reply {
+ list-style-image:url("chrome://messenger/skin/reply.gif");
+}
+
+#button-reply:hover {
+ list-style-image:url("chrome://messenger/skin/reply-hover.gif");
+}
+
+#button-reply[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/reply_dis.gif");
+}
+
+#button-replyall {
+ list-style-image:url("chrome://messenger/skin/replyall.gif");
+}
+
+#button-replyall:hover {
+ list-style-image:url("chrome://messenger/skin/replyall-hover.gif");
+}
+
+#button-replyall[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/replyall_dis.gif");
+}
+
+#button-forward {
+ list-style-image:url("chrome://messenger/skin/forward.gif");
+}
+
+#button-forward:hover {
+ list-style-image:url("chrome://messenger/skin/forward-hover.gif");
+}
+
+#button-forward[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/forward_dis.gif");
+}
+
+#button-file {
+ list-style-image:url("chrome://messenger/skin/file.gif");
+}
+
+#button-file:hover,
+#FileButtonMenu:hover > button,
+#FileButtonMenu > button:hover,
+#FileButtonMenu[open="true"] > button {
+ list-style-image:url("chrome://messenger/skin/file-hover.gif");
+ background-color: #FFCF00;
+ color: #000000;
+}
+
+#button-file[disabled="true"],
+#FileButtonMenu:hover > button[disabled="true"],
+#FileButtonMenu > button[disabled="true"]:hover,
+#FileButtonMenu[open="true"] > button[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/file_dis.gif");
+ background-color: #000000;
+ color: #8050B0;
+}
+
+#FileButtonMenu {
+ background-color: transparent;
+}
+
+#button-next {
+ list-style-image:url("chrome://messenger/skin/next.gif");
+}
+
+#button-next:hover {
+ list-style-image:url("chrome://messenger/skin/next-hover.gif");
+}
+
+#button-next[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/next_dis.gif");
+}
+
+#button-delete {
+ list-style-image:url("chrome://messenger/skin/trash.gif");
+}
+
+#button-delete:hover {
+ list-style-image:url("chrome://messenger/skin/trash-hover.gif");
+}
+
+#button-delete[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/trash_dis.gif");
+}
+
+#button-print
+ {
+ list-style-image : url("chrome://global/skin/print.gif");
+ }
+
+#button-print:hover,
+#button-print:hover:active,
+#button-print > .menubutton-internal-box > .menubutton-dual-button:hover,
+#button-print > .menubutton-internal-box > .menubutton-dual-button:hover:active,
+#button-print[open="true"] > .menubutton-internal-box > .menubutton-dual-button
+ {
+ list-style-image : url("chrome://global/skin/print-hover.gif");
+ }
+
+#button-print[disabled="true"],
+#button-print[disabled="true"]:hover,
+#button-print[disabled="true"]:hover:active,
+#button-print[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover,
+#button-print[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active
+ {
+ list-style-image : url("chrome://global/skin/print_dis.gif");
+ }
+
+#button-stop {
+ list-style-image:url("chrome://global/skin/stop.gif");
+}
+
+#button-stop:hover {
+ list-style-image:url("chrome://global/skin/stop-hover.gif");
+}
+
+#button-stop[disabled="true"] {
+ list-style-image:url("chrome://global/skin/stop_dis.gif");
+}
+
+
+.folderMenuItem > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-closed.gif");
+}
+
+
+.folderMenuItem[open="true"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-open.gif");
+}
+
+/* special folder */
+.folderMenuItem[SpecialFolder="Inbox"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");
+}
+
+.folderMenuItem[SpecialFolder="Inbox"][open="true"] > .menu-left
+{
+ list-style-image: url("chrome://messenger/skin/folder-inbox.gif");
+}
+
+.folderMenuItem[SpecialFolder="Trash"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");
+}
+
+.folderMenuItem[SpecialFolder="Trash"][open="true"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-trash.gif");
+}
+
+.folderMenuItem[IsServer="true"] > .menu-left
+{
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");
+}
+
+.folderMenuItem[IsServer="true"][open="true"] > .menu-left
+{
+ list-style-image: url("chrome://messenger/skin/server-mail.gif");
+}
+
+/* IMAP folders */
+
+.folderMenuItem[IsServer="true"][ServerType="imap"][IsSecure="true"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/server-remote-lock.gif");
+}
+
+/* Local Servers */
+.folderMenuItem[IsServer="true"][ServerType="none"] > .menu-left
+{
+ list-style-image: url("chrome://messenger/skin/server-local.gif");
+}
+
+/* News folders */
+.folderMenuItem[ServerType="nntp"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/folder-newsgroup.gif");
+}
+
+.folderMenuItem[IsServer="true"][ServerType="nntp"][IsSecure="true"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/server-news-lock.gif");
+}
+
+.folderMenuItem[IsServer="true"][ServerType="nntp"] > .menu-left {
+ list-style-image: url("chrome://messenger/skin/server-news.gif");
+}
+
+
+menu.push {
+ border: 1px outset white;
+ padding: 2px;
+ margin: 2px;
+ text-align: center;
+ background-color:inherit;
+ background-image: inherit;
+}
+
+menu.push:hover {
+ border: 1px outset white;
+ color:#003366;
+ text-decoration:underline;
+ padding: 2px;
+}
+
+menu.push:hover:-moz-outline {
+ border : 1px solid black;
+ color:#003366;
+ padding: 2px;
+}
+
+menu.push:active {
+ text-decoration:none;
+ border: 1px inset;
+ padding-left: 3px;
+ padding-right: 1px;
+ padding-top: 3px;
+ padding-bottom: 1px;
+}
+
+menu.push[toggled="1"] {
+ border: 1px white inset;
+ padding-left: 3px;
+ padding-right: 1px;
+ padding-top: 3px;
+ padding-bottom: 1px;
+}
+
+menu.push[toggled="2"] {
+ background-color: lightgray;
+ border: 1px solid gray;
+}
+
+menu.push:active:-moz-outline {
+ border : 1px solid black;
+}
+
+menu.push[disabled="true"] {
+ background-color:inherit;
+ background-image: inherit;
+ border : 1px solid #999999;
+ color: #999999;
+ text-decoration: none;
+}
+
+menu.push[disabled="true"]:hover {
+ background-color:inherit;
+ background-image: inherit;
+ border : 1px solid #999999;
+ color: #999999;
+ text-decoration: none;
+}
+
+menu.push[disabled="true"]:active {
+ background-color:inherit;
+ background-image: inherit;
+ border : 1px solid #999999;
+ color: #999999;
+ text-decoration: none;
+}
+
+/**
+ * Make sure the min height is small so we can
+ * resize the pane vertically -EDV
+ */
+box#messagepanebox
+{
+ min-height: 10px;
+ height: 0px;
+}
+
+
+/**
+ * this belongs in the mail filter window
+ */
+
+.enabledcol {
+ list-style-image: url("chrome://messenger/skin/readmail.gif");
+}
+
+.enabledcol[value="true"] {
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");
+}
+
+searchattribute {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchattribute);
+}
+
+searchoperator {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchoperator);
+}
+
+searchvalue {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchvalue);
+}
+
+searchterm {
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#searchterm);
+}
+
+
--- /dev/null
+@import url(chrome://messenger/skin/messenger.css);
+
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
+
+#MsgHeadersToolbar > .toolbar-holder {
+ background-image: none;
+ background-color: #FF9F00;
+ -moz-border-radius: 0px 8px 8px 0px;
+ padding-right: 12px;
+}
+
+#msgheaderstoolbar-box {
+ background-color: #9C9CFF;
+ border-right: 3px solid black;
+ color: black;
+}
+
+spring.spacer {
+ width: 5px;
+ height: 5px;
+}
+
+box.cleanborder {
+ margin: 10px;
+ padding: 10px;
+/* border: 2px groove white; */
+ width: 100%;
+}
+
+box.padded {
+ margin: 10px;
+ width: 100%;
+}
+
+
+/* addressing widget */
+
+tree[class="addressingWidget"] treeitem > treerow > treecell > box > image {
+ vertical-align: middle;
+ padding:2px;
+ border:none;
+ list-style-image: url("chrome://messenger/skin/addressbook/person.gif");
+ -moz-user-focus: ignore;
+}
+
+textfield.addressingWidget[autocomplete="true"] {
+ border : 2px solid #FFFFFF;
+ margin : 1px;
+}
+
+textfield.addressingWidget[autocomplete="true"][focused="true"]
+{
+ border : 2px solid #6699cc;
+ margin : 1px;
+}
+
+textfield.addressingWidget[autocomplete="true"] > box
+{
+ border : none;
+}
+
+#button-send {
+ list-style-image:url("chrome://messenger/skin/messengercompose/send.gif");
+}
+
+#button-send:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/send-hover.gif");
+}
+
+#button-send[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/send_dis.gif");
+}
+
+#button-address {
+ list-style-image:url("chrome://messenger/skin/messengercompose/address.gif");
+}
+
+#button-address:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/address-hover.gif");
+}
+
+#button-address[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/address_dis.gif");
+}
+
+#button-attach {
+ list-style-image:url("chrome://messenger/skin/messengercompose/attach.gif");
+}
+
+#button-attach:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/attach-hover.gif");
+}
+
+#button-attach[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/attach_dis.gif");
+}
+
+#button-quote {
+ list-style-image:url("chrome://messenger/skin/messengercompose/quote.gif");
+}
+
+#button-quote:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/quote-hover.gif");
+}
+
+#button-quote[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/quote_dis.gif");
+}
+
+#button-spelling {
+ list-style-image:url("chrome://messenger/skin/messengercompose/spelling.gif");
+}
+
+#button-spelling:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/spelling-hover.gif");
+}
+
+#button-spelling[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/spelling_dis.gif");
+}
+
+#button-save {
+ list-style-image:url("chrome://messenger/skin/messengercompose/save.gif");
+}
+
+#button-save:hover {
+ list-style-image:url("chrome://messenger/skin/messengercompose/save-hover.gif");
+}
+
+#button-save[disabled="true"] {
+ list-style-image:url("chrome://messenger/skin/messengercompose/save_dis.gif");
+}
+
+#button-stop {
+ list-style-image:url("chrome://global/skin/stop.gif");
+}
+
+#button-stop:hover {
+ list-style-image:url("chrome://global/skin/stop-hover.gif");
+}
+
+#button-stop[disabled="true"] {
+ list-style-image:url("chrome://global/skin/stop_dis.gif");
+}
+
+/* hack because of bad skinnability and hardcoded borders */
+toolbar#MsgHeadersToolbar > box > box > box {
+ border: 0px !important;
+}
+
+/* hack because of bad skinnability and hardcoded borders */
+tree#addressingWidgetTree {
+/* border: 1px inset #CCCCDD !important; */
+}
+
+box#addressingWidget {
+ -moz-user-focus: normal;
+}
+
+tree#attachmentBucket {
+ -moz-user-focus: normal;
+/* border: 1px inset #CCCCDD; */
+}
+
+tree#attachmentBucket > treechildren > treeitem {
+ color: #FF9F00;
+}
+
+#msgSubject {
+ -moz-user-focus: normal;
+}
+
+#msgIdentity {
+ -moz-user-focus: normal;
+}
+
+button#statusText > .button-internal-box {
+ border: 0px;
+}
--- /dev/null
+/*\r
+The contents of this file are subject to the Netscape Public\r
+License Version 1.1 (the "License"); you may not use this file\r
+except in compliance with the License. You may obtain a copy of\r
+the License at http://www.mozilla.org/NPL/\r
+\r
+Software distributed under the License is distributed on an "AS\r
+IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+implied. See the License for the specific language governing\r
+rights and limitations under the License.\r
+\r
+The Original Code is Mozilla Communicator client code, released\r
+March 31, 1998.\r
+\r
+The Initial Developer of the Original Code is Netscape\r
+Communications Corporation. Portions created by Netscape are\r
+ Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+Rights Reserved.\r
+*/\r
+\r
+\r
+/* These are the style attributes we are applying to the message header\r
+ * view overlay which shows the message headers for a selected message.\r
+ * some of this stuff originated from mailheaders.css\r
+ */\r
+\r
+@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to HTML */\r
+@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for XUL elements */\r
+\r
+toolbar > .toolbar-holder {\r
+ background-color: #FF9F00;\r
+ background-image: none;\r
+ -moz-border-radius: 0px 8px 8px 0px;\r
+ padding-right: 12px;\r
+}\r
+\r
+mail-emailaddress {\r
+ -moz-binding: url(chrome://messenger/content/mailWidgets.xml#mail-emailaddress);\r
+ display: inline;\r
+}\r
+\r
+[hide] {\r
+ visibility: collapse;\r
+}\r
+\r
+spring.buttonTopSpacer { height: .3em; }\r
+spring.buttonSpacer { width: .5em; }\r
+box.headerBox { overflow: hidden; min-width: 50px; padding: 1px; }\r
+box.header-part1 { background-color: #9C9CFF; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; }\r
+box.header-part2 { background-color: #E7ADE7; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; }\r
+box.header-part3 { background-color: #E7ADE7; color: #000000; border: none; min-height: 16px; border-right: 3px solid black; }\r
+\r
+#addToAddressBookButton {\r
+ list-style-image:url("chrome://messenger/skin/addtoab.gif");\r
+ min-height: 20px;\r
+ margin: 0px;\r
+}\r
+\r
+#attachmentButton {\r
+ list-style-image:url("chrome://messenger/skin/attach.gif");\r
+ min-height: 20px;\r
+ margin: 0px;\r
+}\r
+\r
+image.emailDisplayImage\r
+{\r
+ align: right;\r
+ display: inline;\r
+}\r
+\r
+text.emailSeparator {\r
+ display: inline;\r
+}\r
+\r
+text.emailDisplayButton {\r
+ color: blue;\r
+ text-decoration: underline;\r
+ cursor: pointer;\r
+ max-height: 15px;\r
+ display: inline;\r
+}\r
+\r
+image.showMoreAddressesButton {\r
+ list-style-image:url("chrome://messenger/skin/more.gif");\r
+ display: inline;\r
+}\r
+\r
+image.showFewerAddressesButton {\r
+ list-style-image:url("chrome://messenger/skin/less.gif");\r
+ display: inline;\r
+}\r
+\r
+html.headerValue { white-space: normal; min-width: 50px; margin:0px; }\r
+html.subjectvalue {font-weight: bold;}\r
+\r
+text.headerdisplayname { font-weight: bold; margin-right: .5em; margin-left: .5em; }\r
+text.headerValue { white-space: normal; min-width: 50px; }
\ No newline at end of file
--- /dev/null
+\r
+#classic\r
+ {\r
+ list-style-image : url("chrome://messenger/skin/winclassic.gif");\r
+ }\r
+\r
+#wide\r
+ {\r
+ list-style-image : url("chrome://messenger/skin/winwide.gif");\r
+ }
\ No newline at end of file
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+.subscribedcol {\r
+ list-style-image: url("chrome://messenger/skin/dot.gif");\r
+}\r
+\r
+.subscribedcol[value="true"] {\r
+ list-style-image: url("chrome://messenger/skin/check.gif");\r
+} \r
--- /dev/null
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+.tree-thread-row.unread-true {\r
+ font-weight: bold;\r
+}\r
+\r
+.prioritycol-highest\r
+{\r
+ color:red;\r
+}\r
+\r
+.prioritycol-high\r
+{\r
+ color: rgb(128, 0, 0);\r
+}\r
+\r
+.prioritycol-lowest\r
+{\r
+ color: rgb(170, 170, 170);\r
+}\r
+\r
+.prioritycol-low\r
+{\r
+ color: rgb(85, 85, 85);\r
+}\r
+\r
+.tree-cell-threadpane-icon {\r
+ list-style-image: url("chrome://messenger/skin/message-mail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.tree-cell-threadpane-icon.status-new {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-new.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-news {\r
+ list-style-image: url("chrome://messenger/skin/message-news.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-news.status-new {\r
+ list-style-image: url("chrome://messenger/skin/message-news-new.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.message-type-mail.has-attachment-true {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-attach.gif");\r
+}\r
+\r
+.tree-cell-threadpane-icon.is-imap-deleted-true {\r
+ list-style-image: url("chrome://messenger/skin/message-mail-imapdelete.gif");\r
+}\r
+\r
+.unreadcol-false {\r
+ list-style-image: url("chrome://messenger/skin/readmail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.unreadcol-true {\r
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
+}\r
+\r
+.flagcol-unflagged {\r
+ list-style-image: url("chrome://messenger/skin/readmail.gif");\r
+ min-height: 14px;\r
+}\r
+\r
+.flagcol-flagged {\r
+ list-style-image: url("chrome://messenger/skin/flaggedmail.gif");\r
+}\r
+\r
+treeitem > treerow > .threadcol-thread{\r
+ list-style-image: url("chrome://messenger/skin/thread-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .threadcol-thread{\r
+ list-style-image: url("chrome://messenger/skin/thread-open.gif");\r
+}\r
+\r
+treeitem > treerow > .threadcol-threadWithUnread{\r
+ list-style-image: url("chrome://messenger/skin/thread-new-closed.gif");\r
+}\r
+\r
+treeitem[open="true"] > treerow > .threadcol-threadWithUnread{\r
+ list-style-image: url("chrome://messenger/skin/thread-new-open.gif");\r
+}\r
+\r
+.threadColumnHeader[currentView="threaded"] > .tree-header-image {\r
+ list-style-image: url("chrome://messenger/skin/threadcol.gif");\r
+}\r
+\r
+.threadColumnHeader[currentView="unthreaded"] > .tree-header-image {\r
+ list-style-image: url("chrome://messenger/skin/unthreadcol.gif");\r
+}\r
+\r
+.readColumnHeader > .tree-header-image {\r
+ list-style-image: url("chrome://messenger/skin/unreadmail.gif");\r
+}\r
+\r
+.flagColumnHeader > .tree-header-image {\r
+ list-style-image: url("chrome://messenger/skin/flaggedmail.gif");\r
+}\r
+\r
+treeitem[empty="true"] > treerow > .tree-cell-threadpane-icon > .tree-cell-twisty \r
+ {\r
+ visibility : hidden;\r
+ } \r
+\r
+#threadTree \r
+ {\r
+ border-top : none;\r
+ }
\ No newline at end of file
--- /dev/null
+/* -*- Mode: CSS; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-\r
+ * The contents of this file are subject to the Netscape Public\r
+ * License Version 1.1 (the "License"); you may not use this file\r
+ * except in compliance with the License. You may obtain a copy of\r
+ * the License at http://www.mozilla.org/NPL/\r
+ * \r
+ * Software distributed under the License is distributed on an "AS\r
+ * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or\r
+ * implied. See the License for the specific language governing\r
+ * rights and limitations under the License.\r
+ * \r
+ * The Original Code is Mozilla Communicator client code, released\r
+ * March 31, 1998.\r
+ * \r
+ * The Initial Developer of the Original Code is Netscape\r
+ * Communications Corporation. Portions created by Netscape are\r
+ * Copyright (C) 1998-1999 Netscape Communications Corporation. All\r
+ * Rights Reserved.\r
+ */\r
+\r
+div.title {\r
+ font-weight: bold;\r
+}\r
+\r
+div.subtitle {\r
+ font-weight: bold;\r
+}\r
--- /dev/null
+#security-button \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/unlock.gif");\r
+ }\r
+\r
+#security-button[level="high"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="low"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/lock.gif"); \r
+ }\r
+\r
+#security-button[level="broken"] \r
+ {\r
+ list-style-image:url("chrome://navigator/skin/broken.gif"); \r
+ }
\ No newline at end of file
--- /dev/null
+/** Contains style definitions for the navigator application \r
+ **/\r
+\r
+@import url(chrome://communicator/skin/);\r
+@import url(chrome://communicator/skin/bookmarks/bookmarks.css);\r
+@import url(chrome://communicator/skin/sidebar/sidebar.css);\r
+\r
+#sidebar-parent \r
+ {\r
+ margin-right : 2px;\r
+ }\r
+\r
+/*\r
+ * Rules for 'hiding' portions of the chrome for special\r
+ * kinds of browser windows.\r
+ */\r
+window[chromehidden~="menubar"] .chromeclass-menubar {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="toolbar"] .chromeclass-toolbar {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="location"] .chromeclass-location {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="directories"] .chromeclass-directories {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="status"] .chromeclass-status {\r
+ display: none;\r
+}\r
+\r
+window[chromehidden~="extrachrome"] .chromeclass-extrachrome {\r
+ display: none;\r
+}\r
+\r
+/*\r
+ * Images for the main buttons\r
+ */\r
+.menubutton-dual-button > .button-internal-box > .button-text-container \r
+ {\r
+ display : none;\r
+ }\r
+\r
+.menubutton-dual-button\r
+ {\r
+ min-width : 32px;\r
+ min-height : 32px;\r
+ }\r
+\r
+#back-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/back.gif");\r
+ }\r
+\r
+#back-button:hover,\r
+#back-button:hover:active,\r
+#back-button > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#back-button > .menubutton-internal-box > .menubutton-dual-button:hover:active,\r
+#back-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/back-hover.gif");\r
+ }\r
+\r
+#back-button[disabled="true"],\r
+#back-button[disabled="true"]:hover,\r
+#back-button[disabled="true"]:hover:active,\r
+#back-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#back-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/back_dis.gif");\r
+ }\r
+\r
+#forward-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/forward.gif");\r
+ }\r
+\r
+#forward-button:hover,\r
+#forward-button:hover:active,\r
+#forward-button > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#forward-button > .menubutton-internal-box > .menubutton-dual-button:hover:active,\r
+#forward-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/forward-hover.gif");\r
+ }\r
+\r
+#forward-button[disabled="true"],\r
+#forward-button[disabled="true"]:hover,\r
+#forward-button[disabled="true"]:hover:active,\r
+#forward-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#forward-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/forward_dis.gif");\r
+ }\r
+\r
+#stop-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/stop.gif");\r
+ } \r
+\r
+\r
+#stop-button:hover\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/stop-hover.gif");\r
+ }\r
+\r
+#stop-button[disabled="true"]\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/stop_dis.gif");\r
+ }\r
+\r
+#reload-button \r
+ {\r
+ list-style-image : url("chrome://navigator/skin/reload.gif");\r
+ }\r
+\r
+#reload-button:hover\r
+ {\r
+ list-style-image : url("chrome://navigator/skin/reload-hover.gif");\r
+ }\r
+\r
+/*all the urlbar stuff*/\r
+#page-proxy-button \r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); \r
+ cursor : grab;\r
+ margin-right : 3px;\r
+ margin-left : 2px;\r
+ } \r
+\r
+#ubhist-keyword-popup \r
+ {\r
+ width : 10px; \r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ } \r
+\r
+#ubhist\r
+ {\r
+ -moz-border-radius : 0px 5px 5px 0px;\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ padding : 0px 0px 0px 0px;\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+\r
+#ubhist > .menubutton-icon-internal-box\r
+ {\r
+ -moz-border-radius : 0px 5px 5px 0px;\r
+ border : 1px solid #9C9CFF;\r
+ } \r
+\r
+#ubhist:hover > .menubutton-icon-internal-box\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); \r
+ } \r
+\r
+#ubhist:hover:active > .menubutton-icon-internal-box,\r
+#ubhist[open="true"] > .menubutton-icon-internal-box\r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down-hover.gif"); \r
+ border : 1px solid #FFCF00;\r
+ } \r
+\r
+#action-popup \r
+ {\r
+ list-style-image : url("chrome://global/skin/scroll-down.gif"); \r
+ margin : 0px; \r
+ -moz-border-radius : 4px; \r
+ }\r
+\r
+#content-frame \r
+ {\r
+ min-width : 0px;\r
+ min-height : 0px;\r
+ }\r
+\r
+#statusbar-icon \r
+ {\r
+ width : 100px;\r
+ }\r
+\r
+#statusbar-display\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/document.gif"):\r
+ }\r
+ \r
+#statusbar-display[error="true"]\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/document-error.gif");\r
+ } \r
+ \r
+#nav-bar-inner\r
+ {\r
+ padding-left : 0px;\r
+ padding-top : 10px;\r
+ padding-bottom : 10px;\r
+ }\r
+\r
+ \r
+#search-button\r
+ {\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+ \r
+#go-button\r
+ {\r
+ margin : 0px 3px 0px 0px;\r
+ }\r
+ \r
+#homebutton\r
+ {\r
+ list-style-image : url("chrome://communicator/skin/bookmarks/home.gif");\r
+ }\r
+\r
+.menuitem-iconic\r
+ {\r
+ padding : 2px;\r
+ }\r
+\r
+#print-button \r
+ {\r
+ list-style-image : url("chrome://global/skin/print.gif");\r
+ margin : 0px 3px 0px 3px;\r
+ }\r
+\r
+#print-button:hover,\r
+#print-button:hover:active,\r
+#print-button > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#print-button > .menubutton-internal-box > .menubutton-dual-button:hover:active,\r
+#print-button[open="true"] > .menubutton-internal-box > .menubutton-dual-button\r
+ {\r
+ list-style-image : url("chrome://global/skin/print-hover.gif");\r
+ }\r
+\r
+#print-button[disabled="true"],\r
+#print-button[disabled="true"]:hover,\r
+#print-button[disabled="true"]:hover:active,\r
+#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover,\r
+#print-button[disabled="true"] > .menubutton-internal-box > .menubutton-dual-button:hover:active\r
+ {\r
+ list-style-image : url("chrome://global/skin/print_dis.gif");\r
+ }\r
+\r
+#print-button > .menubutton-dual-button\r
+ {\r
+ padding : 0px;\r
+ }
\ No newline at end of file
--- /dev/null
+.title {\r
+ font-weight: bold;\r
+ margin-bottom: 1em;\r
+ font-size: larger;\r
+}\r
+tree {\r
+ height: 100px;\r
+ margin-bottom: 1em;\r
+}\r
+treerow {\r
+ background-color: #ebebcc;\r
+}\r
+treecell { border-left: 1px solid #FF9F00; border-top: 1px solid #FF9F00; }\r
+\r